@swagger-api/apidom-ns-json-schema-draft-7 0.75.0 → 0.76.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/cjs/elements/JSONSchema.cjs +3 -2
- package/cjs/elements/LinkDescription.cjs +5 -4
- package/dist/apidom-ns-json-schema-draft-7.browser.js +1 -1
- package/es/elements/JSONSchema.js +3 -2
- package/es/elements/LinkDescription.js +5 -4
- package/es/refractor/index.js +2 -2
- package/es/refractor/toolbox.js +2 -2
- package/es/traversal/visitor.js +2 -2
- package/package.json +5 -4
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.76.0](https://github.com/swagger-api/apidom/compare/v0.75.0...v0.76.0) (2023-09-01)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @swagger-api/apidom-ns-json-schema-draft-7
|
|
9
|
+
|
|
6
10
|
# [0.75.0](https://github.com/swagger-api/apidom/compare/v0.74.1...v0.75.0) (2023-08-22)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @swagger-api/apidom-ns-json-schema-draft-7
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.default = void 0;
|
|
5
|
+
var _apidomError = require("@swagger-api/apidom-error");
|
|
5
6
|
var _apidomNsJsonSchemaDraft = require("@swagger-api/apidom-ns-json-schema-draft-6");
|
|
6
7
|
/* eslint-disable class-methods-use-this */
|
|
7
8
|
|
|
@@ -74,10 +75,10 @@ class JSONSchema extends _apidomNsJsonSchemaDraft.JSONSchemaElement {
|
|
|
74
75
|
this.set('contentMediaType', contentMediaType);
|
|
75
76
|
}
|
|
76
77
|
get media() {
|
|
77
|
-
throw new
|
|
78
|
+
throw new _apidomError.UnsupportedOperationError('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"');
|
|
78
79
|
}
|
|
79
80
|
set media(media) {
|
|
80
|
-
throw new
|
|
81
|
+
throw new _apidomError.UnsupportedOperationError('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"');
|
|
81
82
|
}
|
|
82
83
|
|
|
83
84
|
/**
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.default = void 0;
|
|
5
|
+
var _apidomError = require("@swagger-api/apidom-error");
|
|
5
6
|
var _apidomNsJsonSchemaDraft = require("@swagger-api/apidom-ns-json-schema-draft-6");
|
|
6
7
|
/* eslint-disable class-methods-use-this */
|
|
7
8
|
/**
|
|
@@ -53,10 +54,10 @@ class LinkDescription extends _apidomNsJsonSchemaDraft.LinkDescriptionElement {
|
|
|
53
54
|
*/
|
|
54
55
|
|
|
55
56
|
get mediaType() {
|
|
56
|
-
throw new
|
|
57
|
+
throw new _apidomError.UnsupportedOperationError('mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.');
|
|
57
58
|
}
|
|
58
59
|
set mediaType(mediaType) {
|
|
59
|
-
throw new
|
|
60
|
+
throw new _apidomError.UnsupportedOperationError('mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.');
|
|
60
61
|
}
|
|
61
62
|
get targetMediaType() {
|
|
62
63
|
return this.get('targetMediaType');
|
|
@@ -89,10 +90,10 @@ class LinkDescription extends _apidomNsJsonSchemaDraft.LinkDescriptionElement {
|
|
|
89
90
|
* URI: https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-hyperschema-01#section-6.6.4
|
|
90
91
|
*/
|
|
91
92
|
get submissionEncType() {
|
|
92
|
-
throw new
|
|
93
|
+
throw new _apidomError.UnsupportedOperationError('submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.');
|
|
93
94
|
}
|
|
94
95
|
set submissionEncType(submissionEncType) {
|
|
95
|
-
throw new
|
|
96
|
+
throw new _apidomError.UnsupportedOperationError('submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.');
|
|
96
97
|
}
|
|
97
98
|
get submissionMediaType() {
|
|
98
99
|
return this.get('submissionMediaType');
|
|
@@ -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={8385:(e,t,r)=>{var n=r(6174);e.exports=n},5271:(e,t,r)=>{var n=r(7820);e.exports=n},7574:(e,t,r)=>{var n=r(2);e.exports=n},33:(e,t,r)=>{var n=r(5636);e.exports=n},9821:(e,t,r)=>{var n=r(2285);r(7148),r(9031),r(1875),e.exports=n},8008:(e,t,r)=>{var n=r(8535);e.exports=n},164:(e,t,r)=>{var n=r(6042);e.exports=n},2089:(e,t,r)=>{r(2276);var n=r(5607);e.exports=n("Array").indexOf},2604:(e,t,r)=>{var n=r(8902),s=r(2089),i=Array.prototype;e.exports=function(e){var t=e.indexOf;return e===i||n(i,e)&&t===i.indexOf?s:t}},3512:(e,t,r)=>{r(297);var n=r(7545).Object,s=e.exports=function(e,t,r){return n.defineProperty(e,t,r)};n.defineProperty.sham&&(s.sham=!0)},2921:(e,t,r)=>{r(6187);var n=r(7545);e.exports=n.Object.getOwnPropertySymbols},8651:(e,t,r)=>{r(2647);var n=r(7545);e.exports=n.Object.keys},5008:(e,t,r)=>{r(9106),r(6663),r(6187),r(9781),r(492),r(6681),r(9594),r(3665),r(9017),r(1250),r(9786),r(503),r(6565),r(9322),r(3610),r(6886),r(3514),r(8671),r(8556),r(1367);var n=r(7545);e.exports=n.Symbol},994:(e,t,r)=>{r(8939),r(6663),r(5454),r(3665);var n=r(9207);e.exports=n.f("iterator")},290:(e,t,r)=>{r(2432),r(3610);var n=r(9207);e.exports=n.f("toPrimitive")},2747:(e,t,r)=>{var n=r(8385);e.exports=n},229:(e,t,r)=>{var n=r(5271);e.exports=n},5090:(e,t,r)=>{var n=r(7574);e.exports=n},5483:(e,t,r)=>{var n=r(33);e.exports=n},2185:(e,t,r)=>{var n=r(9821);r(177),r(3346),r(3520),r(6658),r(8658),r(2725),r(1806),r(4212),r(4592),r(6680),e.exports=n},9982:(e,t,r)=>{var n=r(8008);e.exports=n},8241:(e,t,r)=>{var n=r(164);e.exports=n},6235:(e,t,r)=>{var n=r(6447),s=r(9288),i=TypeError;e.exports=function(e){if(n(e))return e;throw i(s(e)+" is not a function")}},7757:(e,t,r)=>{var n=r(6447),s=String,i=TypeError;e.exports=function(e){if("object"==typeof e||n(e))return e;throw i("Can't set "+s(e)+" as a prototype")}},7423:e=>{e.exports=function(){}},1138:(e,t,r)=>{var n=r(5744),s=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw i(s(e)+" is not an object")}},8180:(e,t,r)=>{var n=r(101),s=r(7739),i=r(4104),o=function(e){return function(t,r,o){var c,a=n(t),u=i(a),l=s(o,u);if(e&&r!=r){for(;u>l;)if((c=a[l++])!=c)return!0}else for(;u>l;l++)if((e||l in a)&&a[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},454:(e,t,r)=>{var n=r(8043),s=r(4120),i=r(2202),o=r(1795),c=r(4104),a=r(1321),u=s([].push),l=function(e){var t=1==e,r=2==e,s=3==e,l=4==e,p=6==e,f=7==e,h=5==e||p;return function(m,y,d,b){for(var v,g,O=o(m),j=i(O),S=n(y,d),w=c(j),x=0,E=b||a,P=t?E(m,w):r||f?E(m,0):void 0;w>x;x++)if((h||x in j)&&(g=S(v=j[x],x,O),e))if(t)P[x]=g;else if(g)switch(e){case 3:return!0;case 5:return v;case 6:return x;case 2:u(P,v)}else switch(e){case 4:return!1;case 7:u(P,v)}return p?-1:s||l?l:P}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},242:(e,t,r)=>{var n=r(6192),s=r(8182),i=r(4218),o=s("species");e.exports=function(e){return i>=51||!n((function(){var t=[];return(t.constructor={})[o]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},424:(e,t,r)=>{"use strict";var n=r(6192);e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){return 1},1)}))}},1923:(e,t,r)=>{var n=r(7739),s=r(4104),i=r(9361),o=Array,c=Math.max;e.exports=function(e,t,r){for(var a=s(e),u=n(t,a),l=n(void 0===r?a:r,a),p=o(c(l-u,0)),f=0;u<l;u++,f++)i(p,f,e[u]);return p.length=f,p}},3096:(e,t,r)=>{var n=r(4120);e.exports=n([].slice)},3712:(e,t,r)=>{var n=r(4770),s=r(2091),i=r(5744),o=r(8182)("species"),c=Array;e.exports=function(e){var t;return n(e)&&(t=e.constructor,(s(t)&&(t===c||n(t.prototype))||i(t)&&null===(t=t[o]))&&(t=void 0)),void 0===t?c:t}},1321:(e,t,r)=>{var n=r(3712);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},9272:(e,t,r)=>{var n=r(4120),s=n({}.toString),i=n("".slice);e.exports=function(e){return i(s(e),8,-1)}},4696:(e,t,r)=>{var n=r(3471),s=r(6447),i=r(9272),o=r(8182)("toStringTag"),c=Object,a="Arguments"==i(function(){return arguments}());e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=c(e),o))?r:a?i(t):"Object"==(n=i(t))&&s(t.callee)?"Arguments":n}},4635:(e,t,r)=>{var n=r(6192);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7271:e=>{e.exports=function(e,t){return{value:e,done:t}}},8711:(e,t,r)=>{var n=r(69),s=r(2454),i=r(774);e.exports=n?function(e,t,r){return s.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},774:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},9361:(e,t,r)=>{"use strict";var n=r(77),s=r(2454),i=r(774);e.exports=function(e,t,r){var o=n(t);o in e?s.f(e,o,i(0,r)):e[o]=r}},2807:(e,t,r)=>{var n=r(2454);e.exports=function(e,t,r){return n.f(e,t,r)}},9362:(e,t,r)=>{var n=r(8711);e.exports=function(e,t,r,s){return s&&s.enumerable?e[t]=r:n(e,t,r),e}},5098:(e,t,r)=>{var n=r(8576),s=Object.defineProperty;e.exports=function(e,t){try{s(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},69:(e,t,r)=>{var n=r(6192);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8382:e=>{var t="object"==typeof document&&document.all,r=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:r}},7449:(e,t,r)=>{var n=r(8576),s=r(5744),i=n.document,o=s(i)&&s(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},9425:e=>{var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},7365:e=>{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=>{e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},4218:(e,t,r)=>{var n,s,i=r(8576),o=r(8989),c=i.process,a=i.Deno,u=c&&c.versions||a&&a.version,l=u&&u.v8;l&&(s=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!s&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(s=+n[1]),e.exports=s},5607:(e,t,r)=>{var n=r(7545);e.exports=function(e){return n[e+"Prototype"]}},2952:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3085:(e,t,r)=>{"use strict";var n=r(8576),s=r(6298),i=r(4914),o=r(6447),c=r(5141).f,a=r(9245),u=r(7545),l=r(8043),p=r(8711),f=r(4500),h=function(e){var t=function(r,n,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(r);case 2:return new e(r,n)}return new e(r,n,i)}return s(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var r,s,m,y,d,b,v,g,O,j=e.target,S=e.global,w=e.stat,x=e.proto,E=S?n:w?n[j]:(n[j]||{}).prototype,P=S?u:u[j]||p(u,j,{})[j],A=P.prototype;for(y in t)s=!(r=a(S?y:j+(w?".":"#")+y,e.forced))&&E&&f(E,y),b=P[y],s&&(v=e.dontCallGetSet?(O=c(E,y))&&O.value:E[y]),d=s&&v?v:t[y],s&&typeof b==typeof d||(g=e.bind&&s?l(d,n):e.wrap&&s?h(d):x&&o(d)?i(d):d,(e.sham||d&&d.sham||b&&b.sham)&&p(g,"sham",!0),p(P,y,g),x&&(f(u,m=j+"Prototype")||p(u,m,{}),p(u[m],y,d),e.real&&A&&(r||!A[y])&&p(A,y,d)))}},6192:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},6298:(e,t,r)=>{var n=r(2784),s=Function.prototype,i=s.apply,o=s.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(i):function(){return o.apply(i,arguments)})},8043:(e,t,r)=>{var n=r(4914),s=r(6235),i=r(2784),o=n(n.bind);e.exports=function(e,t){return s(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}},2784:(e,t,r)=>{var n=r(6192);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},8922:(e,t,r)=>{var n=r(2784),s=Function.prototype.call;e.exports=n?s.bind(s):function(){return s.apply(s,arguments)}},2282:(e,t,r)=>{var n=r(69),s=r(4500),i=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,c=s(i,"name"),a=c&&"something"===function(){}.name,u=c&&(!n||n&&o(i,"name").configurable);e.exports={EXISTS:c,PROPER:a,CONFIGURABLE:u}},6419:(e,t,r)=>{var n=r(4120),s=r(6235);e.exports=function(e,t,r){try{return n(s(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},4914:(e,t,r)=>{var n=r(9272),s=r(4120);e.exports=function(e){if("Function"===n(e))return s(e)}},4120:(e,t,r)=>{var n=r(2784),s=Function.prototype,i=s.call,o=n&&s.bind.bind(i,i);e.exports=n?o:function(e){return function(){return i.apply(e,arguments)}}},150:(e,t,r)=>{var n=r(7545),s=r(8576),i=r(6447),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e])||o(s[e]):n[e]&&n[e][t]||s[e]&&s[e][t]}},9202:(e,t,r)=>{var n=r(4120),s=r(4770),i=r(6447),o=r(9272),c=r(4845),a=n([].push);e.exports=function(e){if(i(e))return e;if(s(e)){for(var t=e.length,r=[],n=0;n<t;n++){var u=e[n];"string"==typeof u?a(r,u):"number"!=typeof u&&"Number"!=o(u)&&"String"!=o(u)||a(r,c(u))}var l=r.length,p=!0;return function(e,t){if(p)return p=!1,t;if(s(this))return t;for(var n=0;n<l;n++)if(r[n]===e)return t}}}},5037:(e,t,r)=>{var n=r(6235),s=r(5646);e.exports=function(e,t){var r=e[t];return s(r)?void 0:n(r)}},8576:function(e,t,r){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||this||Function("return this")()},4500:(e,t,r)=>{var n=r(4120),s=r(1795),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(s(e),t)}},4535:e=>{e.exports={}},7403:(e,t,r)=>{var n=r(150);e.exports=n("document","documentElement")},188:(e,t,r)=>{var n=r(69),s=r(6192),i=r(7449);e.exports=!n&&!s((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},2202:(e,t,r)=>{var n=r(4120),s=r(6192),i=r(9272),o=Object,c=n("".split);e.exports=s((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?c(e,""):o(e)}:o},9516:(e,t,r)=>{var n=r(4120),s=r(6447),i=r(6434),o=n(Function.toString);s(i.inspectSource)||(i.inspectSource=function(e){return o(e)}),e.exports=i.inspectSource},3326:(e,t,r)=>{var n,s,i,o=r(5278),c=r(8576),a=r(5744),u=r(8711),l=r(4500),p=r(6434),f=r(9766),h=r(4535),m="Object already initialized",y=c.TypeError,d=c.WeakMap;if(o||p.state){var b=p.state||(p.state=new d);b.get=b.get,b.has=b.has,b.set=b.set,n=function(e,t){if(b.has(e))throw y(m);return t.facade=e,b.set(e,t),t},s=function(e){return b.get(e)||{}},i=function(e){return b.has(e)}}else{var v=f("state");h[v]=!0,n=function(e,t){if(l(e,v))throw y(m);return t.facade=e,u(e,v,t),t},s=function(e){return l(e,v)?e[v]:{}},i=function(e){return l(e,v)}}e.exports={set:n,get:s,has:i,enforce:function(e){return i(e)?s(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!a(t)||(r=s(t)).type!==e)throw y("Incompatible receiver, "+e+" required");return r}}}},4770:(e,t,r)=>{var n=r(9272);e.exports=Array.isArray||function(e){return"Array"==n(e)}},6447:(e,t,r)=>{var n=r(8382),s=n.all;e.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===s}:function(e){return"function"==typeof e}},2091:(e,t,r)=>{var n=r(4120),s=r(6192),i=r(6447),o=r(4696),c=r(150),a=r(9516),u=function(){},l=[],p=c("Reflect","construct"),f=/^\s*(?:class|function)\b/,h=n(f.exec),m=!f.exec(u),y=function(e){if(!i(e))return!1;try{return p(u,l,e),!0}catch(e){return!1}},d=function(e){if(!i(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return m||!!h(f,a(e))}catch(e){return!0}};d.sham=!0,e.exports=!p||s((function(){var e;return y(y.call)||!y(Object)||!y((function(){e=!0}))||e}))?d:y},9245:(e,t,r)=>{var n=r(6192),s=r(6447),i=/#|\.prototype\./,o=function(e,t){var r=a[c(e)];return r==l||r!=u&&(s(t)?n(t):!!t)},c=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},a=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},5646:e=>{e.exports=function(e){return null==e}},5744:(e,t,r)=>{var n=r(6447),s=r(8382),i=s.all;e.exports=s.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===i}:function(e){return"object"==typeof e?null!==e:n(e)}},5546:e=>{e.exports=!0},3236:(e,t,r)=>{var n=r(150),s=r(6447),i=r(8902),o=r(615),c=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return s(t)&&i(t.prototype,c(e))}},5695:(e,t,r)=>{"use strict";var n=r(4413).IteratorPrototype,s=r(2853),i=r(774),o=r(1284),c=r(7771),a=function(){return this};e.exports=function(e,t,r,u){var l=t+" Iterator";return e.prototype=s(n,{next:i(+!u,r)}),o(e,l,!1,!0),c[l]=a,e}},5297:(e,t,r)=>{"use strict";var n=r(3085),s=r(8922),i=r(5546),o=r(2282),c=r(6447),a=r(5695),u=r(9341),l=r(4469),p=r(1284),f=r(8711),h=r(9362),m=r(8182),y=r(7771),d=r(4413),b=o.PROPER,v=o.CONFIGURABLE,g=d.IteratorPrototype,O=d.BUGGY_SAFARI_ITERATORS,j=m("iterator"),S="keys",w="values",x="entries",E=function(){return this};e.exports=function(e,t,r,o,m,d,P){a(r,t,o);var A,k,_,N=function(e){if(e===m&&R)return R;if(!O&&e in D)return D[e];switch(e){case S:case w:case x:return function(){return new r(this,e)}}return function(){return new r(this)}},M=t+" Iterator",T=!1,D=e.prototype,F=D[j]||D["@@iterator"]||m&&D[m],R=!O&&F||N(m),J="Array"==t&&D.entries||F;if(J&&(A=u(J.call(new e)))!==Object.prototype&&A.next&&(i||u(A)===g||(l?l(A,g):c(A[j])||h(A,j,E)),p(A,M,!0,!0),i&&(y[M]=E)),b&&m==w&&F&&F.name!==w&&(!i&&v?f(D,"name",w):(T=!0,R=function(){return s(F,this)})),m)if(k={values:N(w),keys:d?R:N(S),entries:N(x)},P)for(_ in k)(O||T||!(_ in D))&&h(D,_,k[_]);else n({target:t,proto:!0,forced:O||T},k);return i&&!P||D[j]===R||h(D,j,R,{name:m}),y[t]=R,k}},4413:(e,t,r)=>{"use strict";var n,s,i,o=r(6192),c=r(6447),a=r(5744),u=r(2853),l=r(9341),p=r(9362),f=r(8182),h=r(5546),m=f("iterator"),y=!1;[].keys&&("next"in(i=[].keys())?(s=l(l(i)))!==Object.prototype&&(n=s):y=!0),!a(n)||o((function(){var e={};return n[m].call(e)!==e}))?n={}:h&&(n=u(n)),c(n[m])||p(n,m,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:y}},7771:e=>{e.exports={}},4104:(e,t,r)=>{var n=r(8445);e.exports=function(e){return n(e.length)}},7679:e=>{var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},2853:(e,t,r)=>{var n,s=r(1138),i=r(1187),o=r(2952),c=r(4535),a=r(7403),u=r(7449),l=r(9766),p="prototype",f="script",h=l("IE_PROTO"),m=function(){},y=function(e){return"<"+f+">"+e+"</"+f+">"},d=function(e){e.write(y("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;b="undefined"!=typeof document?document.domain&&n?d(n):(t=u("iframe"),r="java"+f+":",t.style.display="none",a.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(y("document.F=Object")),e.close(),e.F):d(n);for(var s=o.length;s--;)delete b[p][o[s]];return b()};c[h]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(m[p]=s(e),r=new m,m[p]=null,r[h]=e):r=b(),void 0===t?r:i.f(r,t)}},1187:(e,t,r)=>{var n=r(69),s=r(9600),i=r(2454),o=r(1138),c=r(101),a=r(7653);t.f=n&&!s?Object.defineProperties:function(e,t){o(e);for(var r,n=c(t),s=a(t),u=s.length,l=0;u>l;)i.f(e,r=s[l++],n[r]);return e}},2454:(e,t,r)=>{var n=r(69),s=r(188),i=r(9600),o=r(1138),c=r(77),a=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,p="enumerable",f="configurable",h="writable";t.f=n?i?function(e,t,r){if(o(e),t=c(t),o(r),"function"==typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=l(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:f in r?r[f]:n[f],enumerable:p in r?r[p]:n[p],writable:!1})}return u(e,t,r)}:u:function(e,t,r){if(o(e),t=c(t),o(r),s)try{return u(e,t,r)}catch(e){}if("get"in r||"set"in r)throw a("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},5141:(e,t,r)=>{var n=r(69),s=r(8922),i=r(6007),o=r(774),c=r(101),a=r(77),u=r(4500),l=r(188),p=Object.getOwnPropertyDescriptor;t.f=n?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])}},4052:(e,t,r)=>{var n=r(9272),s=r(101),i=r(2092).f,o=r(1923),c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return c&&"Window"==n(e)?function(e){try{return i(e)}catch(e){return o(c)}}(e):i(s(e))}},2092:(e,t,r)=>{var n=r(7934),s=r(2952).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,s)}},4750:(e,t)=>{t.f=Object.getOwnPropertySymbols},9341:(e,t,r)=>{var n=r(4500),s=r(6447),i=r(1795),o=r(9766),c=r(4635),a=o("IE_PROTO"),u=Object,l=u.prototype;e.exports=c?u.getPrototypeOf:function(e){var t=i(e);if(n(t,a))return t[a];var r=t.constructor;return s(r)&&t instanceof r?r.prototype:t instanceof u?l:null}},8902:(e,t,r)=>{var n=r(4120);e.exports=n({}.isPrototypeOf)},7934:(e,t,r)=>{var n=r(4120),s=r(4500),i=r(101),o=r(8180).indexOf,c=r(4535),a=n([].push);e.exports=function(e,t){var r,n=i(e),u=0,l=[];for(r in n)!s(c,r)&&s(n,r)&&a(l,r);for(;t.length>u;)s(n,r=t[u++])&&(~o(l,r)||a(l,r));return l}},7653:(e,t,r)=>{var n=r(7934),s=r(2952);e.exports=Object.keys||function(e){return n(e,s)}},6007:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,s=n&&!r.call({1:2},1);t.f=s?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},4469:(e,t,r)=>{var n=r(6419),s=r(1138),i=r(7757);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return s(r),i(n),t?e(r,n):r.__proto__=n,r}}():void 0)},158:(e,t,r)=>{"use strict";var n=r(3471),s=r(4696);e.exports=n?{}.toString:function(){return"[object "+s(this)+"]"}},380:(e,t,r)=>{var n=r(8922),s=r(6447),i=r(5744),o=TypeError;e.exports=function(e,t){var r,c;if("string"===t&&s(r=e.toString)&&!i(c=n(r,e)))return c;if(s(r=e.valueOf)&&!i(c=n(r,e)))return c;if("string"!==t&&s(r=e.toString)&&!i(c=n(r,e)))return c;throw o("Can't convert object to primitive value")}},7545:e=>{e.exports={}},3209:(e,t,r)=>{var n=r(5646),s=TypeError;e.exports=function(e){if(n(e))throw s("Can't call method on "+e);return e}},1284:(e,t,r)=>{var n=r(3471),s=r(2454).f,i=r(8711),o=r(4500),c=r(158),a=r(8182)("toStringTag");e.exports=function(e,t,r,u){if(e){var l=r?e:e.prototype;o(l,a)||s(l,a,{configurable:!0,value:t}),u&&!n&&i(l,"toString",c)}}},9766:(e,t,r)=>{var n=r(8717),s=r(2759),i=n("keys");e.exports=function(e){return i[e]||(i[e]=s(e))}},6434:(e,t,r)=>{var n=r(8576),s=r(5098),i="__core-js_shared__",o=n[i]||s(i,{});e.exports=o},8717:(e,t,r)=>{var n=r(5546),s=r(6434);(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.31.1",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.1/LICENSE",source:"https://github.com/zloirock/core-js"})},863:(e,t,r)=>{var n=r(4120),s=r(1941),i=r(4845),o=r(3209),c=n("".charAt),a=n("".charCodeAt),u=n("".slice),l=function(e){return function(t,r){var n,l,p=i(o(t)),f=s(r),h=p.length;return f<0||f>=h?e?"":void 0:(n=a(p,f))<55296||n>56319||f+1===h||(l=a(p,f+1))<56320||l>57343?e?c(p,f):n:e?u(p,f,f+2):l-56320+(n-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},6770:(e,t,r)=>{var n=r(4218),s=r(6192),i=r(8576).String;e.exports=!!Object.getOwnPropertySymbols&&!s((function(){var e=Symbol();return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},3407:(e,t,r)=>{var n=r(8922),s=r(150),i=r(8182),o=r(9362);e.exports=function(){var e=s("Symbol"),t=e&&e.prototype,r=t&&t.valueOf,c=i("toPrimitive");t&&!t[c]&&o(t,c,(function(e){return n(r,this)}),{arity:1})}},8743:(e,t,r)=>{var n=r(150),s=r(4120),i=n("Symbol"),o=i.keyFor,c=s(i.prototype.valueOf);e.exports=i.isRegisteredSymbol||function(e){try{return void 0!==o(c(e))}catch(e){return!1}}},5128:(e,t,r)=>{for(var n=r(8717),s=r(150),i=r(4120),o=r(3236),c=r(8182),a=s("Symbol"),u=a.isWellKnownSymbol,l=s("Object","getOwnPropertyNames"),p=i(a.prototype.valueOf),f=n("wks"),h=0,m=l(a),y=m.length;h<y;h++)try{var d=m[h];o(a[d])&&c(d)}catch(e){}e.exports=function(e){if(u&&u(e))return!0;try{for(var t=p(e),r=0,n=l(f),s=n.length;r<s;r++)if(f[n[r]]==t)return!0}catch(e){}return!1}},31:(e,t,r)=>{var n=r(6770);e.exports=n&&!!Symbol.for&&!!Symbol.keyFor},7739:(e,t,r)=>{var n=r(1941),s=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?s(r+t,0):i(r,t)}},101:(e,t,r)=>{var n=r(2202),s=r(3209);e.exports=function(e){return n(s(e))}},1941:(e,t,r)=>{var n=r(7679);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},8445:(e,t,r)=>{var n=r(1941),s=Math.min;e.exports=function(e){return e>0?s(n(e),9007199254740991):0}},1795:(e,t,r)=>{var n=r(3209),s=Object;e.exports=function(e){return s(n(e))}},7888:(e,t,r)=>{var n=r(8922),s=r(5744),i=r(3236),o=r(5037),c=r(380),a=r(8182),u=TypeError,l=a("toPrimitive");e.exports=function(e,t){if(!s(e)||i(e))return e;var r,a=o(e,l);if(a){if(void 0===t&&(t="default"),r=n(a,e,t),!s(r)||i(r))return r;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),c(e,t)}},77:(e,t,r)=>{var n=r(7888),s=r(3236);e.exports=function(e){var t=n(e,"string");return s(t)?t:t+""}},3471:(e,t,r)=>{var n={};n[r(8182)("toStringTag")]="z",e.exports="[object z]"===String(n)},4845:(e,t,r)=>{var n=r(4696),s=String;e.exports=function(e){if("Symbol"===n(e))throw TypeError("Cannot convert a Symbol value to a string");return s(e)}},9288:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},2759:(e,t,r)=>{var n=r(4120),s=0,i=Math.random(),o=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++s+i,36)}},615:(e,t,r)=>{var n=r(6770);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},9600:(e,t,r)=>{var n=r(69),s=r(6192);e.exports=n&&s((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5278:(e,t,r)=>{var n=r(8576),s=r(6447),i=n.WeakMap;e.exports=s(i)&&/native code/.test(String(i))},8332:(e,t,r)=>{var n=r(7545),s=r(4500),i=r(9207),o=r(2454).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});s(t,e)||o(t,e,{value:i.f(e)})}},9207:(e,t,r)=>{var n=r(8182);t.f=n},8182:(e,t,r)=>{var n=r(8576),s=r(8717),i=r(4500),o=r(2759),c=r(6770),a=r(615),u=n.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]}},9106:(e,t,r)=>{"use strict";var n=r(3085),s=r(6192),i=r(4770),o=r(5744),c=r(1795),a=r(4104),u=r(9425),l=r(9361),p=r(1321),f=r(242),h=r(8182),m=r(4218),y=h("isConcatSpreadable"),d=m>=51||!s((function(){var e=[];return e[y]=!1,e.concat()[0]!==e})),b=function(e){if(!o(e))return!1;var t=e[y];return void 0!==t?!!t:i(e)};n({target:"Array",proto:!0,arity:1,forced:!d||!f("concat")},{concat:function(e){var t,r,n,s,i,o=c(this),f=p(o,0),h=0;for(t=-1,n=arguments.length;t<n;t++)if(b(i=-1===t?o:arguments[t]))for(s=a(i),u(h+s),r=0;r<s;r++,h++)r in i&&l(f,h,i[r]);else u(h+1),l(f,h++,i);return f.length=h,f}})},2276:(e,t,r)=>{"use strict";var n=r(3085),s=r(4914),i=r(8180).indexOf,o=r(424),c=s([].indexOf),a=!!c&&1/c([1],1,-0)<0;n({target:"Array",proto:!0,forced:a||!o("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return a?c(this,e,t)||0:i(this,e,t)}})},8939:(e,t,r)=>{"use strict";var n=r(101),s=r(7423),i=r(7771),o=r(3326),c=r(2454).f,a=r(5297),u=r(7271),l=r(5546),p=r(69),f="Array Iterator",h=o.set,m=o.getterFor(f);e.exports=a(Array,"Array",(function(e,t){h(this,{type:f,target:n(e),index:0,kind:t})}),(function(){var e=m(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,u(void 0,!0)):u("keys"==r?n:"values"==r?t[n]:[n,t[n]],!1)}),"values");var y=i.Arguments=i.Array;if(s("keys"),s("values"),s("entries"),!l&&p&&"values"!==y.name)try{c(y,"name",{value:"values"})}catch(e){}},2432:()=>{},9704:(e,t,r)=>{var n=r(3085),s=r(150),i=r(6298),o=r(8922),c=r(4120),a=r(6192),u=r(6447),l=r(3236),p=r(3096),f=r(9202),h=r(6770),m=String,y=s("JSON","stringify"),d=c(/./.exec),b=c("".charAt),v=c("".charCodeAt),g=c("".replace),O=c(1..toString),j=/[\uD800-\uDFFF]/g,S=/^[\uD800-\uDBFF]$/,w=/^[\uDC00-\uDFFF]$/,x=!h||a((function(){var e=s("Symbol")();return"[null]"!=y([e])||"{}"!=y({a:e})||"{}"!=y(Object(e))})),E=a((function(){return'"\\udf06\\ud834"'!==y("\udf06\ud834")||'"\\udead"'!==y("\udead")})),P=function(e,t){var r=p(arguments),n=f(t);if(u(n)||void 0!==e&&!l(e))return r[1]=function(e,t){if(u(n)&&(t=o(n,this,m(e),t)),!l(t))return t},i(y,null,r)},A=function(e,t,r){var n=b(r,t-1),s=b(r,t+1);return d(S,e)&&!d(w,s)||d(w,e)&&!d(S,n)?"\\u"+O(v(e,0),16):e};y&&n({target:"JSON",stat:!0,arity:3,forced:x||E},{stringify:function(e,t,r){var n=p(arguments),s=i(x?P:y,null,n);return E&&"string"==typeof s?g(s,j,A):s}})},8671:(e,t,r)=>{var n=r(8576);r(1284)(n.JSON,"JSON",!0)},8556:()=>{},297:(e,t,r)=>{var n=r(3085),s=r(69),i=r(2454).f;n({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!s},{defineProperty:i})},7895:(e,t,r)=>{var n=r(3085),s=r(6770),i=r(6192),o=r(4750),c=r(1795);n({target:"Object",stat:!0,forced:!s||i((function(){o.f(1)}))},{getOwnPropertySymbols:function(e){var t=o.f;return t?t(c(e)):[]}})},2647:(e,t,r)=>{var n=r(3085),s=r(1795),i=r(7653);n({target:"Object",stat:!0,forced:r(6192)((function(){i(1)}))},{keys:function(e){return i(s(e))}})},6663:()=>{},1367:()=>{},5454:(e,t,r)=>{"use strict";var n=r(863).charAt,s=r(4845),i=r(3326),o=r(5297),c=r(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),r=t.string,s=t.index;return s>=r.length?c(void 0,!0):(e=n(r,s),t.index+=e.length,c(e,!1))}))},9781:(e,t,r)=>{r(8332)("asyncIterator")},9351:(e,t,r)=>{"use strict";var n=r(3085),s=r(8576),i=r(8922),o=r(4120),c=r(5546),a=r(69),u=r(6770),l=r(6192),p=r(4500),f=r(8902),h=r(1138),m=r(101),y=r(77),d=r(4845),b=r(774),v=r(2853),g=r(7653),O=r(2092),j=r(4052),S=r(4750),w=r(5141),x=r(2454),E=r(1187),P=r(6007),A=r(9362),k=r(2807),_=r(8717),N=r(9766),M=r(4535),T=r(2759),D=r(8182),F=r(9207),R=r(8332),J=r(3407),L=r(1284),V=r(3326),C=r(454).forEach,I=N("hidden"),$="Symbol",B="prototype",q=V.set,z=V.getterFor($),G=Object[B],U=s.Symbol,H=U&&U[B],K=s.TypeError,W=s.QObject,Q=w.f,Y=x.f,X=j.f,Z=P.f,ee=o([].push),te=_("symbols"),re=_("op-symbols"),ne=_("wks"),se=!W||!W[B]||!W[B].findChild,ie=a&&l((function(){return 7!=v(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=Q(G,t);n&&delete G[t],Y(e,t,r),n&&e!==G&&Y(G,t,n)}:Y,oe=function(e,t){var r=te[e]=v(H);return q(r,{type:$,tag:e,description:t}),a||(r.description=t),r},ce=function(e,t,r){e===G&&ce(re,t,r),h(e);var n=y(t);return h(r),p(te,n)?(r.enumerable?(p(e,I)&&e[I][n]&&(e[I][n]=!1),r=v(r,{enumerable:b(0,!1)})):(p(e,I)||Y(e,I,b(1,{})),e[I][n]=!0),ie(e,n,r)):Y(e,n,r)},ae=function(e,t){h(e);var r=m(t),n=g(r).concat(fe(r));return C(n,(function(t){a&&!i(ue,r,t)||ce(e,t,r[t])})),e},ue=function(e){var t=y(e),r=i(Z,this,t);return!(this===G&&p(te,t)&&!p(re,t))&&(!(r||!p(this,t)||!p(te,t)||p(this,I)&&this[I][t])||r)},le=function(e,t){var r=m(e),n=y(t);if(r!==G||!p(te,n)||p(re,n)){var s=Q(r,n);return!s||!p(te,n)||p(r,I)&&r[I][n]||(s.enumerable=!0),s}},pe=function(e){var t=X(m(e)),r=[];return C(t,(function(e){p(te,e)||p(M,e)||ee(r,e)})),r},fe=function(e){var t=e===G,r=X(t?re:m(e)),n=[];return C(r,(function(e){!p(te,e)||t&&!p(G,e)||ee(n,te[e])})),n};u||(A(H=(U=function(){if(f(H,this))throw K("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?d(arguments[0]):void 0,t=T(e),r=function(e){this===G&&i(r,re,e),p(this,I)&&p(this[I],t)&&(this[I][t]=!1),ie(this,t,b(1,e))};return a&&se&&ie(G,t,{configurable:!0,set:r}),oe(t,e)})[B],"toString",(function(){return z(this).tag})),A(U,"withoutSetter",(function(e){return oe(T(e),e)})),P.f=ue,x.f=ce,E.f=ae,w.f=le,O.f=j.f=pe,S.f=fe,F.f=function(e){return oe(D(e),e)},a&&(k(H,"description",{configurable:!0,get:function(){return z(this).description}}),c||A(G,"propertyIsEnumerable",ue,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:U}),C(g(ne),(function(e){R(e)})),n({target:$,stat:!0,forced:!u},{useSetter:function(){se=!0},useSimple:function(){se=!1}}),n({target:"Object",stat:!0,forced:!u,sham:!a},{create:function(e,t){return void 0===t?v(e):ae(v(e),t)},defineProperty:ce,defineProperties:ae,getOwnPropertyDescriptor:le}),n({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:pe}),J(),L(U,$),M[I]=!0},492:()=>{},9148:(e,t,r)=>{var n=r(3085),s=r(150),i=r(4500),o=r(4845),c=r(8717),a=r(31),u=c("string-to-symbol-registry"),l=c("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!a},{for:function(e){var t=o(e);if(i(u,t))return u[t];var r=s("Symbol")(t);return u[t]=r,l[r]=t,r}})},6681:(e,t,r)=>{r(8332)("hasInstance")},9594:(e,t,r)=>{r(8332)("isConcatSpreadable")},3665:(e,t,r)=>{r(8332)("iterator")},6187:(e,t,r)=>{r(9351),r(9148),r(5991),r(9704),r(7895)},5991:(e,t,r)=>{var n=r(3085),s=r(4500),i=r(3236),o=r(9288),c=r(8717),a=r(31),u=c("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!a},{keyFor:function(e){if(!i(e))throw TypeError(o(e)+" is not a symbol");if(s(u,e))return u[e]}})},1250:(e,t,r)=>{r(8332)("matchAll")},9017:(e,t,r)=>{r(8332)("match")},9786:(e,t,r)=>{r(8332)("replace")},503:(e,t,r)=>{r(8332)("search")},6565:(e,t,r)=>{r(8332)("species")},9322:(e,t,r)=>{r(8332)("split")},3610:(e,t,r)=>{var n=r(8332),s=r(3407);n("toPrimitive"),s()},6886:(e,t,r)=>{var n=r(150),s=r(8332),i=r(1284);s("toStringTag"),i(n("Symbol"),"Symbol")},3514:(e,t,r)=>{r(8332)("unscopables")},7148:(e,t,r)=>{var n=r(8182),s=r(2454).f,i=n("metadata"),o=Function.prototype;void 0===o[i]&&s(o,i,{value:null})},177:(e,t,r)=>{r(8332)("asyncDispose")},9031:(e,t,r)=>{r(8332)("dispose")},3346:(e,t,r)=>{r(3085)({target:"Symbol",stat:!0},{isRegisteredSymbol:r(8743)})},2725:(e,t,r)=>{r(3085)({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:r(8743)})},3520:(e,t,r)=>{r(3085)({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:r(5128)})},1806:(e,t,r)=>{r(3085)({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:r(5128)})},6658:(e,t,r)=>{r(8332)("matcher")},4212:(e,t,r)=>{r(8332)("metadataKey")},1875:(e,t,r)=>{r(8332)("metadata")},8658:(e,t,r)=>{r(8332)("observable")},4592:(e,t,r)=>{r(8332)("patternMatch")},6680:(e,t,r)=>{r(8332)("replaceAll")},162:(e,t,r)=>{r(8939);var n=r(7365),s=r(8576),i=r(4696),o=r(8711),c=r(7771),a=r(8182)("toStringTag");for(var u in n){var l=s[u],p=l&&l.prototype;p&&i(p)!==a&&o(p,a,u),c[u]=c.Array}},6174:(e,t,r)=>{var n=r(2604);e.exports=n},7820:(e,t,r)=>{var n=r(3512);e.exports=n},2:(e,t,r)=>{var n=r(2921);e.exports=n},5636:(e,t,r)=>{var n=r(8651);e.exports=n},2285:(e,t,r)=>{var n=r(5008);r(162),e.exports=n},8535:(e,t,r)=>{var n=r(994);r(162),e.exports=n},6042:(e,t,r)=>{var n=r(290);e.exports=n},9515:(e,t,r)=>{var n=r(8761)(r(7772),"DataView");e.exports=n},9612:(e,t,r)=>{var n=r(2118),s=r(6909),i=r(8138),o=r(4174),c=r(7942);function a(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}a.prototype.clear=n,a.prototype.delete=s,a.prototype.get=i,a.prototype.has=o,a.prototype.set=c,e.exports=a},235:(e,t,r)=>{var n=r(3945),s=r(1846),i=r(8028),o=r(2344),c=r(4769);function a(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}a.prototype.clear=n,a.prototype.delete=s,a.prototype.get=i,a.prototype.has=o,a.prototype.set=c,e.exports=a},326:(e,t,r)=>{var n=r(8761)(r(7772),"Map");e.exports=n},6738:(e,t,r)=>{var n=r(2411),s=r(6417),i=r(6928),o=r(9493),c=r(4150);function a(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}a.prototype.clear=n,a.prototype.delete=s,a.prototype.get=i,a.prototype.has=o,a.prototype.set=c,e.exports=a},2760:(e,t,r)=>{var n=r(8761)(r(7772),"Promise");e.exports=n},2143:(e,t,r)=>{var n=r(8761)(r(7772),"Set");e.exports=n},5386:(e,t,r)=>{var n=r(6738),s=r(2842),i=r(2482);function o(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}o.prototype.add=o.prototype.push=s,o.prototype.has=i,e.exports=o},6571:(e,t,r)=>{var n=r(235),s=r(5243),i=r(2858),o=r(4417),c=r(8605),a=r(1418);function u(e){var t=this.__data__=new n(e);this.size=t.size}u.prototype.clear=s,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=c,u.prototype.set=a,e.exports=u},857:(e,t,r)=>{var n=r(7772).Symbol;e.exports=n},9162:(e,t,r)=>{var n=r(7772).Uint8Array;e.exports=n},3215:(e,t,r)=>{var n=r(8761)(r(7772),"WeakMap");e.exports=n},7552:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,s=0,i=[];++r<n;){var o=e[r];t(o,r,e)&&(i[s++]=o)}return i}},1634:(e,t,r)=>{var n=r(6473),s=r(9631),i=r(6152),o=r(3226),c=r(9045),a=r(7598),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=i(e),l=!r&&s(e),p=!r&&!l&&o(e),f=!r&&!l&&!p&&a(e),h=r||l||p||f,m=h?n(e.length,String):[],y=m.length;for(var d in e)!t&&!u.call(e,d)||h&&("length"==d||p&&("offset"==d||"parent"==d)||f&&("buffer"==d||"byteLength"==d||"byteOffset"==d)||c(d,y))||m.push(d);return m}},5067:e=>{e.exports=function(e,t){for(var r=-1,n=t.length,s=e.length;++r<n;)e[s+r]=t[r];return e}},7064:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},2218:(e,t,r)=>{var n=r(1225);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},1897:(e,t,r)=>{var n=r(5067),s=r(6152);e.exports=function(e,t,r){var i=t(e);return s(e)?i:n(i,r(e))}},3366:(e,t,r)=>{var n=r(857),s=r(2107),i=r(7157),o=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?s(e):i(e)}},5183:(e,t,r)=>{var n=r(3366),s=r(5125);e.exports=function(e){return s(e)&&"[object Arguments]"==n(e)}},8746:(e,t,r)=>{var n=r(1952),s=r(5125);e.exports=function e(t,r,i,o,c){return t===r||(null==t||null==r||!s(t)&&!s(r)?t!=t&&r!=r:n(t,r,i,o,e,c))}},1952:(e,t,r)=>{var n=r(6571),s=r(4871),i=r(1491),o=r(7416),c=r(940),a=r(6152),u=r(3226),l=r(7598),p="[object Arguments]",f="[object Array]",h="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,y,d,b){var v=a(e),g=a(t),O=v?f:c(e),j=g?f:c(t),S=(O=O==p?h:O)==h,w=(j=j==p?h:j)==h,x=O==j;if(x&&u(e)){if(!u(t))return!1;v=!0,S=!1}if(x&&!S)return b||(b=new n),v||l(e)?s(e,t,r,y,d,b):i(e,t,O,r,y,d,b);if(!(1&r)){var E=S&&m.call(e,"__wrapped__"),P=w&&m.call(t,"__wrapped__");if(E||P){var A=E?e.value():e,k=P?t.value():t;return b||(b=new n),d(A,k,r,y,b)}}return!!x&&(b||(b=new n),o(e,t,r,y,d,b))}},6840:(e,t,r)=>{var n=r(1049),s=r(7394),i=r(9259),o=r(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))&&(n(e)?f:c).test(o(e))}},5522:(e,t,r)=>{var n=r(3366),s=r(1158),i=r(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[n(e)]}},6411:(e,t,r)=>{var n=r(6001),s=r(4248),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return s(e);var t=[];for(var r in Object(e))i.call(e,r)&&"constructor"!=r&&t.push(r);return t}},6473:e=>{e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},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,r)=>{var n=r(7772)["__core-js_shared__"];e.exports=n},4871:(e,t,r)=>{var n=r(5386),s=r(7064),i=r(9950);e.exports=function(e,t,r,o,c,a){var u=1&r,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,y=!0,d=2&r?new n:void 0;for(a.set(e,t),a.set(t,e);++m<l;){var b=e[m],v=t[m];if(o)var g=u?o(v,b,m,t,e,a):o(b,v,m,e,t,a);if(void 0!==g){if(g)continue;y=!1;break}if(d){if(!s(t,(function(e,t){if(!i(d,t)&&(b===e||c(b,e,r,o,a)))return d.push(t)}))){y=!1;break}}else if(b!==v&&!c(b,v,r,o,a)){y=!1;break}}return a.delete(e),a.delete(t),y}},1491:(e,t,r)=>{var n=r(857),s=r(9162),i=r(1225),o=r(4871),c=r(5179),a=r(4207),u=n?n.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,r,n,u,p,f){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!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&n;if(h||(h=a),e.size!=t.size&&!m)return!1;var y=f.get(e);if(y)return y==t;n|=2,f.set(e,t);var d=o(h(e),h(t),n,u,p,f);return f.delete(e),d;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},7416:(e,t,r)=>{var n=r(3483),s=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,i,o,c){var a=1&r,u=n(e),l=u.length;if(l!=n(t).length&&!a)return!1;for(var 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 y=!0;c.set(e,t),c.set(t,e);for(var d=a;++p<l;){var b=e[f=u[p]],v=t[f];if(i)var g=a?i(v,b,f,t,e,c):i(b,v,f,e,t,c);if(!(void 0===g?b===v||o(b,v,r,i,c):g)){y=!1;break}d||(d="constructor"==f)}if(y&&!d){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||(y=!1)}return c.delete(e),c.delete(t),y}},1242:(e,t,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},3483:(e,t,r)=>{var n=r(1897),s=r(633),i=r(249);e.exports=function(e){return n(e,i,s)}},7937:(e,t,r)=>{var n=r(8304);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},8761:(e,t,r)=>{var n=r(6840),s=r(8109);e.exports=function(e,t){var r=s(e,t);return n(r)?r:void 0}},2107:(e,t,r)=>{var n=r(857),s=Object.prototype,i=s.hasOwnProperty,o=s.toString,c=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,c),r=e[c];try{e[c]=void 0;var n=!0}catch(e){}var s=o.call(e);return n&&(t?e[c]=r:delete e[c]),s}},633:(e,t,r)=>{var n=r(7552),s=r(981),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,c=o?function(e){return null==e?[]:(e=Object(e),n(o(e),(function(t){return i.call(e,t)})))}:s;e.exports=c},940:(e,t,r)=>{var n=r(9515),s=r(326),i=r(2760),o=r(2143),c=r(3215),a=r(3366),u=r(7035),l="[object Map]",p="[object Promise]",f="[object Set]",h="[object WeakMap]",m="[object DataView]",y=u(n),d=u(s),b=u(i),v=u(o),g=u(c),O=a;(n&&O(new n(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),r="[object Object]"==t?e.constructor:void 0,n=r?u(r):"";if(n)switch(n){case y:return m;case d:return l;case b:return p;case v: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,r)=>{var n=r(9191);e.exports=function(){this.__data__=n?n(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,r)=>{var n=r(9191),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return s.call(t,e)?t[e]:void 0}},4174:(e,t,r)=>{var n=r(9191),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:s.call(t,e)}},7942:(e,t,r)=>{var n=r(9191);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},9045:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,r){var n=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<r}},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,r)=>{var n,s=r(4019),i=(n=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!i&&i in e}},6001:e=>{var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},3945:e=>{e.exports=function(){this.__data__=[],this.size=0}},1846:(e,t,r)=>{var n=r(2218),s=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0)&&(r==t.length-1?t.pop():s.call(t,r,1),--this.size,!0)}},8028:(e,t,r)=>{var n=r(2218);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},2344:(e,t,r)=>{var n=r(2218);e.exports=function(e){return n(this.__data__,e)>-1}},4769:(e,t,r)=>{var n=r(2218);e.exports=function(e,t){var r=this.__data__,s=n(r,e);return s<0?(++this.size,r.push([e,t])):r[s][1]=t,this}},2411:(e,t,r)=>{var n=r(9612),s=r(235),i=r(326);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||s),string:new n}}},6417:(e,t,r)=>{var n=r(7937);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},6928:(e,t,r)=>{var n=r(7937);e.exports=function(e){return n(this,e).get(e)}},9493:(e,t,r)=>{var n=r(7937);e.exports=function(e){return n(this,e).has(e)}},4150:(e,t,r)=>{var n=r(7937);e.exports=function(e,t){var r=n(this,e),s=r.size;return r.set(e,t),this.size+=r.size==s?0:1,this}},5179:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}},9191:(e,t,r)=>{var n=r(8761)(Object,"create");e.exports=n},4248:(e,t,r)=>{var n=r(241)(Object.keys,Object);e.exports=n},4146:(e,t,r)=>{e=r.nmd(e);var n=r(1242),s=t&&!t.nodeType&&t,i=s&&e&&!e.nodeType&&e,o=i&&i.exports===s&&n.process,c=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=c},7157:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},241:e=>{e.exports=function(e,t){return function(r){return e(t(r))}}},7772:(e,t,r)=>{var n=r(1242),s="object"==typeof self&&self&&self.Object===Object&&self,i=n||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,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},5243:(e,t,r)=>{var n=r(235);e.exports=function(){this.__data__=new n,this.size=0}},2858:e=>{e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},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,r)=>{var n=r(235),s=r(326),i=r(6738);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var o=r.__data__;if(!s||o.length<199)return o.push([e,t]),this.size=++r.size,this;r=this.__data__=new i(o)}return r.set(e,t),this.size=r.size,this}},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,r)=>{var n=r(5183),s=r(5125),i=Object.prototype,o=i.hasOwnProperty,c=i.propertyIsEnumerable,a=n(function(){return arguments}())?n:function(e){return s(e)&&o.call(e,"callee")&&!c.call(e,"callee")};e.exports=a},6152:e=>{var t=Array.isArray;e.exports=t},7878:(e,t,r)=>{var n=r(1049),s=r(1158);e.exports=function(e){return null!=e&&s(e.length)&&!n(e)}},4335:(e,t,r)=>{var n=r(3366),s=r(5125);e.exports=function(e){return!0===e||!1===e||s(e)&&"[object Boolean]"==n(e)}},3226:(e,t,r)=>{e=r.nmd(e);var n=r(7772),s=r(6330),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,c=o&&o.exports===i?n.Buffer:void 0,a=(c?c.isBuffer:void 0)||s;e.exports=a},8149:(e,t,r)=>{var n=r(8746);e.exports=function(e,t){return n(e,t)}},1049:(e,t,r)=>{var n=r(3366),s=r(9259);e.exports=function(e){if(!s(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},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,r)=>{var n=r(3366),s=r(5125);e.exports=function(e){return"number"==typeof e||s(e)&&"[object Number]"==n(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,r)=>{var n=r(3366),s=r(6152),i=r(5125);e.exports=function(e){return"string"==typeof e||!s(e)&&i(e)&&"[object String]"==n(e)}},7598:(e,t,r)=>{var n=r(5522),s=r(7826),i=r(4146),o=i&&i.isTypedArray,c=o?s(o):n;e.exports=c},249:(e,t,r)=>{var n=r(1634),s=r(6411),i=r(7878);e.exports=function(e){return i(e)?n(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,r)=>{const n=r(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 r=[];return this.forEach((n=>{const s=e.bind(t)(n);s&&r.push(s)})),r}filter(e,t){return e=s(e),new i(this.elements.filter(e,t))}reject(e,t){return e=s(e),new i(this.elements.filter(n(e),t))}find(e,t){return e=s(e),this.elements.find(e,t)}forEach(e,t){this.elements.forEach(e,t)}reduce(e,t){return this.elements.reduce(e,t)}includes(e){return this.elements.some((t=>t.equals(e)))}shift(){return this.elements.shift()}unshift(e){this.elements.unshift(this.refract(e))}push(e){return this.elements.push(this.refract(e)),this}add(e){this.push(e)}get(e){return this.elements[e]}getValue(e){const t=this.elements[e];if(t)return t.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(i.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),e.exports=i},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,r)=>{const n=r(5877),s=r(5505),i=r(537),o=r(4335),c=r(9259),a=r(2947),u=r(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(n,u.NullElement,!1).detect(s,u.StringElement,!1).detect(i,u.NumberElement,!1).detect(o,u.BooleanElement,!1).detect(Array.isArray,u.ArrayElement,!1).detect(c,u.ObjectElement,!1),this}register(e,t){return this._elements=void 0,this.elementMap[e]=t,this}unregister(e){return this._elements=void 0,delete this.elementMap[e],this}detect(e,t,r){return void 0===r||r?this.elementDetection.unshift([e,t]):this.elementDetection.push([e,t]),this}toElement(e){if(e instanceof this.Element)return e;let t;for(let r=0;r<this.elementDetection.length;r+=1){const n=this.elementDetection[r][0],s=this.elementDetection[r][1];if(n(e)){t=new s(e);break}}return t}getElementClass(e){const t=this.elementMap[e];return void 0===t?this.Element:t}fromRefract(e){return this.serialiser.deserialise(e)}toRefract(e){return this.serialiser.serialise(e)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((e=>{const t=e[0].toUpperCase()+e.substr(1);this._elements[t]=this.elementMap[e]}))),this._elements}get serialiser(){return new a(this)}}a.prototype.Namespace=l,e.exports=l},3853:(e,t,r)=>{const n=r(1570),s=r(1178);class i extends s{map(e,t){return this.elements.map((r=>e.bind(t)(r.value,r.key,r)))}filter(e,t){return new i(this.elements.filter((r=>e.bind(t)(r.value,r.key,r))))}reject(e,t){return this.filter(n(e.bind(t)))}forEach(e,t){return this.elements.forEach(((r,n)=>{e.bind(t)(r.value,r.key,r,n)}))}keys(){return this.map(((e,t)=>t.toValue()))}values(){return this.map((e=>e.toValue()))}}e.exports=i},3756:(e,t,r)=>{const n=r(6420),s=r(4152),i=r(9542),o=r(3710),c=r(3312),a=r(1641),u=r(8858),l=r(3860),p=r(5202),f=r(2320),h=r(1178),m=r(3853),y=r(3026);function d(e){if(e instanceof n)return e;if("string"==typeof e)return new i(e);if("number"==typeof e)return new o(e);if("boolean"==typeof e)return new c(e);if(null===e)return new s;if(Array.isArray(e))return new a(e.map(d));if("object"==typeof e){return new l(e)}return e}n.prototype.ObjectElement=l,n.prototype.RefElement=f,n.prototype.MemberElement=u,n.prototype.refract=d,h.prototype.refract=d,e.exports={Element:n,NullElement:s,StringElement:i,NumberElement:o,BooleanElement:c,ArrayElement:a,MemberElement:u,ObjectElement:l,LinkElement:p,RefElement:f,refract:d,ArraySlice:h,ObjectSlice:m,KeyValuePair:y}},5202:(e,t,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e||[],t,r),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(e){this.attributes.set("relation",e)}get href(){return this.attributes.get("href")}set href(e){this.attributes.set("href",e)}}},2320:(e,t,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e||[],t,r),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(e){this.attributes.set("path",e)}}},7952:(e,t,r)=>{const n=r(5140),s=r(3756);t.lS=n,r(3026),s.ArraySlice,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,r(2947),r(8910)},1641:(e,t,r)=>{const n=r(1570),s=r(6420),i=r(1178);class o extends s{constructor(e,t,r){super(e||[],t,r),this.element="array"}primitive(){return"array"}get(e){return this.content[e]}getValue(e){const t=this.get(e);if(t)return t.toValue()}getIndex(e){return this.content[e]}set(e,t){return this.content[e]=this.refract(t),this}remove(e){const t=this.content.splice(e,1);return t.length?t[0]:null}map(e,t){return this.content.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const r=[];return this.forEach((n=>{const s=e.bind(t)(n);s&&r.push(s)})),r}filter(e,t){return new i(this.content.filter(e,t))}reject(e,t){return this.filter(n(e),t)}reduce(e,t){let r,n;void 0!==t?(r=0,n=this.refract(t)):(r=1,n="object"===this.primitive()?this.first.value:this.first);for(let t=r;t<this.length;t+=1){const r=this.content[t];n="object"===this.primitive()?this.refract(e(n,r.value,r.key,r,this)):this.refract(e(n,r,t,this))}return n}forEach(e,t){this.content.forEach(((r,n)=>{e.bind(t)(r,this.refract(n))}))}shift(){return this.content.shift()}unshift(e){this.content.unshift(this.refract(e))}push(e){return this.content.push(this.refract(e)),this}add(e){this.push(e)}findElements(e,t){const r=t||{},n=!!r.recursive,s=void 0===r.results?[]:r.results;return this.forEach(((t,r,i)=>{n&&void 0!==t.findElements&&t.findElements(e,{results:s,recursive:n}),e(t,r,i)&&s.push(t)})),s}find(e){return new i(this.findElements(e,{recursive:!0}))}findByElement(e){return this.find((t=>t.element===e))}findByClass(e){return this.find((t=>t.classes.includes(e)))}getById(e){return this.find((t=>t.id.toValue()===e)).first}includes(e){return this.content.some((t=>t.equals(e)))}contains(e){return this.includes(e)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(e){return new this.constructor(this.content.concat(e.content))}"fantasy-land/concat"(e){return this.concat(e)}"fantasy-land/map"(e){return new this.constructor(this.map(e))}"fantasy-land/chain"(e){return this.map((t=>e(t)),this).reduce(((e,t)=>e.concat(t)),this.empty())}"fantasy-land/filter"(e){return new this.constructor(this.content.filter(e))}"fantasy-land/reduce"(e,t){return this.content.reduce(e,t)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}o.empty=function(){return new this},o["fantasy-land/empty"]=o.empty,"undefined"!=typeof Symbol&&(o.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),e.exports=o},3312:(e,t,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e,t,r),this.element="boolean"}primitive(){return"boolean"}}},6420:(e,t,r)=>{const n=r(8149),s=r(3026),i=r(1178);class o{constructor(e,t,r){t&&(this.meta=t),r&&(this.attributes=r),this.content=e}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach((e=>{e.parent=this,e.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const e=new this.constructor;return e.element=this.element,this.meta.length&&(e._meta=this.meta.clone()),this.attributes.length&&(e._attributes=this.attributes.clone()),this.content?this.content.clone?e.content=this.content.clone():Array.isArray(this.content)?e.content=this.content.map((e=>e.clone())):e.content=this.content:e.content=this.content,e}toValue(){return this.content instanceof o?this.content.toValue():this.content instanceof s?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((e=>e.toValue()),this):this.content}toRef(e){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const t=new this.RefElement(this.id.toValue());return e&&(t.path=e),t}findRecursive(...e){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const t=e.pop();let r=new i;const n=(e,t)=>(e.push(t),e),o=(e,r)=>{r.element===t&&e.push(r);const i=r.findRecursive(t);return i&&i.reduce(n,e),r.content instanceof s&&(r.content.key&&o(e,r.content.key),r.content.value&&o(e,r.content.value)),e};return this.content&&(this.content.element&&o(r,this.content),Array.isArray(this.content)&&this.content.reduce(o,r)),e.isEmpty||(r=r.filter((t=>{let r=t.parents.map((e=>e.element));for(const t in e){const n=e[t],s=r.indexOf(n);if(-1===s)return!1;r=r.splice(0,s)}return!0}))),r}set(e){return this.content=e,this}equals(e){return n(this.toValue(),e)}getMetaProperty(e,t){if(!this.meta.hasKey(e)){if(this.isFrozen){const e=this.refract(t);return e.freeze(),e}this.meta.set(e,t)}return this.meta.get(e)}setMetaProperty(e,t){this.meta.set(e,t)}get element(){return this._storedElement||"element"}set element(e){this._storedElement=e}get content(){return this._content}set content(e){if(e instanceof o)this._content=e;else if(e instanceof i)this.content=e.elements;else if("string"==typeof e||"number"==typeof e||"boolean"==typeof e||"null"===e||null==e)this._content=e;else if(e instanceof s)this._content=e;else if(Array.isArray(e))this._content=e.map(this.refract);else{if("object"!=typeof e)throw new Error("Cannot set content to given value");this._content=Object.keys(e).map((t=>new this.MemberElement(t,e[t])))}}get meta(){if(!this._meta){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._meta=new this.ObjectElement}return this._meta}set meta(e){e instanceof this.ObjectElement?this._meta=e:this.meta.set(e||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._attributes=new this.ObjectElement}return this._attributes}set attributes(e){e instanceof this.ObjectElement?this._attributes=e:this.attributes.set(e||{})}get id(){return this.getMetaProperty("id","")}set id(e){this.setMetaProperty("id",e)}get classes(){return this.getMetaProperty("classes",[])}set classes(e){this.setMetaProperty("classes",e)}get title(){return this.getMetaProperty("title","")}set title(e){this.setMetaProperty("title",e)}get description(){return this.getMetaProperty("description","")}set description(e){this.setMetaProperty("description",e)}get links(){return this.getMetaProperty("links",[])}set links(e){this.setMetaProperty("links",e)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:e}=this;const t=new i;for(;e;)t.push(e),e=e.parent;return t}get children(){if(Array.isArray(this.content))return new i(this.content);if(this.content instanceof s){const e=new i([this.content.key]);return this.content.value&&e.push(this.content.value),e}return this.content instanceof o?new i([this.content]):new i}get recursiveChildren(){const e=new i;return this.children.forEach((t=>{e.push(t),t.recursiveChildren.forEach((t=>{e.push(t)}))})),e}}e.exports=o},8858:(e,t,r)=>{const n=r(3026),s=r(6420);e.exports=class extends s{constructor(e,t,r,s){super(new n,r,s),this.element="member",this.key=e,this.value=t}get key(){return this.content.key}set key(e){this.content.key=this.refract(e)}get value(){return this.content.value}set value(e){this.content.value=this.refract(e)}}},4152:(e,t,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e||null,t,r),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},3710:(e,t,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e,t,r),this.element="number"}primitive(){return"number"}}},3860:(e,t,r)=>{const n=r(1570),s=r(9259),i=r(1641),o=r(8858),c=r(3853);e.exports=class extends i{constructor(e,t,r){super(e||[],t,r),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((e,t)=>(e[t.key.toValue()]=t.value?t.value.toValue():void 0,e)),{})}get(e){const t=this.getMember(e);if(t)return t.value}getMember(e){if(void 0!==e)return this.content.find((t=>t.key.toValue()===e))}remove(e){let t=null;return this.content=this.content.filter((r=>r.key.toValue()!==e||(t=r,!1))),t}getKey(e){const t=this.getMember(e);if(t)return t.key}set(e,t){if(s(e))return Object.keys(e).forEach((t=>{this.set(t,e[t])})),this;const r=e,n=this.getMember(r);return n?n.value=t:this.content.push(new o(r,t)),this}keys(){return this.content.map((e=>e.key.toValue()))}values(){return this.content.map((e=>e.value.toValue()))}hasKey(e){return this.content.some((t=>t.key.equals(e)))}items(){return this.content.map((e=>[e.key.toValue(),e.value.toValue()]))}map(e,t){return this.content.map((r=>e.bind(t)(r.value,r.key,r)))}compactMap(e,t){const r=[];return this.forEach(((n,s,i)=>{const o=e.bind(t)(n,s,i);o&&r.push(o)})),r}filter(e,t){return new c(this.content).filter(e,t)}reject(e,t){return this.filter(n(e),t)}forEach(e,t){return this.content.forEach((r=>e.bind(t)(r.value,r.key,r)))}}},9542:(e,t,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e,t,r),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},8910:(e,t,r)=>{const n=r(2947);e.exports=class extends n{serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);let t;e._attributes&&e.attributes.get("variable")&&(t=e.attributes.get("variable"));const r={element:e.element};e._meta&&e._meta.length>0&&(r.meta=this.serialiseObject(e.meta));const n="enum"===e.element||-1!==e.attributes.keys().indexOf("enumerations");if(n){const t=this.enumSerialiseAttributes(e);t&&(r.attributes=t)}else if(e._attributes&&e._attributes.length>0){let{attributes:n}=e;n.get("metadata")&&(n=n.clone(),n.set("meta",n.get("metadata")),n.remove("metadata")),"member"===e.element&&t&&(n=n.clone(),n.remove("variable")),n.length>0&&(r.attributes=this.serialiseObject(n))}if(n)r.content=this.enumSerialiseContent(e,r);else if(this[`${e.element}SerialiseContent`])r.content=this[`${e.element}SerialiseContent`](e,r);else if(void 0!==e.content){let n;t&&e.content.key?(n=e.content.clone(),n.key.attributes.set("variable",t),n=this.serialiseContent(n)):n=this.serialiseContent(e.content),this.shouldSerialiseContent(e,n)&&(r.content=n)}else this.shouldSerialiseContent(e,e.content)&&e instanceof this.namespace.elements.Array&&(r.content=[]);return r}shouldSerialiseContent(e,t){return"parseResult"===e.element||"httpRequest"===e.element||"httpResponse"===e.element||"category"===e.element||"link"===e.element||void 0!==t&&(!Array.isArray(t)||0!==t.length)}refSerialiseContent(e,t){return delete t.attributes,{href:e.toValue(),path:e.path.toValue()}}sourceMapSerialiseContent(e){return e.toValue()}dataStructureSerialiseContent(e){return[this.serialiseContent(e.content)]}enumSerialiseAttributes(e){const t=e.attributes.clone(),r=t.remove("enumerations")||new this.namespace.elements.Array([]),n=t.get("default");let s=t.get("samples")||new this.namespace.elements.Array([]);if(n&&n.content&&(n.content.attributes&&n.content.attributes.remove("typeAttributes"),t.set("default",new this.namespace.elements.Array([n.content]))),s.forEach((e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")})),e.content&&0!==r.length&&s.unshift(e.content),s=s.map((e=>e instanceof this.namespace.elements.Array?[e]:new this.namespace.elements.Array([e.content]))),s.length&&t.set("samples",s),t.length>0)return this.serialiseObject(t)}enumSerialiseContent(e){if(e._attributes){const t=e.attributes.get("enumerations");if(t&&t.length>0)return t.content.map((e=>{const t=e.clone();return t.attributes.remove("typeAttributes"),this.serialise(t)}))}if(e.content){const t=e.content.clone();return t.attributes.remove("typeAttributes"),[this.serialise(t)]}return[]}deserialise(e){if("string"==typeof e)return new this.namespace.elements.String(e);if("number"==typeof e)return new this.namespace.elements.Number(e);if("boolean"==typeof e)return new this.namespace.elements.Boolean(e);if(null===e)return new this.namespace.elements.Null;if(Array.isArray(e))return new this.namespace.elements.Array(e.map(this.deserialise,this));const t=this.namespace.getElementClass(e.element),r=new t;r.element!==e.element&&(r.element=e.element),e.meta&&this.deserialiseObject(e.meta,r.meta),e.attributes&&this.deserialiseObject(e.attributes,r.attributes);const n=this.deserialiseContent(e.content);if(void 0===n&&null!==r.content||(r.content=n),"enum"===r.element){r.content&&r.attributes.set("enumerations",r.content);let e=r.attributes.get("samples");if(r.attributes.remove("samples"),e){const n=e;e=new this.namespace.elements.Array,n.forEach((n=>{n.forEach((n=>{const s=new t(n);s.element=r.element,e.push(s)}))}));const s=e.shift();r.content=s?s.content:void 0,r.attributes.set("samples",e)}else r.content=void 0;let n=r.attributes.get("default");if(n&&n.length>0){n=n.get(0);const e=new t(n);e.element=r.element,r.attributes.set("default",e)}}else if("dataStructure"===r.element&&Array.isArray(r.content))[r.content]=r.content;else if("category"===r.element){const e=r.attributes.get("meta");e&&(r.attributes.set("metadata",e),r.attributes.remove("meta"))}else"member"===r.element&&r.key&&r.key._attributes&&r.key._attributes.getValue("variable")&&(r.attributes.set("variable",r.key.attributes.get("variable")),r.key.attributes.remove("variable"));return r}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}return e&&e.map?e.map(this.serialise,this):e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}shouldRefract(e){return!!(e._attributes&&e.attributes.keys().length||e._meta&&e.meta.keys().length)||"enum"!==e.element&&(e.element!==e.primitive()||"member"===e.element)}convertKeyToRefract(e,t){return this.shouldRefract(t)?this.serialise(t):"enum"===t.element?this.serialiseEnum(t):"array"===t.element?t.map((t=>this.shouldRefract(t)||"default"===e?this.serialise(t):"array"===t.element||"object"===t.element||"enum"===t.element?t.children.map((e=>this.serialise(e))):t.toValue())):"object"===t.element?(t.content||[]).map(this.serialise,this):t.toValue()}serialiseEnum(e){return e.children.map((e=>this.serialise(e)))}serialiseObject(e){const t={};return e.forEach(((e,r)=>{if(e){const n=r.toValue();t[n]=this.convertKeyToRefract(n,e)}})),t}deserialiseObject(e,t){Object.keys(e).forEach((r=>{t.set(r,this.deserialise(e[r]))}))}}},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 r=this.serialiseContent(e.content);return void 0!==r&&(t.content=r),t}deserialise(e){if(!e.element)throw new Error("Given value is not an object containing an element name");const t=new(this.namespace.getElementClass(e.element));t.element!==e.element&&(t.element=e.element),e.meta&&this.deserialiseObject(e.meta,t.meta),e.attributes&&this.deserialiseObject(e.attributes,t.attributes);const r=this.deserialiseContent(e.content);return void 0===r&&null!==t.content||(t.content=r),t}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}if(e&&e.map){if(0===e.length)return;return e.map(this.serialise,this)}return e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}serialiseObject(e){const t={};if(e.forEach(((e,r)=>{e&&(t[r.toValue()]=this.serialise(e))})),0!==Object.keys(t).length)return t}deserialiseObject(e,t){Object.keys(e).forEach((r=>{t.set(r,this.deserialise(e[r]))}))}}},6591:e=>{!function(){"use strict";var t,r,n,s,i,o="properties",c="deepProperties",a="propertyDescriptors",u="staticProperties",l="staticDeepProperties",p="staticPropertyDescriptors",f="configuration",h="deepConfiguration",m="deepProps",y="deepStatics",d="deepConf",b="initializers",v="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 w=S.bind(0,(function(e,t){if(t)for(var r=j(t),n=0;n<r.length;n+=1)Object.defineProperty(e,r[n],Object.getOwnPropertyDescriptor(t,r[n]));return e}));function x(e){return"function"==typeof e}function E(e){return e&&"object"==typeof e||x(e)}function P(e){return e&&"object"==typeof e&&e.__proto__==Object.prototype}var A=S.bind(0,(function e(r,n){if(n===t)return r;if(Array.isArray(n))return(Array.isArray(r)?r:[]).concat(n);if(!P(n))return n;for(var s,i,o=j(n),c=0;c<o.length;)s=o[c++],(i=Object.getOwnPropertyDescriptor(n,s)).hasOwnProperty("value")?i.value!==t&&(r[s]=e(P(r[s])||Array.isArray(n[s])?r[s]:{},n[s])):Object.defineProperty(r,s,i);return r}));function k(){return(r=Array.prototype.concat.apply([],arguments).filter((function(e,t,r){return x(e)&&r.indexOf(e)===t}))).length?r:t}function _(e,t){function n(r,n){E(t[r])&&(E(e[r])||(e[r]={}),(n||w)(e[r],t[r]))}function s(n){(r=k(e[n],t[n]))&&(e[n]=r)}return t&&E(t=t[O]||t)&&(n(v),n(o),n(c,A),n(a),n(u),n(l,A),n(p),n(f),n(h,A),s(b),s(g)),e}function N(){return function(e){return r=function e(r){var n,s,i=e[O]||{},u={__proto__:i[v]},l=i[b],p=Array.prototype.slice.apply(arguments),f=i[c];if(f&&A(u,f),(f=i[o])&&w(u,f),(f=i[a])&&Object.defineProperties(u,f),!l||!l.length)return u;for(r===t&&(r={}),i=0;i<l.length;)x(n=l[i++])&&(u=(s=n.call(u,r,{instance:u,stamp:e,args:p}))===t?u:s);return u},(n=e[l])&&A(r,n),(n=e[u])&&w(r,n),(n=e[p])&&Object.defineProperties(r,n),n=x(r[O])?r[O]:N,w(r[O]=function(){return n.apply(this,arguments)},e),r}(Array.prototype.concat.apply([this],arguments).reduce(_,{}))}function M(e){return x(e)&&x(e[O])}var T={};function D(e,i){return function(){return(s={})[e]=i.apply(t,Array.prototype.concat.apply([{}],arguments)),((r=this)&&r[O]||n).call(r,s)}}T[v]=D(v,w),T[o]=T.props=D(o,w),T[b]=T.init=D(b,k),T[g]=D(g,k),T[c]=T[m]=D(c,A),T[u]=T.statics=D(u,w),T[l]=T[y]=D(l,A),T[f]=T.conf=D(f,w),T[h]=T[d]=D(h,A),T[a]=D(a,w),T[p]=D(p,w),n=T[O]=w((function(){for(var e,j,S=0,x=[],P=arguments,_=this;S<P.length;)E(e=P[S++])&&x.push(M(e)?e:((s={})[v]=(j=e)[v]||t,n=j.props,s[o]=E((r=j[o])||n)?w({},n,r):t,s[b]=k(j.init,j[b]),s[g]=k(j[g]),n=j[m],s[c]=E((r=j[c])||n)?A({},n,r):t,s[a]=j[a],n=j.statics,s[u]=E((r=j[u])||n)?w({},n,r):t,n=j[y],s[l]=E((r=j[l])||n)?A({},n,r):t,r=j[p],s[p]=E((n=j.name&&{name:{value:j.name}})||r)?w({},r,n):t,n=j.conf,s[f]=E((r=j[f])||n)?w({},n,r):t,n=j[d],s[h]=E((r=j[h])||n)?A({},n,r):t,s));if(e=N.apply(_||i,x),_&&x.unshift(_),Array.isArray(P=e[O][g]))for(S=0;S<P.length;)e=M(_=P[S++]({stamp:e,composables:x}))?_:e;return e}),T),T.create=function(){return this.apply(t,arguments)},(s={})[u]=T,i=N(s),n[O]=n.bind(),n.version="4.3.2","object"!=typeof t?e.exports=n:self.stampit=n}()}},t={};function r(n){var s=t[n];if(void 0!==s)return s.exports;var i=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var n={};return(()=>{"use strict";r.r(n),r.d(n,{AlternatingVisitor:()=>ws,FallbackVisitor:()=>vn,FixedFieldsVisitor:()=>Pn,JSONReferenceElement:()=>ln,JSONSchemaDraft7MediaTypes:()=>pr,JSONSchemaElement:()=>ui,LinkDescriptionElement:()=>li,MapVisitor:()=>Yn,ParentSchemaAwareVisitor:()=>Vn,PatternedFieldsVisitor:()=>Qn,SpecificationVisitor:()=>En,createRefractor:()=>Ii,default:()=>pi,getNodeType:()=>hi,isArrayElement:()=>Gt,isBooleanElement:()=>qt,isElement:()=>Ct,isJSONReferenceElement:()=>Ms,isJSONReferenceLikeElement:()=>Cn,isJSONSchemaElement:()=>Di,isLinkDescriptionElement:()=>Fi,isLinkElement:()=>Ht,isMemberElement:()=>Ut,isNullElement:()=>Bt,isNumberElement:()=>$t,isObjectElement:()=>zt,isRefElement:()=>Kt,isStringElement:()=>It,keyMap:()=>mi,mediaTypes:()=>fr,refract:()=>$i,refractorPluginReplaceEmptyElement:()=>vi,specificationObj:()=>Ti});var e={};r.r(e),r.d(e,{hasElementSourceMap:()=>er,includesClasses:()=>rr,includesSymbols:()=>tr,isAnnotationElement:()=>Wt,isArrayElement:()=>Gt,isBooleanElement:()=>qt,isCommentElement:()=>Qt,isElement:()=>Ct,isLinkElement:()=>Ht,isMemberElement:()=>Ut,isNullElement:()=>Bt,isNumberElement:()=>$t,isObjectElement:()=>zt,isParseResultElement:()=>Yt,isPrimitiveElement:()=>Zt,isRefElement:()=>Kt,isSourceMapElement:()=>Xt,isStringElement:()=>It});var t={};r.r(t),r.d(t,{isJSONReferenceElement:()=>Ms,isJSONSchemaElement:()=>Ns,isLinkDescriptionElement:()=>Ds,isMediaElement:()=>Ts});var s={};r.r(s),r.d(s,{isJSONReferenceElement:()=>Ms,isJSONSchemaElement:()=>ei,isLinkDescriptionElement:()=>ti,isMediaElement:()=>Ts});var i={};r.r(i),r.d(i,{isJSONReferenceElement:()=>Ms,isJSONSchemaElement:()=>Di,isLinkDescriptionElement:()=>Fi});var o=r(7952);const c=function(){return!1};const a=function(){return!0};function u(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function l(e){return function t(r){return 0===arguments.length||u(r)?t:e.apply(this,arguments)}}function p(e){return function t(r,n){switch(arguments.length){case 0:return t;case 1:return u(r)?t:l((function(t){return e(r,t)}));default:return u(r)&&u(n)?t:u(r)?l((function(t){return e(t,n)})):u(n)?l((function(t){return e(r,t)})):e(r,n)}}}const f=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function h(e,t,r){return function(){if(0===arguments.length)return r();var n=arguments[arguments.length-1];if(!f(n)){for(var s=0;s<e.length;){if("function"==typeof n[e[s]])return n[e[s]].apply(n,Array.prototype.slice.call(arguments,0,-1));s+=1}if(function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}(n))return t.apply(null,Array.prototype.slice.call(arguments,0,-1))(n)}return r.apply(this,arguments)}}function m(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}const y=function(){return this.xf["@@transducer/init"]()},d=function(e){return this.xf["@@transducer/result"](e)};var b=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=y,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=m(this.xf["@@transducer/step"](e,!1))),e},e}();function v(e){return function(t){return new b(e,t)}}const g=p(h(["all"],v,(function(e,t){for(var r=0;r<t.length;){if(!e(t[r]))return!1;r+=1}return!0})));function O(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,r){return t.apply(this,arguments)};case 3:return function(e,r,n){return t.apply(this,arguments)};case 4:return function(e,r,n,s){return t.apply(this,arguments)};case 5:return function(e,r,n,s,i){return t.apply(this,arguments)};case 6:return function(e,r,n,s,i,o){return t.apply(this,arguments)};case 7:return function(e,r,n,s,i,o,c){return t.apply(this,arguments)};case 8:return function(e,r,n,s,i,o,c,a){return t.apply(this,arguments)};case 9:return function(e,r,n,s,i,o,c,a,u){return t.apply(this,arguments)};case 10:return function(e,r,n,s,i,o,c,a,u,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function j(e,t,r){return function(){for(var n=[],s=0,i=e,o=0;o<t.length||s<arguments.length;){var c;o<t.length&&(!u(t[o])||s>=arguments.length)?c=t[o]:(c=arguments[s],s+=1),n[o]=c,u(c)||(i-=1),o+=1}return i<=0?r.apply(this,n):O(i,j(e,n,r))}}const S=p((function(e,t){return 1===e?l(t):O(e,j(e,[],t))}));function w(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}function x(e,t,r){for(var n=0,s=r.length;n<s;){if(e(t,r[n]))return!0;n+=1}return!1}function E(e,t){return Object.prototype.hasOwnProperty.call(t,e)}const P="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 E("callee",e)}}();var _=!{toString:null}.propertyIsEnumerable("toString"),N=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],M=function(){return arguments.propertyIsEnumerable("length")}(),T=function(e,t){for(var r=0;r<e.length;){if(e[r]===t)return!0;r+=1}return!1};const D="function"!=typeof Object.keys||M?l((function(e){if(Object(e)!==e)return[];var t,r,n=[],s=M&&k(e);for(t in e)!E(t,e)||s&&"length"===t||(n[n.length]=t);if(_)for(r=N.length-1;r>=0;)E(t=N[r],e)&&!T(n,t)&&(n[n.length]=t),r-=1;return n})):l((function(e){return Object(e)!==e?[]:Object.keys(e)}));const F=l((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function R(e,t,r,n){var s=w(e);function i(e,t){return J(e,t,r.slice(),n.slice())}return!x((function(e,t){return!x(i,t,e)}),w(t),s)}function J(e,t,r,n){if(P(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||!P(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!P(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var c=r.length-1;c>=0;){if(r[c]===e)return n[c]===t;c-=1}switch(o){case"Map":return e.size===t.size&&R(e.entries(),t.entries(),r.concat([e]),n.concat([t]));case"Set":return e.size===t.size&&R(e.values(),t.values(),r.concat([e]),n.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var a=D(e);if(a.length!==D(t).length)return!1;var u=r.concat([e]),l=n.concat([t]);for(c=a.length-1;c>=0;){var p=a[c];if(!E(p,t)||!J(t[p],e[p],u,l))return!1;c-=1}return!0}const L=p((function(e,t){return J(e,t,[],[])}));function V(e,t){return function(e,t,r){var n,s;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(n=1/t;r<e.length;){if(0===(s=e[r])&&1/s===n)return r;r+=1}return-1}if(t!=t){for(;r<e.length;){if("number"==typeof(s=e[r])&&s!=s)return r;r+=1}return-1}return e.indexOf(t,r);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,r);case"object":if(null===t)return e.indexOf(t,r)}for(;r<e.length;){if(L(e[r],t))return r;r+=1}return-1}(t,e,0)>=0}function C(e,t){for(var r=0,n=t.length,s=Array(n);r<n;)s[r]=e(t[r]),r+=1;return s}function I(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 $=function(e){return(e<10?"0":"")+e};const B="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+$(e.getUTCMonth()+1)+"-"+$(e.getUTCDate())+"T"+$(e.getUTCHours())+":"+$(e.getUTCMinutes())+":"+$(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function q(e,t,r){for(var n=0,s=r.length;n<s;)t=e(t,r[n]),n+=1;return t}function z(e){return"[object Object]"===Object.prototype.toString.call(e)}var G=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=y,e.prototype["@@transducer/result"]=d,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function U(e){return function(t){return new G(e,t)}}const H=p(h(["fantasy-land/filter","filter"],U,(function(e,t){return z(t)?q((function(r,n){return e(t[n])&&(r[n]=t[n]),r}),{},D(t)):function(e,t){for(var r=0,n=t.length,s=[];r<n;)e(t[r])&&(s[s.length]=t[r]),r+=1;return s}(e,t)})));const K=p((function(e,t){return H((r=e,function(){return!r.apply(this,arguments)}),t);var r}));function W(e,t){var r=function(r){var n=t.concat([e]);return V(r,n)?"<Circular>":W(r,n)},n=function(e,t){return C((function(t){return I(t)+": "+r(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+C(r,e).join(", ")+"))";case"[object Array]":return"["+C(r,e).concat(n(e,K((function(e){return/^\d+$/.test(e)}),D(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+r(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?r(NaN):I(B(e)))+")";case"[object Map]":return"new Map("+r(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+r(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+r(Array.from(e).sort())+")";case"[object String]":return"object"==typeof e?"new String("+r(e.valueOf())+")":I(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var s=e.toString();if("[object Object]"!==s)return s}return"{"+n(e,D(e)).join(", ")+"}"}}const Q=l((function(e){return W(e,[])}));const Y=p((function(e,t){if(e===t)return t;function r(e,t){if(e>t!=t>e)return t>e?t:e}var n=r(e,t);if(void 0!==n)return n;var s=r(typeof e,typeof t);if(void 0!==s)return s===typeof e?e:t;var i=Q(e),o=r(i,Q(t));return void 0!==o&&o===i?e:t}));var X=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=y,e.prototype["@@transducer/result"]=d,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const Z=p(h(["fantasy-land/map","map"],(function(e){return function(t){return new X(e,t)}}),(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return S(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return q((function(r,n){return r[n]=e(t[n]),r}),{},D(t));default:return C(e,t)}}))),ee=Number.isInteger||function(e){return e<<0===e};function te(e){return"[object String]"===Object.prototype.toString.call(e)}const re=p((function(e,t){var r=e<0?t.length+e:e;return te(t)?t.charAt(r):t[r]}));const ne=p((function(e,t){if(null!=t)return ee(e)?re(e,t):t[e]}));const se=p((function(e,t){return Z(ne(e),t)}));function ie(e){return function t(r,n,s){switch(arguments.length){case 0:return t;case 1:return u(r)?t:p((function(t,n){return e(r,t,n)}));case 2:return u(r)&&u(n)?t:u(r)?p((function(t,r){return e(t,n,r)})):u(n)?p((function(t,n){return e(r,t,n)})):l((function(t){return e(r,n,t)}));default:return u(r)&&u(n)&&u(s)?t:u(r)&&u(n)?p((function(t,r){return e(t,r,s)})):u(r)&&u(s)?p((function(t,r){return e(t,n,r)})):u(n)&&u(s)?p((function(t,n){return e(r,t,n)})):u(r)?l((function(t){return e(t,n,s)})):u(n)?l((function(t){return e(r,t,s)})):u(s)?l((function(t){return e(r,n,t)})):e(r,n,s)}}}const oe=l((function(e){return!!f(e)||!!e&&("object"==typeof e&&(!te(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var ce="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function ae(e,t,r){return function(n,s,i){if(oe(i))return e(n,s,i);if(null==i)return s;if("function"==typeof i["fantasy-land/reduce"])return t(n,s,i,"fantasy-land/reduce");if(null!=i[ce])return r(n,s,i[ce]());if("function"==typeof i.next)return r(n,s,i);if("function"==typeof i.reduce)return t(n,s,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function ue(e,t,r){for(var n=0,s=r.length;n<s;){if((t=e["@@transducer/step"](t,r[n]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n+=1}return e["@@transducer/result"](t)}const le=p((function(e,t){return O(e.length,(function(){return e.apply(t,arguments)}))}));function pe(e,t,r){for(var n=r.next();!n.done;){if((t=e["@@transducer/step"](t,n.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n=r.next()}return e["@@transducer/result"](t)}function fe(e,t,r,n){return e["@@transducer/result"](r[n](le(e["@@transducer/step"],e),t))}const he=ae(ue,fe,pe);var me=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();const ye=ie((function(e,t,r){return he("function"==typeof e?new me(e):e,t,r)}));const de=l((function(e){return S(ye(Y,0,se("length",e)),(function(){for(var t=0,r=e.length;t<r;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0}))}));const be=l((function(e){return function(){return e}}));const ve=l((function(e){return S(ye(Y,0,se("length",e)),(function(){for(var t=0,r=e.length;t<r;){if(e[t].apply(this,arguments))return!0;t+=1}return!1}))}));function ge(e,t,r){for(var n=r.next();!n.done;)t=e(t,n.value),n=r.next();return t}function Oe(e,t,r,n){return r[n](e,t)}const je=ae(q,Oe,ge);const Se=p((function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(r){return e(r)(t(r))}:je((function(e,r){return function(e,t){var r;t=t||[];var n=(e=e||[]).length,s=t.length,i=[];for(r=0;r<n;)i[i.length]=e[r],r+=1;for(r=0;r<s;)i[i.length]=t[r],r+=1;return i}(e,Z(r,t))}),[],e)}));const we=p((function(e,t){return e.apply(this,t)}));const xe=l((function(e){return null==e}));const Ee=ie((function e(t,r,n){if(0===t.length)return r;var s=t[0];if(t.length>1){var i=!xe(n)&&E(s,n)&&"object"==typeof n[s]?n[s]:ee(t[1])?[]:{};r=e(Array.prototype.slice.call(t,1),r,i)}return function(e,t,r){if(ee(e)&&f(r)){var n=[].concat(r);return n[e]=t,n}var s={};for(var i in r)s[i]=r[i];return s[e]=t,s}(s,r,n)}));const Pe=ie((function(e,t,r){return Ee([e],t,r)}));function Ae(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const ke=p((function(e,t){return e&&t}));const _e=p((function(e,t){var r=S(e,t);return S(e,(function(){return q(Se,Z(r,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const Ne=l((function(e){return _e(e.length,e)}));const Me=p((function(e,t){return Ae(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:Ne(ke)(e,t)}));const Te=l((function(e){return function(t,r){return e(t,r)?-1:e(r,t)?1:0}}));const De=Ne(l((function(e){return!e})));function Fe(e,t){return function(){return t.call(this,e.apply(this,arguments))}}function Re(e,t){return function(){var r=arguments.length;if(0===r)return t();var n=arguments[r-1];return f(n)||"function"!=typeof n[e]?t.apply(this,arguments):n[e].apply(n,Array.prototype.slice.call(arguments,0,r-1))}}const Je=ie(Re("slice",(function(e,t,r){return Array.prototype.slice.call(r,e,t)})));const Le=l(Re("tail",Je(1,1/0)));function Ve(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return O(arguments[0].length,ye(Fe,arguments[0],Le(arguments)))}const Ce=l((function(e){return S(e.length,e)}));const Ie=p((function(e,t){return null==t||t!=t?e:t}));var $e=ie((function(e,t,r){var n=Array.prototype.slice.call(r,0);return n.splice(e,t),n}));const Be=$e;const qe=p((function e(t,r){if(null==r)return r;switch(t.length){case 0:return r;case 1:return function(e,t){if(null==t)return t;if(ee(e)&&f(t))return Be(e,1,t);var r={};for(var n in t)r[n]=t[n];return delete r[e],r}(t[0],r);default:var n=t[0],s=Array.prototype.slice.call(t,1);return null==r[n]?function(e,t){if(ee(e)&&f(t))return[].concat(t);var r={};for(var n in t)r[n]=t[n];return r}(n,r):Pe(n,e(s,r[n]),r)}}));var ze=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=y,e.prototype["@@transducer/result"]=d,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 Ge(e){return function(t){return new ze(e,t)}}const Ue=p(h(["dropWhile"],Ge,(function(e,t){for(var r=0,n=t.length;r<n&&e(t[r]);)r+=1;return Je(r,1/0,t)})));const He=p((function(e,t){return e||t}));const Ke=p((function(e,t){return Ae(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:Ne(He)(e,t)}));var We=l((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():f(e)?[]:te(e)?"":z(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 Qe=We;const Ye=l((function(e){return S(e.length,(function(t,r){var n=Array.prototype.slice.call(arguments,0);return n[0]=r,n[1]=t,e.apply(this,n)}))}));const Xe=p((function(e,t){if(0===e.length||xe(t))return!1;for(var r=t,n=0;n<e.length;){if(xe(r)||!E(e[n],r))return!1;r=r[e[n]],n+=1}return!0}));const Ze=p((function(e,t){return Xe([e],t)}));const et=re(0);var tt=function(e,t){switch(arguments.length){case 0:return tt;case 1:return function t(r){return 0===arguments.length?t:P(e,r)};default:return P(e,t)}};const rt=tt;const nt=ie((function(e,t,r){return S(Math.max(e.length,t.length,r.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):r.apply(this,arguments)}))}));const st=p(V);const it=Je(0,-1);"function"==typeof Object.assign&&Object.assign;const ot=p((function(e,t){return S(e+1,(function(){var r=arguments[e];if(null!=r&&Ae(r[t]))return r[t].apply(r,Array.prototype.slice.call(arguments,0,e));throw new TypeError(Q(r)+' does not have a method named "'+t+'"')}))}));const ct=l((function(e){return null!=e&&L(e,Qe(e))}));const at=ot(1,"join");const ut=re(-1);const lt=p((function(e,t){return e.map((function(e){for(var r,n=t,s=0;s<e.length;){if(null==n)return;r=e[s],n=ee(r)?re(r,n):n[r],s+=1}return n}))}));const pt=p((function(e,t){return lt([e],t)[0]}));const ft=p((function(e,t){return q((function(r,n){return r[n]=e(t[n],n,t),r}),{},D(t))}));const ht=ie((function(e,t,r){return e(pt(t,r))}));const mt=p((function(e,t){for(var r={},n=0;n<e.length;)e[n]in t&&(r[e[n]]=t[e[n]]),n+=1;return r}));const yt=ie((function(e,t,r){return Ie(e,ne(t,r))}));const dt=ie((function(e,t,r){return e(ne(t,r))}));const bt=l(m);var vt=p((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const gt=vt;const Ot=ot(1,"split");var jt="\t\n\v\f\r \u2028\u2029\ufeff";String.prototype.trim;const St=Ye(st);class wt extends o.RP{constructor(e,t,r){super(e,t,r),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const xt=wt;class Et extends o.RP{constructor(e,t,r){super(e,t,r),this.element="comment"}}const Pt=Et;const At=be(void 0);const kt=L(At());class _t extends o.ON{constructor(e,t,r){super(e,t,r),this.element="parseResult"}get api(){return this.children.filter((e=>e.classes.contains("api"))).first}get results(){return this.children.filter((e=>e.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((e=>"annotation"===e.element))}get warnings(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("warning")))}get errors(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("error")))}get isEmpty(){return this.children.reject((e=>"annotation"===e.element)).isEmpty}replaceResult(e){const{result:t}=this;if(kt(t))return!1;const r=this.content.findIndex((e=>e===t));return-1!==r&&(this.content[r]=e,!0)}}const Nt=_t;class Mt extends o.ON{constructor(e,t,r){super(e,t,r),this.element="sourceMap"}get positionStart(){return this.children.filter((e=>e.classes.contains("position"))).get(0)}get positionEnd(){return this.children.filter((e=>e.classes.contains("position"))).get(1)}set position(e){if(null===e)return;const t=new o.ON([e.start.row,e.start.column,e.start.char]),r=new o.ON([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),r.classes.push("position"),this.push(t).push(r)}}const Tt=Mt,Dt=(e,t)=>"function"==typeof(null==t?void 0:t[e]),Ft=e=>null!=e&&Object.prototype.hasOwnProperty.call(e,"_storedElement")&&Object.prototype.hasOwnProperty.call(e,"_content"),Rt=(e,t)=>{var r;return(null==t||null===(r=t.primitive)||void 0===r?void 0:r.call(t))===e},Jt=(e,t)=>{var r,n;return(null==t||null===(r=t.classes)||void 0===r||null===(n=r.includes)||void 0===n?void 0:n.call(r,e))||!1},Lt=(e,t)=>(null==t?void 0:t.element)===e,Vt=e=>e({hasMethod:Dt,hasBasicElementProps:Ft,primitiveEq:Rt,isElementType:Lt,hasClass:Jt}),Ct=Vt((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof o.W_||e(r)&&t(void 0,r))),It=Vt((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof o.RP||e(r)&&t("string",r))),$t=Vt((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof o.VL||e(r)&&t("number",r))),Bt=Vt((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof o.zr||e(r)&&t("null",r))),qt=Vt((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof o.hh||e(r)&&t("boolean",r))),zt=Vt((({hasBasicElementProps:e,primitiveEq:t,hasMethod:r})=>n=>n instanceof o.Sb||e(n)&&t("object",n)&&r("keys",n)&&r("values",n)&&r("items",n))),Gt=Vt((({hasBasicElementProps:e,primitiveEq:t,hasMethod:r})=>n=>n instanceof o.ON&&!(n instanceof o.Sb)||e(n)&&t("array",n)&&r("push",n)&&r("unshift",n)&&r("map",n)&&r("reduce",n))),Ut=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof o.c6||e(n)&&t("member",n)&&r(void 0,n))),Ht=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof o.EA||e(n)&&t("link",n)&&r(void 0,n))),Kt=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof o.tK||e(n)&&t("ref",n)&&r(void 0,n))),Wt=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof xt||e(n)&&t("annotation",n)&&r("array",n))),Qt=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Pt||e(n)&&t("comment",n)&&r("string",n))),Yt=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Nt||e(n)&&t("parseResult",n)&&r("array",n))),Xt=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Tt||e(n)&&t("sourceMap",n)&&r("array",n))),Zt=e=>Lt("object",e)||Lt("array",e)||Lt("boolean",e)||Lt("number",e)||Lt("string",e)||Lt("null",e)||Lt("member",e),er=e=>{var t,r;return Xt(null==e||null===(t=e.meta)||void 0===t||null===(r=t.get)||void 0===r?void 0:r.call(t,"sourceMap"))},tr=(e,t)=>{if(0===e.length)return!0;const r=t.attributes.get("symbols");return!!Gt(r)&&g(St(r.toValue()),e)},rr=(e,t)=>0===e.length||g(St(t.classes.toValue()),e);var nr=r(229),sr=r(2185),ir=r(9982);function or(e){return or="function"==typeof sr&&"symbol"==typeof ir?function(e){return typeof e}:function(e){return e&&"function"==typeof sr&&e.constructor===sr&&e!==sr.prototype?"symbol":typeof e},or(e)}var cr=r(8241);function ar(e){var t=function(e,t){if("object"!==or(e)||null===e)return e;var r=e[cr];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==or(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===or(t)?t:String(t)}function ur(e,t,r){return(t=ar(t))in e?nr(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const lr=class extends Array{constructor(...e){super(...e),ur(this,"unknownMediaType","application/octet-stream")}filterByFormat(){throw new Error("Not implemented!")}findBy(){throw new Error("Not implemented")}latest(){throw new Error("Not implemented!")}};class pr extends lr{filterByFormat(e="generic"){const t="generic"===e?"schema;version":e;return this.filter((e=>e.includes(t)))}findBy(e="draft-07",t="generic"){const r="generic"===t?`schema;version=${e}`:`schema+${t};version=${e}`;return this.find((e=>e.includes(r)))||this.unknownMediaType}latest(e="generic"){return ut(this.filterByFormat(e))}}const fr=new pr("application/schema;version=draft-07","application/schema+json;version=draft-07","application/schema+yaml;version=draft-07");const hr=S(1,Ve(F,rt("GeneratorFunction")));const mr=S(1,Ve(F,rt("AsyncFunction")));const yr=ve([Ve(F,rt("Function")),hr,mr]);const dr=De(yr);const br=S(1,yr(Array.isArray)?Array.isArray:Ve(F,rt("Array")));const vr=Me(br,ct);const gr=S(3,(function(e,t,r){var n=pt(e,r),s=pt(it(e),r);if(!dr(n)&&!vr(e)){var i=le(n,s);return we(i,t)}}));const Or=L(null);const jr=De(Or);function Sr(e){return Sr="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},Sr(e)}const wr=function(e){return"object"===Sr(e)};const xr=S(1,Me(jr,wr));var Er=Ve(F,rt("Object")),Pr=Ve(Q,L(Q(Object))),Ar=ht(Me(yr,Pr),["constructor"]);const kr=S(1,(function(e){if(!xr(e)||!Er(e))return!1;var t=Object.getPrototypeOf(e);return!!Or(t)||Ar(t)}));class _r extends o.lS{constructor(){super(),this.register("annotation",xt),this.register("comment",Pt),this.register("parseResult",Nt),this.register("sourceMap",Tt)}}const Nr=new _r,Mr=e=>{const t=new _r;return kr(e)&&t.use(e),t},Tr=Nr;function Dr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const Fr=()=>({predicates:function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Dr(Object(r),!0).forEach((function(t){ur(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Dr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e),namespace:Tr});var Rr=r(5090),Jr=r(2747),Lr=r(5483);function Vr(e,t){if(null==e)return{};var r,n,s=function(e,t){if(null==e)return{};var r,n,s={},i=Lr(e);for(n=0;n<i.length;n++)r=i[n],Jr(t).call(t,r)>=0||(s[r]=e[r]);return s}(e,t);if(Rr){var i=Rr(e);for(n=0;n<i.length;n++)r=i[n],Jr(t).call(t,r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(s[r]=e[r])}return s}var Cr=r(6591),Ir=r.n(Cr);const $r=S(1,Ve(F,rt("String"))),Br=(e,t,r)=>{const n=e[t];if(null!=n){if(!r&&"function"==typeof n)return n;const e=r?n.leave:n.enter;if("function"==typeof e)return e}else{const n=r?e.leave:e.enter;if(null!=n){if("function"==typeof n)return n;const e=n[t];if("function"==typeof e)return e}}return null},qr={},zr=e=>null==e?void 0:e.type,Gr=e=>"string"==typeof zr(e),Ur=(e,t,{keyMap:r=null,state:n={},breakSymbol:s=qr,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:c=Br,nodeTypeGetter:a=zr,nodePredicate:u=Gr,detectCycles:l=!0}={})=>{const p=r||{};let f,h,m=Array.isArray(e),y=[e],d=-1,b=[];const v=[],g=[];let O=e;do{d+=1;const e=d===y.length;let r,j;const S=e&&0!==b.length;if(e){if(r=0===g.length?void 0:v.pop(),j=h,h=g.pop(),S){j=m?j.slice():Object.create(Object.getPrototypeOf(j),Object.getOwnPropertyDescriptors(j));let e=0;for(let t=0;t<b.length;t+=1){let r=b[t][0];const n=b[t][1];m&&(r-=e),m&&n===i?(j.splice(r,1),e+=1):j[r]=n}}d=f.index,y=f.keys,b=f.edits,m=f.inArray,f=f.prev}else{if(r=h?m?d:y[d]:void 0,j=h?h[r]:O,j===i||void 0===j)continue;h&&v.push(r)}if(g.includes(j))continue;let w;if(!Array.isArray(j)){if(!u(j))throw new Error(`Invalid AST Node: ${JSON.stringify(j)}`);if(l&&g.includes(j)){v.pop();continue}const i=c(t,a(j),e);if(i){for(const[e,r]of Object.entries(n))t[e]=r;if(w=i.call(t,j,r,h,v,g),w===s)break;if(w===o){if(!e){v.pop();continue}}else if(void 0!==w&&(b.push([r,w]),!e)){if(!u(w)){v.pop();continue}j=w}}}void 0===w&&S&&b.push([r,j]),e||(f={inArray:m,index:d,keys:y,edits:b,prev:f},m=Array.isArray(j),y=m?j:p[a(j)]||[],d=-1,b=[],h&&g.push(h),h=j)}while(void 0!==f);return 0!==b.length&&([,O]=b[b.length-1]),O};Ur[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:r=null,state:n={},breakSymbol:s=qr,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:c=Br,nodeTypeGetter:a=zr,nodePredicate:u=Gr,detectCycles:l=!0}={})=>{const p=r||{};let f,h,m=Array.isArray(e),y=[e],d=-1,b=[];const v=[],g=[];let O=e;do{d+=1;const e=d===y.length;let r,j;const S=e&&0!==b.length;if(e){if(r=0===g.length?void 0:v.pop(),j=h,h=g.pop(),S){j=m?j.slice():Object.create(Object.getPrototypeOf(j),Object.getOwnPropertyDescriptors(j));let e=0;for(let t=0;t<b.length;t+=1){let r=b[t][0];const n=b[t][1];m&&(r-=e),m&&n===i?(j.splice(r,1),e+=1):j[r]=n}}d=f.index,y=f.keys,b=f.edits,m=f.inArray,f=f.prev}else{if(r=h?m?d:y[d]:void 0,j=h?h[r]:O,j===i||void 0===j)continue;h&&v.push(r)}let w;if(!Array.isArray(j)){if(!u(j))throw new Error(`Invalid AST Node: ${JSON.stringify(j)}`);if(l&&g.includes(j)){v.pop();continue}const i=c(t,a(j),e);if(i){for(const[e,r]of Object.entries(n))t[e]=r;if(w=await i.call(t,j,r,h,v,g),w===s)break;if(w===o){if(!e){v.pop();continue}}else if(void 0!==w&&(b.push([r,w]),!e)){if(!u(w)){v.pop();continue}j=w}}}void 0===w&&S&&b.push([r,j]),e||(f={inArray:m,index:d,keys:y,edits:b,prev:f},m=Array.isArray(j),y=m?j:p[a(j)]||[],d=-1,b=[],h&&g.push(h),h=j)}while(void 0!==f);return 0!==b.length&&([,O]=b[b.length-1]),O};const Hr=["keyMap"],Kr=["keyMap"];function Wr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Qr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Wr(Object(r),!0).forEach((function(t){ur(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Wr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const Yr=e=>zt(e)?"ObjectElement":Gt(e)?"ArrayElement":Ut(e)?"MemberElement":It(e)?"StringElement":qt(e)?"BooleanElement":$t(e)?"NumberElement":Bt(e)?"NullElement":Ht(e)?"LinkElement":Kt(e)?"RefElement":void 0,Xr=Ve(Yr,$r),Zr={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]},en=(Cr({props:{result:[],predicate:c,returnOnTrue:void 0,returnOnFalse:void 0},init({predicate:e=this.predicate,returnOnTrue:t=this.returnOnTrue,returnOnFalse:r=this.returnOnFalse}={}){this.result=[],this.predicate=e,this.returnOnTrue=t,this.returnOnFalse=r},methods:{enter(e){return this.predicate(e)?(this.result.push(e),this.returnOnTrue):this.returnOnFalse}}}),(e,t,r={})=>{let{keyMap:n=Zr}=r,s=Vr(r,Hr);return Ur(e,t,Qr({keyMap:n,nodeTypeGetter:Yr,nodePredicate:Xr},s))});en[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,r={})=>{let{keyMap:n=Zr}=r,s=Vr(r,Kr);return Ur[Symbol.for("nodejs.util.promisify.custom")](e,t,Qr({keyMap:n,nodeTypeGetter:Yr,nodePredicate:Xr},s))};const tn=(e,t,r={})=>{if(0===t.length)return e;const n=yt(Fr,"toolboxCreator",r),s=yt({},"visitorOptions",r),i=yt(Yr,"nodeTypeGetter",s),o=n(),c=t.map((e=>e(o))),a=((e,{visitFnGetter:t=Br,nodeTypeGetter:r=zr}={})=>{const n=new Array(e.length);return{enter(s,...i){for(let o=0;o<e.length;o+=1)if(null==n[o]){const c=t(e[o],r(s),!1);if("function"==typeof c){const t=c.call(e[o],s,...i);if(!1===t)n[o]=s;else if(t===qr)n[o]=qr;else if(void 0!==t)return t}}},leave(s,...i){for(let o=0;o<e.length;o+=1)if(null==n[o]){const c=t(e[o],r(s),!0);if("function"==typeof c){const t=c.call(e[o],s,...i);if(t===qr)n[o]=qr;else if(void 0!==t&&!1!==t)return t}}else n[o]===s&&(n[o]=null)}}})(c.map(yt({},"visitor")),{nodeTypeGetter:i});c.forEach(gr(["pre"],[]));const u=en(e,a,s);return c.forEach(gr(["post"],[])),u};function rn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function nn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?rn(Object(r),!0).forEach((function(t){ur(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const sn=(e,{Type:t,plugins:r=[]})=>{const n=new t(e);return tn(n,r,{toolboxCreator:Fr,visitorOptions:{nodeTypeGetter:Yr}})},on=e=>(t,r={})=>sn(t,nn(nn({},r),{},{Type:e}));o.Sb.refract=on(o.Sb),o.ON.refract=on(o.ON),o.RP.refract=on(o.RP),o.hh.refract=on(o.hh),o.zr.refract=on(o.zr),o.VL.refract=on(o.VL),o.EA.refract=on(o.EA),o.tK.refract=on(o.tK),xt.refract=on(xt),Pt.refract=on(Pt),Nt.refract=on(Nt),Tt.refract=on(Tt);class cn extends o.Sb{constructor(e,t,r){super(e,t,r),this.element="JSONSchemaDraft4"}get idProp(){return this.get("id")}set idProp(e){this.set("id",e)}get $schema(){return this.get("$schema")}set $schema(e){this.set("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 an=cn;class un extends o.Sb{constructor(e,t,r){super(e,t,r),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const ln=un;class pn extends o.Sb{constructor(e,t,r){super(e,t,r),this.element="media"}get binaryEncoding(){return this.get("binaryEncoding")}set binaryEncoding(e){this.set("binaryEncoding",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}}const fn=pn;class hn extends o.Sb{constructor(e,t,r){super(e,t,r),this.element="linkDescription"}get href(){return this.get("href")}set href(e){this.set("href",e)}get rel(){return this.get("rel")}set rel(e){this.set("rel",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){return this.get("mediaType")}set mediaType(e){this.set("mediaType",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get encType(){return this.get("encType")}set encType(e){this.set("encType",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}}const mn=hn;const yn=Ce((function(e,t){return Ve(Ot(""),Ue(St(e)),at(""))(t)})),dn=(e,t)=>{const r=Ie(e,t);return ft((e=>{if(kr(e)&&Ze("$ref",e)&&dt($r,"$ref",e)){const t=pt(["$ref"],e),n=yn("#/",t);return pt(n.split("/"),r)}return kr(e)?dn(e,r):e}),e)},bn=Cr({props:{element:null},methods:{copyMetaAndAttributes(e,t){er(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),vn=Cr(bn,{methods:{enter(e){return this.element=e.clone(),qr}}});const gn=be(At());function On(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const jn=e=>{if(Ct(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Sn=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?On(Object(r),!0).forEach((function(t){ur(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):On(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"]},Zr);function wn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function xn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?wn(Object(r),!0).forEach((function(t){ur(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const En=Cr(bn,{props:{specObj:null,passingOptionsNames:["specObj"]},init({specObj:e=this.specObj}){this.specObj=e},methods:{retrievePassingOptions(){return mt(this.passingOptionsNames,this)},retrieveFixedFields(e){return Ve(pt(["visitors",...e,"fixedFields"]),D)(this.specObj)},retrieveVisitor(e){return ht(yr,["visitors",...e],this.specObj)?pt(["visitors",...e],this.specObj):pt(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const r=this.retrievePassingOptions();return this.retrieveVisitor(e)(xn(xn({},r),t))},toRefractedElement(e,t,r={}){const n=this.retrieveVisitorInstance(e,r),s=Object.getPrototypeOf(n);return kt(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===s?t.clone():(en(t,n,xn({keyMap:Sn,nodeTypeGetter:jn},r)),n.element)}}}),Pn=Cr(En,{props:{specPath:gn,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){const t=this.specPath(e),r=this.retrieveFixedFields(t);return e.forEach(((e,n,s)=>{if(It(n)&&r.includes(n.toValue())&&!this.ignoredFields.includes(n.toValue())){const r=this.toRefractedElement([...t,"fixedFields",n.toValue()],e),i=new o.c6(n.clone(),r);this.copyMetaAndAttributes(s,i),i.classes.push("fixed-field"),this.element.content.push(i)}else this.ignoredFields.includes(n.toValue())||this.element.content.push(s.clone())})),this.copyMetaAndAttributes(e,this.element),qr}}}),An=Cr(Pn,vn,{props:{specPath:be(["document","objects","JSONSchema"])},init(){this.element=new an}}),kn=vn,_n=vn,Nn=vn,Mn=vn,Tn=vn,Dn=vn,Fn=vn,Rn=vn,Jn=vn,Ln=vn,Vn=Cr({props:{parent:null},init({parent:e=this.parent}){this.parent=e,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),Cn=e=>zt(e)&&e.hasKey("$ref"),In=Cr(En,Vn,vn,{methods:{ObjectElement(e){const t=Cn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),qr},ArrayElement(e){return this.element=new o.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=Cn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),qr}}}),$n=vn,Bn=vn,qn=vn,zn=vn,Gn=vn,Un=Cr(vn,{methods:{ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-required"),qr}}});const Hn=De(S(1,Me(jr,Ke(wr,yr))));const Kn=De(ct);const Wn=de([$r,Hn,Kn]),Qn=Cr(En,{props:{fieldPatternPredicate:c,specPath:gn,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){return e.forEach(((e,t,r)=>{if(!this.ignoredFields.includes(t.toValue())&&this.fieldPatternPredicate(t.toValue())){const n=this.specPath(e),s=this.toRefractedElement(n,e),i=new o.c6(t.clone(),s);this.copyMetaAndAttributes(r,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(t.toValue())||this.element.content.push(r.clone())})),this.copyMetaAndAttributes(e,this.element),qr}}}),Yn=Cr(Qn,{props:{fieldPatternPredicate:Wn}}),Xn=Cr(Yn,Vn,vn,{props:{specPath:e=>Cn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.Sb,this.element.classes.push("json-schema-properties")}}),Zn=Cr(Yn,Vn,vn,{props:{specPath:e=>Cn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.Sb,this.element.classes.push("json-schema-patternProperties")}}),es=Cr(Yn,Vn,vn,{props:{specPath:e=>Cn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.Sb,this.element.classes.push("json-schema-dependencies")}}),ts=Cr(vn,{methods:{ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-enum"),qr}}}),rs=Cr(vn,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-type"),qr},ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-type"),qr}}}),ns=Cr(En,Vn,vn,{init(){this.element=new o.ON,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Cn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),qr}}}),ss=Cr(En,Vn,vn,{init(){this.element=new o.ON,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Cn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),qr}}}),is=Cr(En,Vn,vn,{init(){this.element=new o.ON,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Cn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),qr}}}),os=Cr(Yn,Vn,vn,{props:{specPath:e=>Cn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.Sb,this.element.classes.push("json-schema-definitions")}}),cs=vn,as=vn,us=vn,ls=vn,ps=vn,fs=Cr(En,Vn,vn,{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),qr}}}),hs=vn,ms=Cr(Pn,vn,{props:{specPath:be(["document","objects","JSONReference"])},init(){this.element=new ln},methods:{ObjectElement(e){const t=Pn.compose.methods.ObjectElement.call(this,e);return It(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),ys=Cr(vn,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),qr}}});const ds=De(xe);const bs=Me(br,Kn);function vs(e){return function(e){if(Array.isArray(e))return gs(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 gs(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return gs(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 gs(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Os=Ve(gt(Te((function(e,t){return e.length>t.length}))),et,ne("length")),js=Ce((function(e,t,r){var n=r.apply(void 0,vs(e));return ds(n)?bt(n):t}));const Ss=nt(bs,(function(e){var t=Os(e);return S(t,(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return ye(js(r),void 0,e)}))}),At),ws=Cr(En,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>nt(e,be(t),At))),r=Ss(t)(e);return this.element=this.toRefractedElement(r,e),qr}}}),xs=Cr(ws,{props:{alternator:[{predicate:Cn,specPath:["document","objects","JSONReference"]},{predicate:a,specPath:["document","objects","JSONSchema"]}]}}),Es=Cr(Pn,vn,{props:{specPath:be(["document","objects","Media"])},init(){this.element=new fn}}),Ps=vn,As=vn,ks=Cr(Pn,vn,{props:{specPath:be(["document","objects","LinkDescription"])},init(){this.element=new mn}}),_s={visitors:{value:vn,JSONSchemaOrJSONReferenceVisitor:xs,document:{objects:{JSONSchema:{$visitor:An,fixedFields:{id:kn,$schema:_n,multipleOf:Nn,maximum:Mn,exclusiveMaximum:Tn,minimum:Dn,exclusiveMinimum:Fn,maxLength:Rn,minLength:Jn,pattern:Ln,additionalItems:xs,items:In,maxItems:$n,minItems:Bn,uniqueItems:qn,maxProperties:zn,minProperties:Gn,required:Un,properties:Xn,additionalProperties:xs,patternProperties:Zn,dependencies:es,enum:ts,type:rs,allOf:ns,anyOf:ss,oneOf:is,not:xs,definitions:os,title:cs,description:as,default:us,format:ls,base:ps,links:fs,media:{$ref:"#/visitors/document/objects/Media"},readOnly:hs}},JSONReference:{$visitor:ms,fixedFields:{$ref:ys}},Media:{$visitor:Es,fixedFields:{binaryEncoding:Ps,type:As}},LinkDescription:{$visitor:ks,fixedFields:{href:vn,rel:vn,title:vn,targetSchema:xs,mediaType:vn,method:vn,encType:vn,schema:xs}}}}}},Ns=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof an||e(n)&&t("JSONSchemaDraft4",n)&&r("object",n))),Ms=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof ln||e(n)&&t("JSONReference",n)&&r("object",n))),Ts=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof fn||e(n)&&t("media",n)&&r("object",n))),Ds=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof mn||e(n)&&t("linkDescription",n)&&r("object",n))),Fs={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",an),t.register("jSONReference",ln),t.register("media",fn),t.register("linkDescription",mn),t}};function Rs(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Js(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Rs(Object(r),!0).forEach((function(t){ur(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Rs(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const Ls=()=>{const e=Mr(Fs);return{predicates:Js(Js({},t),{},{isStringElement:It}),namespace:e}};function Vs(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const Cs=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=_s}={})=>{const s=(0,o.Qc)(e),i=dn(n),c=gr(t,[],i);return en(s,c,{state:{specObj:i}}),tn(c.element,r,{toolboxCreator:Ls,visitorOptions:{keyMap:Sn,nodeTypeGetter:jn}})},Is=e=>(t,r={})=>Cs(t,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Vs(Object(r),!0).forEach((function(t){ur(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vs(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({specPath:e},r));an.refract=Is(["visitors","document","objects","JSONSchema","$visitor"]),ln.refract=Is(["visitors","document","objects","JSONReference","$visitor"]),fn.refract=Is(["visitors","document","objects","Media","$visitor"]),mn.refract=Is(["visitors","document","objects","LinkDescription","$visitor"]);const $s=class extends an{constructor(e,t,r){super(e,t,r),this.element="JSONSchemaDraft6"}get idProp(){throw new Error("id keyword from Core vocabulary has been renamed to $id.")}set idProp(e){throw new Error("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 Bs=class extends mn{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 Error("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}set schema(e){throw new Error("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 Error("method keyword from Hyper-Schema vocabulary has been removed.")}set method(e){throw new Error("method keyword from Hyper-Schema vocabulary has been removed.")}get encType(){throw new Error("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}set encType(e){throw new Error("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}get submissionEncType(){return this.get("submissionEncType")}set submissionEncType(e){this.set("submissionEncType",e)}},qs=Cr(Pn,vn,{props:{specPath:be(["document","objects","JSONSchema"])},methods:{ObjectElement(e){return this.element=new $s,Pn.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=e.clone(),this.element.classes.push("boolean-json-schema"),qr}}}),zs=vn,Gs=Cr(En,Vn,vn,{methods:{ObjectElement(e){const t=Cn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),qr},ArrayElement(e){return this.element=new o.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=Cn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),qr},BooleanElement(e){return this.element=this.toRefractedElement(["document","objects","JSONSchema"],e),qr}}}),Us=vn,Hs=Cr(vn,{methods:{ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-examples"),qr}}}),Ks=Cr(Pn,vn,{props:{specPath:be(["document","objects","LinkDescription"])},init(){this.element=new Bs}}),Ws=vn,Qs=Ve(Ee(["visitors","document","objects","JSONSchema","$visitor"],qs),qe(["visitors","document","objects","JSONSchema","fixedFields","id"]),Ee(["visitors","document","objects","JSONSchema","fixedFields","$id"],zs),Ee(["visitors","document","objects","JSONSchema","fixedFields","contains"],_s.visitors.JSONSchemaOrJSONReferenceVisitor),Ee(["visitors","document","objects","JSONSchema","fixedFields","items"],Gs),Ee(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],_s.visitors.JSONSchemaOrJSONReferenceVisitor),Ee(["visitors","document","objects","JSONSchema","fixedFields","const"],Us),Ee(["visitors","document","objects","JSONSchema","fixedFields","examples"],Hs),Ee(["visitors","document","objects","LinkDescription","$visitor"],Ks),Ee(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],_s.visitors.JSONSchemaOrJSONReferenceVisitor),qe(["visitors","document","objects","LinkDescription","fixedFields","schema"]),Ee(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],_s.visitors.JSONSchemaOrJSONReferenceVisitor),qe(["visitors","document","objects","LinkDescription","fixedFields","method"]),qe(["visitors","document","objects","LinkDescription","fixedFields","encType"]),Ee(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"],Ws))(_s);function Ys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const Xs=e=>{if(Ct(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Zs=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ys(Object(r),!0).forEach((function(t){ur(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ys(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({JSONSchemaDraft6Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"]},Zr),ei=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof $s||e(n)&&t("JSONSchemaDraft6",n)&&r("object",n))),ti=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Bs||e(n)&&t("linkDescription",n)&&r("object",n))),ri={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft6",$s),t.register("jSONReference",ln),t.register("media",fn),t.register("linkDescription",Bs),t}};function ni(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function si(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ni(Object(r),!0).forEach((function(t){ur(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ni(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const ii=()=>{const e=Mr(ri);return{predicates:si(si({},s),{},{isStringElement:It}),namespace:e}};function oi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const ci=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=Qs}={})=>{const s=(0,o.Qc)(e),i=dn(n),c=gr(t,[],i);return en(s,c,{state:{specObj:i}}),tn(c.element,r,{toolboxCreator:ii,visitorOptions:{keyMap:Zs,nodeTypeGetter:Xs}})},ai=e=>(t,r={})=>ci(t,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?oi(Object(r),!0).forEach((function(t){ur(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oi(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({specPath:e},r));$s.refract=ai(["visitors","document","objects","JSONSchema","$visitor"]),Bs.refract=ai(["visitors","document","objects","LinkDescription","$visitor"]);const ui=class extends $s{constructor(e,t,r){super(e,t,r),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 Error('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}set media(e){throw new Error('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 li=class extends Bs{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 Error("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}set mediaType(e){throw new Error("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 Error("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}set submissionEncType(e){throw new Error("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}get submissionMediaType(){return this.get("submissionMediaType")}set submissionMediaType(e){this.set("submissionMediaType",e)}},pi={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft7",ui),t.register("jSONReference",ln),t.register("linkDescription",li),t}};function fi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const hi=e=>{if(Ct(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},mi=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?fi(Object(r),!0).forEach((function(t){ur(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fi(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({JSONSchemaDraft7Element:["content"],JSONReferenceElement:["content"],LinkDescriptionElement:["content"]},Zr),yi=e=>It(e)&&rr(["yaml-e-node","yaml-e-scalar"],e),di={JSONSchemaDraft7Element:{additionalItems:(...e)=>new ui(...e),items:(...e)=>new ui(...e),contains:(...e)=>new ui(...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 ui(...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 ui(...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 ui(...e),then:(...e)=>new ui(...e),else:(...e)=>new ui(...e),not:(...e)=>new ui(...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 ui(...e),targetSchema:(...e)=>new ui(...e),submissionSchema:(...e)=>new ui(...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 ui(...e)}},"json-schema-patternProperties":{"[key: *]":function(...e){return new ui(...e)}},"json-schema-dependencies":{"[key: *]":function(...e){return new ui(...e)}},"json-schema-allOf":{"<*>":function(...e){return new ui(...e)}},"json-schema-anyOf":{"<*>":function(...e){return new ui(...e)}},"json-schema-oneOf":{"<*>":function(...e){return new ui(...e)}},"json-schema-definitions":{"[key: *]":function(...e){return new ui(...e)}},"json-schema-links":{"<*>":function(...e){return new li(...e)}}},bi=(e,t)=>{const r=hi(e),n=di[r]||di[e.classes.first?.toValue?.()];return void 0===n?void 0:Object.prototype.hasOwnProperty.call(n,"[key: *]")?n["[key: *]"]:n[t]},vi=()=>()=>({visitor:{MemberElement(e,...t){if(!yi(e.value))return;const[,,,r]=t,n=r[r.length-1],s=bi(n,e.key.toValue());if(void 0===s)return;const i=e.value;return new o.c6(e.key,s.call({context:n},void 0,i.meta.clone(),i.attributes.clone()),e.meta.clone(),e.attributes.clone())},StringElement(e,...t){if(!yi(e))return;const[,,,r]=t,n=r[r.length-1];if(!Gt(n))return;const s=bi(n,"<*>");return void 0!==s?s.call({context:e},void 0,e.meta.clone(),e.attributes.clone()):void 0}}}),gi=Ir()(Pn,vn,{props:{specPath:be(["document","objects","JSONSchema"])},methods:{ObjectElement(e){return this.element=new ui,Pn.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=e.clone(),this.element.classes.push("boolean-json-schema"),qr}}}),Oi=vn,ji=vn,Si=vn,wi=vn,xi=Ir()(Pn,vn,{props:{specPath:be(["document","objects","LinkDescription"])},init(){this.element=new li}}),Ei=vn,Pi=vn,Ai=vn,ki=vn,_i=vn,Ni=vn,Mi=vn,Ti=Ve(Ee(["visitors","document","objects","JSONSchema","$visitor"],gi),Ee(["visitors","document","objects","JSONSchema","fixedFields","$comment"],Oi),Ee(["visitors","document","objects","JSONSchema","fixedFields","if"],Qs.visitors.JSONSchemaOrJSONReferenceVisitor),Ee(["visitors","document","objects","JSONSchema","fixedFields","then"],Qs.visitors.JSONSchemaOrJSONReferenceVisitor),Ee(["visitors","document","objects","JSONSchema","fixedFields","else"],Qs.visitors.JSONSchemaOrJSONReferenceVisitor),qe(["visitors","document","objects","JSONSchema","fixedFields","media"]),Ee(["visitors","document","objects","JSONSchema","fixedFields","contentEncoding"],ji),Ee(["visitors","document","objects","JSONSchema","fixedFields","contentMediaType"],Si),Ee(["visitors","document","objects","JSONSchema","fixedFields","writeOnly"],wi),Ee(["visitors","document","objects","LinkDescription","$visitor"],xi),Ee(["visitors","document","objects","LinkDescription","fixedFields","anchor"],Ei),Ee(["visitors","document","objects","LinkDescription","fixedFields","anchorPointer"],Pi),qe(["visitors","document","objects","LinkDescription","fixedFields","mediaType"]),Ee(["visitors","document","objects","LinkDescription","fixedFields","targetMediaType"],Ai),Ee(["visitors","document","objects","LinkDescription","fixedFields","targetHints"],ki),Ee(["visitors","document","objects","LinkDescription","fixedFields","description"],_i),Ee(["visitors","document","objects","LinkDescription","fixedFields","$comment"],Ni),qe(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"]),Ee(["visitors","document","objects","LinkDescription","fixedFields","submissionMediaType"],Mi))(Qs),Di=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof ui||e(n)&&t("JSONSchemaDraft7",n)&&r("object",n))),Fi=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof li||e(n)&&t("linkDescription",n)&&r("object",n)));function Ri(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ji(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ri(Object(r),!0).forEach((function(t){ur(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ri(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const Li=()=>{const e=Mr(pi);return{predicates:Ji(Ji({},i),{},{isStringElement:It}),namespace:e}};function Vi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const Ci=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=Ti}={})=>{const s=(0,o.Qc)(e),i=dn(n),c=gr(t,[],i);return en(s,c,{state:{specObj:i}}),tn(c.element,r,{toolboxCreator:Li,visitorOptions:{keyMap:mi,nodeTypeGetter:hi}})},Ii=e=>(t,r={})=>Ci(t,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Vi(Object(r),!0).forEach((function(t){ur(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vi(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({specPath:e},r)),$i=Ci})(),n})()));
|
|
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={8385:(e,t,r)=>{var n=r(6174);e.exports=n},5271:(e,t,r)=>{var n=r(7820);e.exports=n},7574:(e,t,r)=>{var n=r(2);e.exports=n},33:(e,t,r)=>{var n=r(5636);e.exports=n},9821:(e,t,r)=>{var n=r(2285);r(7148),r(9031),r(1875),e.exports=n},8008:(e,t,r)=>{var n=r(8535);e.exports=n},164:(e,t,r)=>{var n=r(6042);e.exports=n},2089:(e,t,r)=>{r(2276);var n=r(5607);e.exports=n("Array").indexOf},2604:(e,t,r)=>{var n=r(8902),s=r(2089),i=Array.prototype;e.exports=function(e){var t=e.indexOf;return e===i||n(i,e)&&t===i.indexOf?s:t}},3512:(e,t,r)=>{r(297);var n=r(7545).Object,s=e.exports=function(e,t,r){return n.defineProperty(e,t,r)};n.defineProperty.sham&&(s.sham=!0)},2921:(e,t,r)=>{r(6187);var n=r(7545);e.exports=n.Object.getOwnPropertySymbols},8651:(e,t,r)=>{r(2647);var n=r(7545);e.exports=n.Object.keys},5008:(e,t,r)=>{r(9106),r(6663),r(6187),r(9781),r(492),r(6681),r(9594),r(3665),r(9017),r(1250),r(9786),r(503),r(6565),r(9322),r(3610),r(6886),r(3514),r(8671),r(8556),r(1367);var n=r(7545);e.exports=n.Symbol},994:(e,t,r)=>{r(8939),r(6663),r(5454),r(3665);var n=r(9207);e.exports=n.f("iterator")},290:(e,t,r)=>{r(2432),r(3610);var n=r(9207);e.exports=n.f("toPrimitive")},2747:(e,t,r)=>{var n=r(8385);e.exports=n},229:(e,t,r)=>{var n=r(5271);e.exports=n},5090:(e,t,r)=>{var n=r(7574);e.exports=n},5483:(e,t,r)=>{var n=r(33);e.exports=n},2185:(e,t,r)=>{var n=r(9821);r(177),r(3346),r(3520),r(6658),r(8658),r(2725),r(1806),r(4212),r(4592),r(6680),e.exports=n},9982:(e,t,r)=>{var n=r(8008);e.exports=n},8241:(e,t,r)=>{var n=r(164);e.exports=n},6235:(e,t,r)=>{var n=r(6447),s=r(9288),i=TypeError;e.exports=function(e){if(n(e))return e;throw i(s(e)+" is not a function")}},7757:(e,t,r)=>{var n=r(6447),s=String,i=TypeError;e.exports=function(e){if("object"==typeof e||n(e))return e;throw i("Can't set "+s(e)+" as a prototype")}},7423:e=>{e.exports=function(){}},1138:(e,t,r)=>{var n=r(5744),s=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw i(s(e)+" is not an object")}},8180:(e,t,r)=>{var n=r(101),s=r(7739),i=r(4104),o=function(e){return function(t,r,o){var c,a=n(t),u=i(a),l=s(o,u);if(e&&r!=r){for(;u>l;)if((c=a[l++])!=c)return!0}else for(;u>l;l++)if((e||l in a)&&a[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},454:(e,t,r)=>{var n=r(8043),s=r(4120),i=r(2202),o=r(1795),c=r(4104),a=r(1321),u=s([].push),l=function(e){var t=1==e,r=2==e,s=3==e,l=4==e,p=6==e,f=7==e,h=5==e||p;return function(m,y,d,b){for(var v,g,O=o(m),j=i(O),S=n(y,d),x=c(j),w=0,E=b||a,P=t?E(m,x):r||f?E(m,0):void 0;x>w;w++)if((h||w in j)&&(g=S(v=j[w],w,O),e))if(t)P[w]=g;else if(g)switch(e){case 3:return!0;case 5:return v;case 6:return w;case 2:u(P,v)}else switch(e){case 4:return!1;case 7:u(P,v)}return p?-1:s||l?l:P}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},242:(e,t,r)=>{var n=r(6192),s=r(8182),i=r(4218),o=s("species");e.exports=function(e){return i>=51||!n((function(){var t=[];return(t.constructor={})[o]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},424:(e,t,r)=>{"use strict";var n=r(6192);e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){return 1},1)}))}},1923:(e,t,r)=>{var n=r(7739),s=r(4104),i=r(9361),o=Array,c=Math.max;e.exports=function(e,t,r){for(var a=s(e),u=n(t,a),l=n(void 0===r?a:r,a),p=o(c(l-u,0)),f=0;u<l;u++,f++)i(p,f,e[u]);return p.length=f,p}},3096:(e,t,r)=>{var n=r(4120);e.exports=n([].slice)},3712:(e,t,r)=>{var n=r(4770),s=r(2091),i=r(5744),o=r(8182)("species"),c=Array;e.exports=function(e){var t;return n(e)&&(t=e.constructor,(s(t)&&(t===c||n(t.prototype))||i(t)&&null===(t=t[o]))&&(t=void 0)),void 0===t?c:t}},1321:(e,t,r)=>{var n=r(3712);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},9272:(e,t,r)=>{var n=r(4120),s=n({}.toString),i=n("".slice);e.exports=function(e){return i(s(e),8,-1)}},4696:(e,t,r)=>{var n=r(3471),s=r(6447),i=r(9272),o=r(8182)("toStringTag"),c=Object,a="Arguments"==i(function(){return arguments}());e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=c(e),o))?r:a?i(t):"Object"==(n=i(t))&&s(t.callee)?"Arguments":n}},4635:(e,t,r)=>{var n=r(6192);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7271:e=>{e.exports=function(e,t){return{value:e,done:t}}},8711:(e,t,r)=>{var n=r(69),s=r(2454),i=r(774);e.exports=n?function(e,t,r){return s.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},774:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},9361:(e,t,r)=>{"use strict";var n=r(77),s=r(2454),i=r(774);e.exports=function(e,t,r){var o=n(t);o in e?s.f(e,o,i(0,r)):e[o]=r}},2807:(e,t,r)=>{var n=r(2454);e.exports=function(e,t,r){return n.f(e,t,r)}},9362:(e,t,r)=>{var n=r(8711);e.exports=function(e,t,r,s){return s&&s.enumerable?e[t]=r:n(e,t,r),e}},5098:(e,t,r)=>{var n=r(8576),s=Object.defineProperty;e.exports=function(e,t){try{s(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},69:(e,t,r)=>{var n=r(6192);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8382:e=>{var t="object"==typeof document&&document.all,r=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:r}},7449:(e,t,r)=>{var n=r(8576),s=r(5744),i=n.document,o=s(i)&&s(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},9425:e=>{var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},7365:e=>{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=>{e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},4218:(e,t,r)=>{var n,s,i=r(8576),o=r(8989),c=i.process,a=i.Deno,u=c&&c.versions||a&&a.version,l=u&&u.v8;l&&(s=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!s&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(s=+n[1]),e.exports=s},5607:(e,t,r)=>{var n=r(7545);e.exports=function(e){return n[e+"Prototype"]}},2952:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3085:(e,t,r)=>{"use strict";var n=r(8576),s=r(6298),i=r(4914),o=r(6447),c=r(5141).f,a=r(9245),u=r(7545),l=r(8043),p=r(8711),f=r(4500),h=function(e){var t=function(r,n,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(r);case 2:return new e(r,n)}return new e(r,n,i)}return s(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var r,s,m,y,d,b,v,g,O,j=e.target,S=e.global,x=e.stat,w=e.proto,E=S?n:x?n[j]:(n[j]||{}).prototype,P=S?u:u[j]||p(u,j,{})[j],A=P.prototype;for(y in t)s=!(r=a(S?y:j+(x?".":"#")+y,e.forced))&&E&&f(E,y),b=P[y],s&&(v=e.dontCallGetSet?(O=c(E,y))&&O.value:E[y]),d=s&&v?v:t[y],s&&typeof b==typeof d||(g=e.bind&&s?l(d,n):e.wrap&&s?h(d):w&&o(d)?i(d):d,(e.sham||d&&d.sham||b&&b.sham)&&p(g,"sham",!0),p(P,y,g),w&&(f(u,m=j+"Prototype")||p(u,m,{}),p(u[m],y,d),e.real&&A&&(r||!A[y])&&p(A,y,d)))}},6192:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},6298:(e,t,r)=>{var n=r(2784),s=Function.prototype,i=s.apply,o=s.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(i):function(){return o.apply(i,arguments)})},8043:(e,t,r)=>{var n=r(4914),s=r(6235),i=r(2784),o=n(n.bind);e.exports=function(e,t){return s(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}},2784:(e,t,r)=>{var n=r(6192);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},8922:(e,t,r)=>{var n=r(2784),s=Function.prototype.call;e.exports=n?s.bind(s):function(){return s.apply(s,arguments)}},2282:(e,t,r)=>{var n=r(69),s=r(4500),i=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,c=s(i,"name"),a=c&&"something"===function(){}.name,u=c&&(!n||n&&o(i,"name").configurable);e.exports={EXISTS:c,PROPER:a,CONFIGURABLE:u}},6419:(e,t,r)=>{var n=r(4120),s=r(6235);e.exports=function(e,t,r){try{return n(s(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},4914:(e,t,r)=>{var n=r(9272),s=r(4120);e.exports=function(e){if("Function"===n(e))return s(e)}},4120:(e,t,r)=>{var n=r(2784),s=Function.prototype,i=s.call,o=n&&s.bind.bind(i,i);e.exports=n?o:function(e){return function(){return i.apply(e,arguments)}}},150:(e,t,r)=>{var n=r(7545),s=r(8576),i=r(6447),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e])||o(s[e]):n[e]&&n[e][t]||s[e]&&s[e][t]}},9202:(e,t,r)=>{var n=r(4120),s=r(4770),i=r(6447),o=r(9272),c=r(4845),a=n([].push);e.exports=function(e){if(i(e))return e;if(s(e)){for(var t=e.length,r=[],n=0;n<t;n++){var u=e[n];"string"==typeof u?a(r,u):"number"!=typeof u&&"Number"!=o(u)&&"String"!=o(u)||a(r,c(u))}var l=r.length,p=!0;return function(e,t){if(p)return p=!1,t;if(s(this))return t;for(var n=0;n<l;n++)if(r[n]===e)return t}}}},5037:(e,t,r)=>{var n=r(6235),s=r(5646);e.exports=function(e,t){var r=e[t];return s(r)?void 0:n(r)}},8576:function(e,t,r){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||this||Function("return this")()},4500:(e,t,r)=>{var n=r(4120),s=r(1795),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(s(e),t)}},4535:e=>{e.exports={}},7403:(e,t,r)=>{var n=r(150);e.exports=n("document","documentElement")},188:(e,t,r)=>{var n=r(69),s=r(6192),i=r(7449);e.exports=!n&&!s((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},2202:(e,t,r)=>{var n=r(4120),s=r(6192),i=r(9272),o=Object,c=n("".split);e.exports=s((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?c(e,""):o(e)}:o},9516:(e,t,r)=>{var n=r(4120),s=r(6447),i=r(6434),o=n(Function.toString);s(i.inspectSource)||(i.inspectSource=function(e){return o(e)}),e.exports=i.inspectSource},3326:(e,t,r)=>{var n,s,i,o=r(5278),c=r(8576),a=r(5744),u=r(8711),l=r(4500),p=r(6434),f=r(9766),h=r(4535),m="Object already initialized",y=c.TypeError,d=c.WeakMap;if(o||p.state){var b=p.state||(p.state=new d);b.get=b.get,b.has=b.has,b.set=b.set,n=function(e,t){if(b.has(e))throw y(m);return t.facade=e,b.set(e,t),t},s=function(e){return b.get(e)||{}},i=function(e){return b.has(e)}}else{var v=f("state");h[v]=!0,n=function(e,t){if(l(e,v))throw y(m);return t.facade=e,u(e,v,t),t},s=function(e){return l(e,v)?e[v]:{}},i=function(e){return l(e,v)}}e.exports={set:n,get:s,has:i,enforce:function(e){return i(e)?s(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!a(t)||(r=s(t)).type!==e)throw y("Incompatible receiver, "+e+" required");return r}}}},4770:(e,t,r)=>{var n=r(9272);e.exports=Array.isArray||function(e){return"Array"==n(e)}},6447:(e,t,r)=>{var n=r(8382),s=n.all;e.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===s}:function(e){return"function"==typeof e}},2091:(e,t,r)=>{var n=r(4120),s=r(6192),i=r(6447),o=r(4696),c=r(150),a=r(9516),u=function(){},l=[],p=c("Reflect","construct"),f=/^\s*(?:class|function)\b/,h=n(f.exec),m=!f.exec(u),y=function(e){if(!i(e))return!1;try{return p(u,l,e),!0}catch(e){return!1}},d=function(e){if(!i(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return m||!!h(f,a(e))}catch(e){return!0}};d.sham=!0,e.exports=!p||s((function(){var e;return y(y.call)||!y(Object)||!y((function(){e=!0}))||e}))?d:y},9245:(e,t,r)=>{var n=r(6192),s=r(6447),i=/#|\.prototype\./,o=function(e,t){var r=a[c(e)];return r==l||r!=u&&(s(t)?n(t):!!t)},c=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},a=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},5646:e=>{e.exports=function(e){return null==e}},5744:(e,t,r)=>{var n=r(6447),s=r(8382),i=s.all;e.exports=s.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===i}:function(e){return"object"==typeof e?null!==e:n(e)}},5546:e=>{e.exports=!0},3236:(e,t,r)=>{var n=r(150),s=r(6447),i=r(8902),o=r(615),c=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return s(t)&&i(t.prototype,c(e))}},5695:(e,t,r)=>{"use strict";var n=r(4413).IteratorPrototype,s=r(2853),i=r(774),o=r(1284),c=r(7771),a=function(){return this};e.exports=function(e,t,r,u){var l=t+" Iterator";return e.prototype=s(n,{next:i(+!u,r)}),o(e,l,!1,!0),c[l]=a,e}},5297:(e,t,r)=>{"use strict";var n=r(3085),s=r(8922),i=r(5546),o=r(2282),c=r(6447),a=r(5695),u=r(9341),l=r(4469),p=r(1284),f=r(8711),h=r(9362),m=r(8182),y=r(7771),d=r(4413),b=o.PROPER,v=o.CONFIGURABLE,g=d.IteratorPrototype,O=d.BUGGY_SAFARI_ITERATORS,j=m("iterator"),S="keys",x="values",w="entries",E=function(){return this};e.exports=function(e,t,r,o,m,d,P){a(r,t,o);var A,k,_,N=function(e){if(e===m&&R)return R;if(!O&&e in D)return D[e];switch(e){case S:case x:case w:return function(){return new r(this,e)}}return function(){return new r(this)}},T=t+" Iterator",M=!1,D=e.prototype,F=D[j]||D["@@iterator"]||m&&D[m],R=!O&&F||N(m),J="Array"==t&&D.entries||F;if(J&&(A=u(J.call(new e)))!==Object.prototype&&A.next&&(i||u(A)===g||(l?l(A,g):c(A[j])||h(A,j,E)),p(A,T,!0,!0),i&&(y[T]=E)),b&&m==x&&F&&F.name!==x&&(!i&&v?f(D,"name",x):(M=!0,R=function(){return s(F,this)})),m)if(k={values:N(x),keys:d?R:N(S),entries:N(w)},P)for(_ in k)(O||M||!(_ in D))&&h(D,_,k[_]);else n({target:t,proto:!0,forced:O||M},k);return i&&!P||D[j]===R||h(D,j,R,{name:m}),y[t]=R,k}},4413:(e,t,r)=>{"use strict";var n,s,i,o=r(6192),c=r(6447),a=r(5744),u=r(2853),l=r(9341),p=r(9362),f=r(8182),h=r(5546),m=f("iterator"),y=!1;[].keys&&("next"in(i=[].keys())?(s=l(l(i)))!==Object.prototype&&(n=s):y=!0),!a(n)||o((function(){var e={};return n[m].call(e)!==e}))?n={}:h&&(n=u(n)),c(n[m])||p(n,m,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:y}},7771:e=>{e.exports={}},4104:(e,t,r)=>{var n=r(8445);e.exports=function(e){return n(e.length)}},7679:e=>{var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},2853:(e,t,r)=>{var n,s=r(1138),i=r(1187),o=r(2952),c=r(4535),a=r(7403),u=r(7449),l=r(9766),p="prototype",f="script",h=l("IE_PROTO"),m=function(){},y=function(e){return"<"+f+">"+e+"</"+f+">"},d=function(e){e.write(y("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;b="undefined"!=typeof document?document.domain&&n?d(n):(t=u("iframe"),r="java"+f+":",t.style.display="none",a.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(y("document.F=Object")),e.close(),e.F):d(n);for(var s=o.length;s--;)delete b[p][o[s]];return b()};c[h]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(m[p]=s(e),r=new m,m[p]=null,r[h]=e):r=b(),void 0===t?r:i.f(r,t)}},1187:(e,t,r)=>{var n=r(69),s=r(9600),i=r(2454),o=r(1138),c=r(101),a=r(7653);t.f=n&&!s?Object.defineProperties:function(e,t){o(e);for(var r,n=c(t),s=a(t),u=s.length,l=0;u>l;)i.f(e,r=s[l++],n[r]);return e}},2454:(e,t,r)=>{var n=r(69),s=r(188),i=r(9600),o=r(1138),c=r(77),a=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,p="enumerable",f="configurable",h="writable";t.f=n?i?function(e,t,r){if(o(e),t=c(t),o(r),"function"==typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=l(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:f in r?r[f]:n[f],enumerable:p in r?r[p]:n[p],writable:!1})}return u(e,t,r)}:u:function(e,t,r){if(o(e),t=c(t),o(r),s)try{return u(e,t,r)}catch(e){}if("get"in r||"set"in r)throw a("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},5141:(e,t,r)=>{var n=r(69),s=r(8922),i=r(6007),o=r(774),c=r(101),a=r(77),u=r(4500),l=r(188),p=Object.getOwnPropertyDescriptor;t.f=n?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])}},4052:(e,t,r)=>{var n=r(9272),s=r(101),i=r(2092).f,o=r(1923),c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return c&&"Window"==n(e)?function(e){try{return i(e)}catch(e){return o(c)}}(e):i(s(e))}},2092:(e,t,r)=>{var n=r(7934),s=r(2952).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,s)}},4750:(e,t)=>{t.f=Object.getOwnPropertySymbols},9341:(e,t,r)=>{var n=r(4500),s=r(6447),i=r(1795),o=r(9766),c=r(4635),a=o("IE_PROTO"),u=Object,l=u.prototype;e.exports=c?u.getPrototypeOf:function(e){var t=i(e);if(n(t,a))return t[a];var r=t.constructor;return s(r)&&t instanceof r?r.prototype:t instanceof u?l:null}},8902:(e,t,r)=>{var n=r(4120);e.exports=n({}.isPrototypeOf)},7934:(e,t,r)=>{var n=r(4120),s=r(4500),i=r(101),o=r(8180).indexOf,c=r(4535),a=n([].push);e.exports=function(e,t){var r,n=i(e),u=0,l=[];for(r in n)!s(c,r)&&s(n,r)&&a(l,r);for(;t.length>u;)s(n,r=t[u++])&&(~o(l,r)||a(l,r));return l}},7653:(e,t,r)=>{var n=r(7934),s=r(2952);e.exports=Object.keys||function(e){return n(e,s)}},6007:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,s=n&&!r.call({1:2},1);t.f=s?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},4469:(e,t,r)=>{var n=r(6419),s=r(1138),i=r(7757);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return s(r),i(n),t?e(r,n):r.__proto__=n,r}}():void 0)},158:(e,t,r)=>{"use strict";var n=r(3471),s=r(4696);e.exports=n?{}.toString:function(){return"[object "+s(this)+"]"}},380:(e,t,r)=>{var n=r(8922),s=r(6447),i=r(5744),o=TypeError;e.exports=function(e,t){var r,c;if("string"===t&&s(r=e.toString)&&!i(c=n(r,e)))return c;if(s(r=e.valueOf)&&!i(c=n(r,e)))return c;if("string"!==t&&s(r=e.toString)&&!i(c=n(r,e)))return c;throw o("Can't convert object to primitive value")}},7545:e=>{e.exports={}},3209:(e,t,r)=>{var n=r(5646),s=TypeError;e.exports=function(e){if(n(e))throw s("Can't call method on "+e);return e}},1284:(e,t,r)=>{var n=r(3471),s=r(2454).f,i=r(8711),o=r(4500),c=r(158),a=r(8182)("toStringTag");e.exports=function(e,t,r,u){if(e){var l=r?e:e.prototype;o(l,a)||s(l,a,{configurable:!0,value:t}),u&&!n&&i(l,"toString",c)}}},9766:(e,t,r)=>{var n=r(8717),s=r(2759),i=n("keys");e.exports=function(e){return i[e]||(i[e]=s(e))}},6434:(e,t,r)=>{var n=r(8576),s=r(5098),i="__core-js_shared__",o=n[i]||s(i,{});e.exports=o},8717:(e,t,r)=>{var n=r(5546),s=r(6434);(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.31.1",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.1/LICENSE",source:"https://github.com/zloirock/core-js"})},863:(e,t,r)=>{var n=r(4120),s=r(1941),i=r(4845),o=r(3209),c=n("".charAt),a=n("".charCodeAt),u=n("".slice),l=function(e){return function(t,r){var n,l,p=i(o(t)),f=s(r),h=p.length;return f<0||f>=h?e?"":void 0:(n=a(p,f))<55296||n>56319||f+1===h||(l=a(p,f+1))<56320||l>57343?e?c(p,f):n:e?u(p,f,f+2):l-56320+(n-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},6770:(e,t,r)=>{var n=r(4218),s=r(6192),i=r(8576).String;e.exports=!!Object.getOwnPropertySymbols&&!s((function(){var e=Symbol();return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},3407:(e,t,r)=>{var n=r(8922),s=r(150),i=r(8182),o=r(9362);e.exports=function(){var e=s("Symbol"),t=e&&e.prototype,r=t&&t.valueOf,c=i("toPrimitive");t&&!t[c]&&o(t,c,(function(e){return n(r,this)}),{arity:1})}},8743:(e,t,r)=>{var n=r(150),s=r(4120),i=n("Symbol"),o=i.keyFor,c=s(i.prototype.valueOf);e.exports=i.isRegisteredSymbol||function(e){try{return void 0!==o(c(e))}catch(e){return!1}}},5128:(e,t,r)=>{for(var n=r(8717),s=r(150),i=r(4120),o=r(3236),c=r(8182),a=s("Symbol"),u=a.isWellKnownSymbol,l=s("Object","getOwnPropertyNames"),p=i(a.prototype.valueOf),f=n("wks"),h=0,m=l(a),y=m.length;h<y;h++)try{var d=m[h];o(a[d])&&c(d)}catch(e){}e.exports=function(e){if(u&&u(e))return!0;try{for(var t=p(e),r=0,n=l(f),s=n.length;r<s;r++)if(f[n[r]]==t)return!0}catch(e){}return!1}},31:(e,t,r)=>{var n=r(6770);e.exports=n&&!!Symbol.for&&!!Symbol.keyFor},7739:(e,t,r)=>{var n=r(1941),s=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?s(r+t,0):i(r,t)}},101:(e,t,r)=>{var n=r(2202),s=r(3209);e.exports=function(e){return n(s(e))}},1941:(e,t,r)=>{var n=r(7679);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},8445:(e,t,r)=>{var n=r(1941),s=Math.min;e.exports=function(e){return e>0?s(n(e),9007199254740991):0}},1795:(e,t,r)=>{var n=r(3209),s=Object;e.exports=function(e){return s(n(e))}},7888:(e,t,r)=>{var n=r(8922),s=r(5744),i=r(3236),o=r(5037),c=r(380),a=r(8182),u=TypeError,l=a("toPrimitive");e.exports=function(e,t){if(!s(e)||i(e))return e;var r,a=o(e,l);if(a){if(void 0===t&&(t="default"),r=n(a,e,t),!s(r)||i(r))return r;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),c(e,t)}},77:(e,t,r)=>{var n=r(7888),s=r(3236);e.exports=function(e){var t=n(e,"string");return s(t)?t:t+""}},3471:(e,t,r)=>{var n={};n[r(8182)("toStringTag")]="z",e.exports="[object z]"===String(n)},4845:(e,t,r)=>{var n=r(4696),s=String;e.exports=function(e){if("Symbol"===n(e))throw TypeError("Cannot convert a Symbol value to a string");return s(e)}},9288:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},2759:(e,t,r)=>{var n=r(4120),s=0,i=Math.random(),o=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++s+i,36)}},615:(e,t,r)=>{var n=r(6770);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},9600:(e,t,r)=>{var n=r(69),s=r(6192);e.exports=n&&s((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5278:(e,t,r)=>{var n=r(8576),s=r(6447),i=n.WeakMap;e.exports=s(i)&&/native code/.test(String(i))},8332:(e,t,r)=>{var n=r(7545),s=r(4500),i=r(9207),o=r(2454).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});s(t,e)||o(t,e,{value:i.f(e)})}},9207:(e,t,r)=>{var n=r(8182);t.f=n},8182:(e,t,r)=>{var n=r(8576),s=r(8717),i=r(4500),o=r(2759),c=r(6770),a=r(615),u=n.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]}},9106:(e,t,r)=>{"use strict";var n=r(3085),s=r(6192),i=r(4770),o=r(5744),c=r(1795),a=r(4104),u=r(9425),l=r(9361),p=r(1321),f=r(242),h=r(8182),m=r(4218),y=h("isConcatSpreadable"),d=m>=51||!s((function(){var e=[];return e[y]=!1,e.concat()[0]!==e})),b=function(e){if(!o(e))return!1;var t=e[y];return void 0!==t?!!t:i(e)};n({target:"Array",proto:!0,arity:1,forced:!d||!f("concat")},{concat:function(e){var t,r,n,s,i,o=c(this),f=p(o,0),h=0;for(t=-1,n=arguments.length;t<n;t++)if(b(i=-1===t?o:arguments[t]))for(s=a(i),u(h+s),r=0;r<s;r++,h++)r in i&&l(f,h,i[r]);else u(h+1),l(f,h++,i);return f.length=h,f}})},2276:(e,t,r)=>{"use strict";var n=r(3085),s=r(4914),i=r(8180).indexOf,o=r(424),c=s([].indexOf),a=!!c&&1/c([1],1,-0)<0;n({target:"Array",proto:!0,forced:a||!o("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return a?c(this,e,t)||0:i(this,e,t)}})},8939:(e,t,r)=>{"use strict";var n=r(101),s=r(7423),i=r(7771),o=r(3326),c=r(2454).f,a=r(5297),u=r(7271),l=r(5546),p=r(69),f="Array Iterator",h=o.set,m=o.getterFor(f);e.exports=a(Array,"Array",(function(e,t){h(this,{type:f,target:n(e),index:0,kind:t})}),(function(){var e=m(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,u(void 0,!0)):u("keys"==r?n:"values"==r?t[n]:[n,t[n]],!1)}),"values");var y=i.Arguments=i.Array;if(s("keys"),s("values"),s("entries"),!l&&p&&"values"!==y.name)try{c(y,"name",{value:"values"})}catch(e){}},2432:()=>{},9704:(e,t,r)=>{var n=r(3085),s=r(150),i=r(6298),o=r(8922),c=r(4120),a=r(6192),u=r(6447),l=r(3236),p=r(3096),f=r(9202),h=r(6770),m=String,y=s("JSON","stringify"),d=c(/./.exec),b=c("".charAt),v=c("".charCodeAt),g=c("".replace),O=c(1..toString),j=/[\uD800-\uDFFF]/g,S=/^[\uD800-\uDBFF]$/,x=/^[\uDC00-\uDFFF]$/,w=!h||a((function(){var e=s("Symbol")();return"[null]"!=y([e])||"{}"!=y({a:e})||"{}"!=y(Object(e))})),E=a((function(){return'"\\udf06\\ud834"'!==y("\udf06\ud834")||'"\\udead"'!==y("\udead")})),P=function(e,t){var r=p(arguments),n=f(t);if(u(n)||void 0!==e&&!l(e))return r[1]=function(e,t){if(u(n)&&(t=o(n,this,m(e),t)),!l(t))return t},i(y,null,r)},A=function(e,t,r){var n=b(r,t-1),s=b(r,t+1);return d(S,e)&&!d(x,s)||d(x,e)&&!d(S,n)?"\\u"+O(v(e,0),16):e};y&&n({target:"JSON",stat:!0,arity:3,forced:w||E},{stringify:function(e,t,r){var n=p(arguments),s=i(w?P:y,null,n);return E&&"string"==typeof s?g(s,j,A):s}})},8671:(e,t,r)=>{var n=r(8576);r(1284)(n.JSON,"JSON",!0)},8556:()=>{},297:(e,t,r)=>{var n=r(3085),s=r(69),i=r(2454).f;n({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!s},{defineProperty:i})},7895:(e,t,r)=>{var n=r(3085),s=r(6770),i=r(6192),o=r(4750),c=r(1795);n({target:"Object",stat:!0,forced:!s||i((function(){o.f(1)}))},{getOwnPropertySymbols:function(e){var t=o.f;return t?t(c(e)):[]}})},2647:(e,t,r)=>{var n=r(3085),s=r(1795),i=r(7653);n({target:"Object",stat:!0,forced:r(6192)((function(){i(1)}))},{keys:function(e){return i(s(e))}})},6663:()=>{},1367:()=>{},5454:(e,t,r)=>{"use strict";var n=r(863).charAt,s=r(4845),i=r(3326),o=r(5297),c=r(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),r=t.string,s=t.index;return s>=r.length?c(void 0,!0):(e=n(r,s),t.index+=e.length,c(e,!1))}))},9781:(e,t,r)=>{r(8332)("asyncIterator")},9351:(e,t,r)=>{"use strict";var n=r(3085),s=r(8576),i=r(8922),o=r(4120),c=r(5546),a=r(69),u=r(6770),l=r(6192),p=r(4500),f=r(8902),h=r(1138),m=r(101),y=r(77),d=r(4845),b=r(774),v=r(2853),g=r(7653),O=r(2092),j=r(4052),S=r(4750),x=r(5141),w=r(2454),E=r(1187),P=r(6007),A=r(9362),k=r(2807),_=r(8717),N=r(9766),T=r(4535),M=r(2759),D=r(8182),F=r(9207),R=r(8332),J=r(3407),L=r(1284),V=r(3326),C=r(454).forEach,I=N("hidden"),$="Symbol",B="prototype",q=V.set,z=V.getterFor($),G=Object[B],U=s.Symbol,H=U&&U[B],K=s.TypeError,W=s.QObject,Q=x.f,Y=w.f,X=j.f,Z=P.f,ee=o([].push),te=_("symbols"),re=_("op-symbols"),ne=_("wks"),se=!W||!W[B]||!W[B].findChild,ie=a&&l((function(){return 7!=v(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=Q(G,t);n&&delete G[t],Y(e,t,r),n&&e!==G&&Y(G,t,n)}:Y,oe=function(e,t){var r=te[e]=v(H);return q(r,{type:$,tag:e,description:t}),a||(r.description=t),r},ce=function(e,t,r){e===G&&ce(re,t,r),h(e);var n=y(t);return h(r),p(te,n)?(r.enumerable?(p(e,I)&&e[I][n]&&(e[I][n]=!1),r=v(r,{enumerable:b(0,!1)})):(p(e,I)||Y(e,I,b(1,{})),e[I][n]=!0),ie(e,n,r)):Y(e,n,r)},ae=function(e,t){h(e);var r=m(t),n=g(r).concat(fe(r));return C(n,(function(t){a&&!i(ue,r,t)||ce(e,t,r[t])})),e},ue=function(e){var t=y(e),r=i(Z,this,t);return!(this===G&&p(te,t)&&!p(re,t))&&(!(r||!p(this,t)||!p(te,t)||p(this,I)&&this[I][t])||r)},le=function(e,t){var r=m(e),n=y(t);if(r!==G||!p(te,n)||p(re,n)){var s=Q(r,n);return!s||!p(te,n)||p(r,I)&&r[I][n]||(s.enumerable=!0),s}},pe=function(e){var t=X(m(e)),r=[];return C(t,(function(e){p(te,e)||p(T,e)||ee(r,e)})),r},fe=function(e){var t=e===G,r=X(t?re:m(e)),n=[];return C(r,(function(e){!p(te,e)||t&&!p(G,e)||ee(n,te[e])})),n};u||(A(H=(U=function(){if(f(H,this))throw K("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?d(arguments[0]):void 0,t=M(e),r=function(e){this===G&&i(r,re,e),p(this,I)&&p(this[I],t)&&(this[I][t]=!1),ie(this,t,b(1,e))};return a&&se&&ie(G,t,{configurable:!0,set:r}),oe(t,e)})[B],"toString",(function(){return z(this).tag})),A(U,"withoutSetter",(function(e){return oe(M(e),e)})),P.f=ue,w.f=ce,E.f=ae,x.f=le,O.f=j.f=pe,S.f=fe,F.f=function(e){return oe(D(e),e)},a&&(k(H,"description",{configurable:!0,get:function(){return z(this).description}}),c||A(G,"propertyIsEnumerable",ue,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:U}),C(g(ne),(function(e){R(e)})),n({target:$,stat:!0,forced:!u},{useSetter:function(){se=!0},useSimple:function(){se=!1}}),n({target:"Object",stat:!0,forced:!u,sham:!a},{create:function(e,t){return void 0===t?v(e):ae(v(e),t)},defineProperty:ce,defineProperties:ae,getOwnPropertyDescriptor:le}),n({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:pe}),J(),L(U,$),T[I]=!0},492:()=>{},9148:(e,t,r)=>{var n=r(3085),s=r(150),i=r(4500),o=r(4845),c=r(8717),a=r(31),u=c("string-to-symbol-registry"),l=c("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!a},{for:function(e){var t=o(e);if(i(u,t))return u[t];var r=s("Symbol")(t);return u[t]=r,l[r]=t,r}})},6681:(e,t,r)=>{r(8332)("hasInstance")},9594:(e,t,r)=>{r(8332)("isConcatSpreadable")},3665:(e,t,r)=>{r(8332)("iterator")},6187:(e,t,r)=>{r(9351),r(9148),r(5991),r(9704),r(7895)},5991:(e,t,r)=>{var n=r(3085),s=r(4500),i=r(3236),o=r(9288),c=r(8717),a=r(31),u=c("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!a},{keyFor:function(e){if(!i(e))throw TypeError(o(e)+" is not a symbol");if(s(u,e))return u[e]}})},1250:(e,t,r)=>{r(8332)("matchAll")},9017:(e,t,r)=>{r(8332)("match")},9786:(e,t,r)=>{r(8332)("replace")},503:(e,t,r)=>{r(8332)("search")},6565:(e,t,r)=>{r(8332)("species")},9322:(e,t,r)=>{r(8332)("split")},3610:(e,t,r)=>{var n=r(8332),s=r(3407);n("toPrimitive"),s()},6886:(e,t,r)=>{var n=r(150),s=r(8332),i=r(1284);s("toStringTag"),i(n("Symbol"),"Symbol")},3514:(e,t,r)=>{r(8332)("unscopables")},7148:(e,t,r)=>{var n=r(8182),s=r(2454).f,i=n("metadata"),o=Function.prototype;void 0===o[i]&&s(o,i,{value:null})},177:(e,t,r)=>{r(8332)("asyncDispose")},9031:(e,t,r)=>{r(8332)("dispose")},3346:(e,t,r)=>{r(3085)({target:"Symbol",stat:!0},{isRegisteredSymbol:r(8743)})},2725:(e,t,r)=>{r(3085)({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:r(8743)})},3520:(e,t,r)=>{r(3085)({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:r(5128)})},1806:(e,t,r)=>{r(3085)({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:r(5128)})},6658:(e,t,r)=>{r(8332)("matcher")},4212:(e,t,r)=>{r(8332)("metadataKey")},1875:(e,t,r)=>{r(8332)("metadata")},8658:(e,t,r)=>{r(8332)("observable")},4592:(e,t,r)=>{r(8332)("patternMatch")},6680:(e,t,r)=>{r(8332)("replaceAll")},162:(e,t,r)=>{r(8939);var n=r(7365),s=r(8576),i=r(4696),o=r(8711),c=r(7771),a=r(8182)("toStringTag");for(var u in n){var l=s[u],p=l&&l.prototype;p&&i(p)!==a&&o(p,a,u),c[u]=c.Array}},6174:(e,t,r)=>{var n=r(2604);e.exports=n},7820:(e,t,r)=>{var n=r(3512);e.exports=n},2:(e,t,r)=>{var n=r(2921);e.exports=n},5636:(e,t,r)=>{var n=r(8651);e.exports=n},2285:(e,t,r)=>{var n=r(5008);r(162),e.exports=n},8535:(e,t,r)=>{var n=r(994);r(162),e.exports=n},6042:(e,t,r)=>{var n=r(290);e.exports=n},9515:(e,t,r)=>{var n=r(8761)(r(7772),"DataView");e.exports=n},9612:(e,t,r)=>{var n=r(2118),s=r(6909),i=r(8138),o=r(4174),c=r(7942);function a(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}a.prototype.clear=n,a.prototype.delete=s,a.prototype.get=i,a.prototype.has=o,a.prototype.set=c,e.exports=a},235:(e,t,r)=>{var n=r(3945),s=r(1846),i=r(8028),o=r(2344),c=r(4769);function a(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}a.prototype.clear=n,a.prototype.delete=s,a.prototype.get=i,a.prototype.has=o,a.prototype.set=c,e.exports=a},326:(e,t,r)=>{var n=r(8761)(r(7772),"Map");e.exports=n},6738:(e,t,r)=>{var n=r(2411),s=r(6417),i=r(6928),o=r(9493),c=r(4150);function a(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}a.prototype.clear=n,a.prototype.delete=s,a.prototype.get=i,a.prototype.has=o,a.prototype.set=c,e.exports=a},2760:(e,t,r)=>{var n=r(8761)(r(7772),"Promise");e.exports=n},2143:(e,t,r)=>{var n=r(8761)(r(7772),"Set");e.exports=n},5386:(e,t,r)=>{var n=r(6738),s=r(2842),i=r(2482);function o(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}o.prototype.add=o.prototype.push=s,o.prototype.has=i,e.exports=o},6571:(e,t,r)=>{var n=r(235),s=r(5243),i=r(2858),o=r(4417),c=r(8605),a=r(1418);function u(e){var t=this.__data__=new n(e);this.size=t.size}u.prototype.clear=s,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=c,u.prototype.set=a,e.exports=u},857:(e,t,r)=>{var n=r(7772).Symbol;e.exports=n},9162:(e,t,r)=>{var n=r(7772).Uint8Array;e.exports=n},3215:(e,t,r)=>{var n=r(8761)(r(7772),"WeakMap");e.exports=n},7552:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,s=0,i=[];++r<n;){var o=e[r];t(o,r,e)&&(i[s++]=o)}return i}},1634:(e,t,r)=>{var n=r(6473),s=r(9631),i=r(6152),o=r(3226),c=r(9045),a=r(7598),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=i(e),l=!r&&s(e),p=!r&&!l&&o(e),f=!r&&!l&&!p&&a(e),h=r||l||p||f,m=h?n(e.length,String):[],y=m.length;for(var d in e)!t&&!u.call(e,d)||h&&("length"==d||p&&("offset"==d||"parent"==d)||f&&("buffer"==d||"byteLength"==d||"byteOffset"==d)||c(d,y))||m.push(d);return m}},5067:e=>{e.exports=function(e,t){for(var r=-1,n=t.length,s=e.length;++r<n;)e[s+r]=t[r];return e}},7064:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},2218:(e,t,r)=>{var n=r(1225);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},1897:(e,t,r)=>{var n=r(5067),s=r(6152);e.exports=function(e,t,r){var i=t(e);return s(e)?i:n(i,r(e))}},3366:(e,t,r)=>{var n=r(857),s=r(2107),i=r(7157),o=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?s(e):i(e)}},5183:(e,t,r)=>{var n=r(3366),s=r(5125);e.exports=function(e){return s(e)&&"[object Arguments]"==n(e)}},8746:(e,t,r)=>{var n=r(1952),s=r(5125);e.exports=function e(t,r,i,o,c){return t===r||(null==t||null==r||!s(t)&&!s(r)?t!=t&&r!=r:n(t,r,i,o,e,c))}},1952:(e,t,r)=>{var n=r(6571),s=r(4871),i=r(1491),o=r(7416),c=r(940),a=r(6152),u=r(3226),l=r(7598),p="[object Arguments]",f="[object Array]",h="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,y,d,b){var v=a(e),g=a(t),O=v?f:c(e),j=g?f:c(t),S=(O=O==p?h:O)==h,x=(j=j==p?h:j)==h,w=O==j;if(w&&u(e)){if(!u(t))return!1;v=!0,S=!1}if(w&&!S)return b||(b=new n),v||l(e)?s(e,t,r,y,d,b):i(e,t,O,r,y,d,b);if(!(1&r)){var E=S&&m.call(e,"__wrapped__"),P=x&&m.call(t,"__wrapped__");if(E||P){var A=E?e.value():e,k=P?t.value():t;return b||(b=new n),d(A,k,r,y,b)}}return!!w&&(b||(b=new n),o(e,t,r,y,d,b))}},6840:(e,t,r)=>{var n=r(1049),s=r(7394),i=r(9259),o=r(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))&&(n(e)?f:c).test(o(e))}},5522:(e,t,r)=>{var n=r(3366),s=r(1158),i=r(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[n(e)]}},6411:(e,t,r)=>{var n=r(6001),s=r(4248),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return s(e);var t=[];for(var r in Object(e))i.call(e,r)&&"constructor"!=r&&t.push(r);return t}},6473:e=>{e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},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,r)=>{var n=r(7772)["__core-js_shared__"];e.exports=n},4871:(e,t,r)=>{var n=r(5386),s=r(7064),i=r(9950);e.exports=function(e,t,r,o,c,a){var u=1&r,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,y=!0,d=2&r?new n:void 0;for(a.set(e,t),a.set(t,e);++m<l;){var b=e[m],v=t[m];if(o)var g=u?o(v,b,m,t,e,a):o(b,v,m,e,t,a);if(void 0!==g){if(g)continue;y=!1;break}if(d){if(!s(t,(function(e,t){if(!i(d,t)&&(b===e||c(b,e,r,o,a)))return d.push(t)}))){y=!1;break}}else if(b!==v&&!c(b,v,r,o,a)){y=!1;break}}return a.delete(e),a.delete(t),y}},1491:(e,t,r)=>{var n=r(857),s=r(9162),i=r(1225),o=r(4871),c=r(5179),a=r(4207),u=n?n.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,r,n,u,p,f){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!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&n;if(h||(h=a),e.size!=t.size&&!m)return!1;var y=f.get(e);if(y)return y==t;n|=2,f.set(e,t);var d=o(h(e),h(t),n,u,p,f);return f.delete(e),d;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},7416:(e,t,r)=>{var n=r(3483),s=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,i,o,c){var a=1&r,u=n(e),l=u.length;if(l!=n(t).length&&!a)return!1;for(var 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 y=!0;c.set(e,t),c.set(t,e);for(var d=a;++p<l;){var b=e[f=u[p]],v=t[f];if(i)var g=a?i(v,b,f,t,e,c):i(b,v,f,e,t,c);if(!(void 0===g?b===v||o(b,v,r,i,c):g)){y=!1;break}d||(d="constructor"==f)}if(y&&!d){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||(y=!1)}return c.delete(e),c.delete(t),y}},1242:(e,t,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},3483:(e,t,r)=>{var n=r(1897),s=r(633),i=r(249);e.exports=function(e){return n(e,i,s)}},7937:(e,t,r)=>{var n=r(8304);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},8761:(e,t,r)=>{var n=r(6840),s=r(8109);e.exports=function(e,t){var r=s(e,t);return n(r)?r:void 0}},2107:(e,t,r)=>{var n=r(857),s=Object.prototype,i=s.hasOwnProperty,o=s.toString,c=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,c),r=e[c];try{e[c]=void 0;var n=!0}catch(e){}var s=o.call(e);return n&&(t?e[c]=r:delete e[c]),s}},633:(e,t,r)=>{var n=r(7552),s=r(981),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,c=o?function(e){return null==e?[]:(e=Object(e),n(o(e),(function(t){return i.call(e,t)})))}:s;e.exports=c},940:(e,t,r)=>{var n=r(9515),s=r(326),i=r(2760),o=r(2143),c=r(3215),a=r(3366),u=r(7035),l="[object Map]",p="[object Promise]",f="[object Set]",h="[object WeakMap]",m="[object DataView]",y=u(n),d=u(s),b=u(i),v=u(o),g=u(c),O=a;(n&&O(new n(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),r="[object Object]"==t?e.constructor:void 0,n=r?u(r):"";if(n)switch(n){case y:return m;case d:return l;case b:return p;case v: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,r)=>{var n=r(9191);e.exports=function(){this.__data__=n?n(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,r)=>{var n=r(9191),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return s.call(t,e)?t[e]:void 0}},4174:(e,t,r)=>{var n=r(9191),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:s.call(t,e)}},7942:(e,t,r)=>{var n=r(9191);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},9045:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,r){var n=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<r}},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,r)=>{var n,s=r(4019),i=(n=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!i&&i in e}},6001:e=>{var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},3945:e=>{e.exports=function(){this.__data__=[],this.size=0}},1846:(e,t,r)=>{var n=r(2218),s=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0)&&(r==t.length-1?t.pop():s.call(t,r,1),--this.size,!0)}},8028:(e,t,r)=>{var n=r(2218);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},2344:(e,t,r)=>{var n=r(2218);e.exports=function(e){return n(this.__data__,e)>-1}},4769:(e,t,r)=>{var n=r(2218);e.exports=function(e,t){var r=this.__data__,s=n(r,e);return s<0?(++this.size,r.push([e,t])):r[s][1]=t,this}},2411:(e,t,r)=>{var n=r(9612),s=r(235),i=r(326);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||s),string:new n}}},6417:(e,t,r)=>{var n=r(7937);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},6928:(e,t,r)=>{var n=r(7937);e.exports=function(e){return n(this,e).get(e)}},9493:(e,t,r)=>{var n=r(7937);e.exports=function(e){return n(this,e).has(e)}},4150:(e,t,r)=>{var n=r(7937);e.exports=function(e,t){var r=n(this,e),s=r.size;return r.set(e,t),this.size+=r.size==s?0:1,this}},5179:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}},9191:(e,t,r)=>{var n=r(8761)(Object,"create");e.exports=n},4248:(e,t,r)=>{var n=r(241)(Object.keys,Object);e.exports=n},4146:(e,t,r)=>{e=r.nmd(e);var n=r(1242),s=t&&!t.nodeType&&t,i=s&&e&&!e.nodeType&&e,o=i&&i.exports===s&&n.process,c=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=c},7157:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},241:e=>{e.exports=function(e,t){return function(r){return e(t(r))}}},7772:(e,t,r)=>{var n=r(1242),s="object"==typeof self&&self&&self.Object===Object&&self,i=n||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,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},5243:(e,t,r)=>{var n=r(235);e.exports=function(){this.__data__=new n,this.size=0}},2858:e=>{e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},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,r)=>{var n=r(235),s=r(326),i=r(6738);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var o=r.__data__;if(!s||o.length<199)return o.push([e,t]),this.size=++r.size,this;r=this.__data__=new i(o)}return r.set(e,t),this.size=r.size,this}},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,r)=>{var n=r(5183),s=r(5125),i=Object.prototype,o=i.hasOwnProperty,c=i.propertyIsEnumerable,a=n(function(){return arguments}())?n:function(e){return s(e)&&o.call(e,"callee")&&!c.call(e,"callee")};e.exports=a},6152:e=>{var t=Array.isArray;e.exports=t},7878:(e,t,r)=>{var n=r(1049),s=r(1158);e.exports=function(e){return null!=e&&s(e.length)&&!n(e)}},4335:(e,t,r)=>{var n=r(3366),s=r(5125);e.exports=function(e){return!0===e||!1===e||s(e)&&"[object Boolean]"==n(e)}},3226:(e,t,r)=>{e=r.nmd(e);var n=r(7772),s=r(6330),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,c=o&&o.exports===i?n.Buffer:void 0,a=(c?c.isBuffer:void 0)||s;e.exports=a},8149:(e,t,r)=>{var n=r(8746);e.exports=function(e,t){return n(e,t)}},1049:(e,t,r)=>{var n=r(3366),s=r(9259);e.exports=function(e){if(!s(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},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,r)=>{var n=r(3366),s=r(5125);e.exports=function(e){return"number"==typeof e||s(e)&&"[object Number]"==n(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,r)=>{var n=r(3366),s=r(6152),i=r(5125);e.exports=function(e){return"string"==typeof e||!s(e)&&i(e)&&"[object String]"==n(e)}},7598:(e,t,r)=>{var n=r(5522),s=r(7826),i=r(4146),o=i&&i.isTypedArray,c=o?s(o):n;e.exports=c},249:(e,t,r)=>{var n=r(1634),s=r(6411),i=r(7878);e.exports=function(e){return i(e)?n(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,r)=>{const n=r(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 r=[];return this.forEach((n=>{const s=e.bind(t)(n);s&&r.push(s)})),r}filter(e,t){return e=s(e),new i(this.elements.filter(e,t))}reject(e,t){return e=s(e),new i(this.elements.filter(n(e),t))}find(e,t){return e=s(e),this.elements.find(e,t)}forEach(e,t){this.elements.forEach(e,t)}reduce(e,t){return this.elements.reduce(e,t)}includes(e){return this.elements.some((t=>t.equals(e)))}shift(){return this.elements.shift()}unshift(e){this.elements.unshift(this.refract(e))}push(e){return this.elements.push(this.refract(e)),this}add(e){this.push(e)}get(e){return this.elements[e]}getValue(e){const t=this.elements[e];if(t)return t.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(i.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),e.exports=i},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,r)=>{const n=r(5877),s=r(5505),i=r(537),o=r(4335),c=r(9259),a=r(2947),u=r(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(n,u.NullElement,!1).detect(s,u.StringElement,!1).detect(i,u.NumberElement,!1).detect(o,u.BooleanElement,!1).detect(Array.isArray,u.ArrayElement,!1).detect(c,u.ObjectElement,!1),this}register(e,t){return this._elements=void 0,this.elementMap[e]=t,this}unregister(e){return this._elements=void 0,delete this.elementMap[e],this}detect(e,t,r){return void 0===r||r?this.elementDetection.unshift([e,t]):this.elementDetection.push([e,t]),this}toElement(e){if(e instanceof this.Element)return e;let t;for(let r=0;r<this.elementDetection.length;r+=1){const n=this.elementDetection[r][0],s=this.elementDetection[r][1];if(n(e)){t=new s(e);break}}return t}getElementClass(e){const t=this.elementMap[e];return void 0===t?this.Element:t}fromRefract(e){return this.serialiser.deserialise(e)}toRefract(e){return this.serialiser.serialise(e)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((e=>{const t=e[0].toUpperCase()+e.substr(1);this._elements[t]=this.elementMap[e]}))),this._elements}get serialiser(){return new a(this)}}a.prototype.Namespace=l,e.exports=l},3853:(e,t,r)=>{const n=r(1570),s=r(1178);class i extends s{map(e,t){return this.elements.map((r=>e.bind(t)(r.value,r.key,r)))}filter(e,t){return new i(this.elements.filter((r=>e.bind(t)(r.value,r.key,r))))}reject(e,t){return this.filter(n(e.bind(t)))}forEach(e,t){return this.elements.forEach(((r,n)=>{e.bind(t)(r.value,r.key,r,n)}))}keys(){return this.map(((e,t)=>t.toValue()))}values(){return this.map((e=>e.toValue()))}}e.exports=i},3756:(e,t,r)=>{const n=r(6420),s=r(4152),i=r(9542),o=r(3710),c=r(3312),a=r(1641),u=r(8858),l=r(3860),p=r(5202),f=r(2320),h=r(1178),m=r(3853),y=r(3026);function d(e){if(e instanceof n)return e;if("string"==typeof e)return new i(e);if("number"==typeof e)return new o(e);if("boolean"==typeof e)return new c(e);if(null===e)return new s;if(Array.isArray(e))return new a(e.map(d));if("object"==typeof e){return new l(e)}return e}n.prototype.ObjectElement=l,n.prototype.RefElement=f,n.prototype.MemberElement=u,n.prototype.refract=d,h.prototype.refract=d,e.exports={Element:n,NullElement:s,StringElement:i,NumberElement:o,BooleanElement:c,ArrayElement:a,MemberElement:u,ObjectElement:l,LinkElement:p,RefElement:f,refract:d,ArraySlice:h,ObjectSlice:m,KeyValuePair:y}},5202:(e,t,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e||[],t,r),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(e){this.attributes.set("relation",e)}get href(){return this.attributes.get("href")}set href(e){this.attributes.set("href",e)}}},2320:(e,t,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e||[],t,r),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(e){this.attributes.set("path",e)}}},7952:(e,t,r)=>{const n=r(5140),s=r(3756);t.lS=n,r(3026),s.ArraySlice,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,r(2947),r(8910)},1641:(e,t,r)=>{const n=r(1570),s=r(6420),i=r(1178);class o extends s{constructor(e,t,r){super(e||[],t,r),this.element="array"}primitive(){return"array"}get(e){return this.content[e]}getValue(e){const t=this.get(e);if(t)return t.toValue()}getIndex(e){return this.content[e]}set(e,t){return this.content[e]=this.refract(t),this}remove(e){const t=this.content.splice(e,1);return t.length?t[0]:null}map(e,t){return this.content.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const r=[];return this.forEach((n=>{const s=e.bind(t)(n);s&&r.push(s)})),r}filter(e,t){return new i(this.content.filter(e,t))}reject(e,t){return this.filter(n(e),t)}reduce(e,t){let r,n;void 0!==t?(r=0,n=this.refract(t)):(r=1,n="object"===this.primitive()?this.first.value:this.first);for(let t=r;t<this.length;t+=1){const r=this.content[t];n="object"===this.primitive()?this.refract(e(n,r.value,r.key,r,this)):this.refract(e(n,r,t,this))}return n}forEach(e,t){this.content.forEach(((r,n)=>{e.bind(t)(r,this.refract(n))}))}shift(){return this.content.shift()}unshift(e){this.content.unshift(this.refract(e))}push(e){return this.content.push(this.refract(e)),this}add(e){this.push(e)}findElements(e,t){const r=t||{},n=!!r.recursive,s=void 0===r.results?[]:r.results;return this.forEach(((t,r,i)=>{n&&void 0!==t.findElements&&t.findElements(e,{results:s,recursive:n}),e(t,r,i)&&s.push(t)})),s}find(e){return new i(this.findElements(e,{recursive:!0}))}findByElement(e){return this.find((t=>t.element===e))}findByClass(e){return this.find((t=>t.classes.includes(e)))}getById(e){return this.find((t=>t.id.toValue()===e)).first}includes(e){return this.content.some((t=>t.equals(e)))}contains(e){return this.includes(e)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(e){return new this.constructor(this.content.concat(e.content))}"fantasy-land/concat"(e){return this.concat(e)}"fantasy-land/map"(e){return new this.constructor(this.map(e))}"fantasy-land/chain"(e){return this.map((t=>e(t)),this).reduce(((e,t)=>e.concat(t)),this.empty())}"fantasy-land/filter"(e){return new this.constructor(this.content.filter(e))}"fantasy-land/reduce"(e,t){return this.content.reduce(e,t)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}o.empty=function(){return new this},o["fantasy-land/empty"]=o.empty,"undefined"!=typeof Symbol&&(o.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),e.exports=o},3312:(e,t,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e,t,r),this.element="boolean"}primitive(){return"boolean"}}},6420:(e,t,r)=>{const n=r(8149),s=r(3026),i=r(1178);class o{constructor(e,t,r){t&&(this.meta=t),r&&(this.attributes=r),this.content=e}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach((e=>{e.parent=this,e.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const e=new this.constructor;return e.element=this.element,this.meta.length&&(e._meta=this.meta.clone()),this.attributes.length&&(e._attributes=this.attributes.clone()),this.content?this.content.clone?e.content=this.content.clone():Array.isArray(this.content)?e.content=this.content.map((e=>e.clone())):e.content=this.content:e.content=this.content,e}toValue(){return this.content instanceof o?this.content.toValue():this.content instanceof s?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((e=>e.toValue()),this):this.content}toRef(e){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const t=new this.RefElement(this.id.toValue());return e&&(t.path=e),t}findRecursive(...e){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const t=e.pop();let r=new i;const n=(e,t)=>(e.push(t),e),o=(e,r)=>{r.element===t&&e.push(r);const i=r.findRecursive(t);return i&&i.reduce(n,e),r.content instanceof s&&(r.content.key&&o(e,r.content.key),r.content.value&&o(e,r.content.value)),e};return this.content&&(this.content.element&&o(r,this.content),Array.isArray(this.content)&&this.content.reduce(o,r)),e.isEmpty||(r=r.filter((t=>{let r=t.parents.map((e=>e.element));for(const t in e){const n=e[t],s=r.indexOf(n);if(-1===s)return!1;r=r.splice(0,s)}return!0}))),r}set(e){return this.content=e,this}equals(e){return n(this.toValue(),e)}getMetaProperty(e,t){if(!this.meta.hasKey(e)){if(this.isFrozen){const e=this.refract(t);return e.freeze(),e}this.meta.set(e,t)}return this.meta.get(e)}setMetaProperty(e,t){this.meta.set(e,t)}get element(){return this._storedElement||"element"}set element(e){this._storedElement=e}get content(){return this._content}set content(e){if(e instanceof o)this._content=e;else if(e instanceof i)this.content=e.elements;else if("string"==typeof e||"number"==typeof e||"boolean"==typeof e||"null"===e||null==e)this._content=e;else if(e instanceof s)this._content=e;else if(Array.isArray(e))this._content=e.map(this.refract);else{if("object"!=typeof e)throw new Error("Cannot set content to given value");this._content=Object.keys(e).map((t=>new this.MemberElement(t,e[t])))}}get meta(){if(!this._meta){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._meta=new this.ObjectElement}return this._meta}set meta(e){e instanceof this.ObjectElement?this._meta=e:this.meta.set(e||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._attributes=new this.ObjectElement}return this._attributes}set attributes(e){e instanceof this.ObjectElement?this._attributes=e:this.attributes.set(e||{})}get id(){return this.getMetaProperty("id","")}set id(e){this.setMetaProperty("id",e)}get classes(){return this.getMetaProperty("classes",[])}set classes(e){this.setMetaProperty("classes",e)}get title(){return this.getMetaProperty("title","")}set title(e){this.setMetaProperty("title",e)}get description(){return this.getMetaProperty("description","")}set description(e){this.setMetaProperty("description",e)}get links(){return this.getMetaProperty("links",[])}set links(e){this.setMetaProperty("links",e)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:e}=this;const t=new i;for(;e;)t.push(e),e=e.parent;return t}get children(){if(Array.isArray(this.content))return new i(this.content);if(this.content instanceof s){const e=new i([this.content.key]);return this.content.value&&e.push(this.content.value),e}return this.content instanceof o?new i([this.content]):new i}get recursiveChildren(){const e=new i;return this.children.forEach((t=>{e.push(t),t.recursiveChildren.forEach((t=>{e.push(t)}))})),e}}e.exports=o},8858:(e,t,r)=>{const n=r(3026),s=r(6420);e.exports=class extends s{constructor(e,t,r,s){super(new n,r,s),this.element="member",this.key=e,this.value=t}get key(){return this.content.key}set key(e){this.content.key=this.refract(e)}get value(){return this.content.value}set value(e){this.content.value=this.refract(e)}}},4152:(e,t,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e||null,t,r),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},3710:(e,t,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e,t,r),this.element="number"}primitive(){return"number"}}},3860:(e,t,r)=>{const n=r(1570),s=r(9259),i=r(1641),o=r(8858),c=r(3853);e.exports=class extends i{constructor(e,t,r){super(e||[],t,r),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((e,t)=>(e[t.key.toValue()]=t.value?t.value.toValue():void 0,e)),{})}get(e){const t=this.getMember(e);if(t)return t.value}getMember(e){if(void 0!==e)return this.content.find((t=>t.key.toValue()===e))}remove(e){let t=null;return this.content=this.content.filter((r=>r.key.toValue()!==e||(t=r,!1))),t}getKey(e){const t=this.getMember(e);if(t)return t.key}set(e,t){if(s(e))return Object.keys(e).forEach((t=>{this.set(t,e[t])})),this;const r=e,n=this.getMember(r);return n?n.value=t:this.content.push(new o(r,t)),this}keys(){return this.content.map((e=>e.key.toValue()))}values(){return this.content.map((e=>e.value.toValue()))}hasKey(e){return this.content.some((t=>t.key.equals(e)))}items(){return this.content.map((e=>[e.key.toValue(),e.value.toValue()]))}map(e,t){return this.content.map((r=>e.bind(t)(r.value,r.key,r)))}compactMap(e,t){const r=[];return this.forEach(((n,s,i)=>{const o=e.bind(t)(n,s,i);o&&r.push(o)})),r}filter(e,t){return new c(this.content).filter(e,t)}reject(e,t){return this.filter(n(e),t)}forEach(e,t){return this.content.forEach((r=>e.bind(t)(r.value,r.key,r)))}}},9542:(e,t,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e,t,r),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},8910:(e,t,r)=>{const n=r(2947);e.exports=class extends n{serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);let t;e._attributes&&e.attributes.get("variable")&&(t=e.attributes.get("variable"));const r={element:e.element};e._meta&&e._meta.length>0&&(r.meta=this.serialiseObject(e.meta));const n="enum"===e.element||-1!==e.attributes.keys().indexOf("enumerations");if(n){const t=this.enumSerialiseAttributes(e);t&&(r.attributes=t)}else if(e._attributes&&e._attributes.length>0){let{attributes:n}=e;n.get("metadata")&&(n=n.clone(),n.set("meta",n.get("metadata")),n.remove("metadata")),"member"===e.element&&t&&(n=n.clone(),n.remove("variable")),n.length>0&&(r.attributes=this.serialiseObject(n))}if(n)r.content=this.enumSerialiseContent(e,r);else if(this[`${e.element}SerialiseContent`])r.content=this[`${e.element}SerialiseContent`](e,r);else if(void 0!==e.content){let n;t&&e.content.key?(n=e.content.clone(),n.key.attributes.set("variable",t),n=this.serialiseContent(n)):n=this.serialiseContent(e.content),this.shouldSerialiseContent(e,n)&&(r.content=n)}else this.shouldSerialiseContent(e,e.content)&&e instanceof this.namespace.elements.Array&&(r.content=[]);return r}shouldSerialiseContent(e,t){return"parseResult"===e.element||"httpRequest"===e.element||"httpResponse"===e.element||"category"===e.element||"link"===e.element||void 0!==t&&(!Array.isArray(t)||0!==t.length)}refSerialiseContent(e,t){return delete t.attributes,{href:e.toValue(),path:e.path.toValue()}}sourceMapSerialiseContent(e){return e.toValue()}dataStructureSerialiseContent(e){return[this.serialiseContent(e.content)]}enumSerialiseAttributes(e){const t=e.attributes.clone(),r=t.remove("enumerations")||new this.namespace.elements.Array([]),n=t.get("default");let s=t.get("samples")||new this.namespace.elements.Array([]);if(n&&n.content&&(n.content.attributes&&n.content.attributes.remove("typeAttributes"),t.set("default",new this.namespace.elements.Array([n.content]))),s.forEach((e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")})),e.content&&0!==r.length&&s.unshift(e.content),s=s.map((e=>e instanceof this.namespace.elements.Array?[e]:new this.namespace.elements.Array([e.content]))),s.length&&t.set("samples",s),t.length>0)return this.serialiseObject(t)}enumSerialiseContent(e){if(e._attributes){const t=e.attributes.get("enumerations");if(t&&t.length>0)return t.content.map((e=>{const t=e.clone();return t.attributes.remove("typeAttributes"),this.serialise(t)}))}if(e.content){const t=e.content.clone();return t.attributes.remove("typeAttributes"),[this.serialise(t)]}return[]}deserialise(e){if("string"==typeof e)return new this.namespace.elements.String(e);if("number"==typeof e)return new this.namespace.elements.Number(e);if("boolean"==typeof e)return new this.namespace.elements.Boolean(e);if(null===e)return new this.namespace.elements.Null;if(Array.isArray(e))return new this.namespace.elements.Array(e.map(this.deserialise,this));const t=this.namespace.getElementClass(e.element),r=new t;r.element!==e.element&&(r.element=e.element),e.meta&&this.deserialiseObject(e.meta,r.meta),e.attributes&&this.deserialiseObject(e.attributes,r.attributes);const n=this.deserialiseContent(e.content);if(void 0===n&&null!==r.content||(r.content=n),"enum"===r.element){r.content&&r.attributes.set("enumerations",r.content);let e=r.attributes.get("samples");if(r.attributes.remove("samples"),e){const n=e;e=new this.namespace.elements.Array,n.forEach((n=>{n.forEach((n=>{const s=new t(n);s.element=r.element,e.push(s)}))}));const s=e.shift();r.content=s?s.content:void 0,r.attributes.set("samples",e)}else r.content=void 0;let n=r.attributes.get("default");if(n&&n.length>0){n=n.get(0);const e=new t(n);e.element=r.element,r.attributes.set("default",e)}}else if("dataStructure"===r.element&&Array.isArray(r.content))[r.content]=r.content;else if("category"===r.element){const e=r.attributes.get("meta");e&&(r.attributes.set("metadata",e),r.attributes.remove("meta"))}else"member"===r.element&&r.key&&r.key._attributes&&r.key._attributes.getValue("variable")&&(r.attributes.set("variable",r.key.attributes.get("variable")),r.key.attributes.remove("variable"));return r}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}return e&&e.map?e.map(this.serialise,this):e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}shouldRefract(e){return!!(e._attributes&&e.attributes.keys().length||e._meta&&e.meta.keys().length)||"enum"!==e.element&&(e.element!==e.primitive()||"member"===e.element)}convertKeyToRefract(e,t){return this.shouldRefract(t)?this.serialise(t):"enum"===t.element?this.serialiseEnum(t):"array"===t.element?t.map((t=>this.shouldRefract(t)||"default"===e?this.serialise(t):"array"===t.element||"object"===t.element||"enum"===t.element?t.children.map((e=>this.serialise(e))):t.toValue())):"object"===t.element?(t.content||[]).map(this.serialise,this):t.toValue()}serialiseEnum(e){return e.children.map((e=>this.serialise(e)))}serialiseObject(e){const t={};return e.forEach(((e,r)=>{if(e){const n=r.toValue();t[n]=this.convertKeyToRefract(n,e)}})),t}deserialiseObject(e,t){Object.keys(e).forEach((r=>{t.set(r,this.deserialise(e[r]))}))}}},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 r=this.serialiseContent(e.content);return void 0!==r&&(t.content=r),t}deserialise(e){if(!e.element)throw new Error("Given value is not an object containing an element name");const t=new(this.namespace.getElementClass(e.element));t.element!==e.element&&(t.element=e.element),e.meta&&this.deserialiseObject(e.meta,t.meta),e.attributes&&this.deserialiseObject(e.attributes,t.attributes);const r=this.deserialiseContent(e.content);return void 0===r&&null!==t.content||(t.content=r),t}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}if(e&&e.map){if(0===e.length)return;return e.map(this.serialise,this)}return e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}serialiseObject(e){const t={};if(e.forEach(((e,r)=>{e&&(t[r.toValue()]=this.serialise(e))})),0!==Object.keys(t).length)return t}deserialiseObject(e,t){Object.keys(e).forEach((r=>{t.set(r,this.deserialise(e[r]))}))}}},6591:e=>{!function(){"use strict";var t,r,n,s,i,o="properties",c="deepProperties",a="propertyDescriptors",u="staticProperties",l="staticDeepProperties",p="staticPropertyDescriptors",f="configuration",h="deepConfiguration",m="deepProps",y="deepStatics",d="deepConf",b="initializers",v="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 x=S.bind(0,(function(e,t){if(t)for(var r=j(t),n=0;n<r.length;n+=1)Object.defineProperty(e,r[n],Object.getOwnPropertyDescriptor(t,r[n]));return e}));function w(e){return"function"==typeof e}function E(e){return e&&"object"==typeof e||w(e)}function P(e){return e&&"object"==typeof e&&e.__proto__==Object.prototype}var A=S.bind(0,(function e(r,n){if(n===t)return r;if(Array.isArray(n))return(Array.isArray(r)?r:[]).concat(n);if(!P(n))return n;for(var s,i,o=j(n),c=0;c<o.length;)s=o[c++],(i=Object.getOwnPropertyDescriptor(n,s)).hasOwnProperty("value")?i.value!==t&&(r[s]=e(P(r[s])||Array.isArray(n[s])?r[s]:{},n[s])):Object.defineProperty(r,s,i);return r}));function k(){return(r=Array.prototype.concat.apply([],arguments).filter((function(e,t,r){return w(e)&&r.indexOf(e)===t}))).length?r:t}function _(e,t){function n(r,n){E(t[r])&&(E(e[r])||(e[r]={}),(n||x)(e[r],t[r]))}function s(n){(r=k(e[n],t[n]))&&(e[n]=r)}return t&&E(t=t[O]||t)&&(n(v),n(o),n(c,A),n(a),n(u),n(l,A),n(p),n(f),n(h,A),s(b),s(g)),e}function N(){return function(e){return r=function e(r){var n,s,i=e[O]||{},u={__proto__:i[v]},l=i[b],p=Array.prototype.slice.apply(arguments),f=i[c];if(f&&A(u,f),(f=i[o])&&x(u,f),(f=i[a])&&Object.defineProperties(u,f),!l||!l.length)return u;for(r===t&&(r={}),i=0;i<l.length;)w(n=l[i++])&&(u=(s=n.call(u,r,{instance:u,stamp:e,args:p}))===t?u:s);return u},(n=e[l])&&A(r,n),(n=e[u])&&x(r,n),(n=e[p])&&Object.defineProperties(r,n),n=w(r[O])?r[O]:N,x(r[O]=function(){return n.apply(this,arguments)},e),r}(Array.prototype.concat.apply([this],arguments).reduce(_,{}))}function T(e){return w(e)&&w(e[O])}var M={};function D(e,i){return function(){return(s={})[e]=i.apply(t,Array.prototype.concat.apply([{}],arguments)),((r=this)&&r[O]||n).call(r,s)}}M[v]=D(v,x),M[o]=M.props=D(o,x),M[b]=M.init=D(b,k),M[g]=D(g,k),M[c]=M[m]=D(c,A),M[u]=M.statics=D(u,x),M[l]=M[y]=D(l,A),M[f]=M.conf=D(f,x),M[h]=M[d]=D(h,A),M[a]=D(a,x),M[p]=D(p,x),n=M[O]=x((function(){for(var e,j,S=0,w=[],P=arguments,_=this;S<P.length;)E(e=P[S++])&&w.push(T(e)?e:((s={})[v]=(j=e)[v]||t,n=j.props,s[o]=E((r=j[o])||n)?x({},n,r):t,s[b]=k(j.init,j[b]),s[g]=k(j[g]),n=j[m],s[c]=E((r=j[c])||n)?A({},n,r):t,s[a]=j[a],n=j.statics,s[u]=E((r=j[u])||n)?x({},n,r):t,n=j[y],s[l]=E((r=j[l])||n)?A({},n,r):t,r=j[p],s[p]=E((n=j.name&&{name:{value:j.name}})||r)?x({},r,n):t,n=j.conf,s[f]=E((r=j[f])||n)?x({},n,r):t,n=j[d],s[h]=E((r=j[h])||n)?A({},n,r):t,s));if(e=N.apply(_||i,w),_&&w.unshift(_),Array.isArray(P=e[O][g]))for(S=0;S<P.length;)e=T(_=P[S++]({stamp:e,composables:w}))?_:e;return e}),M),M.create=function(){return this.apply(t,arguments)},(s={})[u]=M,i=N(s),n[O]=n.bind(),n.version="4.3.2","object"!=typeof t?e.exports=n:self.stampit=n}()}},t={};function r(n){var s=t[n];if(void 0!==s)return s.exports;var i=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var n={};return(()=>{"use strict";r.r(n),r.d(n,{AlternatingVisitor:()=>Ns,FallbackVisitor:()=>En,FixedFieldsVisitor:()=>Dn,JSONReferenceElement:()=>bn,JSONSchemaDraft7MediaTypes:()=>Nr,JSONSchemaElement:()=>di,LinkDescriptionElement:()=>bi,MapVisitor:()=>ss,ParentSchemaAwareVisitor:()=>Gn,PatternedFieldsVisitor:()=>ns,SpecificationVisitor:()=>Mn,createRefractor:()=>Hi,default:()=>vi,getNodeType:()=>Oi,isArrayElement:()=>Ut,isBooleanElement:()=>zt,isElement:()=>It,isJSONReferenceElement:()=>Vs,isJSONReferenceLikeElement:()=>Un,isJSONSchemaElement:()=>Ii,isLinkDescriptionElement:()=>$i,isLinkElement:()=>Kt,isMemberElement:()=>Ht,isNullElement:()=>qt,isNumberElement:()=>Bt,isObjectElement:()=>Gt,isRefElement:()=>Wt,isStringElement:()=>$t,keyMap:()=>ji,mediaTypes:()=>Tr,refract:()=>Ki,refractorPluginReplaceEmptyElement:()=>Ei,specificationObj:()=>Ci});var e={};r.r(e),r.d(e,{hasElementSourceMap:()=>tr,includesClasses:()=>nr,includesSymbols:()=>rr,isAnnotationElement:()=>Qt,isArrayElement:()=>Ut,isBooleanElement:()=>zt,isCommentElement:()=>Yt,isElement:()=>It,isLinkElement:()=>Kt,isMemberElement:()=>Ht,isNullElement:()=>qt,isNumberElement:()=>Bt,isObjectElement:()=>Gt,isParseResultElement:()=>Xt,isPrimitiveElement:()=>er,isRefElement:()=>Wt,isSourceMapElement:()=>Zt,isStringElement:()=>$t});var t={};r.r(t),r.d(t,{isJSONReferenceElement:()=>Vs,isJSONSchemaElement:()=>Ls,isLinkDescriptionElement:()=>Is,isMediaElement:()=>Cs});var s={};r.r(s),r.d(s,{isJSONReferenceElement:()=>Vs,isJSONSchemaElement:()=>ci,isLinkDescriptionElement:()=>ai,isMediaElement:()=>Cs});var i={};r.r(i),r.d(i,{isJSONReferenceElement:()=>Vs,isJSONSchemaElement:()=>Ii,isLinkDescriptionElement:()=>$i});var o=r(7952);const c=function(){return!1};const a=function(){return!0};function u(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function l(e){return function t(r){return 0===arguments.length||u(r)?t:e.apply(this,arguments)}}function p(e){return function t(r,n){switch(arguments.length){case 0:return t;case 1:return u(r)?t:l((function(t){return e(r,t)}));default:return u(r)&&u(n)?t:u(r)?l((function(t){return e(t,n)})):u(n)?l((function(t){return e(r,t)})):e(r,n)}}}const f=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function h(e,t,r){return function(){if(0===arguments.length)return r();var n=arguments[arguments.length-1];if(!f(n)){for(var s=0;s<e.length;){if("function"==typeof n[e[s]])return n[e[s]].apply(n,Array.prototype.slice.call(arguments,0,-1));s+=1}if(function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}(n))return t.apply(null,Array.prototype.slice.call(arguments,0,-1))(n)}return r.apply(this,arguments)}}function m(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}const y=function(){return this.xf["@@transducer/init"]()},d=function(e){return this.xf["@@transducer/result"](e)};var b=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=y,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=m(this.xf["@@transducer/step"](e,!1))),e},e}();function v(e){return function(t){return new b(e,t)}}const g=p(h(["all"],v,(function(e,t){for(var r=0;r<t.length;){if(!e(t[r]))return!1;r+=1}return!0})));function O(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,r){return t.apply(this,arguments)};case 3:return function(e,r,n){return t.apply(this,arguments)};case 4:return function(e,r,n,s){return t.apply(this,arguments)};case 5:return function(e,r,n,s,i){return t.apply(this,arguments)};case 6:return function(e,r,n,s,i,o){return t.apply(this,arguments)};case 7:return function(e,r,n,s,i,o,c){return t.apply(this,arguments)};case 8:return function(e,r,n,s,i,o,c,a){return t.apply(this,arguments)};case 9:return function(e,r,n,s,i,o,c,a,u){return t.apply(this,arguments)};case 10:return function(e,r,n,s,i,o,c,a,u,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function j(e,t,r){return function(){for(var n=[],s=0,i=e,o=0;o<t.length||s<arguments.length;){var c;o<t.length&&(!u(t[o])||s>=arguments.length)?c=t[o]:(c=arguments[s],s+=1),n[o]=c,u(c)||(i-=1),o+=1}return i<=0?r.apply(this,n):O(i,j(e,n,r))}}const S=p((function(e,t){return 1===e?l(t):O(e,j(e,[],t))}));function x(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}function w(e,t,r){for(var n=0,s=r.length;n<s;){if(e(t,r[n]))return!0;n+=1}return!1}function E(e,t){return Object.prototype.hasOwnProperty.call(t,e)}const P="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 E("callee",e)}}();var _=!{toString:null}.propertyIsEnumerable("toString"),N=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],T=function(){return arguments.propertyIsEnumerable("length")}(),M=function(e,t){for(var r=0;r<e.length;){if(e[r]===t)return!0;r+=1}return!1};const D="function"!=typeof Object.keys||T?l((function(e){if(Object(e)!==e)return[];var t,r,n=[],s=T&&k(e);for(t in e)!E(t,e)||s&&"length"===t||(n[n.length]=t);if(_)for(r=N.length-1;r>=0;)E(t=N[r],e)&&!M(n,t)&&(n[n.length]=t),r-=1;return n})):l((function(e){return Object(e)!==e?[]:Object.keys(e)}));const F=l((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function R(e,t,r,n){var s=x(e);function i(e,t){return J(e,t,r.slice(),n.slice())}return!w((function(e,t){return!w(i,t,e)}),x(t),s)}function J(e,t,r,n){if(P(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||!P(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!P(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var c=r.length-1;c>=0;){if(r[c]===e)return n[c]===t;c-=1}switch(o){case"Map":return e.size===t.size&&R(e.entries(),t.entries(),r.concat([e]),n.concat([t]));case"Set":return e.size===t.size&&R(e.values(),t.values(),r.concat([e]),n.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var a=D(e);if(a.length!==D(t).length)return!1;var u=r.concat([e]),l=n.concat([t]);for(c=a.length-1;c>=0;){var p=a[c];if(!E(p,t)||!J(t[p],e[p],u,l))return!1;c-=1}return!0}const L=p((function(e,t){return J(e,t,[],[])}));function V(e,t){return function(e,t,r){var n,s;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(n=1/t;r<e.length;){if(0===(s=e[r])&&1/s===n)return r;r+=1}return-1}if(t!=t){for(;r<e.length;){if("number"==typeof(s=e[r])&&s!=s)return r;r+=1}return-1}return e.indexOf(t,r);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,r);case"object":if(null===t)return e.indexOf(t,r)}for(;r<e.length;){if(L(e[r],t))return r;r+=1}return-1}(t,e,0)>=0}function C(e,t){for(var r=0,n=t.length,s=Array(n);r<n;)s[r]=e(t[r]),r+=1;return s}function I(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 $=function(e){return(e<10?"0":"")+e};const B="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+$(e.getUTCMonth()+1)+"-"+$(e.getUTCDate())+"T"+$(e.getUTCHours())+":"+$(e.getUTCMinutes())+":"+$(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function q(e,t,r){for(var n=0,s=r.length;n<s;)t=e(t,r[n]),n+=1;return t}function z(e){return"[object Object]"===Object.prototype.toString.call(e)}var G=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=y,e.prototype["@@transducer/result"]=d,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function U(e){return function(t){return new G(e,t)}}const H=p(h(["fantasy-land/filter","filter"],U,(function(e,t){return z(t)?q((function(r,n){return e(t[n])&&(r[n]=t[n]),r}),{},D(t)):function(e,t){for(var r=0,n=t.length,s=[];r<n;)e(t[r])&&(s[s.length]=t[r]),r+=1;return s}(e,t)})));const K=p((function(e,t){return H((r=e,function(){return!r.apply(this,arguments)}),t);var r}));function W(e,t){var r=function(r){var n=t.concat([e]);return V(r,n)?"<Circular>":W(r,n)},n=function(e,t){return C((function(t){return I(t)+": "+r(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+C(r,e).join(", ")+"))";case"[object Array]":return"["+C(r,e).concat(n(e,K((function(e){return/^\d+$/.test(e)}),D(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+r(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?r(NaN):I(B(e)))+")";case"[object Map]":return"new Map("+r(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+r(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+r(Array.from(e).sort())+")";case"[object String]":return"object"==typeof e?"new String("+r(e.valueOf())+")":I(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var s=e.toString();if("[object Object]"!==s)return s}return"{"+n(e,D(e)).join(", ")+"}"}}const Q=l((function(e){return W(e,[])}));const Y=p((function(e,t){if(e===t)return t;function r(e,t){if(e>t!=t>e)return t>e?t:e}var n=r(e,t);if(void 0!==n)return n;var s=r(typeof e,typeof t);if(void 0!==s)return s===typeof e?e:t;var i=Q(e),o=r(i,Q(t));return void 0!==o&&o===i?e:t}));var X=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=y,e.prototype["@@transducer/result"]=d,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const Z=p(h(["fantasy-land/map","map"],(function(e){return function(t){return new X(e,t)}}),(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return S(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return q((function(r,n){return r[n]=e(t[n]),r}),{},D(t));default:return C(e,t)}}))),ee=Number.isInteger||function(e){return e<<0===e};function te(e){return"[object String]"===Object.prototype.toString.call(e)}const re=p((function(e,t){var r=e<0?t.length+e:e;return te(t)?t.charAt(r):t[r]}));const ne=p((function(e,t){if(null!=t)return ee(e)?re(e,t):t[e]}));const se=p((function(e,t){return Z(ne(e),t)}));function ie(e){return function t(r,n,s){switch(arguments.length){case 0:return t;case 1:return u(r)?t:p((function(t,n){return e(r,t,n)}));case 2:return u(r)&&u(n)?t:u(r)?p((function(t,r){return e(t,n,r)})):u(n)?p((function(t,n){return e(r,t,n)})):l((function(t){return e(r,n,t)}));default:return u(r)&&u(n)&&u(s)?t:u(r)&&u(n)?p((function(t,r){return e(t,r,s)})):u(r)&&u(s)?p((function(t,r){return e(t,n,r)})):u(n)&&u(s)?p((function(t,n){return e(r,t,n)})):u(r)?l((function(t){return e(t,n,s)})):u(n)?l((function(t){return e(r,t,s)})):u(s)?l((function(t){return e(r,n,t)})):e(r,n,s)}}}const oe=l((function(e){return!!f(e)||!!e&&("object"==typeof e&&(!te(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var ce="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function ae(e,t,r){return function(n,s,i){if(oe(i))return e(n,s,i);if(null==i)return s;if("function"==typeof i["fantasy-land/reduce"])return t(n,s,i,"fantasy-land/reduce");if(null!=i[ce])return r(n,s,i[ce]());if("function"==typeof i.next)return r(n,s,i);if("function"==typeof i.reduce)return t(n,s,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function ue(e,t,r){for(var n=0,s=r.length;n<s;){if((t=e["@@transducer/step"](t,r[n]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n+=1}return e["@@transducer/result"](t)}const le=p((function(e,t){return O(e.length,(function(){return e.apply(t,arguments)}))}));function pe(e,t,r){for(var n=r.next();!n.done;){if((t=e["@@transducer/step"](t,n.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n=r.next()}return e["@@transducer/result"](t)}function fe(e,t,r,n){return e["@@transducer/result"](r[n](le(e["@@transducer/step"],e),t))}const he=ae(ue,fe,pe);var me=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();const ye=ie((function(e,t,r){return he("function"==typeof e?new me(e):e,t,r)}));const de=l((function(e){return S(ye(Y,0,se("length",e)),(function(){for(var t=0,r=e.length;t<r;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0}))}));const be=l((function(e){return function(){return e}}));const ve=l((function(e){return S(ye(Y,0,se("length",e)),(function(){for(var t=0,r=e.length;t<r;){if(e[t].apply(this,arguments))return!0;t+=1}return!1}))}));function ge(e,t,r){for(var n=r.next();!n.done;)t=e(t,n.value),n=r.next();return t}function Oe(e,t,r,n){return r[n](e,t)}const je=ae(q,Oe,ge);const Se=p((function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(r){return e(r)(t(r))}:je((function(e,r){return function(e,t){var r;t=t||[];var n=(e=e||[]).length,s=t.length,i=[];for(r=0;r<n;)i[i.length]=e[r],r+=1;for(r=0;r<s;)i[i.length]=t[r],r+=1;return i}(e,Z(r,t))}),[],e)}));const xe=p((function(e,t){return e.apply(this,t)}));const we=l((function(e){return null==e}));const Ee=ie((function e(t,r,n){if(0===t.length)return r;var s=t[0];if(t.length>1){var i=!we(n)&&E(s,n)&&"object"==typeof n[s]?n[s]:ee(t[1])?[]:{};r=e(Array.prototype.slice.call(t,1),r,i)}return function(e,t,r){if(ee(e)&&f(r)){var n=[].concat(r);return n[e]=t,n}var s={};for(var i in r)s[i]=r[i];return s[e]=t,s}(s,r,n)}));const Pe=ie((function(e,t,r){return Ee([e],t,r)}));function Ae(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const ke=p((function(e,t){return e&&t}));const _e=p((function(e,t){var r=S(e,t);return S(e,(function(){return q(Se,Z(r,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const Ne=l((function(e){return _e(e.length,e)}));const Te=p((function(e,t){return Ae(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:Ne(ke)(e,t)}));const Me=l((function(e){return function(t,r){return e(t,r)?-1:e(r,t)?1:0}}));const De=Ne(l((function(e){return!e})));function Fe(e,t){return function(){return t.call(this,e.apply(this,arguments))}}function Re(e,t){return function(){var r=arguments.length;if(0===r)return t();var n=arguments[r-1];return f(n)||"function"!=typeof n[e]?t.apply(this,arguments):n[e].apply(n,Array.prototype.slice.call(arguments,0,r-1))}}const Je=ie(Re("slice",(function(e,t,r){return Array.prototype.slice.call(r,e,t)})));const Le=l(Re("tail",Je(1,1/0)));function Ve(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return O(arguments[0].length,ye(Fe,arguments[0],Le(arguments)))}const Ce=l((function(e){return S(e.length,e)}));const Ie=p((function(e,t){return null==t||t!=t?e:t}));var $e=ie((function(e,t,r){var n=Array.prototype.slice.call(r,0);return n.splice(e,t),n}));const Be=$e;const qe=p((function e(t,r){if(null==r)return r;switch(t.length){case 0:return r;case 1:return function(e,t){if(null==t)return t;if(ee(e)&&f(t))return Be(e,1,t);var r={};for(var n in t)r[n]=t[n];return delete r[e],r}(t[0],r);default:var n=t[0],s=Array.prototype.slice.call(t,1);return null==r[n]?function(e,t){if(ee(e)&&f(t))return[].concat(t);var r={};for(var n in t)r[n]=t[n];return r}(n,r):Pe(n,e(s,r[n]),r)}}));var ze=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=y,e.prototype["@@transducer/result"]=d,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 Ge(e){return function(t){return new ze(e,t)}}const Ue=p(h(["dropWhile"],Ge,(function(e,t){for(var r=0,n=t.length;r<n&&e(t[r]);)r+=1;return Je(r,1/0,t)})));const He=p((function(e,t){return e||t}));const Ke=p((function(e,t){return Ae(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:Ne(He)(e,t)}));var We=l((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():f(e)?[]:te(e)?"":z(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 Qe=We;const Ye=l((function(e){return S(e.length,(function(t,r){var n=Array.prototype.slice.call(arguments,0);return n[0]=r,n[1]=t,e.apply(this,n)}))}));const Xe=p((function(e,t){if(0===e.length||we(t))return!1;for(var r=t,n=0;n<e.length;){if(we(r)||!E(e[n],r))return!1;r=r[e[n]],n+=1}return!0}));const Ze=p((function(e,t){return Xe([e],t)}));const et=p((function(e,t){return!we(t)&&e in t}));const tt=re(0);var rt=function(e,t){switch(arguments.length){case 0:return rt;case 1:return function t(r){return 0===arguments.length?t:P(e,r)};default:return P(e,t)}};const nt=rt;const st=ie((function(e,t,r){return S(Math.max(e.length,t.length,r.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):r.apply(this,arguments)}))}));const it=p(V);const ot=Je(0,-1);"function"==typeof Object.assign&&Object.assign;const ct=p((function(e,t){return S(e+1,(function(){var r=arguments[e];if(null!=r&&Ae(r[t]))return r[t].apply(r,Array.prototype.slice.call(arguments,0,e));throw new TypeError(Q(r)+' does not have a method named "'+t+'"')}))}));const at=l((function(e){return null!=e&&L(e,Qe(e))}));const ut=ct(1,"join");const lt=re(-1);const pt=p((function(e,t){return e.map((function(e){for(var r,n=t,s=0;s<e.length;){if(null==n)return;r=e[s],n=ee(r)?re(r,n):n[r],s+=1}return n}))}));const ft=p((function(e,t){return pt([e],t)[0]}));const ht=p((function(e,t){return q((function(r,n){return r[n]=e(t[n],n,t),r}),{},D(t))}));const mt=ie((function(e,t,r){return e(ft(t,r))}));const yt=p((function(e,t){for(var r={},n=0;n<e.length;)e[n]in t&&(r[e[n]]=t[e[n]]),n+=1;return r}));const dt=ie((function(e,t,r){return Ie(e,ne(t,r))}));const bt=ie((function(e,t,r){return e(ne(t,r))}));const vt=l(m);var gt=p((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const Ot=gt;const jt=ct(1,"split");var St="\t\n\v\f\r \u2028\u2029\ufeff";String.prototype.trim;const xt=Ye(it);class wt extends o.RP{constructor(e,t,r){super(e,t,r),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const Et=wt;class Pt extends o.RP{constructor(e,t,r){super(e,t,r),this.element="comment"}}const At=Pt;const kt=be(void 0);const _t=L(kt());class Nt extends o.ON{constructor(e,t,r){super(e,t,r),this.element="parseResult"}get api(){return this.children.filter((e=>e.classes.contains("api"))).first}get results(){return this.children.filter((e=>e.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((e=>"annotation"===e.element))}get warnings(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("warning")))}get errors(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("error")))}get isEmpty(){return this.children.reject((e=>"annotation"===e.element)).isEmpty}replaceResult(e){const{result:t}=this;if(_t(t))return!1;const r=this.content.findIndex((e=>e===t));return-1!==r&&(this.content[r]=e,!0)}}const Tt=Nt;class Mt extends o.ON{constructor(e,t,r){super(e,t,r),this.element="sourceMap"}get positionStart(){return this.children.filter((e=>e.classes.contains("position"))).get(0)}get positionEnd(){return this.children.filter((e=>e.classes.contains("position"))).get(1)}set position(e){if(null===e)return;const t=new o.ON([e.start.row,e.start.column,e.start.char]),r=new o.ON([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),r.classes.push("position"),this.push(t).push(r)}}const Dt=Mt,Ft=(e,t)=>"function"==typeof(null==t?void 0:t[e]),Rt=e=>null!=e&&Object.prototype.hasOwnProperty.call(e,"_storedElement")&&Object.prototype.hasOwnProperty.call(e,"_content"),Jt=(e,t)=>{var r;return(null==t||null===(r=t.primitive)||void 0===r?void 0:r.call(t))===e},Lt=(e,t)=>{var r,n;return(null==t||null===(r=t.classes)||void 0===r||null===(n=r.includes)||void 0===n?void 0:n.call(r,e))||!1},Vt=(e,t)=>(null==t?void 0:t.element)===e,Ct=e=>e({hasMethod:Ft,hasBasicElementProps:Rt,primitiveEq:Jt,isElementType:Vt,hasClass:Lt}),It=Ct((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof o.W_||e(r)&&t(void 0,r))),$t=Ct((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof o.RP||e(r)&&t("string",r))),Bt=Ct((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof o.VL||e(r)&&t("number",r))),qt=Ct((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof o.zr||e(r)&&t("null",r))),zt=Ct((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof o.hh||e(r)&&t("boolean",r))),Gt=Ct((({hasBasicElementProps:e,primitiveEq:t,hasMethod:r})=>n=>n instanceof o.Sb||e(n)&&t("object",n)&&r("keys",n)&&r("values",n)&&r("items",n))),Ut=Ct((({hasBasicElementProps:e,primitiveEq:t,hasMethod:r})=>n=>n instanceof o.ON&&!(n instanceof o.Sb)||e(n)&&t("array",n)&&r("push",n)&&r("unshift",n)&&r("map",n)&&r("reduce",n))),Ht=Ct((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof o.c6||e(n)&&t("member",n)&&r(void 0,n))),Kt=Ct((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof o.EA||e(n)&&t("link",n)&&r(void 0,n))),Wt=Ct((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof o.tK||e(n)&&t("ref",n)&&r(void 0,n))),Qt=Ct((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Et||e(n)&&t("annotation",n)&&r("array",n))),Yt=Ct((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof At||e(n)&&t("comment",n)&&r("string",n))),Xt=Ct((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Tt||e(n)&&t("parseResult",n)&&r("array",n))),Zt=Ct((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Dt||e(n)&&t("sourceMap",n)&&r("array",n))),er=e=>Vt("object",e)||Vt("array",e)||Vt("boolean",e)||Vt("number",e)||Vt("string",e)||Vt("null",e)||Vt("member",e),tr=e=>{var t,r;return Zt(null==e||null===(t=e.meta)||void 0===t||null===(r=t.get)||void 0===r?void 0:r.call(t,"sourceMap"))},rr=(e,t)=>{if(0===e.length)return!0;const r=t.attributes.get("symbols");return!!Ut(r)&&g(xt(r.toValue()),e)},nr=(e,t)=>0===e.length||g(xt(t.classes.toValue()),e);var sr=r(229),ir=r(2185),or=r(9982);function cr(e){return cr="function"==typeof ir&&"symbol"==typeof or?function(e){return typeof e}:function(e){return e&&"function"==typeof ir&&e.constructor===ir&&e!==ir.prototype?"symbol":typeof e},cr(e)}var ar=r(8241);function ur(e){var t=function(e,t){if("object"!==cr(e)||null===e)return e;var r=e[ar];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==cr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===cr(t)?t:String(t)}function lr(e,t,r){return(t=ur(t))in e?sr(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const pr=L(null);const fr=De(pr);function hr(e){return hr="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},hr(e)}const mr=function(e){return"object"===hr(e)};const yr=S(1,Te(fr,mr));const dr=S(1,Ve(F,nt("GeneratorFunction")));const br=S(1,Ve(F,nt("AsyncFunction")));const vr=ve([Ve(F,nt("Function")),dr,br]);var gr=Ve(F,nt("Object")),Or=Ve(Q,L(Q(Object))),jr=mt(Te(vr,Or),["constructor"]);const Sr=S(1,(function(e){if(!yr(e)||!gr(e))return!1;var t=Object.getPrototypeOf(e);return!!pr(t)||jr(t)}));class xr extends AggregateError{constructor(e,t,r){if(super(e,t,r),this.name=this.constructor.name,"string"==typeof t&&(this.message=t),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack,Sr(r)&&et("cause",r)&&!et("cause",this)){const{cause:e}=r;this.cause=e,e instanceof Error&&et("stack",e)&&(this.stack=`${this.stack}\nCAUSE: ${null==e?void 0:e.stack}`)}}}const wr=xr;class Er extends Error{static[Symbol.hasInstance](e){return Function.prototype[Symbol.hasInstance].call(Er,e)||Function.prototype[Symbol.hasInstance].call(wr,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,Sr(t)&&et("cause",t)&&!et("cause",this)){const{cause:e}=t;this.cause=e,e instanceof Error&&et("stack",e)&&(this.stack=`${this.stack}\nCAUSE: ${null==e?void 0:e.stack}`)}}}const Pr=Er;const Ar=class extends Pr{};const kr=class extends Ar{};const _r=class extends Array{constructor(...e){super(...e),lr(this,"unknownMediaType","application/octet-stream")}filterByFormat(){throw new kr('"filterByFormat" method is not implemented.')}findBy(){throw new kr('"findBy" method is not implemented.')}latest(){throw new kr('"latest" method is not implemented.')}};class Nr extends _r{filterByFormat(e="generic"){const t="generic"===e?"schema;version":e;return this.filter((e=>e.includes(t)))}findBy(e="draft-07",t="generic"){const r="generic"===t?`schema;version=${e}`:`schema+${t};version=${e}`;return this.find((e=>e.includes(r)))||this.unknownMediaType}latest(e="generic"){return lt(this.filterByFormat(e))}}const Tr=new Nr("application/schema;version=draft-07","application/schema+json;version=draft-07","application/schema+yaml;version=draft-07");const Mr=De(vr);const Dr=S(1,vr(Array.isArray)?Array.isArray:Ve(F,nt("Array")));const Fr=Te(Dr,at);const Rr=S(3,(function(e,t,r){var n=ft(e,r),s=ft(ot(e),r);if(!Mr(n)&&!Fr(e)){var i=le(n,s);return xe(i,t)}}));class Jr extends o.lS{constructor(){super(),this.register("annotation",Et),this.register("comment",At),this.register("parseResult",Tt),this.register("sourceMap",Dt)}}const Lr=new Jr,Vr=e=>{const t=new Jr;return Sr(e)&&t.use(e),t},Cr=Lr;function Ir(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const $r=()=>({predicates:function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ir(Object(r),!0).forEach((function(t){lr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ir(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e),namespace:Cr});var Br=r(5090),qr=r(2747),zr=r(5483);function Gr(e,t){if(null==e)return{};var r,n,s=function(e,t){if(null==e)return{};var r,n,s={},i=zr(e);for(n=0;n<i.length;n++)r=i[n],qr(t).call(t,r)>=0||(s[r]=e[r]);return s}(e,t);if(Br){var i=Br(e);for(n=0;n<i.length;n++)r=i[n],qr(t).call(t,r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(s[r]=e[r])}return s}var Ur=r(6591),Hr=r.n(Ur);const Kr=S(1,Ve(F,nt("String"))),Wr=(e,t,r)=>{const n=e[t];if(null!=n){if(!r&&"function"==typeof n)return n;const e=r?n.leave:n.enter;if("function"==typeof e)return e}else{const n=r?e.leave:e.enter;if(null!=n){if("function"==typeof n)return n;const e=n[t];if("function"==typeof e)return e}}return null},Qr={},Yr=e=>null==e?void 0:e.type,Xr=e=>"string"==typeof Yr(e),Zr=(e,t,{keyMap:r=null,state:n={},breakSymbol:s=Qr,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:c=Wr,nodeTypeGetter:a=Yr,nodePredicate:u=Xr,detectCycles:l=!0}={})=>{const p=r||{};let f,h,m=Array.isArray(e),y=[e],d=-1,b=[];const v=[],g=[];let O=e;do{d+=1;const e=d===y.length;let r,j;const S=e&&0!==b.length;if(e){if(r=0===g.length?void 0:v.pop(),j=h,h=g.pop(),S){j=m?j.slice():Object.create(Object.getPrototypeOf(j),Object.getOwnPropertyDescriptors(j));let e=0;for(let t=0;t<b.length;t+=1){let r=b[t][0];const n=b[t][1];m&&(r-=e),m&&n===i?(j.splice(r,1),e+=1):j[r]=n}}d=f.index,y=f.keys,b=f.edits,m=f.inArray,f=f.prev}else{if(r=h?m?d:y[d]:void 0,j=h?h[r]:O,j===i||void 0===j)continue;h&&v.push(r)}if(g.includes(j))continue;let x;if(!Array.isArray(j)){if(!u(j))throw new Pr(`Invalid AST Node: ${JSON.stringify(j)}`);if(l&&g.includes(j)){v.pop();continue}const i=c(t,a(j),e);if(i){for(const[e,r]of Object.entries(n))t[e]=r;if(x=i.call(t,j,r,h,v,g),x===s)break;if(x===o){if(!e){v.pop();continue}}else if(void 0!==x&&(b.push([r,x]),!e)){if(!u(x)){v.pop();continue}j=x}}}void 0===x&&S&&b.push([r,j]),e||(f={inArray:m,index:d,keys:y,edits:b,prev:f},m=Array.isArray(j),y=m?j:p[a(j)]||[],d=-1,b=[],h&&g.push(h),h=j)}while(void 0!==f);return 0!==b.length&&([,O]=b[b.length-1]),O};Zr[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:r=null,state:n={},breakSymbol:s=Qr,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:c=Wr,nodeTypeGetter:a=Yr,nodePredicate:u=Xr,detectCycles:l=!0}={})=>{const p=r||{};let f,h,m=Array.isArray(e),y=[e],d=-1,b=[];const v=[],g=[];let O=e;do{d+=1;const e=d===y.length;let r,j;const S=e&&0!==b.length;if(e){if(r=0===g.length?void 0:v.pop(),j=h,h=g.pop(),S){j=m?j.slice():Object.create(Object.getPrototypeOf(j),Object.getOwnPropertyDescriptors(j));let e=0;for(let t=0;t<b.length;t+=1){let r=b[t][0];const n=b[t][1];m&&(r-=e),m&&n===i?(j.splice(r,1),e+=1):j[r]=n}}d=f.index,y=f.keys,b=f.edits,m=f.inArray,f=f.prev}else{if(r=h?m?d:y[d]:void 0,j=h?h[r]:O,j===i||void 0===j)continue;h&&v.push(r)}let x;if(!Array.isArray(j)){if(!u(j))throw new Pr(`Invalid AST Node: ${JSON.stringify(j)}`);if(l&&g.includes(j)){v.pop();continue}const i=c(t,a(j),e);if(i){for(const[e,r]of Object.entries(n))t[e]=r;if(x=await i.call(t,j,r,h,v,g),x===s)break;if(x===o){if(!e){v.pop();continue}}else if(void 0!==x&&(b.push([r,x]),!e)){if(!u(x)){v.pop();continue}j=x}}}void 0===x&&S&&b.push([r,j]),e||(f={inArray:m,index:d,keys:y,edits:b,prev:f},m=Array.isArray(j),y=m?j:p[a(j)]||[],d=-1,b=[],h&&g.push(h),h=j)}while(void 0!==f);return 0!==b.length&&([,O]=b[b.length-1]),O};const en=["keyMap"],tn=["keyMap"];function rn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function nn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?rn(Object(r),!0).forEach((function(t){lr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const sn=e=>Gt(e)?"ObjectElement":Ut(e)?"ArrayElement":Ht(e)?"MemberElement":$t(e)?"StringElement":zt(e)?"BooleanElement":Bt(e)?"NumberElement":qt(e)?"NullElement":Kt(e)?"LinkElement":Wt(e)?"RefElement":void 0,on=Ve(sn,Kr),cn={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]},an=(Ur({props:{result:[],predicate:c,returnOnTrue:void 0,returnOnFalse:void 0},init({predicate:e=this.predicate,returnOnTrue:t=this.returnOnTrue,returnOnFalse:r=this.returnOnFalse}={}){this.result=[],this.predicate=e,this.returnOnTrue=t,this.returnOnFalse=r},methods:{enter(e){return this.predicate(e)?(this.result.push(e),this.returnOnTrue):this.returnOnFalse}}}),(e,t,r={})=>{let{keyMap:n=cn}=r,s=Gr(r,en);return Zr(e,t,nn({keyMap:n,nodeTypeGetter:sn,nodePredicate:on},s))});an[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,r={})=>{let{keyMap:n=cn}=r,s=Gr(r,tn);return Zr[Symbol.for("nodejs.util.promisify.custom")](e,t,nn({keyMap:n,nodeTypeGetter:sn,nodePredicate:on},s))};const un=(e,t,r={})=>{if(0===t.length)return e;const n=dt($r,"toolboxCreator",r),s=dt({},"visitorOptions",r),i=dt(sn,"nodeTypeGetter",s),o=n(),c=t.map((e=>e(o))),a=((e,{visitFnGetter:t=Wr,nodeTypeGetter:r=Yr}={})=>{const n=new Array(e.length);return{enter(s,...i){for(let o=0;o<e.length;o+=1)if(null==n[o]){const c=t(e[o],r(s),!1);if("function"==typeof c){const t=c.call(e[o],s,...i);if(!1===t)n[o]=s;else if(t===Qr)n[o]=Qr;else if(void 0!==t)return t}}},leave(s,...i){for(let o=0;o<e.length;o+=1)if(null==n[o]){const c=t(e[o],r(s),!0);if("function"==typeof c){const t=c.call(e[o],s,...i);if(t===Qr)n[o]=Qr;else if(void 0!==t&&!1!==t)return t}}else n[o]===s&&(n[o]=null)}}})(c.map(dt({},"visitor")),{nodeTypeGetter:i});c.forEach(Rr(["pre"],[]));const u=an(e,a,s);return c.forEach(Rr(["post"],[])),u};function ln(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function pn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ln(Object(r),!0).forEach((function(t){lr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ln(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const fn=(e,{Type:t,plugins:r=[]})=>{const n=new t(e);return un(n,r,{toolboxCreator:$r,visitorOptions:{nodeTypeGetter:sn}})},hn=e=>(t,r={})=>fn(t,pn(pn({},r),{},{Type:e}));o.Sb.refract=hn(o.Sb),o.ON.refract=hn(o.ON),o.RP.refract=hn(o.RP),o.hh.refract=hn(o.hh),o.zr.refract=hn(o.zr),o.VL.refract=hn(o.VL),o.EA.refract=hn(o.EA),o.tK.refract=hn(o.tK),Et.refract=hn(Et),At.refract=hn(At),Tt.refract=hn(Tt),Dt.refract=hn(Dt);class mn extends o.Sb{constructor(e,t,r){super(e,t,r),this.element="JSONSchemaDraft4"}get idProp(){return this.get("id")}set idProp(e){this.set("id",e)}get $schema(){return this.get("$schema")}set $schema(e){this.set("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 yn=mn;class dn extends o.Sb{constructor(e,t,r){super(e,t,r),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const bn=dn;class vn extends o.Sb{constructor(e,t,r){super(e,t,r),this.element="media"}get binaryEncoding(){return this.get("binaryEncoding")}set binaryEncoding(e){this.set("binaryEncoding",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}}const gn=vn;class On extends o.Sb{constructor(e,t,r){super(e,t,r),this.element="linkDescription"}get href(){return this.get("href")}set href(e){this.set("href",e)}get rel(){return this.get("rel")}set rel(e){this.set("rel",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){return this.get("mediaType")}set mediaType(e){this.set("mediaType",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get encType(){return this.get("encType")}set encType(e){this.set("encType",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}}const jn=On;const Sn=Ce((function(e,t){return Ve(jt(""),Ue(xt(e)),ut(""))(t)})),xn=(e,t)=>{const r=Ie(e,t);return ht((e=>{if(Sr(e)&&Ze("$ref",e)&&bt(Kr,"$ref",e)){const t=ft(["$ref"],e),n=Sn("#/",t);return ft(n.split("/"),r)}return Sr(e)?xn(e,r):e}),e)},wn=Ur({props:{element:null},methods:{copyMetaAndAttributes(e,t){tr(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),En=Ur(wn,{methods:{enter(e){return this.element=e.clone(),Qr}}});const Pn=be(kt());function An(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const kn=e=>{if(It(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},_n=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?An(Object(r),!0).forEach((function(t){lr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):An(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"]},cn);function Nn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Tn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Nn(Object(r),!0).forEach((function(t){lr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Nn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const Mn=Ur(wn,{props:{specObj:null,passingOptionsNames:["specObj"]},init({specObj:e=this.specObj}){this.specObj=e},methods:{retrievePassingOptions(){return yt(this.passingOptionsNames,this)},retrieveFixedFields(e){return Ve(ft(["visitors",...e,"fixedFields"]),D)(this.specObj)},retrieveVisitor(e){return mt(vr,["visitors",...e],this.specObj)?ft(["visitors",...e],this.specObj):ft(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const r=this.retrievePassingOptions();return this.retrieveVisitor(e)(Tn(Tn({},r),t))},toRefractedElement(e,t,r={}){const n=this.retrieveVisitorInstance(e,r),s=Object.getPrototypeOf(n);return _t(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===s?t.clone():(an(t,n,Tn({keyMap:_n,nodeTypeGetter:kn},r)),n.element)}}}),Dn=Ur(Mn,{props:{specPath:Pn,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){const t=this.specPath(e),r=this.retrieveFixedFields(t);return e.forEach(((e,n,s)=>{if($t(n)&&r.includes(n.toValue())&&!this.ignoredFields.includes(n.toValue())){const r=this.toRefractedElement([...t,"fixedFields",n.toValue()],e),i=new o.c6(n.clone(),r);this.copyMetaAndAttributes(s,i),i.classes.push("fixed-field"),this.element.content.push(i)}else this.ignoredFields.includes(n.toValue())||this.element.content.push(s.clone())})),this.copyMetaAndAttributes(e,this.element),Qr}}}),Fn=Ur(Dn,En,{props:{specPath:be(["document","objects","JSONSchema"])},init(){this.element=new yn}}),Rn=En,Jn=En,Ln=En,Vn=En,Cn=En,In=En,$n=En,Bn=En,qn=En,zn=En,Gn=Ur({props:{parent:null},init({parent:e=this.parent}){this.parent=e,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),Un=e=>Gt(e)&&e.hasKey("$ref"),Hn=Ur(Mn,Gn,En,{methods:{ObjectElement(e){const t=Un(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),Qr},ArrayElement(e){return this.element=new o.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=Un(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),Qr}}}),Kn=En,Wn=En,Qn=En,Yn=En,Xn=En,Zn=Ur(En,{methods:{ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-required"),Qr}}});const es=De(S(1,Te(fr,Ke(mr,vr))));const ts=De(at);const rs=de([Kr,es,ts]),ns=Ur(Mn,{props:{fieldPatternPredicate:c,specPath:Pn,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){return e.forEach(((e,t,r)=>{if(!this.ignoredFields.includes(t.toValue())&&this.fieldPatternPredicate(t.toValue())){const n=this.specPath(e),s=this.toRefractedElement(n,e),i=new o.c6(t.clone(),s);this.copyMetaAndAttributes(r,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(t.toValue())||this.element.content.push(r.clone())})),this.copyMetaAndAttributes(e,this.element),Qr}}}),ss=Ur(ns,{props:{fieldPatternPredicate:rs}}),is=Ur(ss,Gn,En,{props:{specPath:e=>Un(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.Sb,this.element.classes.push("json-schema-properties")}}),os=Ur(ss,Gn,En,{props:{specPath:e=>Un(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.Sb,this.element.classes.push("json-schema-patternProperties")}}),cs=Ur(ss,Gn,En,{props:{specPath:e=>Un(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.Sb,this.element.classes.push("json-schema-dependencies")}}),as=Ur(En,{methods:{ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-enum"),Qr}}}),us=Ur(En,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-type"),Qr},ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-type"),Qr}}}),ls=Ur(Mn,Gn,En,{init(){this.element=new o.ON,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Un(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),Qr}}}),ps=Ur(Mn,Gn,En,{init(){this.element=new o.ON,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Un(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),Qr}}}),fs=Ur(Mn,Gn,En,{init(){this.element=new o.ON,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Un(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),Qr}}}),hs=Ur(ss,Gn,En,{props:{specPath:e=>Un(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.Sb,this.element.classes.push("json-schema-definitions")}}),ms=En,ys=En,ds=En,bs=En,vs=En,gs=Ur(Mn,Gn,En,{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),Qr}}}),Os=En,js=Ur(Dn,En,{props:{specPath:be(["document","objects","JSONReference"])},init(){this.element=new bn},methods:{ObjectElement(e){const t=Dn.compose.methods.ObjectElement.call(this,e);return $t(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),Ss=Ur(En,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),Qr}}});const xs=De(we);const ws=Te(Dr,ts);function Es(e){return function(e){if(Array.isArray(e))return Ps(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 Ps(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ps(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 Ps(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var As=Ve(Ot(Me((function(e,t){return e.length>t.length}))),tt,ne("length")),ks=Ce((function(e,t,r){var n=r.apply(void 0,Es(e));return xs(n)?vt(n):t}));const _s=st(ws,(function(e){var t=As(e);return S(t,(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return ye(ks(r),void 0,e)}))}),kt),Ns=Ur(Mn,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>st(e,be(t),kt))),r=_s(t)(e);return this.element=this.toRefractedElement(r,e),Qr}}}),Ts=Ur(Ns,{props:{alternator:[{predicate:Un,specPath:["document","objects","JSONReference"]},{predicate:a,specPath:["document","objects","JSONSchema"]}]}}),Ms=Ur(Dn,En,{props:{specPath:be(["document","objects","Media"])},init(){this.element=new gn}}),Ds=En,Fs=En,Rs=Ur(Dn,En,{props:{specPath:be(["document","objects","LinkDescription"])},init(){this.element=new jn}}),Js={visitors:{value:En,JSONSchemaOrJSONReferenceVisitor:Ts,document:{objects:{JSONSchema:{$visitor:Fn,fixedFields:{id:Rn,$schema:Jn,multipleOf:Ln,maximum:Vn,exclusiveMaximum:Cn,minimum:In,exclusiveMinimum:$n,maxLength:Bn,minLength:qn,pattern:zn,additionalItems:Ts,items:Hn,maxItems:Kn,minItems:Wn,uniqueItems:Qn,maxProperties:Yn,minProperties:Xn,required:Zn,properties:is,additionalProperties:Ts,patternProperties:os,dependencies:cs,enum:as,type:us,allOf:ls,anyOf:ps,oneOf:fs,not:Ts,definitions:hs,title:ms,description:ys,default:ds,format:bs,base:vs,links:gs,media:{$ref:"#/visitors/document/objects/Media"},readOnly:Os}},JSONReference:{$visitor:js,fixedFields:{$ref:Ss}},Media:{$visitor:Ms,fixedFields:{binaryEncoding:Ds,type:Fs}},LinkDescription:{$visitor:Rs,fixedFields:{href:En,rel:En,title:En,targetSchema:Ts,mediaType:En,method:En,encType:En,schema:Ts}}}}}},Ls=Ct((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof yn||e(n)&&t("JSONSchemaDraft4",n)&&r("object",n))),Vs=Ct((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof bn||e(n)&&t("JSONReference",n)&&r("object",n))),Cs=Ct((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof gn||e(n)&&t("media",n)&&r("object",n))),Is=Ct((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof jn||e(n)&&t("linkDescription",n)&&r("object",n))),$s={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",yn),t.register("jSONReference",bn),t.register("media",gn),t.register("linkDescription",jn),t}};function Bs(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function qs(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Bs(Object(r),!0).forEach((function(t){lr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Bs(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const zs=()=>{const e=Vr($s);return{predicates:qs(qs({},t),{},{isStringElement:$t}),namespace:e}};function Gs(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const Us=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=Js}={})=>{const s=(0,o.Qc)(e),i=xn(n),c=Rr(t,[],i);return an(s,c,{state:{specObj:i}}),un(c.element,r,{toolboxCreator:zs,visitorOptions:{keyMap:_n,nodeTypeGetter:kn}})},Hs=e=>(t,r={})=>Us(t,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Gs(Object(r),!0).forEach((function(t){lr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Gs(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({specPath:e},r));yn.refract=Hs(["visitors","document","objects","JSONSchema","$visitor"]),bn.refract=Hs(["visitors","document","objects","JSONReference","$visitor"]),gn.refract=Hs(["visitors","document","objects","Media","$visitor"]),jn.refract=Hs(["visitors","document","objects","LinkDescription","$visitor"]);const Ks=class extends yn{constructor(e,t,r){super(e,t,r),this.element="JSONSchemaDraft6"}get idProp(){throw new Ar("id keyword from Core vocabulary has been renamed to $id.")}set idProp(e){throw new Ar("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 Ws=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 Ar("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}set schema(e){throw new Ar("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 Ar("method keyword from Hyper-Schema vocabulary has been removed.")}set method(e){throw new Ar("method keyword from Hyper-Schema vocabulary has been removed.")}get encType(){throw new Ar("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}set encType(e){throw new Ar("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}get submissionEncType(){return this.get("submissionEncType")}set submissionEncType(e){this.set("submissionEncType",e)}},Qs=Ur(Dn,En,{props:{specPath:be(["document","objects","JSONSchema"])},methods:{ObjectElement(e){return this.element=new Ks,Dn.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=e.clone(),this.element.classes.push("boolean-json-schema"),Qr}}}),Ys=En,Xs=Ur(Mn,Gn,En,{methods:{ObjectElement(e){const t=Un(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),Qr},ArrayElement(e){return this.element=new o.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=Un(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),Qr},BooleanElement(e){return this.element=this.toRefractedElement(["document","objects","JSONSchema"],e),Qr}}}),Zs=En,ei=Ur(En,{methods:{ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-examples"),Qr}}}),ti=Ur(Dn,En,{props:{specPath:be(["document","objects","LinkDescription"])},init(){this.element=new Ws}}),ri=En,ni=Ve(Ee(["visitors","document","objects","JSONSchema","$visitor"],Qs),qe(["visitors","document","objects","JSONSchema","fixedFields","id"]),Ee(["visitors","document","objects","JSONSchema","fixedFields","$id"],Ys),Ee(["visitors","document","objects","JSONSchema","fixedFields","contains"],Js.visitors.JSONSchemaOrJSONReferenceVisitor),Ee(["visitors","document","objects","JSONSchema","fixedFields","items"],Xs),Ee(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],Js.visitors.JSONSchemaOrJSONReferenceVisitor),Ee(["visitors","document","objects","JSONSchema","fixedFields","const"],Zs),Ee(["visitors","document","objects","JSONSchema","fixedFields","examples"],ei),Ee(["visitors","document","objects","LinkDescription","$visitor"],ti),Ee(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],Js.visitors.JSONSchemaOrJSONReferenceVisitor),qe(["visitors","document","objects","LinkDescription","fixedFields","schema"]),Ee(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],Js.visitors.JSONSchemaOrJSONReferenceVisitor),qe(["visitors","document","objects","LinkDescription","fixedFields","method"]),qe(["visitors","document","objects","LinkDescription","fixedFields","encType"]),Ee(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"],ri))(Js);function si(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const ii=e=>{if(It(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},oi=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?si(Object(r),!0).forEach((function(t){lr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):si(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({JSONSchemaDraft6Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"]},cn),ci=Ct((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Ks||e(n)&&t("JSONSchemaDraft6",n)&&r("object",n))),ai=Ct((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Ws||e(n)&&t("linkDescription",n)&&r("object",n))),ui={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft6",Ks),t.register("jSONReference",bn),t.register("media",gn),t.register("linkDescription",Ws),t}};function li(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function pi(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?li(Object(r),!0).forEach((function(t){lr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):li(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const fi=()=>{const e=Vr(ui);return{predicates:pi(pi({},s),{},{isStringElement:$t}),namespace:e}};function hi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const mi=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=ni}={})=>{const s=(0,o.Qc)(e),i=xn(n),c=Rr(t,[],i);return an(s,c,{state:{specObj:i}}),un(c.element,r,{toolboxCreator:fi,visitorOptions:{keyMap:oi,nodeTypeGetter:ii}})},yi=e=>(t,r={})=>mi(t,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?hi(Object(r),!0).forEach((function(t){lr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):hi(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({specPath:e},r));Ks.refract=yi(["visitors","document","objects","JSONSchema","$visitor"]),Ws.refract=yi(["visitors","document","objects","LinkDescription","$visitor"]);const di=class extends Ks{constructor(e,t,r){super(e,t,r),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 Ar('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}set media(e){throw new Ar('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 bi=class extends Ws{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 Ar("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}set mediaType(e){throw new Ar("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 Ar("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}set submissionEncType(e){throw new Ar("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}get submissionMediaType(){return this.get("submissionMediaType")}set submissionMediaType(e){this.set("submissionMediaType",e)}},vi={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft7",di),t.register("jSONReference",bn),t.register("linkDescription",bi),t}};function gi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const Oi=e=>{if(It(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},ji=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?gi(Object(r),!0).forEach((function(t){lr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):gi(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({JSONSchemaDraft7Element:["content"],JSONReferenceElement:["content"],LinkDescriptionElement:["content"]},cn),Si=e=>$t(e)&&nr(["yaml-e-node","yaml-e-scalar"],e),xi={JSONSchemaDraft7Element:{additionalItems:(...e)=>new di(...e),items:(...e)=>new di(...e),contains:(...e)=>new di(...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 di(...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 di(...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 di(...e),then:(...e)=>new di(...e),else:(...e)=>new di(...e),not:(...e)=>new di(...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 di(...e),targetSchema:(...e)=>new di(...e),submissionSchema:(...e)=>new di(...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 di(...e)}},"json-schema-patternProperties":{"[key: *]":function(...e){return new di(...e)}},"json-schema-dependencies":{"[key: *]":function(...e){return new di(...e)}},"json-schema-allOf":{"<*>":function(...e){return new di(...e)}},"json-schema-anyOf":{"<*>":function(...e){return new di(...e)}},"json-schema-oneOf":{"<*>":function(...e){return new di(...e)}},"json-schema-definitions":{"[key: *]":function(...e){return new di(...e)}},"json-schema-links":{"<*>":function(...e){return new bi(...e)}}},wi=(e,t)=>{const r=Oi(e),n=xi[r]||xi[e.classes.first?.toValue?.()];return void 0===n?void 0:Object.prototype.hasOwnProperty.call(n,"[key: *]")?n["[key: *]"]:n[t]},Ei=()=>()=>({visitor:{MemberElement(e,...t){if(!Si(e.value))return;const[,,,r]=t,n=r[r.length-1],s=wi(n,e.key.toValue());if(void 0===s)return;const i=e.value;return new o.c6(e.key,s.call({context:n},void 0,i.meta.clone(),i.attributes.clone()),e.meta.clone(),e.attributes.clone())},StringElement(e,...t){if(!Si(e))return;const[,,,r]=t,n=r[r.length-1];if(!Ut(n))return;const s=wi(n,"<*>");return void 0!==s?s.call({context:e},void 0,e.meta.clone(),e.attributes.clone()):void 0}}}),Pi=Hr()(Dn,En,{props:{specPath:be(["document","objects","JSONSchema"])},methods:{ObjectElement(e){return this.element=new di,Dn.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=e.clone(),this.element.classes.push("boolean-json-schema"),Qr}}}),Ai=En,ki=En,_i=En,Ni=En,Ti=Hr()(Dn,En,{props:{specPath:be(["document","objects","LinkDescription"])},init(){this.element=new bi}}),Mi=En,Di=En,Fi=En,Ri=En,Ji=En,Li=En,Vi=En,Ci=Ve(Ee(["visitors","document","objects","JSONSchema","$visitor"],Pi),Ee(["visitors","document","objects","JSONSchema","fixedFields","$comment"],Ai),Ee(["visitors","document","objects","JSONSchema","fixedFields","if"],ni.visitors.JSONSchemaOrJSONReferenceVisitor),Ee(["visitors","document","objects","JSONSchema","fixedFields","then"],ni.visitors.JSONSchemaOrJSONReferenceVisitor),Ee(["visitors","document","objects","JSONSchema","fixedFields","else"],ni.visitors.JSONSchemaOrJSONReferenceVisitor),qe(["visitors","document","objects","JSONSchema","fixedFields","media"]),Ee(["visitors","document","objects","JSONSchema","fixedFields","contentEncoding"],ki),Ee(["visitors","document","objects","JSONSchema","fixedFields","contentMediaType"],_i),Ee(["visitors","document","objects","JSONSchema","fixedFields","writeOnly"],Ni),Ee(["visitors","document","objects","LinkDescription","$visitor"],Ti),Ee(["visitors","document","objects","LinkDescription","fixedFields","anchor"],Mi),Ee(["visitors","document","objects","LinkDescription","fixedFields","anchorPointer"],Di),qe(["visitors","document","objects","LinkDescription","fixedFields","mediaType"]),Ee(["visitors","document","objects","LinkDescription","fixedFields","targetMediaType"],Fi),Ee(["visitors","document","objects","LinkDescription","fixedFields","targetHints"],Ri),Ee(["visitors","document","objects","LinkDescription","fixedFields","description"],Ji),Ee(["visitors","document","objects","LinkDescription","fixedFields","$comment"],Li),qe(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"]),Ee(["visitors","document","objects","LinkDescription","fixedFields","submissionMediaType"],Vi))(ni),Ii=Ct((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof di||e(n)&&t("JSONSchemaDraft7",n)&&r("object",n))),$i=Ct((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof bi||e(n)&&t("linkDescription",n)&&r("object",n)));function Bi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function qi(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Bi(Object(r),!0).forEach((function(t){lr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Bi(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const zi=()=>{const e=Vr(vi);return{predicates:qi(qi({},i),{},{isStringElement:$t}),namespace:e}};function Gi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const Ui=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=Ci}={})=>{const s=(0,o.Qc)(e),i=xn(n),c=Rr(t,[],i);return an(s,c,{state:{specObj:i}}),un(c.element,r,{toolboxCreator:zi,visitorOptions:{keyMap:ji,nodeTypeGetter:Oi}})},Hi=e=>(t,r={})=>Ui(t,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Gi(Object(r),!0).forEach((function(t){lr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Gi(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({specPath:e},r)),Ki=Ui})(),n})()));
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { UnsupportedOperationError } from '@swagger-api/apidom-error';
|
|
1
2
|
import { JSONSchemaElement } from '@swagger-api/apidom-ns-json-schema-draft-6';
|
|
2
3
|
|
|
3
4
|
/* eslint-disable class-methods-use-this */
|
|
@@ -71,10 +72,10 @@ class JSONSchema extends JSONSchemaElement {
|
|
|
71
72
|
this.set('contentMediaType', contentMediaType);
|
|
72
73
|
}
|
|
73
74
|
get media() {
|
|
74
|
-
throw new
|
|
75
|
+
throw new UnsupportedOperationError('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"');
|
|
75
76
|
}
|
|
76
77
|
set media(media) {
|
|
77
|
-
throw new
|
|
78
|
+
throw new UnsupportedOperationError('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"');
|
|
78
79
|
}
|
|
79
80
|
|
|
80
81
|
/**
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { UnsupportedOperationError } from '@swagger-api/apidom-error';
|
|
1
2
|
import { LinkDescriptionElement } from '@swagger-api/apidom-ns-json-schema-draft-6';
|
|
2
3
|
|
|
3
4
|
/* eslint-disable class-methods-use-this */
|
|
@@ -52,10 +53,10 @@ class LinkDescription extends LinkDescriptionElement {
|
|
|
52
53
|
*/
|
|
53
54
|
|
|
54
55
|
get mediaType() {
|
|
55
|
-
throw new
|
|
56
|
+
throw new UnsupportedOperationError('mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.');
|
|
56
57
|
}
|
|
57
58
|
set mediaType(mediaType) {
|
|
58
|
-
throw new
|
|
59
|
+
throw new UnsupportedOperationError('mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.');
|
|
59
60
|
}
|
|
60
61
|
get targetMediaType() {
|
|
61
62
|
return this.get('targetMediaType');
|
|
@@ -88,10 +89,10 @@ class LinkDescription extends LinkDescriptionElement {
|
|
|
88
89
|
* URI: https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-hyperschema-01#section-6.6.4
|
|
89
90
|
*/
|
|
90
91
|
get submissionEncType() {
|
|
91
|
-
throw new
|
|
92
|
+
throw new UnsupportedOperationError('submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.');
|
|
92
93
|
}
|
|
93
94
|
set submissionEncType(submissionEncType) {
|
|
94
|
-
throw new
|
|
95
|
+
throw new UnsupportedOperationError('submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.');
|
|
95
96
|
}
|
|
96
97
|
get submissionMediaType() {
|
|
97
98
|
return this.get('submissionMediaType');
|
package/es/refractor/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
4
|
import { invokeArgs } from 'ramda-adjunct';
|
|
5
5
|
import { visit, dereference, refract as baseRefract, dispatchRefractorPlugins } from '@swagger-api/apidom-core';
|
|
6
6
|
import specification from "./specification.js";
|
package/es/refractor/toolbox.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
4
|
import { createNamespace, isStringElement } from '@swagger-api/apidom-core';
|
|
5
5
|
import * as jsonSchemaDraft7Predicates from "../predicates.js";
|
|
6
6
|
import jsonSchemaDraft7Namespace from "../namespace.js";
|
package/es/traversal/visitor.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
4
|
import { keyMap as keyMapBase, isElement } from '@swagger-api/apidom-core';
|
|
5
5
|
|
|
6
6
|
// getNodeType :: Node -> String
|
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.76.0",
|
|
4
4
|
"description": "JSON Schema Draft 7 namespace for ApiDOM.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -42,8 +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-
|
|
45
|
+
"@swagger-api/apidom-core": "^0.76.0",
|
|
46
|
+
"@swagger-api/apidom-error": "^0.76.0",
|
|
47
|
+
"@swagger-api/apidom-ns-json-schema-draft-6": "^0.76.0",
|
|
47
48
|
"@types/ramda": "~0.29.3",
|
|
48
49
|
"ramda": "~0.29.0",
|
|
49
50
|
"ramda-adjunct": "^4.1.1",
|
|
@@ -59,5 +60,5 @@
|
|
|
59
60
|
"README.md",
|
|
60
61
|
"CHANGELOG.md"
|
|
61
62
|
],
|
|
62
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "ce497d1083df34162b9cf2047d6cbd8843af3314"
|
|
63
64
|
}
|