@swagger-api/apidom-json-pointer-relative 0.78.0 → 0.79.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [0.79.0](https://github.com/swagger-api/apidom/compare/v0.78.0...v0.79.0) (2023-10-24)
7
+
8
+ **Note:** Version bump only for package @swagger-api/apidom-json-pointer-relative
9
+
6
10
  # [0.78.0](https://github.com/swagger-api/apidom/compare/v0.77.0...v0.78.0) (2023-10-17)
7
11
 
8
12
  ### Bug Fixes
@@ -15453,19 +15453,25 @@ __webpack_require__.r(__webpack_exports__);
15453
15453
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
15454
15454
  /* harmony export */ isElementType: () => (/* binding */ isElementType)
15455
15455
  /* harmony export */ });
15456
- const hasMethod = (name, obj) => typeof (obj === null || obj === void 0 ? void 0 : obj[name]) === 'function';
15457
- const hasBasicElementProps = element => element != null && Object.prototype.hasOwnProperty.call(element, '_storedElement') && Object.prototype.hasOwnProperty.call(element, '_content');
15458
- const primitiveEq = (val, obj) => {
15459
- var _obj$primitive;
15460
- return (obj === null || obj === void 0 || (_obj$primitive = obj.primitive) === null || _obj$primitive === void 0 ? void 0 : _obj$primitive.call(obj)) === val;
15456
+ /* harmony import */ var minim__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7952);
15457
+
15458
+ const hasMethod = (name, element) => {
15459
+ return typeof element === 'object' && element !== null && name in element && typeof element[name] === 'function';
15460
+ };
15461
+ const hasBasicElementProps = element => typeof element === 'object' && element != null && '_storedElement' in element && typeof element._storedElement === 'string' &&
15462
+ // eslint-disable-line no-underscore-dangle
15463
+ '_content' in element;
15464
+ const primitiveEq = (val, element) => {
15465
+ if (typeof element === 'object' && element !== null && 'primitive' in element) {
15466
+ return typeof element.primitive === 'function' && element.primitive() === val;
15467
+ }
15468
+ return false;
15461
15469
  };
15462
- const hasClass = (cls, obj) => {
15463
- var _obj$classes, _obj$classes$includes;
15464
- return (obj === null || obj === void 0 || (_obj$classes = obj.classes) === null || _obj$classes === void 0 || (_obj$classes$includes = _obj$classes.includes) === null || _obj$classes$includes === void 0 ? void 0 : _obj$classes$includes.call(_obj$classes, cls)) || false;
15470
+ const hasClass = (cls, element) => {
15471
+ return typeof element === 'object' && element !== null && 'classes' in element && (Array.isArray(element.classes) || element.classes instanceof minim__WEBPACK_IMPORTED_MODULE_0__.ArrayElement) && element.classes.includes(cls);
15465
15472
  };
15466
- const isElementType = (name, element) => (element === null || element === void 0 ? void 0 : element.element) === name;
15473
+ const isElementType = (name, element) => typeof element === 'object' && element !== null && 'element' in element && element.element === name;
15467
15474
  const createPredicate = predicateCreator => {
15468
- // @ts-ignore
15469
15475
  return predicateCreator({
15470
15476
  hasMethod,
15471
15477
  hasBasicElementProps,
@@ -15616,8 +15622,7 @@ const isPrimitiveElement = element => {
15616
15622
  return (0,_helpers_mjs__WEBPACK_IMPORTED_MODULE_1__.isElementType)('object', element) || (0,_helpers_mjs__WEBPACK_IMPORTED_MODULE_1__.isElementType)('array', element) || (0,_helpers_mjs__WEBPACK_IMPORTED_MODULE_1__.isElementType)('boolean', element) || (0,_helpers_mjs__WEBPACK_IMPORTED_MODULE_1__.isElementType)('number', element) || (0,_helpers_mjs__WEBPACK_IMPORTED_MODULE_1__.isElementType)('string', element) || (0,_helpers_mjs__WEBPACK_IMPORTED_MODULE_1__.isElementType)('null', element) || (0,_helpers_mjs__WEBPACK_IMPORTED_MODULE_1__.isElementType)('member', element);
15617
15623
  };
15618
15624
  const hasElementSourceMap = element => {
15619
- var _element$meta, _element$meta$get;
15620
- return isSourceMapElement(element === null || element === void 0 || (_element$meta = element.meta) === null || _element$meta === void 0 || (_element$meta$get = _element$meta.get) === null || _element$meta$get === void 0 ? void 0 : _element$meta$get.call(_element$meta, 'sourceMap'));
15625
+ return isSourceMapElement(element.meta.get('sourceMap'));
15621
15626
  };
15622
15627
  const includesSymbols = (symbols, element) => {
15623
15628
  if (symbols.length === 0) {
@@ -1 +1 @@
1
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.apidomJsonPointerRelative=e():t.apidomJsonPointerRelative=e()}(self,(()=>(()=>{var t={42:(t,e,r)=>{"use strict";var n=r(5846);t.exports=n},6791:(t,e,r)=>{"use strict";r(4339),r(4242),r(4016),r(8939),r(5454);var n=r(7545);t.exports=n.AggregateError},6762:(t,e,r)=>{"use strict";t.exports=r(3028)},3028:(t,e,r)=>{"use strict";r(2752);var n=r(42);t.exports=n},6235:(t,e,r)=>{"use strict";var n=r(6447),o=r(9288),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a function")}},7757:(t,e,r)=>{"use strict";var n=r(6447),o=String,i=TypeError;t.exports=function(t){if("object"==typeof t||n(t))return t;throw new i("Can't set "+o(t)+" as a prototype")}},7423:t=>{"use strict";t.exports=function(){}},1138:(t,e,r)=>{"use strict";var n=r(5744),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not an object")}},8180:(t,e,r)=>{"use strict";var n=r(101),o=r(7739),i=r(4104),s=function(t){return function(e,r,s){var a,c=n(e),u=i(c),l=o(s,u);if(t&&r!=r){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},9272:(t,e,r)=>{"use strict";var n=r(4120),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},4696:(t,e,r)=>{"use strict";var n=r(3471),o=r(6447),i=r(9272),s=r(8182)("toStringTag"),a=Object,c="Arguments"===i(function(){return arguments}());t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=a(t),s))?r:c?i(e):"Object"===(n=i(e))&&o(e.callee)?"Arguments":n}},7987:(t,e,r)=>{"use strict";var n=r(4500),o=r(3011),i=r(5141),s=r(2760);t.exports=function(t,e,r){for(var a=o(e),c=s.f,u=i.f,l=0;l<a.length;l++){var f=a[l];n(t,f)||r&&n(r,f)||c(t,f,u(e,f))}}},4635:(t,e,r)=>{"use strict";var n=r(6192);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},7271:t=>{"use strict";t.exports=function(t,e){return{value:t,done:e}}},8711:(t,e,r)=>{"use strict";var n=r(69),o=r(2760),i=r(774);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},774:t=>{"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},9362:(t,e,r)=>{"use strict";var n=r(8711);t.exports=function(t,e,r,o){return o&&o.enumerable?t[e]=r:n(t,e,r),t}},5098:(t,e,r)=>{"use strict";var n=r(8576),o=Object.defineProperty;t.exports=function(t,e){try{o(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},69:(t,e,r)=>{"use strict";var n=r(6192);t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8382:t=>{"use strict";var e="object"==typeof document&&document.all,r=void 0===e&&void 0!==e;t.exports={all:e,IS_HTMLDDA:r}},7449:(t,e,r)=>{"use strict";var n=r(8576),o=r(5744),i=n.document,s=o(i)&&o(i.createElement);t.exports=function(t){return s?i.createElement(t):{}}},7365:t=>{"use strict";t.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:t=>{"use strict";t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},4218:(t,e,r)=>{"use strict";var n,o,i=r(8576),s=r(8989),a=i.process,c=i.Deno,u=a&&a.versions||c&&c.version,l=u&&u.v8;l&&(o=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},2952:t=>{"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},4503:(t,e,r)=>{"use strict";var n=r(4120),o=Error,i=n("".replace),s=String(new o("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,c=a.test(s);t.exports=function(t,e){if(c&&"string"==typeof t&&!o.prepareStackTrace)for(;e--;)t=i(t,a,"");return t}},8266:(t,e,r)=>{"use strict";var n=r(8711),o=r(4503),i=r(274),s=Error.captureStackTrace;t.exports=function(t,e,r,a){i&&(s?s(t,e):n(t,"stack",o(r,a)))}},274:(t,e,r)=>{"use strict";var n=r(6192),o=r(774);t.exports=!n((function(){var t=new Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",o(1,7)),7!==t.stack)}))},3085:(t,e,r)=>{"use strict";var n=r(8576),o=r(6298),i=r(4914),s=r(6447),a=r(5141).f,c=r(9245),u=r(7545),l=r(8043),f=r(8711),p=r(4500),h=function(t){var e=function(r,n,i){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,i)}return o(t,this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var r,o,y,m,v,d,b,g,x,E=t.target,j=t.global,w=t.stat,O=t.proto,S=j?n:w?n[E]:(n[E]||{}).prototype,A=j?u:u[E]||f(u,E,{})[E],_=A.prototype;for(m in e)o=!(r=c(j?m:E+(w?".":"#")+m,t.forced))&&S&&p(S,m),d=A[m],o&&(b=t.dontCallGetSet?(x=a(S,m))&&x.value:S[m]),v=o&&b?b:e[m],o&&typeof d==typeof v||(g=t.bind&&o?l(v,n):t.wrap&&o?h(v):O&&s(v)?i(v):v,(t.sham||v&&v.sham||d&&d.sham)&&f(g,"sham",!0),f(A,m,g),O&&(p(u,y=E+"Prototype")||f(u,y,{}),f(u[y],m,v),t.real&&_&&(r||!_[m])&&f(_,m,v)))}},6192:t=>{"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},6298:(t,e,r)=>{"use strict";var n=r(2784),o=Function.prototype,i=o.apply,s=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?s.bind(i):function(){return s.apply(i,arguments)})},8043:(t,e,r)=>{"use strict";var n=r(4914),o=r(6235),i=r(2784),s=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?s(t,e):function(){return t.apply(e,arguments)}}},2784:(t,e,r)=>{"use strict";var n=r(6192);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},8922:(t,e,r)=>{"use strict";var n=r(2784),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},2282:(t,e,r)=>{"use strict";var n=r(69),o=r(4500),i=Function.prototype,s=n&&Object.getOwnPropertyDescriptor,a=o(i,"name"),c=a&&"something"===function(){}.name,u=a&&(!n||n&&s(i,"name").configurable);t.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},6419:(t,e,r)=>{"use strict";var n=r(4120),o=r(6235);t.exports=function(t,e,r){try{return n(o(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},4914:(t,e,r)=>{"use strict";var n=r(9272),o=r(4120);t.exports=function(t){if("Function"===n(t))return o(t)}},4120:(t,e,r)=>{"use strict";var n=r(2784),o=Function.prototype,i=o.call,s=n&&o.bind.bind(i,i);t.exports=n?s:function(t){return function(){return i.apply(t,arguments)}}},150:(t,e,r)=>{"use strict";var n=r(7545),o=r(8576),i=r(6447),s=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?s(n[t])||s(o[t]):n[t]&&n[t][e]||o[t]&&o[t][e]}},8703:(t,e,r)=>{"use strict";var n=r(4696),o=r(5037),i=r(5646),s=r(7771),a=r(8182)("iterator");t.exports=function(t){if(!i(t))return o(t,a)||o(t,"@@iterator")||s[n(t)]}},1669:(t,e,r)=>{"use strict";var n=r(8922),o=r(6235),i=r(1138),s=r(9288),a=r(8703),c=TypeError;t.exports=function(t,e){var r=arguments.length<2?a(t):e;if(o(r))return i(n(r,t));throw new c(s(t)+" is not iterable")}},5037:(t,e,r)=>{"use strict";var n=r(6235),o=r(5646);t.exports=function(t,e){var r=t[e];return o(r)?void 0:n(r)}},8576:function(t,e,r){"use strict";var n=function(t){return t&&t.Math===Math&&t};t.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:(t,e,r)=>{"use strict";var n=r(4120),o=r(1795),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},4535:t=>{"use strict";t.exports={}},7403:(t,e,r)=>{"use strict";var n=r(150);t.exports=n("document","documentElement")},188:(t,e,r)=>{"use strict";var n=r(69),o=r(6192),i=r(7449);t.exports=!n&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},2202:(t,e,r)=>{"use strict";var n=r(4120),o=r(6192),i=r(9272),s=Object,a=n("".split);t.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?a(t,""):s(t)}:s},2643:(t,e,r)=>{"use strict";var n=r(6447),o=r(5744),i=r(4469);t.exports=function(t,e,r){var s,a;return i&&n(s=e.constructor)&&s!==r&&o(a=s.prototype)&&a!==r.prototype&&i(t,a),t}},273:(t,e,r)=>{"use strict";var n=r(5744),o=r(8711);t.exports=function(t,e){n(e)&&"cause"in e&&o(t,"cause",e.cause)}},3326:(t,e,r)=>{"use strict";var n,o,i,s=r(5278),a=r(8576),c=r(5744),u=r(8711),l=r(4500),f=r(6434),p=r(9766),h=r(4535),y="Object already initialized",m=a.TypeError,v=a.WeakMap;if(s||f.state){var d=f.state||(f.state=new v);d.get=d.get,d.has=d.has,d.set=d.set,n=function(t,e){if(d.has(t))throw new m(y);return e.facade=t,d.set(t,e),e},o=function(t){return d.get(t)||{}},i=function(t){return d.has(t)}}else{var b=p("state");h[b]=!0,n=function(t,e){if(l(t,b))throw new m(y);return e.facade=t,u(t,b,e),e},o=function(t){return l(t,b)?t[b]:{}},i=function(t){return l(t,b)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!c(e)||(r=o(e)).type!==t)throw new m("Incompatible receiver, "+t+" required");return r}}}},6109:(t,e,r)=>{"use strict";var n=r(8182),o=r(7771),i=n("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||s[i]===t)}},6447:(t,e,r)=>{"use strict";var n=r(8382),o=n.all;t.exports=n.IS_HTMLDDA?function(t){return"function"==typeof t||t===o}:function(t){return"function"==typeof t}},9245:(t,e,r)=>{"use strict";var n=r(6192),o=r(6447),i=/#|\.prototype\./,s=function(t,e){var r=c[a(t)];return r===l||r!==u&&(o(e)?n(e):!!e)},a=s.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=s.data={},u=s.NATIVE="N",l=s.POLYFILL="P";t.exports=s},5646:t=>{"use strict";t.exports=function(t){return null==t}},5744:(t,e,r)=>{"use strict";var n=r(6447),o=r(8382),i=o.all;t.exports=o.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:n(t)||t===i}:function(t){return"object"==typeof t?null!==t:n(t)}},5546:t=>{"use strict";t.exports=!0},3236:(t,e,r)=>{"use strict";var n=r(150),o=r(6447),i=r(8902),s=r(615),a=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return o(e)&&i(e.prototype,a(t))}},3442:(t,e,r)=>{"use strict";var n=r(8043),o=r(8922),i=r(1138),s=r(9288),a=r(6109),c=r(4104),u=r(8902),l=r(1669),f=r(8703),p=r(6639),h=TypeError,y=function(t,e){this.stopped=t,this.result=e},m=y.prototype;t.exports=function(t,e,r){var v,d,b,g,x,E,j,w=r&&r.that,O=!(!r||!r.AS_ENTRIES),S=!(!r||!r.IS_RECORD),A=!(!r||!r.IS_ITERATOR),_=!(!r||!r.INTERRUPTED),P=n(e,w),k=function(t){return v&&p(v,"normal",t),new y(!0,t)},T=function(t){return O?(i(t),_?P(t[0],t[1],k):P(t[0],t[1])):_?P(t,k):P(t)};if(S)v=t.iterator;else if(A)v=t;else{if(!(d=f(t)))throw new h(s(t)+" is not iterable");if(a(d)){for(b=0,g=c(t);g>b;b++)if((x=T(t[b]))&&u(m,x))return x;return new y(!1)}v=l(t,d)}for(E=S?t.next:v.next;!(j=o(E,v)).done;){try{x=T(j.value)}catch(t){p(v,"throw",t)}if("object"==typeof x&&x&&u(m,x))return x}return new y(!1)}},6639:(t,e,r)=>{"use strict";var n=r(8922),o=r(1138),i=r(5037);t.exports=function(t,e,r){var s,a;o(t);try{if(!(s=i(t,"return"))){if("throw"===e)throw r;return r}s=n(s,t)}catch(t){a=!0,s=t}if("throw"===e)throw r;if(a)throw s;return o(s),r}},5695:(t,e,r)=>{"use strict";var n=r(4413).IteratorPrototype,o=r(2853),i=r(774),s=r(1284),a=r(7771),c=function(){return this};t.exports=function(t,e,r,u){var l=e+" Iterator";return t.prototype=o(n,{next:i(+!u,r)}),s(t,l,!1,!0),a[l]=c,t}},5297:(t,e,r)=>{"use strict";var n=r(3085),o=r(8922),i=r(5546),s=r(2282),a=r(6447),c=r(5695),u=r(9341),l=r(4469),f=r(1284),p=r(8711),h=r(9362),y=r(8182),m=r(7771),v=r(4413),d=s.PROPER,b=s.CONFIGURABLE,g=v.IteratorPrototype,x=v.BUGGY_SAFARI_ITERATORS,E=y("iterator"),j="keys",w="values",O="entries",S=function(){return this};t.exports=function(t,e,r,s,y,v,A){c(r,e,s);var _,P,k,T=function(t){if(t===y&&I)return I;if(!x&&t&&t in C)return C[t];switch(t){case j:case w:case O:return function(){return new r(this,t)}}return function(){return new r(this)}},M=e+" Iterator",N=!1,C=t.prototype,R=C[E]||C["@@iterator"]||y&&C[y],I=!x&&R||T(y),V="Array"===e&&C.entries||R;if(V&&(_=u(V.call(new t)))!==Object.prototype&&_.next&&(i||u(_)===g||(l?l(_,g):a(_[E])||h(_,E,S)),f(_,M,!0,!0),i&&(m[M]=S)),d&&y===w&&R&&R.name!==w&&(!i&&b?p(C,"name",w):(N=!0,I=function(){return o(R,this)})),y)if(P={values:T(w),keys:v?I:T(j),entries:T(O)},A)for(k in P)(x||N||!(k in C))&&h(C,k,P[k]);else n({target:e,proto:!0,forced:x||N},P);return i&&!A||C[E]===I||h(C,E,I,{name:y}),m[e]=I,P}},4413:(t,e,r)=>{"use strict";var n,o,i,s=r(6192),a=r(6447),c=r(5744),u=r(2853),l=r(9341),f=r(9362),p=r(8182),h=r(5546),y=p("iterator"),m=!1;[].keys&&("next"in(i=[].keys())?(o=l(l(i)))!==Object.prototype&&(n=o):m=!0),!c(n)||s((function(){var t={};return n[y].call(t)!==t}))?n={}:h&&(n=u(n)),a(n[y])||f(n,y,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:m}},7771:t=>{"use strict";t.exports={}},4104:(t,e,r)=>{"use strict";var n=r(8445);t.exports=function(t){return n(t.length)}},7679:t=>{"use strict";var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},6016:(t,e,r)=>{"use strict";var n=r(4845);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:n(t)}},2853:(t,e,r)=>{"use strict";var n,o=r(1138),i=r(1187),s=r(2952),a=r(4535),c=r(7403),u=r(7449),l=r(9766),f="prototype",p="script",h=l("IE_PROTO"),y=function(){},m=function(t){return"<"+p+">"+t+"</"+p+">"},v=function(t){t.write(m("")),t.close();var e=t.parentWindow.Object;return t=null,e},d=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;d="undefined"!=typeof document?document.domain&&n?v(n):(e=u("iframe"),r="java"+p+":",e.style.display="none",c.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(m("document.F=Object")),t.close(),t.F):v(n);for(var o=s.length;o--;)delete d[f][s[o]];return d()};a[h]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(y[f]=o(t),r=new y,y[f]=null,r[h]=t):r=d(),void 0===e?r:i.f(r,e)}},1187:(t,e,r)=>{"use strict";var n=r(69),o=r(9600),i=r(2760),s=r(1138),a=r(101),c=r(7653);e.f=n&&!o?Object.defineProperties:function(t,e){s(t);for(var r,n=a(e),o=c(e),u=o.length,l=0;u>l;)i.f(t,r=o[l++],n[r]);return t}},2760:(t,e,r)=>{"use strict";var n=r(69),o=r(188),i=r(9600),s=r(1138),a=r(77),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",h="writable";e.f=n?i?function(t,e,r){if(s(t),e=a(e),s(r),"function"==typeof t&&"prototype"===e&&"value"in r&&h in r&&!r[h]){var n=l(t,e);n&&n[h]&&(t[e]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:f in r?r[f]:n[f],writable:!1})}return u(t,e,r)}:u:function(t,e,r){if(s(t),e=a(e),s(r),o)try{return u(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new c("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},5141:(t,e,r)=>{"use strict";var n=r(69),o=r(8922),i=r(6007),s=r(774),a=r(101),c=r(77),u=r(4500),l=r(188),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=a(t),e=c(e),l)try{return f(t,e)}catch(t){}if(u(t,e))return s(!o(i.f,t,e),t[e])}},2092:(t,e,r)=>{"use strict";var n=r(7934),o=r(2952).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},4750:(t,e)=>{"use strict";e.f=Object.getOwnPropertySymbols},9341:(t,e,r)=>{"use strict";var n=r(4500),o=r(6447),i=r(1795),s=r(9766),a=r(4635),c=s("IE_PROTO"),u=Object,l=u.prototype;t.exports=a?u.getPrototypeOf:function(t){var e=i(t);if(n(e,c))return e[c];var r=e.constructor;return o(r)&&e instanceof r?r.prototype:e instanceof u?l:null}},8902:(t,e,r)=>{"use strict";var n=r(4120);t.exports=n({}.isPrototypeOf)},7934:(t,e,r)=>{"use strict";var n=r(4120),o=r(4500),i=r(101),s=r(8180).indexOf,a=r(4535),c=n([].push);t.exports=function(t,e){var r,n=i(t),u=0,l=[];for(r in n)!o(a,r)&&o(n,r)&&c(l,r);for(;e.length>u;)o(n,r=e[u++])&&(~s(l,r)||c(l,r));return l}},7653:(t,e,r)=>{"use strict";var n=r(7934),o=r(2952);t.exports=Object.keys||function(t){return n(t,o)}},6007:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},4469:(t,e,r)=>{"use strict";var n=r(6419),o=r(1138),i=r(7757);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return o(r),i(n),e?t(r,n):r.__proto__=n,r}}():void 0)},158:(t,e,r)=>{"use strict";var n=r(3471),o=r(4696);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},380:(t,e,r)=>{"use strict";var n=r(8922),o=r(6447),i=r(5744),s=TypeError;t.exports=function(t,e){var r,a;if("string"===e&&o(r=t.toString)&&!i(a=n(r,t)))return a;if(o(r=t.valueOf)&&!i(a=n(r,t)))return a;if("string"!==e&&o(r=t.toString)&&!i(a=n(r,t)))return a;throw new s("Can't convert object to primitive value")}},3011:(t,e,r)=>{"use strict";var n=r(150),o=r(4120),i=r(2092),s=r(4750),a=r(1138),c=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(a(t)),r=s.f;return r?c(e,r(t)):e}},7545:t=>{"use strict";t.exports={}},7656:(t,e,r)=>{"use strict";var n=r(2760).f;t.exports=function(t,e,r){r in t||n(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})}},3209:(t,e,r)=>{"use strict";var n=r(5646),o=TypeError;t.exports=function(t){if(n(t))throw new o("Can't call method on "+t);return t}},1284:(t,e,r)=>{"use strict";var n=r(3471),o=r(2760).f,i=r(8711),s=r(4500),a=r(158),c=r(8182)("toStringTag");t.exports=function(t,e,r,u){if(t){var l=r?t:t.prototype;s(l,c)||o(l,c,{configurable:!0,value:e}),u&&!n&&i(l,"toString",a)}}},9766:(t,e,r)=>{"use strict";var n=r(8717),o=r(2759),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},6434:(t,e,r)=>{"use strict";var n=r(8576),o=r(5098),i="__core-js_shared__",s=n[i]||o(i,{});t.exports=s},8717:(t,e,r)=>{"use strict";var n=r(5546),o=r(6434);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.33.0",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.0/LICENSE",source:"https://github.com/zloirock/core-js"})},863:(t,e,r)=>{"use strict";var n=r(4120),o=r(1941),i=r(4845),s=r(3209),a=n("".charAt),c=n("".charCodeAt),u=n("".slice),l=function(t){return function(e,r){var n,l,f=i(s(e)),p=o(r),h=f.length;return p<0||p>=h?t?"":void 0:(n=c(f,p))<55296||n>56319||p+1===h||(l=c(f,p+1))<56320||l>57343?t?a(f,p):n:t?u(f,p,p+2):l-56320+(n-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}},6770:(t,e,r)=>{"use strict";var n=r(4218),o=r(6192),i=r(8576).String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},7739:(t,e,r)=>{"use strict";var n=r(1941),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},101:(t,e,r)=>{"use strict";var n=r(2202),o=r(3209);t.exports=function(t){return n(o(t))}},1941:(t,e,r)=>{"use strict";var n=r(7679);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},8445:(t,e,r)=>{"use strict";var n=r(1941),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},1795:(t,e,r)=>{"use strict";var n=r(3209),o=Object;t.exports=function(t){return o(n(t))}},7888:(t,e,r)=>{"use strict";var n=r(8922),o=r(5744),i=r(3236),s=r(5037),a=r(380),c=r(8182),u=TypeError,l=c("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var r,c=s(t,l);if(c){if(void 0===e&&(e="default"),r=n(c,t,e),!o(r)||i(r))return r;throw new u("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},77:(t,e,r)=>{"use strict";var n=r(7888),o=r(3236);t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},3471:(t,e,r)=>{"use strict";var n={};n[r(8182)("toStringTag")]="z",t.exports="[object z]"===String(n)},4845:(t,e,r)=>{"use strict";var n=r(4696),o=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},9288:t=>{"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},2759:(t,e,r)=>{"use strict";var n=r(4120),o=0,i=Math.random(),s=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++o+i,36)}},615:(t,e,r)=>{"use strict";var n=r(6770);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},9600:(t,e,r)=>{"use strict";var n=r(69),o=r(6192);t.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5278:(t,e,r)=>{"use strict";var n=r(8576),o=r(6447),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},8182:(t,e,r)=>{"use strict";var n=r(8576),o=r(8717),i=r(4500),s=r(2759),a=r(6770),c=r(615),u=n.Symbol,l=o("wks"),f=c?u.for||u:u&&u.withoutSetter||s;t.exports=function(t){return i(l,t)||(l[t]=a&&i(u,t)?u[t]:f("Symbol."+t)),l[t]}},426:(t,e,r)=>{"use strict";var n=r(150),o=r(4500),i=r(8711),s=r(8902),a=r(4469),c=r(7987),u=r(7656),l=r(2643),f=r(6016),p=r(273),h=r(8266),y=r(69),m=r(5546);t.exports=function(t,e,r,v){var d="stackTraceLimit",b=v?2:1,g=t.split("."),x=g[g.length-1],E=n.apply(null,g);if(E){var j=E.prototype;if(!m&&o(j,"cause")&&delete j.cause,!r)return E;var w=n("Error"),O=e((function(t,e){var r=f(v?e:t,void 0),n=v?new E(t):new E;return void 0!==r&&i(n,"message",r),h(n,O,n.stack,2),this&&s(j,this)&&l(n,this,O),arguments.length>b&&p(n,arguments[b]),n}));if(O.prototype=j,"Error"!==x?a?a(O,w):c(O,w,{name:!0}):y&&d in E&&(u(O,E,d),u(O,E,"prepareStackTrace")),c(O,E),!m)try{j.name!==x&&i(j,"name",x),j.constructor=O}catch(t){}return O}}},4016:(t,e,r)=>{"use strict";var n=r(3085),o=r(150),i=r(6298),s=r(6192),a=r(426),c="AggregateError",u=o(c),l=!s((function(){return 1!==u([1]).errors[0]}))&&s((function(){return 7!==u([1],c,{cause:7}).cause}));n({global:!0,constructor:!0,arity:2,forced:l},{AggregateError:a(c,(function(t){return function(e,r){return i(t,this,arguments)}}),l,!0)})},3820:(t,e,r)=>{"use strict";var n=r(3085),o=r(8902),i=r(9341),s=r(4469),a=r(7987),c=r(2853),u=r(8711),l=r(774),f=r(273),p=r(8266),h=r(3442),y=r(6016),m=r(8182)("toStringTag"),v=Error,d=[].push,b=function(t,e){var r,n=o(g,this);s?r=s(new v,n?i(this):g):(r=n?this:c(g),u(r,m,"Error")),void 0!==e&&u(r,"message",y(e)),p(r,b,r.stack,1),arguments.length>2&&f(r,arguments[2]);var a=[];return h(t,d,{that:a}),u(r,"errors",a),r};s?s(b,v):a(b,v,{name:!0});var g=b.prototype=c(v.prototype,{constructor:l(1,b),message:l(1,""),name:l(1,"AggregateError")});n({global:!0,constructor:!0,arity:2},{AggregateError:b})},4242:(t,e,r)=>{"use strict";r(3820)},8939:(t,e,r)=>{"use strict";var n=r(101),o=r(7423),i=r(7771),s=r(3326),a=r(2760).f,c=r(5297),u=r(7271),l=r(5546),f=r(69),p="Array Iterator",h=s.set,y=s.getterFor(p);t.exports=c(Array,"Array",(function(t,e){h(this,{type:p,target:n(t),index:0,kind:e})}),(function(){var t=y(this),e=t.target,r=t.kind,n=t.index++;if(!e||n>=e.length)return t.target=void 0,u(void 0,!0);switch(r){case"keys":return u(n,!1);case"values":return u(e[n],!1)}return u([n,e[n]],!1)}),"values");var m=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!l&&f&&"values"!==m.name)try{a(m,"name",{value:"values"})}catch(t){}},4339:(t,e,r)=>{"use strict";var n=r(3085),o=r(8576),i=r(6298),s=r(426),a="WebAssembly",c=o[a],u=7!==new Error("e",{cause:7}).cause,l=function(t,e){var r={};r[t]=s(t,e,u),n({global:!0,constructor:!0,arity:1,forced:u},r)},f=function(t,e){if(c&&c[t]){var r={};r[t]=s(a+"."+t,e,u),n({target:a,stat:!0,constructor:!0,arity:1,forced:u},r)}};l("Error",(function(t){return function(e){return i(t,this,arguments)}})),l("EvalError",(function(t){return function(e){return i(t,this,arguments)}})),l("RangeError",(function(t){return function(e){return i(t,this,arguments)}})),l("ReferenceError",(function(t){return function(e){return i(t,this,arguments)}})),l("SyntaxError",(function(t){return function(e){return i(t,this,arguments)}})),l("TypeError",(function(t){return function(e){return i(t,this,arguments)}})),l("URIError",(function(t){return function(e){return i(t,this,arguments)}})),f("CompileError",(function(t){return function(e){return i(t,this,arguments)}})),f("LinkError",(function(t){return function(e){return i(t,this,arguments)}})),f("RuntimeError",(function(t){return function(e){return i(t,this,arguments)}}))},5454:(t,e,r)=>{"use strict";var n=r(863).charAt,o=r(4845),i=r(3326),s=r(5297),a=r(7271),c="String Iterator",u=i.set,l=i.getterFor(c);s(String,"String",(function(t){u(this,{type:c,string:o(t),index:0})}),(function(){var t,e=l(this),r=e.string,o=e.index;return o>=r.length?a(void 0,!0):(t=n(r,o),e.index+=t.length,a(t,!1))}))},2752:(t,e,r)=>{"use strict";r(4242)},162:(t,e,r)=>{"use strict";r(8939);var n=r(7365),o=r(8576),i=r(4696),s=r(8711),a=r(7771),c=r(8182)("toStringTag");for(var u in n){var l=o[u],f=l&&l.prototype;f&&i(f)!==c&&s(f,c,u),a[u]=a.Array}},5846:(t,e,r)=>{"use strict";r(2752);var n=r(6791);r(162),t.exports=n},9515:(t,e,r)=>{var n=r(8761)(r(7772),"DataView");t.exports=n},9612:(t,e,r)=>{var n=r(2118),o=r(6909),i=r(8138),s=r(4174),a=r(7942);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=s,c.prototype.set=a,t.exports=c},235:(t,e,r)=>{var n=r(3945),o=r(1846),i=r(8028),s=r(2344),a=r(4769);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=s,c.prototype.set=a,t.exports=c},326:(t,e,r)=>{var n=r(8761)(r(7772),"Map");t.exports=n},6738:(t,e,r)=>{var n=r(2411),o=r(6417),i=r(6928),s=r(9493),a=r(4150);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=s,c.prototype.set=a,t.exports=c},1985:(t,e,r)=>{var n=r(8761)(r(7772),"Promise");t.exports=n},2143:(t,e,r)=>{var n=r(8761)(r(7772),"Set");t.exports=n},5386:(t,e,r)=>{var n=r(6738),o=r(2842),i=r(2482);function s(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e<r;)this.add(t[e])}s.prototype.add=s.prototype.push=o,s.prototype.has=i,t.exports=s},6571:(t,e,r)=>{var n=r(235),o=r(5243),i=r(2858),s=r(4417),a=r(8605),c=r(1418);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=i,u.prototype.get=s,u.prototype.has=a,u.prototype.set=c,t.exports=u},857:(t,e,r)=>{var n=r(7772).Symbol;t.exports=n},9162:(t,e,r)=>{var n=r(7772).Uint8Array;t.exports=n},3215:(t,e,r)=>{var n=r(8761)(r(7772),"WeakMap");t.exports=n},7552:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,i=[];++r<n;){var s=t[r];e(s,r,t)&&(i[o++]=s)}return i}},1634:(t,e,r)=>{var n=r(6473),o=r(9631),i=r(6152),s=r(3226),a=r(9045),c=r(7598),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=i(t),l=!r&&o(t),f=!r&&!l&&s(t),p=!r&&!l&&!f&&c(t),h=r||l||f||p,y=h?n(t.length,String):[],m=y.length;for(var v in t)!e&&!u.call(t,v)||h&&("length"==v||f&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||a(v,m))||y.push(v);return y}},5067:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}},7064:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}},2218:(t,e,r)=>{var n=r(1225);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},1897:(t,e,r)=>{var n=r(5067),o=r(6152);t.exports=function(t,e,r){var i=e(t);return o(t)?i:n(i,r(t))}},3366:(t,e,r)=>{var n=r(857),o=r(2107),i=r(7157),s=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":s&&s in Object(t)?o(t):i(t)}},5183:(t,e,r)=>{var n=r(3366),o=r(5125);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},8746:(t,e,r)=>{var n=r(1952),o=r(5125);t.exports=function t(e,r,i,s,a){return e===r||(null==e||null==r||!o(e)&&!o(r)?e!=e&&r!=r:n(e,r,i,s,t,a))}},1952:(t,e,r)=>{var n=r(6571),o=r(4871),i=r(1491),s=r(7416),a=r(940),c=r(6152),u=r(3226),l=r(7598),f="[object Arguments]",p="[object Array]",h="[object Object]",y=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,m,v,d){var b=c(t),g=c(e),x=b?p:a(t),E=g?p:a(e),j=(x=x==f?h:x)==h,w=(E=E==f?h:E)==h,O=x==E;if(O&&u(t)){if(!u(e))return!1;b=!0,j=!1}if(O&&!j)return d||(d=new n),b||l(t)?o(t,e,r,m,v,d):i(t,e,x,r,m,v,d);if(!(1&r)){var S=j&&y.call(t,"__wrapped__"),A=w&&y.call(e,"__wrapped__");if(S||A){var _=S?t.value():t,P=A?e.value():e;return d||(d=new n),v(_,P,r,m,d)}}return!!O&&(d||(d=new n),s(t,e,r,m,v,d))}},6840:(t,e,r)=>{var n=r(1049),o=r(7394),i=r(9259),s=r(7035),a=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,f=u.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(n(t)?p:a).test(s(t))}},5522:(t,e,r)=>{var n=r(3366),o=r(1158),i=r(5125),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&o(t.length)&&!!s[n(t)]}},6411:(t,e,r)=>{var n=r(6001),o=r(4248),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var e=[];for(var r in Object(t))i.call(t,r)&&"constructor"!=r&&e.push(r);return e}},6473:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},7826:t=>{t.exports=function(t){return function(e){return t(e)}}},9950:t=>{t.exports=function(t,e){return t.has(e)}},4019:(t,e,r)=>{var n=r(7772)["__core-js_shared__"];t.exports=n},4871:(t,e,r)=>{var n=r(5386),o=r(7064),i=r(9950);t.exports=function(t,e,r,s,a,c){var u=1&r,l=t.length,f=e.length;if(l!=f&&!(u&&f>l))return!1;var p=c.get(t),h=c.get(e);if(p&&h)return p==e&&h==t;var y=-1,m=!0,v=2&r?new n:void 0;for(c.set(t,e),c.set(e,t);++y<l;){var d=t[y],b=e[y];if(s)var g=u?s(b,d,y,e,t,c):s(d,b,y,t,e,c);if(void 0!==g){if(g)continue;m=!1;break}if(v){if(!o(e,(function(t,e){if(!i(v,e)&&(d===t||a(d,t,r,s,c)))return v.push(e)}))){m=!1;break}}else if(d!==b&&!a(d,b,r,s,c)){m=!1;break}}return c.delete(t),c.delete(e),m}},1491:(t,e,r)=>{var n=r(857),o=r(9162),i=r(1225),s=r(4871),a=r(5179),c=r(4207),u=n?n.prototype:void 0,l=u?u.valueOf:void 0;t.exports=function(t,e,r,n,u,f,p){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!f(new o(t),new o(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var h=a;case"[object Set]":var y=1&n;if(h||(h=c),t.size!=e.size&&!y)return!1;var m=p.get(t);if(m)return m==e;n|=2,p.set(t,e);var v=s(h(t),h(e),n,u,f,p);return p.delete(t),v;case"[object Symbol]":if(l)return l.call(t)==l.call(e)}return!1}},7416:(t,e,r)=>{var n=r(3483),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,i,s,a){var c=1&r,u=n(t),l=u.length;if(l!=n(e).length&&!c)return!1;for(var f=l;f--;){var p=u[f];if(!(c?p in e:o.call(e,p)))return!1}var h=a.get(t),y=a.get(e);if(h&&y)return h==e&&y==t;var m=!0;a.set(t,e),a.set(e,t);for(var v=c;++f<l;){var d=t[p=u[f]],b=e[p];if(i)var g=c?i(b,d,p,e,t,a):i(d,b,p,t,e,a);if(!(void 0===g?d===b||s(d,b,r,i,a):g)){m=!1;break}v||(v="constructor"==p)}if(m&&!v){var x=t.constructor,E=e.constructor;x==E||!("constructor"in t)||!("constructor"in e)||"function"==typeof x&&x instanceof x&&"function"==typeof E&&E instanceof E||(m=!1)}return a.delete(t),a.delete(e),m}},1242:(t,e,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;t.exports=n},3483:(t,e,r)=>{var n=r(1897),o=r(633),i=r(249);t.exports=function(t){return n(t,i,o)}},7937:(t,e,r)=>{var n=r(8304);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},8761:(t,e,r)=>{var n=r(6840),o=r(8109);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},2107:(t,e,r)=>{var n=r(857),o=Object.prototype,i=o.hasOwnProperty,s=o.toString,a=n?n.toStringTag:void 0;t.exports=function(t){var e=i.call(t,a),r=t[a];try{t[a]=void 0;var n=!0}catch(t){}var o=s.call(t);return n&&(e?t[a]=r:delete t[a]),o}},633:(t,e,r)=>{var n=r(7552),o=r(981),i=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,a=s?function(t){return null==t?[]:(t=Object(t),n(s(t),(function(e){return i.call(t,e)})))}:o;t.exports=a},940:(t,e,r)=>{var n=r(9515),o=r(326),i=r(1985),s=r(2143),a=r(3215),c=r(3366),u=r(7035),l="[object Map]",f="[object Promise]",p="[object Set]",h="[object WeakMap]",y="[object DataView]",m=u(n),v=u(o),d=u(i),b=u(s),g=u(a),x=c;(n&&x(new n(new ArrayBuffer(1)))!=y||o&&x(new o)!=l||i&&x(i.resolve())!=f||s&&x(new s)!=p||a&&x(new a)!=h)&&(x=function(t){var e=c(t),r="[object Object]"==e?t.constructor:void 0,n=r?u(r):"";if(n)switch(n){case m:return y;case v:return l;case d:return f;case b:return p;case g:return h}return e}),t.exports=x},8109:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},2118:(t,e,r)=>{var n=r(9191);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},6909:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},8138:(t,e,r)=>{var n=r(9191),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},4174:(t,e,r)=>{var n=r(9191),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},7942:(t,e,r)=>{var n=r(9191);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},9045:t=>{var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,r){var n=typeof t;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&e.test(t))&&t>-1&&t%1==0&&t<r}},8304:t=>{t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},7394:(t,e,r)=>{var n,o=r(4019),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!i&&i in t}},6001:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},3945:t=>{t.exports=function(){this.__data__=[],this.size=0}},1846:(t,e,r)=>{var n=r(2218),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},8028:(t,e,r)=>{var n=r(2218);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},2344:(t,e,r)=>{var n=r(2218);t.exports=function(t){return n(this.__data__,t)>-1}},4769:(t,e,r)=>{var n=r(2218);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},2411:(t,e,r)=>{var n=r(9612),o=r(235),i=r(326);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},6417:(t,e,r)=>{var n=r(7937);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},6928:(t,e,r)=>{var n=r(7937);t.exports=function(t){return n(this,t).get(t)}},9493:(t,e,r)=>{var n=r(7937);t.exports=function(t){return n(this,t).has(t)}},4150:(t,e,r)=>{var n=r(7937);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},5179:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}},9191:(t,e,r)=>{var n=r(8761)(Object,"create");t.exports=n},4248:(t,e,r)=>{var n=r(241)(Object.keys,Object);t.exports=n},4146:(t,e,r)=>{t=r.nmd(t);var n=r(1242),o=e&&!e.nodeType&&e,i=o&&t&&!t.nodeType&&t,s=i&&i.exports===o&&n.process,a=function(){try{var t=i&&i.require&&i.require("util").types;return t||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=a},7157:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},241:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},7772:(t,e,r)=>{var n=r(1242),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();t.exports=i},2842:t=>{t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},2482:t=>{t.exports=function(t){return this.__data__.has(t)}},4207:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}},5243:(t,e,r)=>{var n=r(235);t.exports=function(){this.__data__=new n,this.size=0}},2858:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},4417:t=>{t.exports=function(t){return this.__data__.get(t)}},8605:t=>{t.exports=function(t){return this.__data__.has(t)}},1418:(t,e,r)=>{var n=r(235),o=r(326),i=r(6738);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!o||s.length<199)return s.push([t,e]),this.size=++r.size,this;r=this.__data__=new i(s)}return r.set(t,e),this.size=r.size,this}},7035:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},1225:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},9631:(t,e,r)=>{var n=r(5183),o=r(5125),i=Object.prototype,s=i.hasOwnProperty,a=i.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(t){return o(t)&&s.call(t,"callee")&&!a.call(t,"callee")};t.exports=c},6152:t=>{var e=Array.isArray;t.exports=e},7878:(t,e,r)=>{var n=r(1049),o=r(1158);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},4335:(t,e,r)=>{var n=r(3366),o=r(5125);t.exports=function(t){return!0===t||!1===t||o(t)&&"[object Boolean]"==n(t)}},3226:(t,e,r)=>{t=r.nmd(t);var n=r(7772),o=r(6330),i=e&&!e.nodeType&&e,s=i&&t&&!t.nodeType&&t,a=s&&s.exports===i?n.Buffer:void 0,c=(a?a.isBuffer:void 0)||o;t.exports=c},8149:(t,e,r)=>{var n=r(8746);t.exports=function(t,e){return n(t,e)}},1049:(t,e,r)=>{var n=r(3366),o=r(9259);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},1158:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},5877:t=>{t.exports=function(t){return null===t}},537:(t,e,r)=>{var n=r(3366),o=r(5125);t.exports=function(t){return"number"==typeof t||o(t)&&"[object Number]"==n(t)}},9259:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},5125:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},5505:(t,e,r)=>{var n=r(3366),o=r(6152),i=r(5125);t.exports=function(t){return"string"==typeof t||!o(t)&&i(t)&&"[object String]"==n(t)}},7598:(t,e,r)=>{var n=r(5522),o=r(7826),i=r(4146),s=i&&i.isTypedArray,a=s?o(s):n;t.exports=a},249:(t,e,r)=>{var n=r(1634),o=r(6411),i=r(7878);t.exports=function(t){return i(t)?n(t):o(t)}},1570:t=>{t.exports=function(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}},981:t=>{t.exports=function(){return[]}},6330:t=>{t.exports=function(){return!1}},1178:(t,e,r)=>{const n=r(1570);function o(t){return"string"==typeof t?e=>e.element===t:t.constructor&&t.extend?e=>e instanceof t:t}class i{constructor(t){this.elements=t||[]}toValue(){return this.elements.map((t=>t.toValue()))}map(t,e){return this.elements.map(t,e)}flatMap(t,e){return this.map(t,e).reduce(((t,e)=>t.concat(e)),[])}compactMap(t,e){const r=[];return this.forEach((n=>{const o=t.bind(e)(n);o&&r.push(o)})),r}filter(t,e){return t=o(t),new i(this.elements.filter(t,e))}reject(t,e){return t=o(t),new i(this.elements.filter(n(t),e))}find(t,e){return t=o(t),this.elements.find(t,e)}forEach(t,e){this.elements.forEach(t,e)}reduce(t,e){return this.elements.reduce(t,e)}includes(t){return this.elements.some((e=>e.equals(t)))}shift(){return this.elements.shift()}unshift(t){this.elements.unshift(this.refract(t))}push(t){return this.elements.push(this.refract(t)),this}add(t){this.push(t)}get(t){return this.elements[t]}getValue(t){const e=this.elements[t];if(e)return e.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]()}),t.exports=i},3026:t=>{class e{constructor(t,e){this.key=t,this.value=e}clone(){const t=new e;return this.key&&(t.key=this.key.clone()),this.value&&(t.value=this.value.clone()),t}}t.exports=e},5140:(t,e,r)=>{const n=r(5877),o=r(5505),i=r(537),s=r(4335),a=r(9259),c=r(2947),u=r(3756);class l{constructor(t){this.elementMap={},this.elementDetection=[],this.Element=u.Element,this.KeyValuePair=u.KeyValuePair,t&&t.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(t){return t.namespace&&t.namespace({base:this}),t.load&&t.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(o,u.StringElement,!1).detect(i,u.NumberElement,!1).detect(s,u.BooleanElement,!1).detect(Array.isArray,u.ArrayElement,!1).detect(a,u.ObjectElement,!1),this}register(t,e){return this._elements=void 0,this.elementMap[t]=e,this}unregister(t){return this._elements=void 0,delete this.elementMap[t],this}detect(t,e,r){return void 0===r||r?this.elementDetection.unshift([t,e]):this.elementDetection.push([t,e]),this}toElement(t){if(t instanceof this.Element)return t;let e;for(let r=0;r<this.elementDetection.length;r+=1){const n=this.elementDetection[r][0],o=this.elementDetection[r][1];if(n(t)){e=new o(t);break}}return e}getElementClass(t){const e=this.elementMap[t];return void 0===e?this.Element:e}fromRefract(t){return this.serialiser.deserialise(t)}toRefract(t){return this.serialiser.serialise(t)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((t=>{const e=t[0].toUpperCase()+t.substr(1);this._elements[e]=this.elementMap[t]}))),this._elements}get serialiser(){return new c(this)}}c.prototype.Namespace=l,t.exports=l},3853:(t,e,r)=>{const n=r(1570),o=r(1178);class i extends o{map(t,e){return this.elements.map((r=>t.bind(e)(r.value,r.key,r)))}filter(t,e){return new i(this.elements.filter((r=>t.bind(e)(r.value,r.key,r))))}reject(t,e){return this.filter(n(t.bind(e)))}forEach(t,e){return this.elements.forEach(((r,n)=>{t.bind(e)(r.value,r.key,r,n)}))}keys(){return this.map(((t,e)=>e.toValue()))}values(){return this.map((t=>t.toValue()))}}t.exports=i},3756:(t,e,r)=>{const n=r(6420),o=r(4152),i=r(9542),s=r(3710),a=r(3312),c=r(1641),u=r(8858),l=r(3860),f=r(5202),p=r(2320),h=r(1178),y=r(3853),m=r(3026);function v(t){if(t instanceof n)return t;if("string"==typeof t)return new i(t);if("number"==typeof t)return new s(t);if("boolean"==typeof t)return new a(t);if(null===t)return new o;if(Array.isArray(t))return new c(t.map(v));if("object"==typeof t){return new l(t)}return t}n.prototype.ObjectElement=l,n.prototype.RefElement=p,n.prototype.MemberElement=u,n.prototype.refract=v,h.prototype.refract=v,t.exports={Element:n,NullElement:o,StringElement:i,NumberElement:s,BooleanElement:a,ArrayElement:c,MemberElement:u,ObjectElement:l,LinkElement:f,RefElement:p,refract:v,ArraySlice:h,ObjectSlice:y,KeyValuePair:m}},5202:(t,e,r)=>{const n=r(6420);t.exports=class extends n{constructor(t,e,r){super(t||[],e,r),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(t){this.attributes.set("relation",t)}get href(){return this.attributes.get("href")}set href(t){this.attributes.set("href",t)}}},2320:(t,e,r)=>{const n=r(6420);t.exports=class extends n{constructor(t,e,r){super(t||[],e,r),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(t){this.attributes.set("path",t)}}},7952:(t,e,r)=>{const n=r(5140),o=r(3756);e.lS=n,e.KeyValuePair=r(3026),e.O4=o.ArraySlice,e.rm=o.ObjectSlice,e.W_=o.Element,e.RP=o.StringElement,e.VL=o.NumberElement,e.hh=o.BooleanElement,e.zr=o.NullElement,e.ON=o.ArrayElement,e.Sb=o.ObjectElement,e.c6=o.MemberElement,e.tK=o.RefElement,e.EA=o.LinkElement,o.refract,r(2947),r(8910)},1641:(t,e,r)=>{const n=r(1570),o=r(6420),i=r(1178);class s extends o{constructor(t,e,r){super(t||[],e,r),this.element="array"}primitive(){return"array"}get(t){return this.content[t]}getValue(t){const e=this.get(t);if(e)return e.toValue()}getIndex(t){return this.content[t]}set(t,e){return this.content[t]=this.refract(e),this}remove(t){const e=this.content.splice(t,1);return e.length?e[0]:null}map(t,e){return this.content.map(t,e)}flatMap(t,e){return this.map(t,e).reduce(((t,e)=>t.concat(e)),[])}compactMap(t,e){const r=[];return this.forEach((n=>{const o=t.bind(e)(n);o&&r.push(o)})),r}filter(t,e){return new i(this.content.filter(t,e))}reject(t,e){return this.filter(n(t),e)}reduce(t,e){let r,n;void 0!==e?(r=0,n=this.refract(e)):(r=1,n="object"===this.primitive()?this.first.value:this.first);for(let e=r;e<this.length;e+=1){const r=this.content[e];n="object"===this.primitive()?this.refract(t(n,r.value,r.key,r,this)):this.refract(t(n,r,e,this))}return n}forEach(t,e){this.content.forEach(((r,n)=>{t.bind(e)(r,this.refract(n))}))}shift(){return this.content.shift()}unshift(t){this.content.unshift(this.refract(t))}push(t){return this.content.push(this.refract(t)),this}add(t){this.push(t)}findElements(t,e){const r=e||{},n=!!r.recursive,o=void 0===r.results?[]:r.results;return this.forEach(((e,r,i)=>{n&&void 0!==e.findElements&&e.findElements(t,{results:o,recursive:n}),t(e,r,i)&&o.push(e)})),o}find(t){return new i(this.findElements(t,{recursive:!0}))}findByElement(t){return this.find((e=>e.element===t))}findByClass(t){return this.find((e=>e.classes.includes(t)))}getById(t){return this.find((e=>e.id.toValue()===t)).first}includes(t){return this.content.some((e=>e.equals(t)))}contains(t){return this.includes(t)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(t){return new this.constructor(this.content.concat(t.content))}"fantasy-land/concat"(t){return this.concat(t)}"fantasy-land/map"(t){return new this.constructor(this.map(t))}"fantasy-land/chain"(t){return this.map((e=>t(e)),this).reduce(((t,e)=>t.concat(e)),this.empty())}"fantasy-land/filter"(t){return new this.constructor(this.content.filter(t))}"fantasy-land/reduce"(t,e){return this.content.reduce(t,e)}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)}}s.empty=function(){return new this},s["fantasy-land/empty"]=s.empty,"undefined"!=typeof Symbol&&(s.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),t.exports=s},3312:(t,e,r)=>{const n=r(6420);t.exports=class extends n{constructor(t,e,r){super(t,e,r),this.element="boolean"}primitive(){return"boolean"}}},6420:(t,e,r)=>{const n=r(8149),o=r(3026),i=r(1178);class s{constructor(t,e,r){e&&(this.meta=e),r&&(this.attributes=r),this.content=t}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((t=>{t.parent=this,t.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const t=new this.constructor;return t.element=this.element,this.meta.length&&(t._meta=this.meta.clone()),this.attributes.length&&(t._attributes=this.attributes.clone()),this.content?this.content.clone?t.content=this.content.clone():Array.isArray(this.content)?t.content=this.content.map((t=>t.clone())):t.content=this.content:t.content=this.content,t}toValue(){return this.content instanceof s?this.content.toValue():this.content instanceof o?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((t=>t.toValue()),this):this.content}toRef(t){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const e=new this.RefElement(this.id.toValue());return t&&(e.path=t),e}findRecursive(...t){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 e=t.pop();let r=new i;const n=(t,e)=>(t.push(e),t),s=(t,r)=>{r.element===e&&t.push(r);const i=r.findRecursive(e);return i&&i.reduce(n,t),r.content instanceof o&&(r.content.key&&s(t,r.content.key),r.content.value&&s(t,r.content.value)),t};return this.content&&(this.content.element&&s(r,this.content),Array.isArray(this.content)&&this.content.reduce(s,r)),t.isEmpty||(r=r.filter((e=>{let r=e.parents.map((t=>t.element));for(const e in t){const n=t[e],o=r.indexOf(n);if(-1===o)return!1;r=r.splice(0,o)}return!0}))),r}set(t){return this.content=t,this}equals(t){return n(this.toValue(),t)}getMetaProperty(t,e){if(!this.meta.hasKey(t)){if(this.isFrozen){const t=this.refract(e);return t.freeze(),t}this.meta.set(t,e)}return this.meta.get(t)}setMetaProperty(t,e){this.meta.set(t,e)}get element(){return this._storedElement||"element"}set element(t){this._storedElement=t}get content(){return this._content}set content(t){if(t instanceof s)this._content=t;else if(t instanceof i)this.content=t.elements;else if("string"==typeof t||"number"==typeof t||"boolean"==typeof t||"null"===t||null==t)this._content=t;else if(t instanceof o)this._content=t;else if(Array.isArray(t))this._content=t.map(this.refract);else{if("object"!=typeof t)throw new Error("Cannot set content to given value");this._content=Object.keys(t).map((e=>new this.MemberElement(e,t[e])))}}get meta(){if(!this._meta){if(this.isFrozen){const t=new this.ObjectElement;return t.freeze(),t}this._meta=new this.ObjectElement}return this._meta}set meta(t){t instanceof this.ObjectElement?this._meta=t:this.meta.set(t||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const t=new this.ObjectElement;return t.freeze(),t}this._attributes=new this.ObjectElement}return this._attributes}set attributes(t){t instanceof this.ObjectElement?this._attributes=t:this.attributes.set(t||{})}get id(){return this.getMetaProperty("id","")}set id(t){this.setMetaProperty("id",t)}get classes(){return this.getMetaProperty("classes",[])}set classes(t){this.setMetaProperty("classes",t)}get title(){return this.getMetaProperty("title","")}set title(t){this.setMetaProperty("title",t)}get description(){return this.getMetaProperty("description","")}set description(t){this.setMetaProperty("description",t)}get links(){return this.getMetaProperty("links",[])}set links(t){this.setMetaProperty("links",t)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:t}=this;const e=new i;for(;t;)e.push(t),t=t.parent;return e}get children(){if(Array.isArray(this.content))return new i(this.content);if(this.content instanceof o){const t=new i([this.content.key]);return this.content.value&&t.push(this.content.value),t}return this.content instanceof s?new i([this.content]):new i}get recursiveChildren(){const t=new i;return this.children.forEach((e=>{t.push(e),e.recursiveChildren.forEach((e=>{t.push(e)}))})),t}}t.exports=s},8858:(t,e,r)=>{const n=r(3026),o=r(6420);t.exports=class extends o{constructor(t,e,r,o){super(new n,r,o),this.element="member",this.key=t,this.value=e}get key(){return this.content.key}set key(t){this.content.key=this.refract(t)}get value(){return this.content.value}set value(t){this.content.value=this.refract(t)}}},4152:(t,e,r)=>{const n=r(6420);t.exports=class extends n{constructor(t,e,r){super(t||null,e,r),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},3710:(t,e,r)=>{const n=r(6420);t.exports=class extends n{constructor(t,e,r){super(t,e,r),this.element="number"}primitive(){return"number"}}},3860:(t,e,r)=>{const n=r(1570),o=r(9259),i=r(1641),s=r(8858),a=r(3853);t.exports=class extends i{constructor(t,e,r){super(t||[],e,r),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((t,e)=>(t[e.key.toValue()]=e.value?e.value.toValue():void 0,t)),{})}get(t){const e=this.getMember(t);if(e)return e.value}getMember(t){if(void 0!==t)return this.content.find((e=>e.key.toValue()===t))}remove(t){let e=null;return this.content=this.content.filter((r=>r.key.toValue()!==t||(e=r,!1))),e}getKey(t){const e=this.getMember(t);if(e)return e.key}set(t,e){if(o(t))return Object.keys(t).forEach((e=>{this.set(e,t[e])})),this;const r=t,n=this.getMember(r);return n?n.value=e:this.content.push(new s(r,e)),this}keys(){return this.content.map((t=>t.key.toValue()))}values(){return this.content.map((t=>t.value.toValue()))}hasKey(t){return this.content.some((e=>e.key.equals(t)))}items(){return this.content.map((t=>[t.key.toValue(),t.value.toValue()]))}map(t,e){return this.content.map((r=>t.bind(e)(r.value,r.key,r)))}compactMap(t,e){const r=[];return this.forEach(((n,o,i)=>{const s=t.bind(e)(n,o,i);s&&r.push(s)})),r}filter(t,e){return new a(this.content).filter(t,e)}reject(t,e){return this.filter(n(t),e)}forEach(t,e){return this.content.forEach((r=>t.bind(e)(r.value,r.key,r)))}}},9542:(t,e,r)=>{const n=r(6420);t.exports=class extends n{constructor(t,e,r){super(t,e,r),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},8910:(t,e,r)=>{const n=r(2947);t.exports=class extends n{serialise(t){if(!(t instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${t}\` is not an Element instance`);let e;t._attributes&&t.attributes.get("variable")&&(e=t.attributes.get("variable"));const r={element:t.element};t._meta&&t._meta.length>0&&(r.meta=this.serialiseObject(t.meta));const n="enum"===t.element||-1!==t.attributes.keys().indexOf("enumerations");if(n){const e=this.enumSerialiseAttributes(t);e&&(r.attributes=e)}else if(t._attributes&&t._attributes.length>0){let{attributes:n}=t;n.get("metadata")&&(n=n.clone(),n.set("meta",n.get("metadata")),n.remove("metadata")),"member"===t.element&&e&&(n=n.clone(),n.remove("variable")),n.length>0&&(r.attributes=this.serialiseObject(n))}if(n)r.content=this.enumSerialiseContent(t,r);else if(this[`${t.element}SerialiseContent`])r.content=this[`${t.element}SerialiseContent`](t,r);else if(void 0!==t.content){let n;e&&t.content.key?(n=t.content.clone(),n.key.attributes.set("variable",e),n=this.serialiseContent(n)):n=this.serialiseContent(t.content),this.shouldSerialiseContent(t,n)&&(r.content=n)}else this.shouldSerialiseContent(t,t.content)&&t instanceof this.namespace.elements.Array&&(r.content=[]);return r}shouldSerialiseContent(t,e){return"parseResult"===t.element||"httpRequest"===t.element||"httpResponse"===t.element||"category"===t.element||"link"===t.element||void 0!==e&&(!Array.isArray(e)||0!==e.length)}refSerialiseContent(t,e){return delete e.attributes,{href:t.toValue(),path:t.path.toValue()}}sourceMapSerialiseContent(t){return t.toValue()}dataStructureSerialiseContent(t){return[this.serialiseContent(t.content)]}enumSerialiseAttributes(t){const e=t.attributes.clone(),r=e.remove("enumerations")||new this.namespace.elements.Array([]),n=e.get("default");let o=e.get("samples")||new this.namespace.elements.Array([]);if(n&&n.content&&(n.content.attributes&&n.content.attributes.remove("typeAttributes"),e.set("default",new this.namespace.elements.Array([n.content]))),o.forEach((t=>{t.content&&t.content.element&&t.content.attributes.remove("typeAttributes")})),t.content&&0!==r.length&&o.unshift(t.content),o=o.map((t=>t instanceof this.namespace.elements.Array?[t]:new this.namespace.elements.Array([t.content]))),o.length&&e.set("samples",o),e.length>0)return this.serialiseObject(e)}enumSerialiseContent(t){if(t._attributes){const e=t.attributes.get("enumerations");if(e&&e.length>0)return e.content.map((t=>{const e=t.clone();return e.attributes.remove("typeAttributes"),this.serialise(e)}))}if(t.content){const e=t.content.clone();return e.attributes.remove("typeAttributes"),[this.serialise(e)]}return[]}deserialise(t){if("string"==typeof t)return new this.namespace.elements.String(t);if("number"==typeof t)return new this.namespace.elements.Number(t);if("boolean"==typeof t)return new this.namespace.elements.Boolean(t);if(null===t)return new this.namespace.elements.Null;if(Array.isArray(t))return new this.namespace.elements.Array(t.map(this.deserialise,this));const e=this.namespace.getElementClass(t.element),r=new e;r.element!==t.element&&(r.element=t.element),t.meta&&this.deserialiseObject(t.meta,r.meta),t.attributes&&this.deserialiseObject(t.attributes,r.attributes);const n=this.deserialiseContent(t.content);if(void 0===n&&null!==r.content||(r.content=n),"enum"===r.element){r.content&&r.attributes.set("enumerations",r.content);let t=r.attributes.get("samples");if(r.attributes.remove("samples"),t){const n=t;t=new this.namespace.elements.Array,n.forEach((n=>{n.forEach((n=>{const o=new e(n);o.element=r.element,t.push(o)}))}));const o=t.shift();r.content=o?o.content:void 0,r.attributes.set("samples",t)}else r.content=void 0;let n=r.attributes.get("default");if(n&&n.length>0){n=n.get(0);const t=new e(n);t.element=r.element,r.attributes.set("default",t)}}else if("dataStructure"===r.element&&Array.isArray(r.content))[r.content]=r.content;else if("category"===r.element){const t=r.attributes.get("meta");t&&(r.attributes.set("metadata",t),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(t){if(t instanceof this.namespace.elements.Element)return this.serialise(t);if(t instanceof this.namespace.KeyValuePair){const e={key:this.serialise(t.key)};return t.value&&(e.value=this.serialise(t.value)),e}return t&&t.map?t.map(this.serialise,this):t}deserialiseContent(t){if(t){if(t.element)return this.deserialise(t);if(t.key){const e=new this.namespace.KeyValuePair(this.deserialise(t.key));return t.value&&(e.value=this.deserialise(t.value)),e}if(t.map)return t.map(this.deserialise,this)}return t}shouldRefract(t){return!!(t._attributes&&t.attributes.keys().length||t._meta&&t.meta.keys().length)||"enum"!==t.element&&(t.element!==t.primitive()||"member"===t.element)}convertKeyToRefract(t,e){return this.shouldRefract(e)?this.serialise(e):"enum"===e.element?this.serialiseEnum(e):"array"===e.element?e.map((e=>this.shouldRefract(e)||"default"===t?this.serialise(e):"array"===e.element||"object"===e.element||"enum"===e.element?e.children.map((t=>this.serialise(t))):e.toValue())):"object"===e.element?(e.content||[]).map(this.serialise,this):e.toValue()}serialiseEnum(t){return t.children.map((t=>this.serialise(t)))}serialiseObject(t){const e={};return t.forEach(((t,r)=>{if(t){const n=r.toValue();e[n]=this.convertKeyToRefract(n,t)}})),e}deserialiseObject(t,e){Object.keys(t).forEach((r=>{e.set(r,this.deserialise(t[r]))}))}}},2947:t=>{t.exports=class{constructor(t){this.namespace=t||new this.Namespace}serialise(t){if(!(t instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${t}\` is not an Element instance`);const e={element:t.element};t._meta&&t._meta.length>0&&(e.meta=this.serialiseObject(t.meta)),t._attributes&&t._attributes.length>0&&(e.attributes=this.serialiseObject(t.attributes));const r=this.serialiseContent(t.content);return void 0!==r&&(e.content=r),e}deserialise(t){if(!t.element)throw new Error("Given value is not an object containing an element name");const e=new(this.namespace.getElementClass(t.element));e.element!==t.element&&(e.element=t.element),t.meta&&this.deserialiseObject(t.meta,e.meta),t.attributes&&this.deserialiseObject(t.attributes,e.attributes);const r=this.deserialiseContent(t.content);return void 0===r&&null!==e.content||(e.content=r),e}serialiseContent(t){if(t instanceof this.namespace.elements.Element)return this.serialise(t);if(t instanceof this.namespace.KeyValuePair){const e={key:this.serialise(t.key)};return t.value&&(e.value=this.serialise(t.value)),e}if(t&&t.map){if(0===t.length)return;return t.map(this.serialise,this)}return t}deserialiseContent(t){if(t){if(t.element)return this.deserialise(t);if(t.key){const e=new this.namespace.KeyValuePair(this.deserialise(t.key));return t.value&&(e.value=this.deserialise(t.value)),e}if(t.map)return t.map(this.deserialise,this)}return t}serialiseObject(t){const e={};if(t.forEach(((t,r)=>{t&&(e[r.toValue()]=this.serialise(t))})),0!==Object.keys(e).length)return e}deserialiseObject(t,e){Object.keys(t).forEach((r=>{e.set(r,this.deserialise(t[r]))}))}}},6591:t=>{!function(){"use strict";var e,r,n,o,i,s="properties",a="deepProperties",c="propertyDescriptors",u="staticProperties",l="staticDeepProperties",f="staticPropertyDescriptors",p="configuration",h="deepConfiguration",y="deepProps",m="deepStatics",v="deepConf",d="initializers",b="methods",g="composers",x="compose";function E(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[])}function j(t,e){return Array.prototype.slice.call(arguments,2).reduce(t,e)}var w=j.bind(0,(function(t,e){if(e)for(var r=E(e),n=0;n<r.length;n+=1)Object.defineProperty(t,r[n],Object.getOwnPropertyDescriptor(e,r[n]));return t}));function O(t){return"function"==typeof t}function S(t){return t&&"object"==typeof t||O(t)}function A(t){return t&&"object"==typeof t&&t.__proto__==Object.prototype}var _=j.bind(0,(function t(r,n){if(n===e)return r;if(Array.isArray(n))return(Array.isArray(r)?r:[]).concat(n);if(!A(n))return n;for(var o,i,s=E(n),a=0;a<s.length;)o=s[a++],(i=Object.getOwnPropertyDescriptor(n,o)).hasOwnProperty("value")?i.value!==e&&(r[o]=t(A(r[o])||Array.isArray(n[o])?r[o]:{},n[o])):Object.defineProperty(r,o,i);return r}));function P(){return(r=Array.prototype.concat.apply([],arguments).filter((function(t,e,r){return O(t)&&r.indexOf(t)===e}))).length?r:e}function k(t,e){function n(r,n){S(e[r])&&(S(t[r])||(t[r]={}),(n||w)(t[r],e[r]))}function o(n){(r=P(t[n],e[n]))&&(t[n]=r)}return e&&S(e=e[x]||e)&&(n(b),n(s),n(a,_),n(c),n(u),n(l,_),n(f),n(p),n(h,_),o(d),o(g)),t}function T(){return function(t){return r=function t(r){var n,o,i=t[x]||{},u={__proto__:i[b]},l=i[d],f=Array.prototype.slice.apply(arguments),p=i[a];if(p&&_(u,p),(p=i[s])&&w(u,p),(p=i[c])&&Object.defineProperties(u,p),!l||!l.length)return u;for(r===e&&(r={}),i=0;i<l.length;)O(n=l[i++])&&(u=(o=n.call(u,r,{instance:u,stamp:t,args:f}))===e?u:o);return u},(n=t[l])&&_(r,n),(n=t[u])&&w(r,n),(n=t[f])&&Object.defineProperties(r,n),n=O(r[x])?r[x]:T,w(r[x]=function(){return n.apply(this,arguments)},t),r}(Array.prototype.concat.apply([this],arguments).reduce(k,{}))}function M(t){return O(t)&&O(t[x])}var N={};function C(t,i){return function(){return(o={})[t]=i.apply(e,Array.prototype.concat.apply([{}],arguments)),((r=this)&&r[x]||n).call(r,o)}}N[b]=C(b,w),N[s]=N.props=C(s,w),N[d]=N.init=C(d,P),N[g]=C(g,P),N[a]=N[y]=C(a,_),N[u]=N.statics=C(u,w),N[l]=N[m]=C(l,_),N[p]=N.conf=C(p,w),N[h]=N[v]=C(h,_),N[c]=C(c,w),N[f]=C(f,w),n=N[x]=w((function(){for(var t,E,j=0,O=[],A=arguments,k=this;j<A.length;)S(t=A[j++])&&O.push(M(t)?t:((o={})[b]=(E=t)[b]||e,n=E.props,o[s]=S((r=E[s])||n)?w({},n,r):e,o[d]=P(E.init,E[d]),o[g]=P(E[g]),n=E[y],o[a]=S((r=E[a])||n)?_({},n,r):e,o[c]=E[c],n=E.statics,o[u]=S((r=E[u])||n)?w({},n,r):e,n=E[m],o[l]=S((r=E[l])||n)?_({},n,r):e,r=E[f],o[f]=S((n=E.name&&{name:{value:E.name}})||r)?w({},r,n):e,n=E.conf,o[p]=S((r=E[p])||n)?w({},n,r):e,n=E[v],o[h]=S((r=E[h])||n)?_({},n,r):e,o));if(t=T.apply(k||i,O),k&&O.unshift(k),Array.isArray(A=t[x][g]))for(j=0;j<A.length;)t=M(k=A[j++]({stamp:t,composables:O}))?k:t;return t}),N),N.create=function(){return this.apply(e,arguments)},(o={})[u]=N,i=T(o),n[x]=n.bind(),n.version="4.3.2","object"!=typeof e?t.exports=n:self.stampit=n}()},1427:(t,e,r)=>{t.exports=r(6762)}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={id:n,loaded:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var n={};return(()=>{"use strict";r.r(n),r.d(n,{CompilationRelativeJsonPointerError:()=>yr,EvaluationRelativeJsonPointerError:()=>hr,InvalidRelativeJsonPointerError:()=>Yt,RelativeJsonPointerError:()=>Ht,compile:()=>Nr,evaluate:()=>an,isRelativeJsonPointer:()=>_r,parse:()=>Pr});var t={};function e(t){return null!=t&&"object"==typeof t&&!0===t["@@functional/placeholder"]}function o(t){return function r(n){return 0===arguments.length||e(n)?r:t.apply(this,arguments)}}function i(t){return function r(n,i){switch(arguments.length){case 0:return r;case 1:return e(n)?r:o((function(e){return t(n,e)}));default:return e(n)&&e(i)?r:e(n)?o((function(e){return t(e,i)})):e(i)?o((function(e){return t(n,e)})):t(n,i)}}}r.r(t),r.d(t,{hasElementSourceMap:()=>Re,includesClasses:()=>Ve,includesSymbols:()=>Ie,isAnnotationElement:()=>ke,isArrayElement:()=>Se,isBooleanElement:()=>we,isCommentElement:()=>Te,isElement:()=>ge,isLinkElement:()=>_e,isMemberElement:()=>Ae,isNullElement:()=>je,isNumberElement:()=>Ee,isObjectElement:()=>Oe,isParseResultElement:()=>Me,isPrimitiveElement:()=>Ce,isRefElement:()=>Pe,isSourceMapElement:()=>Ne,isStringElement:()=>xe});var s=i((function(t,e){for(var r={},n={},o=0,i=t.length;o<i;)n[t[o]]=1,o+=1;for(var s in e)n.hasOwnProperty(s)||(r[s]=e[s]);return r}));const a=s;const c=o((function(t){return null==t}));var u=i((function(t,e){return!c(e)&&t in e}));const l=u;function f(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(t){return e.apply(this,arguments)};case 2:return function(t,r){return e.apply(this,arguments)};case 3:return function(t,r,n){return e.apply(this,arguments)};case 4:return function(t,r,n,o){return e.apply(this,arguments)};case 5:return function(t,r,n,o,i){return e.apply(this,arguments)};case 6:return function(t,r,n,o,i,s){return e.apply(this,arguments)};case 7:return function(t,r,n,o,i,s,a){return e.apply(this,arguments)};case 8:return function(t,r,n,o,i,s,a,c){return e.apply(this,arguments)};case 9:return function(t,r,n,o,i,s,a,c,u){return e.apply(this,arguments)};case 10:return function(t,r,n,o,i,s,a,c,u,l){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function p(t,e){return function(){return e.call(this,t.apply(this,arguments))}}function h(t){return function r(n,s,a){switch(arguments.length){case 0:return r;case 1:return e(n)?r:i((function(e,r){return t(n,e,r)}));case 2:return e(n)&&e(s)?r:e(n)?i((function(e,r){return t(e,s,r)})):e(s)?i((function(e,r){return t(n,e,r)})):o((function(e){return t(n,s,e)}));default:return e(n)&&e(s)&&e(a)?r:e(n)&&e(s)?i((function(e,r){return t(e,r,a)})):e(n)&&e(a)?i((function(e,r){return t(e,s,r)})):e(s)&&e(a)?i((function(e,r){return t(n,e,r)})):e(n)?o((function(e){return t(e,s,a)})):e(s)?o((function(e){return t(n,e,a)})):e(a)?o((function(e){return t(n,s,e)})):t(n,s,a)}}}const y=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)};function m(t){return"[object String]"===Object.prototype.toString.call(t)}const v=o((function(t){return!!y(t)||!!t&&("object"==typeof t&&(!m(t)&&(0===t.length||t.length>0&&(t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1)))))}));var d="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function b(t,e,r){return function(n,o,i){if(v(i))return t(n,o,i);if(null==i)return o;if("function"==typeof i["fantasy-land/reduce"])return e(n,o,i,"fantasy-land/reduce");if(null!=i[d])return r(n,o,i[d]());if("function"==typeof i.next)return r(n,o,i);if("function"==typeof i.reduce)return e(n,o,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function g(t,e,r){for(var n=0,o=r.length;n<o;){if((e=t["@@transducer/step"](e,r[n]))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n+=1}return t["@@transducer/result"](e)}const x=i((function(t,e){return f(t.length,(function(){return t.apply(e,arguments)}))}));function E(t,e,r){for(var n=r.next();!n.done;){if((e=t["@@transducer/step"](e,n.value))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n=r.next()}return t["@@transducer/result"](e)}function j(t,e,r,n){return t["@@transducer/result"](r[n](x(t["@@transducer/step"],t),e))}const w=b(g,j,E);var O=function(){function t(t){this.f=t}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(t){return t},t.prototype["@@transducer/step"]=function(t,e){return this.f(t,e)},t}();const S=h((function(t,e,r){return w("function"==typeof t?new O(t):t,e,r)}));function A(t,e){return function(){var r=arguments.length;if(0===r)return e();var n=arguments[r-1];return y(n)||"function"!=typeof n[t]?e.apply(this,arguments):n[t].apply(n,Array.prototype.slice.call(arguments,0,r-1))}}const _=h(A("slice",(function(t,e,r){return Array.prototype.slice.call(r,t,e)})));const P=o(A("tail",_(1,1/0)));function k(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return f(arguments[0].length,S(p,arguments[0],P(arguments)))}const T=o((function(t){return null===t?"Null":void 0===t?"Undefined":Object.prototype.toString.call(t).slice(8,-1)}));const M="function"==typeof Object.is?Object.is:function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};var N=function(t,e){switch(arguments.length){case 0:return N;case 1:return function e(r){return 0===arguments.length?e:M(t,r)};default:return M(t,e)}};const C=N;function R(t){for(var e,r=[];!(e=t.next()).done;)r.push(e.value);return r}function I(t,e,r){for(var n=0,o=r.length;n<o;){if(t(e,r[n]))return!0;n+=1}return!1}function V(t,e){return Object.prototype.hasOwnProperty.call(e,t)}var F=Object.prototype.toString;const z=function(){return"[object Arguments]"===F.call(arguments)?function(t){return"[object Arguments]"===F.call(t)}:function(t){return V("callee",t)}}();var L=!{toString:null}.propertyIsEnumerable("toString"),D=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],B=function(){return arguments.propertyIsEnumerable("length")}(),q=function(t,e){for(var r=0;r<t.length;){if(t[r]===e)return!0;r+=1}return!1},U="function"!=typeof Object.keys||B?o((function(t){if(Object(t)!==t)return[];var e,r,n=[],o=B&&z(t);for(e in t)!V(e,t)||o&&"length"===e||(n[n.length]=e);if(L)for(r=D.length-1;r>=0;)V(e=D[r],t)&&!q(n,e)&&(n[n.length]=e),r-=1;return n})):o((function(t){return Object(t)!==t?[]:Object.keys(t)}));const G=U;function $(t,e,r,n){var o=R(t);function i(t,e){return J(t,e,r.slice(),n.slice())}return!I((function(t,e){return!I(i,e,t)}),R(e),o)}function J(t,e,r,n){if(M(t,e))return!0;var o,i,s=T(t);if(s!==T(e))return!1;if("function"==typeof t["fantasy-land/equals"]||"function"==typeof e["fantasy-land/equals"])return"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e)&&"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t);if("function"==typeof t.equals||"function"==typeof e.equals)return"function"==typeof t.equals&&t.equals(e)&&"function"==typeof e.equals&&e.equals(t);switch(s){case"Arguments":case"Array":case"Object":if("function"==typeof t.constructor&&"Promise"===(o=t.constructor,null==(i=String(o).match(/^function (\w*)/))?"":i[1]))return t===e;break;case"Boolean":case"Number":case"String":if(typeof t!=typeof e||!M(t.valueOf(),e.valueOf()))return!1;break;case"Date":if(!M(t.valueOf(),e.valueOf()))return!1;break;case"Error":return t.name===e.name&&t.message===e.message;case"RegExp":if(t.source!==e.source||t.global!==e.global||t.ignoreCase!==e.ignoreCase||t.multiline!==e.multiline||t.sticky!==e.sticky||t.unicode!==e.unicode)return!1}for(var a=r.length-1;a>=0;){if(r[a]===t)return n[a]===e;a-=1}switch(s){case"Map":return t.size===e.size&&$(t.entries(),e.entries(),r.concat([t]),n.concat([e]));case"Set":return t.size===e.size&&$(t.values(),e.values(),r.concat([t]),n.concat([e]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var c=G(t);if(c.length!==G(e).length)return!1;var u=r.concat([t]),l=n.concat([e]);for(a=c.length-1;a>=0;){var f=c[a];if(!V(f,e)||!J(e[f],t[f],u,l))return!1;a-=1}return!0}const K=i((function(t,e){return J(t,e,[],[])}));function W(t,e){return function(t,e,r){var n,o;if("function"==typeof t.indexOf)switch(typeof e){case"number":if(0===e){for(n=1/e;r<t.length;){if(0===(o=t[r])&&1/o===n)return r;r+=1}return-1}if(e!=e){for(;r<t.length;){if("number"==typeof(o=t[r])&&o!=o)return r;r+=1}return-1}return t.indexOf(e,r);case"string":case"boolean":case"function":case"undefined":return t.indexOf(e,r);case"object":if(null===e)return t.indexOf(e,r)}for(;r<t.length;){if(K(t[r],e))return r;r+=1}return-1}(e,t,0)>=0}function H(t,e){for(var r=0,n=e.length,o=Array(n);r<n;)o[r]=t(e[r]),r+=1;return o}function Y(t){return'"'+t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var X=function(t){return(t<10?"0":"")+t};const Z="function"==typeof Date.prototype.toISOString?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+X(t.getUTCMonth()+1)+"-"+X(t.getUTCDate())+"T"+X(t.getUTCHours())+":"+X(t.getUTCMinutes())+":"+X(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function Q(t,e,r){for(var n=0,o=r.length;n<o;)e=t(e,r[n]),n+=1;return e}function tt(t,e,r){return function(){if(0===arguments.length)return r();var n=arguments[arguments.length-1];if(!y(n)){for(var o=0;o<t.length;){if("function"==typeof n[t[o]])return n[t[o]].apply(n,Array.prototype.slice.call(arguments,0,-1));o+=1}if(function(t){return null!=t&&"function"==typeof t["@@transducer/step"]}(n))return e.apply(null,Array.prototype.slice.call(arguments,0,-1))(n)}return r.apply(this,arguments)}}function et(t){return"[object Object]"===Object.prototype.toString.call(t)}const rt=function(){return this.xf["@@transducer/init"]()},nt=function(t){return this.xf["@@transducer/result"](t)};var ot=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=rt,t.prototype["@@transducer/result"]=nt,t.prototype["@@transducer/step"]=function(t,e){return this.f(e)?this.xf["@@transducer/step"](t,e):t},t}();function it(t){return function(e){return new ot(t,e)}}const st=i(tt(["fantasy-land/filter","filter"],it,(function(t,e){return et(e)?Q((function(r,n){return t(e[n])&&(r[n]=e[n]),r}),{},G(e)):function(t,e){for(var r=0,n=e.length,o=[];r<n;)t(e[r])&&(o[o.length]=e[r]),r+=1;return o}(t,e)})));const at=i((function(t,e){return st((r=t,function(){return!r.apply(this,arguments)}),e);var r}));function ct(t,e){var r=function(r){var n=e.concat([t]);return W(r,n)?"<Circular>":ct(r,n)},n=function(t,e){return H((function(e){return Y(e)+": "+r(t[e])}),e.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+H(r,t).join(", ")+"))";case"[object Array]":return"["+H(r,t).concat(n(t,at((function(t){return/^\d+$/.test(t)}),G(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+r(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?r(NaN):Y(Z(t)))+")";case"[object Map]":return"new Map("+r(Array.from(t))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+r(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object Set]":return"new Set("+r(Array.from(t).sort())+")";case"[object String]":return"object"==typeof t?"new String("+r(t.valueOf())+")":Y(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var o=t.toString();if("[object Object]"!==o)return o}return"{"+n(t,G(t)).join(", ")+"}"}}const ut=o((function(t){return ct(t,[])})),lt=Number.isInteger||function(t){return t<<0===t};const ft=i((function(t,e){var r=t<0?e.length+t:t;return m(e)?e.charAt(r):e[r]}));const pt=i((function(t,e){return t.map((function(t){for(var r,n=e,o=0;o<t.length;){if(null==n)return;r=t[o],n=lt(r)?ft(r,n):n[r],o+=1}return n}))}));const ht=i((function(t,e){return pt([t],e)[0]}));const yt=h((function(t,e,r){return t(ht(e,r))}));function mt(t){var e=Object.prototype.toString.call(t);return"[object Function]"===e||"[object AsyncFunction]"===e||"[object GeneratorFunction]"===e||"[object AsyncGeneratorFunction]"===e}const vt=i((function(t,e){return t&&e}));function dt(t,e,r){for(var n=r.next();!n.done;)e=t(e,n.value),n=r.next();return e}function bt(t,e,r,n){return r[n](t,e)}const gt=b(Q,bt,dt);var xt=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=rt,t.prototype["@@transducer/result"]=nt,t.prototype["@@transducer/step"]=function(t,e){return this.xf["@@transducer/step"](t,this.f(e))},t}();const Et=function(t){return function(e){return new xt(t,e)}};function jt(t,r,n){return function(){for(var o=[],i=0,s=t,a=0,c=!1;a<r.length||i<arguments.length;){var u;a<r.length&&(!e(r[a])||i>=arguments.length)?u=r[a]:(u=arguments[i],i+=1),o[a]=u,e(u)?c=!0:s-=1,a+=1}return!c&&s<=0?n.apply(this,o):f(Math.max(0,s),jt(t,o,n))}}const wt=i((function(t,e){return 1===t?o(e):f(t,jt(t,[],e))}));const Ot=i(tt(["fantasy-land/map","map"],Et,(function(t,e){switch(Object.prototype.toString.call(e)){case"[object Function]":return wt(e.length,(function(){return t.call(this,e.apply(this,arguments))}));case"[object Object]":return Q((function(r,n){return r[n]=t(e[n]),r}),{},G(e));default:return H(t,e)}})));const St=i((function(t,e){return"function"==typeof e["fantasy-land/ap"]?e["fantasy-land/ap"](t):"function"==typeof t.ap?t.ap(e):"function"==typeof t?function(r){return t(r)(e(r))}:gt((function(t,r){return function(t,e){var r;e=e||[];var n=(t=t||[]).length,o=e.length,i=[];for(r=0;r<n;)i[i.length]=t[r],r+=1;for(r=0;r<o;)i[i.length]=e[r],r+=1;return i}(t,Ot(r,e))}),[],t)}));const At=i((function(t,e){var r=wt(t,e);return wt(t,(function(){return Q(St,Ot(r,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const _t=o((function(t){return At(t.length,t)}));const Pt=i((function(t,e){return mt(t)?function(){return t.apply(this,arguments)&&e.apply(this,arguments)}:_t(vt)(t,e)}));const kt=K(null);const Tt=_t(o((function(t){return!t})));var Mt=Tt(kt);function Nt(t){return Nt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Nt(t)}const Ct=wt(1,Pt(Mt,(function(t){return"object"===Nt(t)})));const Rt=i((function(t,e){if(t===e)return e;function r(t,e){if(t>e!=e>t)return e>t?e:t}var n=r(t,e);if(void 0!==n)return n;var o=r(typeof t,typeof e);if(void 0!==o)return o===typeof t?t:e;var i=ut(t),s=r(i,ut(e));return void 0!==s&&s===i?t:e}));const It=i((function(t,e){if(null!=e)return lt(t)?ft(t,e):e[t]}));const Vt=i((function(t,e){return Ot(It(t),e)}));const Ft=o((function(t){return wt(S(Rt,0,Vt("length",t)),(function(){for(var e=0,r=t.length;e<r;){if(t[e].apply(this,arguments))return!0;e+=1}return!1}))}));const zt=wt(1,k(T,C("GeneratorFunction")));const Lt=wt(1,k(T,C("AsyncFunction")));const Dt=Ft([k(T,C("Function")),zt,Lt]);var Bt=k(T,C("Object")),qt=yt(Pt(Dt,k(ut,K(ut(Object)))),["constructor"]);const Ut=wt(1,(function(t){if(!Ct(t)||!Bt(t))return!1;var e=Object.getPrototypeOf(t);return!!kt(e)||qt(e)}));var Gt=r(1427);const $t=class extends Gt{constructor(t,e,r){if(super(t,e,r),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,Ut(r)&&l("cause",r)&&!l("cause",this)){const{cause:t}=r;this.cause=t,t instanceof Error&&l("stack",t)&&(this.stack=`${this.stack}\nCAUSE: ${null==t?void 0:t.stack}`)}}};class Jt extends Error{static[Symbol.hasInstance](t){return super[Symbol.hasInstance](t)||Function.prototype[Symbol.hasInstance].call($t,t)}constructor(t,e){if(super(t,e),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,Ut(e)&&l("cause",e)&&!l("cause",this)){const{cause:t}=e;this.cause=t,t instanceof Error&&l("stack",t)&&(this.stack=`${this.stack}\nCAUSE: ${null==t?void 0:t.stack}`)}}}const Kt=Jt;const Wt=class extends Kt{constructor(t,e){super(t,e),void 0!==e&&Object.assign(this,a(["cause"],e))}};const Ht=class extends Wt{};class Yt extends Ht{constructor(t,e){super(t,e),void 0!==e&&(this.relativePointer=e.relativePointer)}}var Xt=r(7952);function Zt(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}var Qt=function(){function t(t,e){this.xf=e,this.f=t,this.all=!0}return t.prototype["@@transducer/init"]=rt,t.prototype["@@transducer/result"]=function(t){return this.all&&(t=this.xf["@@transducer/step"](t,!0)),this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){return this.f(e)||(this.all=!1,t=Zt(this.xf["@@transducer/step"](t,!1))),t},t}();function te(t){return function(e){return new Qt(t,e)}}const ee=i(tt(["all"],te,(function(t,e){for(var r=0;r<e.length;){if(!t(e[r]))return!1;r+=1}return!0})));const re=o((function(t){return wt(t.length,(function(e,r){var n=Array.prototype.slice.call(arguments,0);return n[0]=r,n[1]=e,t.apply(this,n)}))}))(i(W));class ne extends Xt.RP{constructor(t,e,r){super(t,e,r),this.element="annotation"}get code(){return this.attributes.get("code")}set code(t){this.attributes.set("code",t)}}const oe=ne;class ie extends Xt.RP{constructor(t,e,r){super(t,e,r),this.element="comment"}}const se=ie;var ae=o((function(t){return function(){return t}}))(void 0);const ce=K(ae());class ue extends Xt.ON{constructor(t,e,r){super(t,e,r),this.element="parseResult"}get api(){return this.children.filter((t=>t.classes.contains("api"))).first}get results(){return this.children.filter((t=>t.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((t=>"annotation"===t.element))}get warnings(){return this.children.filter((t=>"annotation"===t.element&&t.classes.contains("warning")))}get errors(){return this.children.filter((t=>"annotation"===t.element&&t.classes.contains("error")))}get isEmpty(){return this.children.reject((t=>"annotation"===t.element)).isEmpty}replaceResult(t){const{result:e}=this;if(ce(e))return!1;const r=this.content.findIndex((t=>t===e));return-1!==r&&(this.content[r]=t,!0)}}const le=ue;class fe extends Xt.ON{constructor(t,e,r){super(t,e,r),this.element="sourceMap"}get positionStart(){return this.children.filter((t=>t.classes.contains("position"))).get(0)}get positionEnd(){return this.children.filter((t=>t.classes.contains("position"))).get(1)}set position(t){if(null===t)return;const e=new Xt.ON([t.start.row,t.start.column,t.start.char]),r=new Xt.ON([t.end.row,t.end.column,t.end.char]);e.classes.push("position"),r.classes.push("position"),this.push(e).push(r)}}const pe=fe,he=(t,e)=>"function"==typeof(null==e?void 0:e[t]),ye=t=>null!=t&&Object.prototype.hasOwnProperty.call(t,"_storedElement")&&Object.prototype.hasOwnProperty.call(t,"_content"),me=(t,e)=>{var r;return(null==e||null===(r=e.primitive)||void 0===r?void 0:r.call(e))===t},ve=(t,e)=>{var r,n;return(null==e||null===(r=e.classes)||void 0===r||null===(n=r.includes)||void 0===n?void 0:n.call(r,t))||!1},de=(t,e)=>(null==e?void 0:e.element)===t,be=t=>t({hasMethod:he,hasBasicElementProps:ye,primitiveEq:me,isElementType:de,hasClass:ve}),ge=be((({hasBasicElementProps:t,primitiveEq:e})=>r=>r instanceof Xt.W_||t(r)&&e(void 0,r))),xe=be((({hasBasicElementProps:t,primitiveEq:e})=>r=>r instanceof Xt.RP||t(r)&&e("string",r))),Ee=be((({hasBasicElementProps:t,primitiveEq:e})=>r=>r instanceof Xt.VL||t(r)&&e("number",r))),je=be((({hasBasicElementProps:t,primitiveEq:e})=>r=>r instanceof Xt.zr||t(r)&&e("null",r))),we=be((({hasBasicElementProps:t,primitiveEq:e})=>r=>r instanceof Xt.hh||t(r)&&e("boolean",r))),Oe=be((({hasBasicElementProps:t,primitiveEq:e,hasMethod:r})=>n=>n instanceof Xt.Sb||t(n)&&e("object",n)&&r("keys",n)&&r("values",n)&&r("items",n))),Se=be((({hasBasicElementProps:t,primitiveEq:e,hasMethod:r})=>n=>n instanceof Xt.ON&&!(n instanceof Xt.Sb)||t(n)&&e("array",n)&&r("push",n)&&r("unshift",n)&&r("map",n)&&r("reduce",n))),Ae=be((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Xt.c6||t(n)&&e("member",n)&&r(void 0,n))),_e=be((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Xt.EA||t(n)&&e("link",n)&&r(void 0,n))),Pe=be((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Xt.tK||t(n)&&e("ref",n)&&r(void 0,n))),ke=be((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof oe||t(n)&&e("annotation",n)&&r("array",n))),Te=be((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof se||t(n)&&e("comment",n)&&r("string",n))),Me=be((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof le||t(n)&&e("parseResult",n)&&r("array",n))),Ne=be((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof pe||t(n)&&e("sourceMap",n)&&r("array",n))),Ce=t=>de("object",t)||de("array",t)||de("boolean",t)||de("number",t)||de("string",t)||de("null",t)||de("member",t),Re=t=>{var e,r;return Ne(null==t||null===(e=t.meta)||void 0===e||null===(r=e.get)||void 0===r?void 0:r.call(e,"sourceMap"))},Ie=(t,e)=>{if(0===t.length)return!0;const r=e.attributes.get("symbols");return!!Se(r)&&ee(re(r.toValue()),t)},Ve=(t,e)=>0===t.length||ee(re(e.classes.toValue()),t);var Fe=r(6591);const ze=function(){return!0};const Le=function(){return!1};const De=wt(1,k(T,C("String"))),Be=(t,e,r)=>{const n=t[e];if(null!=n){if(!r&&"function"==typeof n)return n;const t=r?n.leave:n.enter;if("function"==typeof t)return t}else{const n=r?t.leave:t.enter;if(null!=n){if("function"==typeof n)return n;const t=n[e];if("function"==typeof t)return t}}return null},qe={},Ue=t=>null==t?void 0:t.type,Ge=t=>"string"==typeof Ue(t),$e=t=>Object.create(Object.getPrototypeOf(t),Object.getOwnPropertyDescriptors(t)),Je=(t,e,{keyMap:r=null,state:n={},breakSymbol:o=qe,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:s=!1,visitFnGetter:a=Be,nodeTypeGetter:c=Ue,nodePredicate:u=Ge,nodeCloneFn:l=$e,detectCycles:f=!0}={})=>{const p=r||{};let h,y,m=Array.isArray(t),v=[t],d=-1,b=[],g=t;const x=[],E=[];do{d+=1;const t=d===v.length;let r;const w=t&&0!==b.length;if(t){if(r=0===E.length?void 0:x.pop(),g=y,y=E.pop(),w)if(m){g=g.slice();let t=0;for(const[e,r]of b){const n=e-t;r===i?(g.splice(n,1),t+=1):g[n]=r}}else{g=l(g);for(const[t,e]of b)g[t]=e}d=h.index,v=h.keys,b=h.edits,m=h.inArray,h=h.prev}else if(y!==i&&void 0!==y){if(r=m?d:v[d],g=y[r],g===i||void 0===g)continue;x.push(r)}if(E.includes(g))continue;let O;if(!Array.isArray(g)){if(!u(g))throw new Kt(`Invalid AST Node: ${JSON.stringify(g)}`);if(f&&E.includes(g)){x.pop();continue}const i=a(e,c(g),t);if(i){for(const[t,r]of Object.entries(n))e[t]=r;O=i.call(e,g,r,y,x,E)}if(O===o)break;if(O===s){if(!t){x.pop();continue}}else if(void 0!==O&&(b.push([r,O]),!t)){if(!u(O)){x.pop();continue}g=O}}var j;if(void 0===O&&w&&b.push([r,g]),!t)h={inArray:m,index:d,keys:v,edits:b,prev:h},m=Array.isArray(g),v=m?g:null!==(j=p[c(g)])&&void 0!==j?j:[],d=-1,b=[],y!==i&&void 0!==y&&E.push(y),y=g}while(void 0!==h);return 0!==b.length?b.at(-1)[1]:t};Je[Symbol.for("nodejs.util.promisify.custom")]=async(t,e,{keyMap:r=null,state:n={},breakSymbol:o=qe,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:s=!1,visitFnGetter:a=Be,nodeTypeGetter:c=Ue,nodePredicate:u=Ge,nodeCloneFn:l=$e,detectCycles:f=!0}={})=>{const p=r||{};let h,y,m=Array.isArray(t),v=[t],d=-1,b=[],g=t;const x=[],E=[];do{d+=1;const t=d===v.length;let r;const w=t&&0!==b.length;if(t){if(r=0===E.length?void 0:x.pop(),g=y,y=E.pop(),w)if(m){g=g.slice();let t=0;for(const[e,r]of b){const n=e-t;r===i?(g.splice(n,1),t+=1):g[n]=r}}else{g=l(g);for(const[t,e]of b)g[t]=e}d=h.index,v=h.keys,b=h.edits,m=h.inArray,h=h.prev}else if(y!==i&&void 0!==y){if(r=m?d:v[d],g=y[r],g===i||void 0===g)continue;x.push(r)}let O;if(!Array.isArray(g)){if(!u(g))throw new Kt(`Invalid AST Node: ${JSON.stringify(g)}`);if(f&&E.includes(g)){x.pop();continue}const i=a(e,c(g),t);if(i){for(const[t,r]of Object.entries(n))e[t]=r;O=await i.call(e,g,r,y,x,E)}if(O===o)break;if(O===s){if(!t){x.pop();continue}}else if(void 0!==O&&(b.push([r,O]),!t)){if(!u(O)){x.pop();continue}g=O}}var j;if(void 0===O&&w&&b.push([r,g]),!t)h={inArray:m,index:d,keys:v,edits:b,prev:h},m=Array.isArray(g),v=m?g:null!==(j=p[c(g)])&&void 0!==j?j:[],d=-1,b=[],y!==i&&void 0!==y&&E.push(y),y=g}while(void 0!==h);return 0!==b.length?b.at(-1)[1]:t};const Ke=class extends Wt{};const We=class extends Ke{};const He=class extends Ke{},Ye=t=>"function"==typeof(null==t?void 0:t.clone)?t.clone():t,Xe=t=>{if(t instanceof Xt.rm){const e=[...t].map(Ye);return new Xt.rm(e)}if(t instanceof Xt.O4){const e=[...t].map(Ye);return new Xt.O4(e)}if("function"==typeof(null==t?void 0:t.clone))return t.clone();throw new We("Value provided to cloneDeep function couldn't be cloned",{value:t})};Xe.safe=t=>{try{return Xe(t)}catch{return t}};const Ze=t=>{const{key:e,value:r}=t;return new Xt.KeyValuePair(e,r)},Qe=t=>{const e=new t.constructor;if(e.element=t.element,t.meta.length>0&&(e._meta=Xe(t.meta)),t.attributes.length>0&&(e._attributes=Xe(t.attributes)),ge(t.content)){const r=t.content;e.content=Qe(r)}else Array.isArray(t.content)?e.content=[...t.content]:t.content instanceof Xt.KeyValuePair?e.content=Ze(t.content):e.content=t.content;return e},tr=t=>{if(t instanceof Xt.KeyValuePair)return Ze(t);if(t instanceof Xt.rm)return(t=>{const e=[...t];return new Xt.rm(e)})(t);if(t instanceof Xt.O4)return(t=>{const e=[...t];return new Xt.O4(e)})(t);if(ge(t))return Qe(t);throw new He("Value provided to cloneShallow function couldn't be cloned",{value:t})};tr.safe=t=>{try{return tr(t)}catch{return t}};const er=t=>Oe(t)?"ObjectElement":Se(t)?"ArrayElement":Ae(t)?"MemberElement":xe(t)?"StringElement":we(t)?"BooleanElement":Ee(t)?"NumberElement":je(t)?"NullElement":_e(t)?"LinkElement":Pe(t)?"RefElement":void 0,rr=t=>ge(t)?tr(t):$e(t),nr=k(er,De),or={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]},ir=(Fe({props:{result:[],predicate:Le,returnOnTrue:void 0,returnOnFalse:void 0},init({predicate:t=this.predicate,returnOnTrue:e=this.returnOnTrue,returnOnFalse:r=this.returnOnFalse}={}){this.result=[],this.predicate=t,this.returnOnTrue=e,this.returnOnFalse=r},methods:{enter(t){return this.predicate(t)?(this.result.push(t),this.returnOnTrue):this.returnOnFalse}}}),(t,e,{keyMap:r=or,...n}={})=>Je(t,e,{keyMap:r,nodeTypeGetter:er,nodePredicate:nr,nodeCloneFn:rr,...n}));ir[Symbol.for("nodejs.util.promisify.custom")]=async(t,e,{keyMap:r=or,...n}={})=>Je[Symbol.for("nodejs.util.promisify.custom")](t,e,{keyMap:r,nodeTypeGetter:er,nodePredicate:nr,nodeCloneFn:rr,...n});const sr=t=>"string"==typeof(null==t?void 0:t.type)?t.type:er(t),ar={EphemeralObject:["content"],EphemeralArray:["content"],...or},cr=(t,e,{keyMap:r=ar,...n}={})=>ir(t,e,{keyMap:r,nodeTypeGetter:sr,nodePredicate:ze,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});cr[Symbol.for("nodejs.util.promisify.custom")]=async(t,{keyMap:e=ar,...r}={})=>ir[Symbol.for("nodejs.util.promisify.custom")](t,visitor,{keyMap:e,nodeTypeGetter:sr,nodePredicate:ze,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...r});const ur=class{type="EphemeralArray";content=[];reference=void 0;constructor(t){this.content=t,this.reference=[]}toReference(){return this.reference}toArray(){return this.reference.push(...this.content),this.reference}};const lr=class{type="EphemeralObject";content=[];reference=void 0;constructor(t){this.content=t,this.reference={}}toReference(){return this.reference}toObject(){return Object.assign(this.reference,Object.fromEntries(this.content))}},fr=Fe.init((function(){const t=new WeakMap;this.BooleanElement=function(t){return t.toValue()},this.NumberElement=function(t){return t.toValue()},this.StringElement=function(t){return t.toValue()},this.NullElement=function(){return null},this.ObjectElement={enter(e){if(t.has(e))return t.get(e).toReference();const r=new lr(e.content);return t.set(e,r),r}},this.EphemeralObject={leave:t=>t.toObject()},this.MemberElement={enter:t=>[t.key,t.value]},this.ArrayElement={enter(e){if(t.has(e))return t.get(e).toReference();const r=new ur(e.content);return t.set(e,r),r}},this.EphemeralArray={leave:t=>t.toArray()}})),pr=t=>ge(t)?xe(t)||Ee(t)||we(t)||je(t)?t.toValue():cr(t,fr()):t;const hr=class extends Ht{constructor(t,e){super(t,e),void 0!==e&&(this.relativePointer=e.relativePointer,this.currentElement=e.currentElement.element,Re(e.currentElement)&&(this.currentElementSourceMap=pr(e.currentElement.getMetaProperty("sourceMap"))),this.rootElement=e.rootElement.element,Re(e.rootElement)&&(this.rootElementSourceMap=pr(e.rootElement.getMetaProperty("sourceMap"))),void 0!==e.cursorElement&&(this.cursorElement=e.cursorElement.element,Re(e.cursorElement)&&(this.cursorElementSourceMap=pr(e.cursorElement.getMetaProperty("sourceMap")))))}};const yr=class extends Ht{constructor(t,e){super(t,e),void 0!==e&&(this.nonNegativeIntegerPrefix=e.relativePointer.nonNegativeIntegerPrefix,this.indexManipulation=e.relativePointer.indexManipulation,this.hashCharacter=e.relativePointer.hashCharacter,Array.isArray(e.relativePointer.jsonPointerTokens)&&(this.jsonPointerTokens=[...e.relativePointer.jsonPointerTokens]))}};var mr=function(){function t(t,e){this.xf=e,this.n=t,this.i=0}return t.prototype["@@transducer/init"]=rt,t.prototype["@@transducer/result"]=nt,t.prototype["@@transducer/step"]=function(t,e){this.i+=1;var r=0===this.n?t:this.xf["@@transducer/step"](t,e);return this.n>=0&&this.i>=this.n?Zt(r):r},t}();function vr(t){return function(e){return new mr(t,e)}}const dr=i(tt(["take"],vr,(function(t,e){return _(0,t<0?1/0:t,e)})));const br=i((function(t,e){return K(dr(t.length,e),t)}));const gr=i((function(t,e){return wt(t+1,(function(){var r=arguments[t];if(null!=r&&mt(r[e]))return r[e].apply(r,Array.prototype.slice.call(arguments,0,t));throw new TypeError(ut(r)+' does not have a method named "'+e+'"')}))}))(1,"split");const xr=K("");const Er=h((function(t,e,r){return r.replace(t,e)})),jr=k(Er(/~1/g,"/"),Er(/~0/g,"~"),(t=>{try{return decodeURIComponent(t)}catch{return t}}));const wr=class extends Wt{};const Or=class extends wr{constructor(t,e){super(t,e),void 0!==e&&(this.pointer=e.pointer)}},Sr=t=>{if(xr(t))return[];if(!br("/",t))throw new Or(`Invalid JSON Pointer "${t}". JSON Pointers must begin with "/"`,{pointer:t});try{const e=k(gr("/"),Ot(jr))(t);return P(e)}catch(e){throw new Or(`JSON Pointer parsing of "${t}" encountered an error.`,{pointer:t,cause:e})}},Ar=new RegExp("^(?<nonNegativeIntegerPrefix>[1-9]\\d*|0)(?<indexManipulation>[+-][1-9]\\d*|0)?((?<hashCharacter>#)|(?<jsonPointer>\\/.*))?$"),_r=t=>"string"==typeof t&&Ar.test(t),Pr=t=>{const e=t.match(Ar);if(null===e||void 0===e.groups)throw new Yt(`Invalid Relative JSON Pointer "${t}".`,{relativePointer:t});try{const t=parseInt(e.groups.nonNegativeIntegerPrefix,10),r="string"==typeof e.groups.indexManipulation?parseInt(e.groups.indexManipulation,10):void 0,n="string"==typeof e.groups.jsonPointer?Sr(e.groups.jsonPointer):void 0;return{nonNegativeIntegerPrefix:t,indexManipulation:r,jsonPointerTokens:n,hashCharacter:"string"==typeof e.groups.hashCharacter}}catch(e){throw new Yt(`Relative JSON Pointer parsing of "${t}" encountered an error.`,{relativePointer:t,cause:e})}},kr=k(Er(/~/g,"~0"),Er(/\//g,"~1"),encodeURIComponent);const Tr=class extends wr{constructor(t,e){super(t,e),void 0!==e&&(this.tokens=[...e.tokens])}},Mr=t=>{try{return 0===t.length?"":`/${t.map(kr).join("/")}`}catch(e){throw new Tr("JSON Pointer compilation of tokens encountered an error.",{tokens:t,cause:e})}},Nr=t=>{try{let e="";return e+=String(t.nonNegativeIntegerPrefix),"number"==typeof t.indexManipulation&&(e+=String(t.indexManipulation)),Array.isArray(t.jsonPointerTokens)?e+=Mr(t.jsonPointerTokens):t.hashCharacter&&(e+="#"),e}catch(e){throw new yr("Relative JSON Pointer compilation encountered an error.",{relativePointer:t,cause:e})}};const Cr=i((function(t,e){return null==e||e!=e?t:e}));const Rr=h((function(t,e,r){return Cr(t,It(e,r))}));const Ir=_(0,-1);const Vr=i((function(t,e){return t.apply(this,e)}));const Fr=Tt(Dt);var zr=o((function(t){return null!=t&&"function"==typeof t["fantasy-land/empty"]?t["fantasy-land/empty"]():null!=t&&null!=t.constructor&&"function"==typeof t.constructor["fantasy-land/empty"]?t.constructor["fantasy-land/empty"]():null!=t&&"function"==typeof t.empty?t.empty():null!=t&&null!=t.constructor&&"function"==typeof t.constructor.empty?t.constructor.empty():y(t)?[]:m(t)?"":et(t)?{}:z(t)?function(){return arguments}():function(t){var e=Object.prototype.toString.call(t);return"[object Uint8ClampedArray]"===e||"[object Int8Array]"===e||"[object Uint8Array]"===e||"[object Int16Array]"===e||"[object Uint16Array]"===e||"[object Int32Array]"===e||"[object Uint32Array]"===e||"[object Float32Array]"===e||"[object Float64Array]"===e||"[object BigInt64Array]"===e||"[object BigUint64Array]"===e}(t)?t.constructor.from(""):void 0}));const Lr=zr;const Dr=o((function(t){return null!=t&&K(t,Lr(t))}));const Br=Pt(wt(1,Dt(Array.isArray)?Array.isArray:k(T,C("Array"))),Dr);const qr=wt(3,(function(t,e,r){var n=ht(t,r),o=ht(Ir(t),r);if(!Fr(n)&&!Br(t)){var i=x(n,o);return Vr(i,e)}}));class Ur extends Xt.lS{constructor(){super(),this.register("annotation",oe),this.register("comment",se),this.register("parseResult",le),this.register("sourceMap",pe)}}const Gr=new Ur,$r=()=>({predicates:{...t},namespace:Gr}),Jr=(t,e,r={})=>{if(0===e.length)return t;const n=Rr($r,"toolboxCreator",r),o=Rr({},"visitorOptions",r),i=Rr(er,"nodeTypeGetter",o),s=n(),a=e.map((t=>t(s))),c=((t,{visitFnGetter:e=Be,nodeTypeGetter:r=Ue}={})=>{const n=new Array(t.length).fill(null);return{enter(o,...i){for(let s=0;s<t.length;s+=1)if(null===n[s]){const a=e(t[s],r(o),!1);if("function"==typeof a){const e=a.call(t[s],o,...i);if(!1===e)n[s]=o;else if(e===qe)n[s]=qe;else if(void 0!==e)return e}}},leave(o,...i){for(let s=0;s<t.length;s+=1)if(null===n[s]){const a=e(t[s],r(o),!0);if("function"==typeof a){const e=a.call(t[s],o,...i);if(e===qe)n[s]=qe;else if(void 0!==e&&!1!==e)return e}}else n[s]===o&&(n[s]=null)}}})(a.map(Rr({},"visitor")),{nodeTypeGetter:i});a.forEach(qr(["pre"],[]));const u=ir(t,c,o);return a.forEach(qr(["post"],[])),u},Kr=(t,{Type:e,plugins:r=[]})=>{const n=new e(t);return Jr(n,r,{toolboxCreator:$r,visitorOptions:{nodeTypeGetter:er}})},Wr=t=>(e,r={})=>Kr(e,{...r,Type:t});Xt.Sb.refract=Wr(Xt.Sb),Xt.ON.refract=Wr(Xt.ON),Xt.RP.refract=Wr(Xt.RP),Xt.hh.refract=Wr(Xt.hh),Xt.zr.refract=Wr(Xt.zr),Xt.VL.refract=Wr(Xt.VL),Xt.EA.refract=Wr(Xt.EA),Xt.tK.refract=Wr(Xt.tK),oe.refract=Wr(oe),se.refract=Wr(se),le.refract=Wr(le),pe.refract=Wr(pe);const Hr=i((function(t,e){return wt(S(Rt,0,Vt("length",e)),(function(){var r=arguments,n=this;return t.apply(n,H((function(t){return t.apply(n,r)}),e))}))}));function Yr(t){return t}const Xr=o(Yr);var Zr=Pt(wt(1,k(T,C("Number"))),isFinite);var Qr=wt(1,Zr);var tn=Pt(Dt(Number.isFinite)?wt(1,x(Number.isFinite,Number)):Qr,Hr(K,[Math.floor,Xr]));var en=wt(1,tn);const rn=Dt(Number.isInteger)?wt(1,x(Number.isInteger,Number)):en;const nn=class extends wr{constructor(t,e){super(t,e),void 0!==e&&(this.pointer=e.pointer,Array.isArray(e.tokens)&&(this.tokens=[...e.tokens]),this.failedToken=e.failedToken,this.failedTokenPosition=e.failedTokenPosition,this.element=e.element.element,Re(e.element)&&(this.elementSourceMap=pr(e.element.getMetaProperty("sourceMap"))))}},on=(t,e)=>{let r;try{r=Sr(t)}catch(r){throw new nn(`JSON Pointer evaluation failed while parsing the pointer "${t}".`,{pointer:t,element:e,cause:r})}return r.reduce(((e,n,o)=>{if(Oe(e)){if(!e.hasKey(n))throw new nn(`JSON Pointer evaluation failed while evaluating token "${n}" against an ObjectElement`,{pointer:t,tokens:r,failedToken:n,failedTokenPosition:o,element:e});return e.get(n)}if(Se(e)){if(!(n in e.content)||!rn(Number(n)))throw new nn(`JSON Pointer evaluation failed while evaluating token "${n}" against an ArrayElement`,{pointer:t,tokens:r,failedToken:n,failedTokenPosition:o,element:e});return e.get(Number(n))}throw new nn(`JSON Pointer evaluation failed while evaluating token "${n}" against an unexpected Element`,{pointer:t,tokens:r,failedToken:n,failedTokenPosition:o,element:e})}),e)};const sn=ft(-1),an=(t,e,r)=>{let n,o=[],i=e;if(ir(r,{enter(t,r,n,i,s){if(t===e)return o=[...s,n].filter(ge),qe}}),0===o.length)throw new hr("Relative JSON Pointer evaluation failed. Current element not found inside the root element",{relativePointer:t,currentElement:e,rootElement:r,cursorElement:i});if(sn(o)===r)throw new hr("Relative JSON Pointer evaluation failed. Current element cannot be the root element",{relativePointer:t,currentElement:e,rootElement:r,cursorElement:i});try{n=Pr(t)}catch(n){throw new hr("Relative JSON Pointer evaluation failed while parsing the pointer.",{relativePointer:t,currentElement:e,rootElement:r,cursorElement:i,cause:n})}if(n.nonNegativeIntegerPrefix>0){const s=[...o];for(let{nonNegativeIntegerPrefix:t}=n;t>0;t-=1)i=s.pop(),Ae(i)&&(i=s.pop());if(void 0===i)throw new hr(`Relative JSON Pointer evaluation failed on non-negative-integer prefix of "${n.nonNegativeIntegerPrefix}"`,{relativePointer:t,currentElement:e,rootElement:r,cursorElement:i});o=s}if("number"==typeof n.indexManipulation){const s=sn(o);if(void 0===s||!Se(s))throw new hr(`Relative JSON Pointer evaluation failed failed on index-manipulation "${n.indexManipulation}"`,{relativePointer:t,currentElement:e,rootElement:r,cursorElement:i});const a=s.content.indexOf(i)+n.indexManipulation;if(i=s.content[a],void 0===i)throw new hr(`Relative JSON Pointer evaluation failed on index-manipulation "${n.indexManipulation}"`,{relativePointer:t,currentElement:e,rootElement:r,cursorElement:i})}if(Array.isArray(n.jsonPointerTokens)){const t=Mr(n.jsonPointerTokens);i=on(t,i)}else if(n.hashCharacter){if(i===r)throw new hr('Relative JSON Pointer evaluation failed. Current element cannot be the root element to apply "#"',{relativePointer:t,currentElement:e,rootElement:r,cursorElement:i});const n=sn(o);void 0!==n&&(Ae(n)?i=n.key:Se(n)&&(i=new Xt.VL(n.content.indexOf(i))))}return i}})(),n})()));
1
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.apidomJsonPointerRelative=e():t.apidomJsonPointerRelative=e()}(self,(()=>(()=>{var t={42:(t,e,r)=>{"use strict";var n=r(5846);t.exports=n},6791:(t,e,r)=>{"use strict";r(4339),r(4242),r(4016),r(8939),r(5454);var n=r(7545);t.exports=n.AggregateError},6762:(t,e,r)=>{"use strict";t.exports=r(3028)},3028:(t,e,r)=>{"use strict";r(2752);var n=r(42);t.exports=n},6235:(t,e,r)=>{"use strict";var n=r(6447),o=r(9288),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a function")}},7757:(t,e,r)=>{"use strict";var n=r(6447),o=String,i=TypeError;t.exports=function(t){if("object"==typeof t||n(t))return t;throw new i("Can't set "+o(t)+" as a prototype")}},7423:t=>{"use strict";t.exports=function(){}},1138:(t,e,r)=>{"use strict";var n=r(5744),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not an object")}},8180:(t,e,r)=>{"use strict";var n=r(101),o=r(7739),i=r(4104),s=function(t){return function(e,r,s){var a,c=n(e),u=i(c),l=o(s,u);if(t&&r!=r){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},9272:(t,e,r)=>{"use strict";var n=r(4120),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},4696:(t,e,r)=>{"use strict";var n=r(3471),o=r(6447),i=r(9272),s=r(8182)("toStringTag"),a=Object,c="Arguments"===i(function(){return arguments}());t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=a(t),s))?r:c?i(e):"Object"===(n=i(e))&&o(e.callee)?"Arguments":n}},7987:(t,e,r)=>{"use strict";var n=r(4500),o=r(3011),i=r(5141),s=r(2760);t.exports=function(t,e,r){for(var a=o(e),c=s.f,u=i.f,l=0;l<a.length;l++){var f=a[l];n(t,f)||r&&n(r,f)||c(t,f,u(e,f))}}},4635:(t,e,r)=>{"use strict";var n=r(6192);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},7271:t=>{"use strict";t.exports=function(t,e){return{value:t,done:e}}},8711:(t,e,r)=>{"use strict";var n=r(69),o=r(2760),i=r(774);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},774:t=>{"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},9362:(t,e,r)=>{"use strict";var n=r(8711);t.exports=function(t,e,r,o){return o&&o.enumerable?t[e]=r:n(t,e,r),t}},5098:(t,e,r)=>{"use strict";var n=r(8576),o=Object.defineProperty;t.exports=function(t,e){try{o(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},69:(t,e,r)=>{"use strict";var n=r(6192);t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8382:t=>{"use strict";var e="object"==typeof document&&document.all,r=void 0===e&&void 0!==e;t.exports={all:e,IS_HTMLDDA:r}},7449:(t,e,r)=>{"use strict";var n=r(8576),o=r(5744),i=n.document,s=o(i)&&o(i.createElement);t.exports=function(t){return s?i.createElement(t):{}}},7365:t=>{"use strict";t.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:t=>{"use strict";t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},4218:(t,e,r)=>{"use strict";var n,o,i=r(8576),s=r(8989),a=i.process,c=i.Deno,u=a&&a.versions||c&&c.version,l=u&&u.v8;l&&(o=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},2952:t=>{"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},4503:(t,e,r)=>{"use strict";var n=r(4120),o=Error,i=n("".replace),s=String(new o("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,c=a.test(s);t.exports=function(t,e){if(c&&"string"==typeof t&&!o.prepareStackTrace)for(;e--;)t=i(t,a,"");return t}},8266:(t,e,r)=>{"use strict";var n=r(8711),o=r(4503),i=r(274),s=Error.captureStackTrace;t.exports=function(t,e,r,a){i&&(s?s(t,e):n(t,"stack",o(r,a)))}},274:(t,e,r)=>{"use strict";var n=r(6192),o=r(774);t.exports=!n((function(){var t=new Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",o(1,7)),7!==t.stack)}))},3085:(t,e,r)=>{"use strict";var n=r(8576),o=r(6298),i=r(4914),s=r(6447),a=r(5141).f,c=r(9245),u=r(7545),l=r(8043),f=r(8711),p=r(4500),h=function(t){var e=function(r,n,i){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,i)}return o(t,this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var r,o,y,m,v,d,b,g,x,E=t.target,j=t.global,w=t.stat,O=t.proto,S=j?n:w?n[E]:(n[E]||{}).prototype,A=j?u:u[E]||f(u,E,{})[E],_=A.prototype;for(m in e)o=!(r=c(j?m:E+(w?".":"#")+m,t.forced))&&S&&p(S,m),d=A[m],o&&(b=t.dontCallGetSet?(x=a(S,m))&&x.value:S[m]),v=o&&b?b:e[m],o&&typeof d==typeof v||(g=t.bind&&o?l(v,n):t.wrap&&o?h(v):O&&s(v)?i(v):v,(t.sham||v&&v.sham||d&&d.sham)&&f(g,"sham",!0),f(A,m,g),O&&(p(u,y=E+"Prototype")||f(u,y,{}),f(u[y],m,v),t.real&&_&&(r||!_[m])&&f(_,m,v)))}},6192:t=>{"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},6298:(t,e,r)=>{"use strict";var n=r(2784),o=Function.prototype,i=o.apply,s=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?s.bind(i):function(){return s.apply(i,arguments)})},8043:(t,e,r)=>{"use strict";var n=r(4914),o=r(6235),i=r(2784),s=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?s(t,e):function(){return t.apply(e,arguments)}}},2784:(t,e,r)=>{"use strict";var n=r(6192);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},8922:(t,e,r)=>{"use strict";var n=r(2784),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},2282:(t,e,r)=>{"use strict";var n=r(69),o=r(4500),i=Function.prototype,s=n&&Object.getOwnPropertyDescriptor,a=o(i,"name"),c=a&&"something"===function(){}.name,u=a&&(!n||n&&s(i,"name").configurable);t.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},6419:(t,e,r)=>{"use strict";var n=r(4120),o=r(6235);t.exports=function(t,e,r){try{return n(o(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},4914:(t,e,r)=>{"use strict";var n=r(9272),o=r(4120);t.exports=function(t){if("Function"===n(t))return o(t)}},4120:(t,e,r)=>{"use strict";var n=r(2784),o=Function.prototype,i=o.call,s=n&&o.bind.bind(i,i);t.exports=n?s:function(t){return function(){return i.apply(t,arguments)}}},150:(t,e,r)=>{"use strict";var n=r(7545),o=r(8576),i=r(6447),s=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?s(n[t])||s(o[t]):n[t]&&n[t][e]||o[t]&&o[t][e]}},8703:(t,e,r)=>{"use strict";var n=r(4696),o=r(5037),i=r(5646),s=r(7771),a=r(8182)("iterator");t.exports=function(t){if(!i(t))return o(t,a)||o(t,"@@iterator")||s[n(t)]}},1669:(t,e,r)=>{"use strict";var n=r(8922),o=r(6235),i=r(1138),s=r(9288),a=r(8703),c=TypeError;t.exports=function(t,e){var r=arguments.length<2?a(t):e;if(o(r))return i(n(r,t));throw new c(s(t)+" is not iterable")}},5037:(t,e,r)=>{"use strict";var n=r(6235),o=r(5646);t.exports=function(t,e){var r=t[e];return o(r)?void 0:n(r)}},8576:function(t,e,r){"use strict";var n=function(t){return t&&t.Math===Math&&t};t.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:(t,e,r)=>{"use strict";var n=r(4120),o=r(1795),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},4535:t=>{"use strict";t.exports={}},7403:(t,e,r)=>{"use strict";var n=r(150);t.exports=n("document","documentElement")},188:(t,e,r)=>{"use strict";var n=r(69),o=r(6192),i=r(7449);t.exports=!n&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},2202:(t,e,r)=>{"use strict";var n=r(4120),o=r(6192),i=r(9272),s=Object,a=n("".split);t.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?a(t,""):s(t)}:s},2643:(t,e,r)=>{"use strict";var n=r(6447),o=r(5744),i=r(4469);t.exports=function(t,e,r){var s,a;return i&&n(s=e.constructor)&&s!==r&&o(a=s.prototype)&&a!==r.prototype&&i(t,a),t}},273:(t,e,r)=>{"use strict";var n=r(5744),o=r(8711);t.exports=function(t,e){n(e)&&"cause"in e&&o(t,"cause",e.cause)}},3326:(t,e,r)=>{"use strict";var n,o,i,s=r(5278),a=r(8576),c=r(5744),u=r(8711),l=r(4500),f=r(6434),p=r(9766),h=r(4535),y="Object already initialized",m=a.TypeError,v=a.WeakMap;if(s||f.state){var d=f.state||(f.state=new v);d.get=d.get,d.has=d.has,d.set=d.set,n=function(t,e){if(d.has(t))throw new m(y);return e.facade=t,d.set(t,e),e},o=function(t){return d.get(t)||{}},i=function(t){return d.has(t)}}else{var b=p("state");h[b]=!0,n=function(t,e){if(l(t,b))throw new m(y);return e.facade=t,u(t,b,e),e},o=function(t){return l(t,b)?t[b]:{}},i=function(t){return l(t,b)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!c(e)||(r=o(e)).type!==t)throw new m("Incompatible receiver, "+t+" required");return r}}}},6109:(t,e,r)=>{"use strict";var n=r(8182),o=r(7771),i=n("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||s[i]===t)}},6447:(t,e,r)=>{"use strict";var n=r(8382),o=n.all;t.exports=n.IS_HTMLDDA?function(t){return"function"==typeof t||t===o}:function(t){return"function"==typeof t}},9245:(t,e,r)=>{"use strict";var n=r(6192),o=r(6447),i=/#|\.prototype\./,s=function(t,e){var r=c[a(t)];return r===l||r!==u&&(o(e)?n(e):!!e)},a=s.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=s.data={},u=s.NATIVE="N",l=s.POLYFILL="P";t.exports=s},5646:t=>{"use strict";t.exports=function(t){return null==t}},5744:(t,e,r)=>{"use strict";var n=r(6447),o=r(8382),i=o.all;t.exports=o.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:n(t)||t===i}:function(t){return"object"==typeof t?null!==t:n(t)}},5546:t=>{"use strict";t.exports=!0},3236:(t,e,r)=>{"use strict";var n=r(150),o=r(6447),i=r(8902),s=r(615),a=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return o(e)&&i(e.prototype,a(t))}},3442:(t,e,r)=>{"use strict";var n=r(8043),o=r(8922),i=r(1138),s=r(9288),a=r(6109),c=r(4104),u=r(8902),l=r(1669),f=r(8703),p=r(6639),h=TypeError,y=function(t,e){this.stopped=t,this.result=e},m=y.prototype;t.exports=function(t,e,r){var v,d,b,g,x,E,j,w=r&&r.that,O=!(!r||!r.AS_ENTRIES),S=!(!r||!r.IS_RECORD),A=!(!r||!r.IS_ITERATOR),_=!(!r||!r.INTERRUPTED),P=n(e,w),k=function(t){return v&&p(v,"normal",t),new y(!0,t)},T=function(t){return O?(i(t),_?P(t[0],t[1],k):P(t[0],t[1])):_?P(t,k):P(t)};if(S)v=t.iterator;else if(A)v=t;else{if(!(d=f(t)))throw new h(s(t)+" is not iterable");if(a(d)){for(b=0,g=c(t);g>b;b++)if((x=T(t[b]))&&u(m,x))return x;return new y(!1)}v=l(t,d)}for(E=S?t.next:v.next;!(j=o(E,v)).done;){try{x=T(j.value)}catch(t){p(v,"throw",t)}if("object"==typeof x&&x&&u(m,x))return x}return new y(!1)}},6639:(t,e,r)=>{"use strict";var n=r(8922),o=r(1138),i=r(5037);t.exports=function(t,e,r){var s,a;o(t);try{if(!(s=i(t,"return"))){if("throw"===e)throw r;return r}s=n(s,t)}catch(t){a=!0,s=t}if("throw"===e)throw r;if(a)throw s;return o(s),r}},5695:(t,e,r)=>{"use strict";var n=r(4413).IteratorPrototype,o=r(2853),i=r(774),s=r(1284),a=r(7771),c=function(){return this};t.exports=function(t,e,r,u){var l=e+" Iterator";return t.prototype=o(n,{next:i(+!u,r)}),s(t,l,!1,!0),a[l]=c,t}},5297:(t,e,r)=>{"use strict";var n=r(3085),o=r(8922),i=r(5546),s=r(2282),a=r(6447),c=r(5695),u=r(9341),l=r(4469),f=r(1284),p=r(8711),h=r(9362),y=r(8182),m=r(7771),v=r(4413),d=s.PROPER,b=s.CONFIGURABLE,g=v.IteratorPrototype,x=v.BUGGY_SAFARI_ITERATORS,E=y("iterator"),j="keys",w="values",O="entries",S=function(){return this};t.exports=function(t,e,r,s,y,v,A){c(r,e,s);var _,P,k,T=function(t){if(t===y&&I)return I;if(!x&&t&&t in C)return C[t];switch(t){case j:case w:case O:return function(){return new r(this,t)}}return function(){return new r(this)}},M=e+" Iterator",N=!1,C=t.prototype,R=C[E]||C["@@iterator"]||y&&C[y],I=!x&&R||T(y),V="Array"===e&&C.entries||R;if(V&&(_=u(V.call(new t)))!==Object.prototype&&_.next&&(i||u(_)===g||(l?l(_,g):a(_[E])||h(_,E,S)),f(_,M,!0,!0),i&&(m[M]=S)),d&&y===w&&R&&R.name!==w&&(!i&&b?p(C,"name",w):(N=!0,I=function(){return o(R,this)})),y)if(P={values:T(w),keys:v?I:T(j),entries:T(O)},A)for(k in P)(x||N||!(k in C))&&h(C,k,P[k]);else n({target:e,proto:!0,forced:x||N},P);return i&&!A||C[E]===I||h(C,E,I,{name:y}),m[e]=I,P}},4413:(t,e,r)=>{"use strict";var n,o,i,s=r(6192),a=r(6447),c=r(5744),u=r(2853),l=r(9341),f=r(9362),p=r(8182),h=r(5546),y=p("iterator"),m=!1;[].keys&&("next"in(i=[].keys())?(o=l(l(i)))!==Object.prototype&&(n=o):m=!0),!c(n)||s((function(){var t={};return n[y].call(t)!==t}))?n={}:h&&(n=u(n)),a(n[y])||f(n,y,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:m}},7771:t=>{"use strict";t.exports={}},4104:(t,e,r)=>{"use strict";var n=r(8445);t.exports=function(t){return n(t.length)}},7679:t=>{"use strict";var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},6016:(t,e,r)=>{"use strict";var n=r(4845);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:n(t)}},2853:(t,e,r)=>{"use strict";var n,o=r(1138),i=r(1187),s=r(2952),a=r(4535),c=r(7403),u=r(7449),l=r(9766),f="prototype",p="script",h=l("IE_PROTO"),y=function(){},m=function(t){return"<"+p+">"+t+"</"+p+">"},v=function(t){t.write(m("")),t.close();var e=t.parentWindow.Object;return t=null,e},d=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;d="undefined"!=typeof document?document.domain&&n?v(n):(e=u("iframe"),r="java"+p+":",e.style.display="none",c.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(m("document.F=Object")),t.close(),t.F):v(n);for(var o=s.length;o--;)delete d[f][s[o]];return d()};a[h]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(y[f]=o(t),r=new y,y[f]=null,r[h]=t):r=d(),void 0===e?r:i.f(r,e)}},1187:(t,e,r)=>{"use strict";var n=r(69),o=r(9600),i=r(2760),s=r(1138),a=r(101),c=r(7653);e.f=n&&!o?Object.defineProperties:function(t,e){s(t);for(var r,n=a(e),o=c(e),u=o.length,l=0;u>l;)i.f(t,r=o[l++],n[r]);return t}},2760:(t,e,r)=>{"use strict";var n=r(69),o=r(188),i=r(9600),s=r(1138),a=r(77),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",h="writable";e.f=n?i?function(t,e,r){if(s(t),e=a(e),s(r),"function"==typeof t&&"prototype"===e&&"value"in r&&h in r&&!r[h]){var n=l(t,e);n&&n[h]&&(t[e]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:f in r?r[f]:n[f],writable:!1})}return u(t,e,r)}:u:function(t,e,r){if(s(t),e=a(e),s(r),o)try{return u(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new c("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},5141:(t,e,r)=>{"use strict";var n=r(69),o=r(8922),i=r(6007),s=r(774),a=r(101),c=r(77),u=r(4500),l=r(188),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=a(t),e=c(e),l)try{return f(t,e)}catch(t){}if(u(t,e))return s(!o(i.f,t,e),t[e])}},2092:(t,e,r)=>{"use strict";var n=r(7934),o=r(2952).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},4750:(t,e)=>{"use strict";e.f=Object.getOwnPropertySymbols},9341:(t,e,r)=>{"use strict";var n=r(4500),o=r(6447),i=r(1795),s=r(9766),a=r(4635),c=s("IE_PROTO"),u=Object,l=u.prototype;t.exports=a?u.getPrototypeOf:function(t){var e=i(t);if(n(e,c))return e[c];var r=e.constructor;return o(r)&&e instanceof r?r.prototype:e instanceof u?l:null}},8902:(t,e,r)=>{"use strict";var n=r(4120);t.exports=n({}.isPrototypeOf)},7934:(t,e,r)=>{"use strict";var n=r(4120),o=r(4500),i=r(101),s=r(8180).indexOf,a=r(4535),c=n([].push);t.exports=function(t,e){var r,n=i(t),u=0,l=[];for(r in n)!o(a,r)&&o(n,r)&&c(l,r);for(;e.length>u;)o(n,r=e[u++])&&(~s(l,r)||c(l,r));return l}},7653:(t,e,r)=>{"use strict";var n=r(7934),o=r(2952);t.exports=Object.keys||function(t){return n(t,o)}},6007:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},4469:(t,e,r)=>{"use strict";var n=r(6419),o=r(1138),i=r(7757);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return o(r),i(n),e?t(r,n):r.__proto__=n,r}}():void 0)},158:(t,e,r)=>{"use strict";var n=r(3471),o=r(4696);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},380:(t,e,r)=>{"use strict";var n=r(8922),o=r(6447),i=r(5744),s=TypeError;t.exports=function(t,e){var r,a;if("string"===e&&o(r=t.toString)&&!i(a=n(r,t)))return a;if(o(r=t.valueOf)&&!i(a=n(r,t)))return a;if("string"!==e&&o(r=t.toString)&&!i(a=n(r,t)))return a;throw new s("Can't convert object to primitive value")}},3011:(t,e,r)=>{"use strict";var n=r(150),o=r(4120),i=r(2092),s=r(4750),a=r(1138),c=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(a(t)),r=s.f;return r?c(e,r(t)):e}},7545:t=>{"use strict";t.exports={}},7656:(t,e,r)=>{"use strict";var n=r(2760).f;t.exports=function(t,e,r){r in t||n(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})}},3209:(t,e,r)=>{"use strict";var n=r(5646),o=TypeError;t.exports=function(t){if(n(t))throw new o("Can't call method on "+t);return t}},1284:(t,e,r)=>{"use strict";var n=r(3471),o=r(2760).f,i=r(8711),s=r(4500),a=r(158),c=r(8182)("toStringTag");t.exports=function(t,e,r,u){if(t){var l=r?t:t.prototype;s(l,c)||o(l,c,{configurable:!0,value:e}),u&&!n&&i(l,"toString",a)}}},9766:(t,e,r)=>{"use strict";var n=r(8717),o=r(2759),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},6434:(t,e,r)=>{"use strict";var n=r(8576),o=r(5098),i="__core-js_shared__",s=n[i]||o(i,{});t.exports=s},8717:(t,e,r)=>{"use strict";var n=r(5546),o=r(6434);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.33.0",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.0/LICENSE",source:"https://github.com/zloirock/core-js"})},863:(t,e,r)=>{"use strict";var n=r(4120),o=r(1941),i=r(4845),s=r(3209),a=n("".charAt),c=n("".charCodeAt),u=n("".slice),l=function(t){return function(e,r){var n,l,f=i(s(e)),p=o(r),h=f.length;return p<0||p>=h?t?"":void 0:(n=c(f,p))<55296||n>56319||p+1===h||(l=c(f,p+1))<56320||l>57343?t?a(f,p):n:t?u(f,p,p+2):l-56320+(n-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}},6770:(t,e,r)=>{"use strict";var n=r(4218),o=r(6192),i=r(8576).String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},7739:(t,e,r)=>{"use strict";var n=r(1941),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},101:(t,e,r)=>{"use strict";var n=r(2202),o=r(3209);t.exports=function(t){return n(o(t))}},1941:(t,e,r)=>{"use strict";var n=r(7679);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},8445:(t,e,r)=>{"use strict";var n=r(1941),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},1795:(t,e,r)=>{"use strict";var n=r(3209),o=Object;t.exports=function(t){return o(n(t))}},7888:(t,e,r)=>{"use strict";var n=r(8922),o=r(5744),i=r(3236),s=r(5037),a=r(380),c=r(8182),u=TypeError,l=c("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var r,c=s(t,l);if(c){if(void 0===e&&(e="default"),r=n(c,t,e),!o(r)||i(r))return r;throw new u("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},77:(t,e,r)=>{"use strict";var n=r(7888),o=r(3236);t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},3471:(t,e,r)=>{"use strict";var n={};n[r(8182)("toStringTag")]="z",t.exports="[object z]"===String(n)},4845:(t,e,r)=>{"use strict";var n=r(4696),o=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},9288:t=>{"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},2759:(t,e,r)=>{"use strict";var n=r(4120),o=0,i=Math.random(),s=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++o+i,36)}},615:(t,e,r)=>{"use strict";var n=r(6770);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},9600:(t,e,r)=>{"use strict";var n=r(69),o=r(6192);t.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5278:(t,e,r)=>{"use strict";var n=r(8576),o=r(6447),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},8182:(t,e,r)=>{"use strict";var n=r(8576),o=r(8717),i=r(4500),s=r(2759),a=r(6770),c=r(615),u=n.Symbol,l=o("wks"),f=c?u.for||u:u&&u.withoutSetter||s;t.exports=function(t){return i(l,t)||(l[t]=a&&i(u,t)?u[t]:f("Symbol."+t)),l[t]}},426:(t,e,r)=>{"use strict";var n=r(150),o=r(4500),i=r(8711),s=r(8902),a=r(4469),c=r(7987),u=r(7656),l=r(2643),f=r(6016),p=r(273),h=r(8266),y=r(69),m=r(5546);t.exports=function(t,e,r,v){var d="stackTraceLimit",b=v?2:1,g=t.split("."),x=g[g.length-1],E=n.apply(null,g);if(E){var j=E.prototype;if(!m&&o(j,"cause")&&delete j.cause,!r)return E;var w=n("Error"),O=e((function(t,e){var r=f(v?e:t,void 0),n=v?new E(t):new E;return void 0!==r&&i(n,"message",r),h(n,O,n.stack,2),this&&s(j,this)&&l(n,this,O),arguments.length>b&&p(n,arguments[b]),n}));if(O.prototype=j,"Error"!==x?a?a(O,w):c(O,w,{name:!0}):y&&d in E&&(u(O,E,d),u(O,E,"prepareStackTrace")),c(O,E),!m)try{j.name!==x&&i(j,"name",x),j.constructor=O}catch(t){}return O}}},4016:(t,e,r)=>{"use strict";var n=r(3085),o=r(150),i=r(6298),s=r(6192),a=r(426),c="AggregateError",u=o(c),l=!s((function(){return 1!==u([1]).errors[0]}))&&s((function(){return 7!==u([1],c,{cause:7}).cause}));n({global:!0,constructor:!0,arity:2,forced:l},{AggregateError:a(c,(function(t){return function(e,r){return i(t,this,arguments)}}),l,!0)})},3820:(t,e,r)=>{"use strict";var n=r(3085),o=r(8902),i=r(9341),s=r(4469),a=r(7987),c=r(2853),u=r(8711),l=r(774),f=r(273),p=r(8266),h=r(3442),y=r(6016),m=r(8182)("toStringTag"),v=Error,d=[].push,b=function(t,e){var r,n=o(g,this);s?r=s(new v,n?i(this):g):(r=n?this:c(g),u(r,m,"Error")),void 0!==e&&u(r,"message",y(e)),p(r,b,r.stack,1),arguments.length>2&&f(r,arguments[2]);var a=[];return h(t,d,{that:a}),u(r,"errors",a),r};s?s(b,v):a(b,v,{name:!0});var g=b.prototype=c(v.prototype,{constructor:l(1,b),message:l(1,""),name:l(1,"AggregateError")});n({global:!0,constructor:!0,arity:2},{AggregateError:b})},4242:(t,e,r)=>{"use strict";r(3820)},8939:(t,e,r)=>{"use strict";var n=r(101),o=r(7423),i=r(7771),s=r(3326),a=r(2760).f,c=r(5297),u=r(7271),l=r(5546),f=r(69),p="Array Iterator",h=s.set,y=s.getterFor(p);t.exports=c(Array,"Array",(function(t,e){h(this,{type:p,target:n(t),index:0,kind:e})}),(function(){var t=y(this),e=t.target,r=t.kind,n=t.index++;if(!e||n>=e.length)return t.target=void 0,u(void 0,!0);switch(r){case"keys":return u(n,!1);case"values":return u(e[n],!1)}return u([n,e[n]],!1)}),"values");var m=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!l&&f&&"values"!==m.name)try{a(m,"name",{value:"values"})}catch(t){}},4339:(t,e,r)=>{"use strict";var n=r(3085),o=r(8576),i=r(6298),s=r(426),a="WebAssembly",c=o[a],u=7!==new Error("e",{cause:7}).cause,l=function(t,e){var r={};r[t]=s(t,e,u),n({global:!0,constructor:!0,arity:1,forced:u},r)},f=function(t,e){if(c&&c[t]){var r={};r[t]=s(a+"."+t,e,u),n({target:a,stat:!0,constructor:!0,arity:1,forced:u},r)}};l("Error",(function(t){return function(e){return i(t,this,arguments)}})),l("EvalError",(function(t){return function(e){return i(t,this,arguments)}})),l("RangeError",(function(t){return function(e){return i(t,this,arguments)}})),l("ReferenceError",(function(t){return function(e){return i(t,this,arguments)}})),l("SyntaxError",(function(t){return function(e){return i(t,this,arguments)}})),l("TypeError",(function(t){return function(e){return i(t,this,arguments)}})),l("URIError",(function(t){return function(e){return i(t,this,arguments)}})),f("CompileError",(function(t){return function(e){return i(t,this,arguments)}})),f("LinkError",(function(t){return function(e){return i(t,this,arguments)}})),f("RuntimeError",(function(t){return function(e){return i(t,this,arguments)}}))},5454:(t,e,r)=>{"use strict";var n=r(863).charAt,o=r(4845),i=r(3326),s=r(5297),a=r(7271),c="String Iterator",u=i.set,l=i.getterFor(c);s(String,"String",(function(t){u(this,{type:c,string:o(t),index:0})}),(function(){var t,e=l(this),r=e.string,o=e.index;return o>=r.length?a(void 0,!0):(t=n(r,o),e.index+=t.length,a(t,!1))}))},2752:(t,e,r)=>{"use strict";r(4242)},162:(t,e,r)=>{"use strict";r(8939);var n=r(7365),o=r(8576),i=r(4696),s=r(8711),a=r(7771),c=r(8182)("toStringTag");for(var u in n){var l=o[u],f=l&&l.prototype;f&&i(f)!==c&&s(f,c,u),a[u]=a.Array}},5846:(t,e,r)=>{"use strict";r(2752);var n=r(6791);r(162),t.exports=n},9515:(t,e,r)=>{var n=r(8761)(r(7772),"DataView");t.exports=n},9612:(t,e,r)=>{var n=r(2118),o=r(6909),i=r(8138),s=r(4174),a=r(7942);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=s,c.prototype.set=a,t.exports=c},235:(t,e,r)=>{var n=r(3945),o=r(1846),i=r(8028),s=r(2344),a=r(4769);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=s,c.prototype.set=a,t.exports=c},326:(t,e,r)=>{var n=r(8761)(r(7772),"Map");t.exports=n},6738:(t,e,r)=>{var n=r(2411),o=r(6417),i=r(6928),s=r(9493),a=r(4150);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=s,c.prototype.set=a,t.exports=c},1985:(t,e,r)=>{var n=r(8761)(r(7772),"Promise");t.exports=n},2143:(t,e,r)=>{var n=r(8761)(r(7772),"Set");t.exports=n},5386:(t,e,r)=>{var n=r(6738),o=r(2842),i=r(2482);function s(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e<r;)this.add(t[e])}s.prototype.add=s.prototype.push=o,s.prototype.has=i,t.exports=s},6571:(t,e,r)=>{var n=r(235),o=r(5243),i=r(2858),s=r(4417),a=r(8605),c=r(1418);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=o,u.prototype.delete=i,u.prototype.get=s,u.prototype.has=a,u.prototype.set=c,t.exports=u},857:(t,e,r)=>{var n=r(7772).Symbol;t.exports=n},9162:(t,e,r)=>{var n=r(7772).Uint8Array;t.exports=n},3215:(t,e,r)=>{var n=r(8761)(r(7772),"WeakMap");t.exports=n},7552:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,i=[];++r<n;){var s=t[r];e(s,r,t)&&(i[o++]=s)}return i}},1634:(t,e,r)=>{var n=r(6473),o=r(9631),i=r(6152),s=r(3226),a=r(9045),c=r(7598),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=i(t),l=!r&&o(t),f=!r&&!l&&s(t),p=!r&&!l&&!f&&c(t),h=r||l||f||p,y=h?n(t.length,String):[],m=y.length;for(var v in t)!e&&!u.call(t,v)||h&&("length"==v||f&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||a(v,m))||y.push(v);return y}},5067:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}},7064:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}},2218:(t,e,r)=>{var n=r(1225);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},1897:(t,e,r)=>{var n=r(5067),o=r(6152);t.exports=function(t,e,r){var i=e(t);return o(t)?i:n(i,r(t))}},3366:(t,e,r)=>{var n=r(857),o=r(2107),i=r(7157),s=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":s&&s in Object(t)?o(t):i(t)}},5183:(t,e,r)=>{var n=r(3366),o=r(5125);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},8746:(t,e,r)=>{var n=r(1952),o=r(5125);t.exports=function t(e,r,i,s,a){return e===r||(null==e||null==r||!o(e)&&!o(r)?e!=e&&r!=r:n(e,r,i,s,t,a))}},1952:(t,e,r)=>{var n=r(6571),o=r(4871),i=r(1491),s=r(7416),a=r(940),c=r(6152),u=r(3226),l=r(7598),f="[object Arguments]",p="[object Array]",h="[object Object]",y=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,m,v,d){var b=c(t),g=c(e),x=b?p:a(t),E=g?p:a(e),j=(x=x==f?h:x)==h,w=(E=E==f?h:E)==h,O=x==E;if(O&&u(t)){if(!u(e))return!1;b=!0,j=!1}if(O&&!j)return d||(d=new n),b||l(t)?o(t,e,r,m,v,d):i(t,e,x,r,m,v,d);if(!(1&r)){var S=j&&y.call(t,"__wrapped__"),A=w&&y.call(e,"__wrapped__");if(S||A){var _=S?t.value():t,P=A?e.value():e;return d||(d=new n),v(_,P,r,m,d)}}return!!O&&(d||(d=new n),s(t,e,r,m,v,d))}},6840:(t,e,r)=>{var n=r(1049),o=r(7394),i=r(9259),s=r(7035),a=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,f=u.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(n(t)?p:a).test(s(t))}},5522:(t,e,r)=>{var n=r(3366),o=r(1158),i=r(5125),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&o(t.length)&&!!s[n(t)]}},6411:(t,e,r)=>{var n=r(6001),o=r(4248),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var e=[];for(var r in Object(t))i.call(t,r)&&"constructor"!=r&&e.push(r);return e}},6473:t=>{t.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},7826:t=>{t.exports=function(t){return function(e){return t(e)}}},9950:t=>{t.exports=function(t,e){return t.has(e)}},4019:(t,e,r)=>{var n=r(7772)["__core-js_shared__"];t.exports=n},4871:(t,e,r)=>{var n=r(5386),o=r(7064),i=r(9950);t.exports=function(t,e,r,s,a,c){var u=1&r,l=t.length,f=e.length;if(l!=f&&!(u&&f>l))return!1;var p=c.get(t),h=c.get(e);if(p&&h)return p==e&&h==t;var y=-1,m=!0,v=2&r?new n:void 0;for(c.set(t,e),c.set(e,t);++y<l;){var d=t[y],b=e[y];if(s)var g=u?s(b,d,y,e,t,c):s(d,b,y,t,e,c);if(void 0!==g){if(g)continue;m=!1;break}if(v){if(!o(e,(function(t,e){if(!i(v,e)&&(d===t||a(d,t,r,s,c)))return v.push(e)}))){m=!1;break}}else if(d!==b&&!a(d,b,r,s,c)){m=!1;break}}return c.delete(t),c.delete(e),m}},1491:(t,e,r)=>{var n=r(857),o=r(9162),i=r(1225),s=r(4871),a=r(5179),c=r(4207),u=n?n.prototype:void 0,l=u?u.valueOf:void 0;t.exports=function(t,e,r,n,u,f,p){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!f(new o(t),new o(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var h=a;case"[object Set]":var y=1&n;if(h||(h=c),t.size!=e.size&&!y)return!1;var m=p.get(t);if(m)return m==e;n|=2,p.set(t,e);var v=s(h(t),h(e),n,u,f,p);return p.delete(t),v;case"[object Symbol]":if(l)return l.call(t)==l.call(e)}return!1}},7416:(t,e,r)=>{var n=r(3483),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,i,s,a){var c=1&r,u=n(t),l=u.length;if(l!=n(e).length&&!c)return!1;for(var f=l;f--;){var p=u[f];if(!(c?p in e:o.call(e,p)))return!1}var h=a.get(t),y=a.get(e);if(h&&y)return h==e&&y==t;var m=!0;a.set(t,e),a.set(e,t);for(var v=c;++f<l;){var d=t[p=u[f]],b=e[p];if(i)var g=c?i(b,d,p,e,t,a):i(d,b,p,t,e,a);if(!(void 0===g?d===b||s(d,b,r,i,a):g)){m=!1;break}v||(v="constructor"==p)}if(m&&!v){var x=t.constructor,E=e.constructor;x==E||!("constructor"in t)||!("constructor"in e)||"function"==typeof x&&x instanceof x&&"function"==typeof E&&E instanceof E||(m=!1)}return a.delete(t),a.delete(e),m}},1242:(t,e,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;t.exports=n},3483:(t,e,r)=>{var n=r(1897),o=r(633),i=r(249);t.exports=function(t){return n(t,i,o)}},7937:(t,e,r)=>{var n=r(8304);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},8761:(t,e,r)=>{var n=r(6840),o=r(8109);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},2107:(t,e,r)=>{var n=r(857),o=Object.prototype,i=o.hasOwnProperty,s=o.toString,a=n?n.toStringTag:void 0;t.exports=function(t){var e=i.call(t,a),r=t[a];try{t[a]=void 0;var n=!0}catch(t){}var o=s.call(t);return n&&(e?t[a]=r:delete t[a]),o}},633:(t,e,r)=>{var n=r(7552),o=r(981),i=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,a=s?function(t){return null==t?[]:(t=Object(t),n(s(t),(function(e){return i.call(t,e)})))}:o;t.exports=a},940:(t,e,r)=>{var n=r(9515),o=r(326),i=r(1985),s=r(2143),a=r(3215),c=r(3366),u=r(7035),l="[object Map]",f="[object Promise]",p="[object Set]",h="[object WeakMap]",y="[object DataView]",m=u(n),v=u(o),d=u(i),b=u(s),g=u(a),x=c;(n&&x(new n(new ArrayBuffer(1)))!=y||o&&x(new o)!=l||i&&x(i.resolve())!=f||s&&x(new s)!=p||a&&x(new a)!=h)&&(x=function(t){var e=c(t),r="[object Object]"==e?t.constructor:void 0,n=r?u(r):"";if(n)switch(n){case m:return y;case v:return l;case d:return f;case b:return p;case g:return h}return e}),t.exports=x},8109:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},2118:(t,e,r)=>{var n=r(9191);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},6909:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},8138:(t,e,r)=>{var n=r(9191),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},4174:(t,e,r)=>{var n=r(9191),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},7942:(t,e,r)=>{var n=r(9191);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},9045:t=>{var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,r){var n=typeof t;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&e.test(t))&&t>-1&&t%1==0&&t<r}},8304:t=>{t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},7394:(t,e,r)=>{var n,o=r(4019),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!i&&i in t}},6001:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},3945:t=>{t.exports=function(){this.__data__=[],this.size=0}},1846:(t,e,r)=>{var n=r(2218),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},8028:(t,e,r)=>{var n=r(2218);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},2344:(t,e,r)=>{var n=r(2218);t.exports=function(t){return n(this.__data__,t)>-1}},4769:(t,e,r)=>{var n=r(2218);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},2411:(t,e,r)=>{var n=r(9612),o=r(235),i=r(326);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},6417:(t,e,r)=>{var n=r(7937);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},6928:(t,e,r)=>{var n=r(7937);t.exports=function(t){return n(this,t).get(t)}},9493:(t,e,r)=>{var n=r(7937);t.exports=function(t){return n(this,t).has(t)}},4150:(t,e,r)=>{var n=r(7937);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},5179:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}},9191:(t,e,r)=>{var n=r(8761)(Object,"create");t.exports=n},4248:(t,e,r)=>{var n=r(241)(Object.keys,Object);t.exports=n},4146:(t,e,r)=>{t=r.nmd(t);var n=r(1242),o=e&&!e.nodeType&&e,i=o&&t&&!t.nodeType&&t,s=i&&i.exports===o&&n.process,a=function(){try{var t=i&&i.require&&i.require("util").types;return t||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=a},7157:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},241:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},7772:(t,e,r)=>{var n=r(1242),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();t.exports=i},2842:t=>{t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},2482:t=>{t.exports=function(t){return this.__data__.has(t)}},4207:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}},5243:(t,e,r)=>{var n=r(235);t.exports=function(){this.__data__=new n,this.size=0}},2858:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},4417:t=>{t.exports=function(t){return this.__data__.get(t)}},8605:t=>{t.exports=function(t){return this.__data__.has(t)}},1418:(t,e,r)=>{var n=r(235),o=r(326),i=r(6738);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!o||s.length<199)return s.push([t,e]),this.size=++r.size,this;r=this.__data__=new i(s)}return r.set(t,e),this.size=r.size,this}},7035:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},1225:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},9631:(t,e,r)=>{var n=r(5183),o=r(5125),i=Object.prototype,s=i.hasOwnProperty,a=i.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(t){return o(t)&&s.call(t,"callee")&&!a.call(t,"callee")};t.exports=c},6152:t=>{var e=Array.isArray;t.exports=e},7878:(t,e,r)=>{var n=r(1049),o=r(1158);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},4335:(t,e,r)=>{var n=r(3366),o=r(5125);t.exports=function(t){return!0===t||!1===t||o(t)&&"[object Boolean]"==n(t)}},3226:(t,e,r)=>{t=r.nmd(t);var n=r(7772),o=r(6330),i=e&&!e.nodeType&&e,s=i&&t&&!t.nodeType&&t,a=s&&s.exports===i?n.Buffer:void 0,c=(a?a.isBuffer:void 0)||o;t.exports=c},8149:(t,e,r)=>{var n=r(8746);t.exports=function(t,e){return n(t,e)}},1049:(t,e,r)=>{var n=r(3366),o=r(9259);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},1158:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},5877:t=>{t.exports=function(t){return null===t}},537:(t,e,r)=>{var n=r(3366),o=r(5125);t.exports=function(t){return"number"==typeof t||o(t)&&"[object Number]"==n(t)}},9259:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},5125:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},5505:(t,e,r)=>{var n=r(3366),o=r(6152),i=r(5125);t.exports=function(t){return"string"==typeof t||!o(t)&&i(t)&&"[object String]"==n(t)}},7598:(t,e,r)=>{var n=r(5522),o=r(7826),i=r(4146),s=i&&i.isTypedArray,a=s?o(s):n;t.exports=a},249:(t,e,r)=>{var n=r(1634),o=r(6411),i=r(7878);t.exports=function(t){return i(t)?n(t):o(t)}},1570:t=>{t.exports=function(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}},981:t=>{t.exports=function(){return[]}},6330:t=>{t.exports=function(){return!1}},1178:(t,e,r)=>{const n=r(1570);function o(t){return"string"==typeof t?e=>e.element===t:t.constructor&&t.extend?e=>e instanceof t:t}class i{constructor(t){this.elements=t||[]}toValue(){return this.elements.map((t=>t.toValue()))}map(t,e){return this.elements.map(t,e)}flatMap(t,e){return this.map(t,e).reduce(((t,e)=>t.concat(e)),[])}compactMap(t,e){const r=[];return this.forEach((n=>{const o=t.bind(e)(n);o&&r.push(o)})),r}filter(t,e){return t=o(t),new i(this.elements.filter(t,e))}reject(t,e){return t=o(t),new i(this.elements.filter(n(t),e))}find(t,e){return t=o(t),this.elements.find(t,e)}forEach(t,e){this.elements.forEach(t,e)}reduce(t,e){return this.elements.reduce(t,e)}includes(t){return this.elements.some((e=>e.equals(t)))}shift(){return this.elements.shift()}unshift(t){this.elements.unshift(this.refract(t))}push(t){return this.elements.push(this.refract(t)),this}add(t){this.push(t)}get(t){return this.elements[t]}getValue(t){const e=this.elements[t];if(e)return e.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]()}),t.exports=i},3026:t=>{class e{constructor(t,e){this.key=t,this.value=e}clone(){const t=new e;return this.key&&(t.key=this.key.clone()),this.value&&(t.value=this.value.clone()),t}}t.exports=e},5140:(t,e,r)=>{const n=r(5877),o=r(5505),i=r(537),s=r(4335),a=r(9259),c=r(2947),u=r(3756);class l{constructor(t){this.elementMap={},this.elementDetection=[],this.Element=u.Element,this.KeyValuePair=u.KeyValuePair,t&&t.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(t){return t.namespace&&t.namespace({base:this}),t.load&&t.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(o,u.StringElement,!1).detect(i,u.NumberElement,!1).detect(s,u.BooleanElement,!1).detect(Array.isArray,u.ArrayElement,!1).detect(a,u.ObjectElement,!1),this}register(t,e){return this._elements=void 0,this.elementMap[t]=e,this}unregister(t){return this._elements=void 0,delete this.elementMap[t],this}detect(t,e,r){return void 0===r||r?this.elementDetection.unshift([t,e]):this.elementDetection.push([t,e]),this}toElement(t){if(t instanceof this.Element)return t;let e;for(let r=0;r<this.elementDetection.length;r+=1){const n=this.elementDetection[r][0],o=this.elementDetection[r][1];if(n(t)){e=new o(t);break}}return e}getElementClass(t){const e=this.elementMap[t];return void 0===e?this.Element:e}fromRefract(t){return this.serialiser.deserialise(t)}toRefract(t){return this.serialiser.serialise(t)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((t=>{const e=t[0].toUpperCase()+t.substr(1);this._elements[e]=this.elementMap[t]}))),this._elements}get serialiser(){return new c(this)}}c.prototype.Namespace=l,t.exports=l},3853:(t,e,r)=>{const n=r(1570),o=r(1178);class i extends o{map(t,e){return this.elements.map((r=>t.bind(e)(r.value,r.key,r)))}filter(t,e){return new i(this.elements.filter((r=>t.bind(e)(r.value,r.key,r))))}reject(t,e){return this.filter(n(t.bind(e)))}forEach(t,e){return this.elements.forEach(((r,n)=>{t.bind(e)(r.value,r.key,r,n)}))}keys(){return this.map(((t,e)=>e.toValue()))}values(){return this.map((t=>t.toValue()))}}t.exports=i},3756:(t,e,r)=>{const n=r(6420),o=r(4152),i=r(9542),s=r(3710),a=r(3312),c=r(1641),u=r(8858),l=r(3860),f=r(5202),p=r(2320),h=r(1178),y=r(3853),m=r(3026);function v(t){if(t instanceof n)return t;if("string"==typeof t)return new i(t);if("number"==typeof t)return new s(t);if("boolean"==typeof t)return new a(t);if(null===t)return new o;if(Array.isArray(t))return new c(t.map(v));if("object"==typeof t){return new l(t)}return t}n.prototype.ObjectElement=l,n.prototype.RefElement=p,n.prototype.MemberElement=u,n.prototype.refract=v,h.prototype.refract=v,t.exports={Element:n,NullElement:o,StringElement:i,NumberElement:s,BooleanElement:a,ArrayElement:c,MemberElement:u,ObjectElement:l,LinkElement:f,RefElement:p,refract:v,ArraySlice:h,ObjectSlice:y,KeyValuePair:m}},5202:(t,e,r)=>{const n=r(6420);t.exports=class extends n{constructor(t,e,r){super(t||[],e,r),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(t){this.attributes.set("relation",t)}get href(){return this.attributes.get("href")}set href(t){this.attributes.set("href",t)}}},2320:(t,e,r)=>{const n=r(6420);t.exports=class extends n{constructor(t,e,r){super(t||[],e,r),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(t){this.attributes.set("path",t)}}},7952:(t,e,r)=>{const n=r(5140),o=r(3756);e.lS=n,e.KeyValuePair=r(3026),e.O4=o.ArraySlice,e.rm=o.ObjectSlice,e.W_=o.Element,e.RP=o.StringElement,e.VL=o.NumberElement,e.hh=o.BooleanElement,e.zr=o.NullElement,e.ON=o.ArrayElement,e.Sb=o.ObjectElement,e.c6=o.MemberElement,e.tK=o.RefElement,e.EA=o.LinkElement,o.refract,r(2947),r(8910)},1641:(t,e,r)=>{const n=r(1570),o=r(6420),i=r(1178);class s extends o{constructor(t,e,r){super(t||[],e,r),this.element="array"}primitive(){return"array"}get(t){return this.content[t]}getValue(t){const e=this.get(t);if(e)return e.toValue()}getIndex(t){return this.content[t]}set(t,e){return this.content[t]=this.refract(e),this}remove(t){const e=this.content.splice(t,1);return e.length?e[0]:null}map(t,e){return this.content.map(t,e)}flatMap(t,e){return this.map(t,e).reduce(((t,e)=>t.concat(e)),[])}compactMap(t,e){const r=[];return this.forEach((n=>{const o=t.bind(e)(n);o&&r.push(o)})),r}filter(t,e){return new i(this.content.filter(t,e))}reject(t,e){return this.filter(n(t),e)}reduce(t,e){let r,n;void 0!==e?(r=0,n=this.refract(e)):(r=1,n="object"===this.primitive()?this.first.value:this.first);for(let e=r;e<this.length;e+=1){const r=this.content[e];n="object"===this.primitive()?this.refract(t(n,r.value,r.key,r,this)):this.refract(t(n,r,e,this))}return n}forEach(t,e){this.content.forEach(((r,n)=>{t.bind(e)(r,this.refract(n))}))}shift(){return this.content.shift()}unshift(t){this.content.unshift(this.refract(t))}push(t){return this.content.push(this.refract(t)),this}add(t){this.push(t)}findElements(t,e){const r=e||{},n=!!r.recursive,o=void 0===r.results?[]:r.results;return this.forEach(((e,r,i)=>{n&&void 0!==e.findElements&&e.findElements(t,{results:o,recursive:n}),t(e,r,i)&&o.push(e)})),o}find(t){return new i(this.findElements(t,{recursive:!0}))}findByElement(t){return this.find((e=>e.element===t))}findByClass(t){return this.find((e=>e.classes.includes(t)))}getById(t){return this.find((e=>e.id.toValue()===t)).first}includes(t){return this.content.some((e=>e.equals(t)))}contains(t){return this.includes(t)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(t){return new this.constructor(this.content.concat(t.content))}"fantasy-land/concat"(t){return this.concat(t)}"fantasy-land/map"(t){return new this.constructor(this.map(t))}"fantasy-land/chain"(t){return this.map((e=>t(e)),this).reduce(((t,e)=>t.concat(e)),this.empty())}"fantasy-land/filter"(t){return new this.constructor(this.content.filter(t))}"fantasy-land/reduce"(t,e){return this.content.reduce(t,e)}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)}}s.empty=function(){return new this},s["fantasy-land/empty"]=s.empty,"undefined"!=typeof Symbol&&(s.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),t.exports=s},3312:(t,e,r)=>{const n=r(6420);t.exports=class extends n{constructor(t,e,r){super(t,e,r),this.element="boolean"}primitive(){return"boolean"}}},6420:(t,e,r)=>{const n=r(8149),o=r(3026),i=r(1178);class s{constructor(t,e,r){e&&(this.meta=e),r&&(this.attributes=r),this.content=t}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((t=>{t.parent=this,t.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const t=new this.constructor;return t.element=this.element,this.meta.length&&(t._meta=this.meta.clone()),this.attributes.length&&(t._attributes=this.attributes.clone()),this.content?this.content.clone?t.content=this.content.clone():Array.isArray(this.content)?t.content=this.content.map((t=>t.clone())):t.content=this.content:t.content=this.content,t}toValue(){return this.content instanceof s?this.content.toValue():this.content instanceof o?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((t=>t.toValue()),this):this.content}toRef(t){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const e=new this.RefElement(this.id.toValue());return t&&(e.path=t),e}findRecursive(...t){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 e=t.pop();let r=new i;const n=(t,e)=>(t.push(e),t),s=(t,r)=>{r.element===e&&t.push(r);const i=r.findRecursive(e);return i&&i.reduce(n,t),r.content instanceof o&&(r.content.key&&s(t,r.content.key),r.content.value&&s(t,r.content.value)),t};return this.content&&(this.content.element&&s(r,this.content),Array.isArray(this.content)&&this.content.reduce(s,r)),t.isEmpty||(r=r.filter((e=>{let r=e.parents.map((t=>t.element));for(const e in t){const n=t[e],o=r.indexOf(n);if(-1===o)return!1;r=r.splice(0,o)}return!0}))),r}set(t){return this.content=t,this}equals(t){return n(this.toValue(),t)}getMetaProperty(t,e){if(!this.meta.hasKey(t)){if(this.isFrozen){const t=this.refract(e);return t.freeze(),t}this.meta.set(t,e)}return this.meta.get(t)}setMetaProperty(t,e){this.meta.set(t,e)}get element(){return this._storedElement||"element"}set element(t){this._storedElement=t}get content(){return this._content}set content(t){if(t instanceof s)this._content=t;else if(t instanceof i)this.content=t.elements;else if("string"==typeof t||"number"==typeof t||"boolean"==typeof t||"null"===t||null==t)this._content=t;else if(t instanceof o)this._content=t;else if(Array.isArray(t))this._content=t.map(this.refract);else{if("object"!=typeof t)throw new Error("Cannot set content to given value");this._content=Object.keys(t).map((e=>new this.MemberElement(e,t[e])))}}get meta(){if(!this._meta){if(this.isFrozen){const t=new this.ObjectElement;return t.freeze(),t}this._meta=new this.ObjectElement}return this._meta}set meta(t){t instanceof this.ObjectElement?this._meta=t:this.meta.set(t||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const t=new this.ObjectElement;return t.freeze(),t}this._attributes=new this.ObjectElement}return this._attributes}set attributes(t){t instanceof this.ObjectElement?this._attributes=t:this.attributes.set(t||{})}get id(){return this.getMetaProperty("id","")}set id(t){this.setMetaProperty("id",t)}get classes(){return this.getMetaProperty("classes",[])}set classes(t){this.setMetaProperty("classes",t)}get title(){return this.getMetaProperty("title","")}set title(t){this.setMetaProperty("title",t)}get description(){return this.getMetaProperty("description","")}set description(t){this.setMetaProperty("description",t)}get links(){return this.getMetaProperty("links",[])}set links(t){this.setMetaProperty("links",t)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:t}=this;const e=new i;for(;t;)e.push(t),t=t.parent;return e}get children(){if(Array.isArray(this.content))return new i(this.content);if(this.content instanceof o){const t=new i([this.content.key]);return this.content.value&&t.push(this.content.value),t}return this.content instanceof s?new i([this.content]):new i}get recursiveChildren(){const t=new i;return this.children.forEach((e=>{t.push(e),e.recursiveChildren.forEach((e=>{t.push(e)}))})),t}}t.exports=s},8858:(t,e,r)=>{const n=r(3026),o=r(6420);t.exports=class extends o{constructor(t,e,r,o){super(new n,r,o),this.element="member",this.key=t,this.value=e}get key(){return this.content.key}set key(t){this.content.key=this.refract(t)}get value(){return this.content.value}set value(t){this.content.value=this.refract(t)}}},4152:(t,e,r)=>{const n=r(6420);t.exports=class extends n{constructor(t,e,r){super(t||null,e,r),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},3710:(t,e,r)=>{const n=r(6420);t.exports=class extends n{constructor(t,e,r){super(t,e,r),this.element="number"}primitive(){return"number"}}},3860:(t,e,r)=>{const n=r(1570),o=r(9259),i=r(1641),s=r(8858),a=r(3853);t.exports=class extends i{constructor(t,e,r){super(t||[],e,r),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((t,e)=>(t[e.key.toValue()]=e.value?e.value.toValue():void 0,t)),{})}get(t){const e=this.getMember(t);if(e)return e.value}getMember(t){if(void 0!==t)return this.content.find((e=>e.key.toValue()===t))}remove(t){let e=null;return this.content=this.content.filter((r=>r.key.toValue()!==t||(e=r,!1))),e}getKey(t){const e=this.getMember(t);if(e)return e.key}set(t,e){if(o(t))return Object.keys(t).forEach((e=>{this.set(e,t[e])})),this;const r=t,n=this.getMember(r);return n?n.value=e:this.content.push(new s(r,e)),this}keys(){return this.content.map((t=>t.key.toValue()))}values(){return this.content.map((t=>t.value.toValue()))}hasKey(t){return this.content.some((e=>e.key.equals(t)))}items(){return this.content.map((t=>[t.key.toValue(),t.value.toValue()]))}map(t,e){return this.content.map((r=>t.bind(e)(r.value,r.key,r)))}compactMap(t,e){const r=[];return this.forEach(((n,o,i)=>{const s=t.bind(e)(n,o,i);s&&r.push(s)})),r}filter(t,e){return new a(this.content).filter(t,e)}reject(t,e){return this.filter(n(t),e)}forEach(t,e){return this.content.forEach((r=>t.bind(e)(r.value,r.key,r)))}}},9542:(t,e,r)=>{const n=r(6420);t.exports=class extends n{constructor(t,e,r){super(t,e,r),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},8910:(t,e,r)=>{const n=r(2947);t.exports=class extends n{serialise(t){if(!(t instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${t}\` is not an Element instance`);let e;t._attributes&&t.attributes.get("variable")&&(e=t.attributes.get("variable"));const r={element:t.element};t._meta&&t._meta.length>0&&(r.meta=this.serialiseObject(t.meta));const n="enum"===t.element||-1!==t.attributes.keys().indexOf("enumerations");if(n){const e=this.enumSerialiseAttributes(t);e&&(r.attributes=e)}else if(t._attributes&&t._attributes.length>0){let{attributes:n}=t;n.get("metadata")&&(n=n.clone(),n.set("meta",n.get("metadata")),n.remove("metadata")),"member"===t.element&&e&&(n=n.clone(),n.remove("variable")),n.length>0&&(r.attributes=this.serialiseObject(n))}if(n)r.content=this.enumSerialiseContent(t,r);else if(this[`${t.element}SerialiseContent`])r.content=this[`${t.element}SerialiseContent`](t,r);else if(void 0!==t.content){let n;e&&t.content.key?(n=t.content.clone(),n.key.attributes.set("variable",e),n=this.serialiseContent(n)):n=this.serialiseContent(t.content),this.shouldSerialiseContent(t,n)&&(r.content=n)}else this.shouldSerialiseContent(t,t.content)&&t instanceof this.namespace.elements.Array&&(r.content=[]);return r}shouldSerialiseContent(t,e){return"parseResult"===t.element||"httpRequest"===t.element||"httpResponse"===t.element||"category"===t.element||"link"===t.element||void 0!==e&&(!Array.isArray(e)||0!==e.length)}refSerialiseContent(t,e){return delete e.attributes,{href:t.toValue(),path:t.path.toValue()}}sourceMapSerialiseContent(t){return t.toValue()}dataStructureSerialiseContent(t){return[this.serialiseContent(t.content)]}enumSerialiseAttributes(t){const e=t.attributes.clone(),r=e.remove("enumerations")||new this.namespace.elements.Array([]),n=e.get("default");let o=e.get("samples")||new this.namespace.elements.Array([]);if(n&&n.content&&(n.content.attributes&&n.content.attributes.remove("typeAttributes"),e.set("default",new this.namespace.elements.Array([n.content]))),o.forEach((t=>{t.content&&t.content.element&&t.content.attributes.remove("typeAttributes")})),t.content&&0!==r.length&&o.unshift(t.content),o=o.map((t=>t instanceof this.namespace.elements.Array?[t]:new this.namespace.elements.Array([t.content]))),o.length&&e.set("samples",o),e.length>0)return this.serialiseObject(e)}enumSerialiseContent(t){if(t._attributes){const e=t.attributes.get("enumerations");if(e&&e.length>0)return e.content.map((t=>{const e=t.clone();return e.attributes.remove("typeAttributes"),this.serialise(e)}))}if(t.content){const e=t.content.clone();return e.attributes.remove("typeAttributes"),[this.serialise(e)]}return[]}deserialise(t){if("string"==typeof t)return new this.namespace.elements.String(t);if("number"==typeof t)return new this.namespace.elements.Number(t);if("boolean"==typeof t)return new this.namespace.elements.Boolean(t);if(null===t)return new this.namespace.elements.Null;if(Array.isArray(t))return new this.namespace.elements.Array(t.map(this.deserialise,this));const e=this.namespace.getElementClass(t.element),r=new e;r.element!==t.element&&(r.element=t.element),t.meta&&this.deserialiseObject(t.meta,r.meta),t.attributes&&this.deserialiseObject(t.attributes,r.attributes);const n=this.deserialiseContent(t.content);if(void 0===n&&null!==r.content||(r.content=n),"enum"===r.element){r.content&&r.attributes.set("enumerations",r.content);let t=r.attributes.get("samples");if(r.attributes.remove("samples"),t){const n=t;t=new this.namespace.elements.Array,n.forEach((n=>{n.forEach((n=>{const o=new e(n);o.element=r.element,t.push(o)}))}));const o=t.shift();r.content=o?o.content:void 0,r.attributes.set("samples",t)}else r.content=void 0;let n=r.attributes.get("default");if(n&&n.length>0){n=n.get(0);const t=new e(n);t.element=r.element,r.attributes.set("default",t)}}else if("dataStructure"===r.element&&Array.isArray(r.content))[r.content]=r.content;else if("category"===r.element){const t=r.attributes.get("meta");t&&(r.attributes.set("metadata",t),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(t){if(t instanceof this.namespace.elements.Element)return this.serialise(t);if(t instanceof this.namespace.KeyValuePair){const e={key:this.serialise(t.key)};return t.value&&(e.value=this.serialise(t.value)),e}return t&&t.map?t.map(this.serialise,this):t}deserialiseContent(t){if(t){if(t.element)return this.deserialise(t);if(t.key){const e=new this.namespace.KeyValuePair(this.deserialise(t.key));return t.value&&(e.value=this.deserialise(t.value)),e}if(t.map)return t.map(this.deserialise,this)}return t}shouldRefract(t){return!!(t._attributes&&t.attributes.keys().length||t._meta&&t.meta.keys().length)||"enum"!==t.element&&(t.element!==t.primitive()||"member"===t.element)}convertKeyToRefract(t,e){return this.shouldRefract(e)?this.serialise(e):"enum"===e.element?this.serialiseEnum(e):"array"===e.element?e.map((e=>this.shouldRefract(e)||"default"===t?this.serialise(e):"array"===e.element||"object"===e.element||"enum"===e.element?e.children.map((t=>this.serialise(t))):e.toValue())):"object"===e.element?(e.content||[]).map(this.serialise,this):e.toValue()}serialiseEnum(t){return t.children.map((t=>this.serialise(t)))}serialiseObject(t){const e={};return t.forEach(((t,r)=>{if(t){const n=r.toValue();e[n]=this.convertKeyToRefract(n,t)}})),e}deserialiseObject(t,e){Object.keys(t).forEach((r=>{e.set(r,this.deserialise(t[r]))}))}}},2947:t=>{t.exports=class{constructor(t){this.namespace=t||new this.Namespace}serialise(t){if(!(t instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${t}\` is not an Element instance`);const e={element:t.element};t._meta&&t._meta.length>0&&(e.meta=this.serialiseObject(t.meta)),t._attributes&&t._attributes.length>0&&(e.attributes=this.serialiseObject(t.attributes));const r=this.serialiseContent(t.content);return void 0!==r&&(e.content=r),e}deserialise(t){if(!t.element)throw new Error("Given value is not an object containing an element name");const e=new(this.namespace.getElementClass(t.element));e.element!==t.element&&(e.element=t.element),t.meta&&this.deserialiseObject(t.meta,e.meta),t.attributes&&this.deserialiseObject(t.attributes,e.attributes);const r=this.deserialiseContent(t.content);return void 0===r&&null!==e.content||(e.content=r),e}serialiseContent(t){if(t instanceof this.namespace.elements.Element)return this.serialise(t);if(t instanceof this.namespace.KeyValuePair){const e={key:this.serialise(t.key)};return t.value&&(e.value=this.serialise(t.value)),e}if(t&&t.map){if(0===t.length)return;return t.map(this.serialise,this)}return t}deserialiseContent(t){if(t){if(t.element)return this.deserialise(t);if(t.key){const e=new this.namespace.KeyValuePair(this.deserialise(t.key));return t.value&&(e.value=this.deserialise(t.value)),e}if(t.map)return t.map(this.deserialise,this)}return t}serialiseObject(t){const e={};if(t.forEach(((t,r)=>{t&&(e[r.toValue()]=this.serialise(t))})),0!==Object.keys(e).length)return e}deserialiseObject(t,e){Object.keys(t).forEach((r=>{e.set(r,this.deserialise(t[r]))}))}}},6591:t=>{!function(){"use strict";var e,r,n,o,i,s="properties",a="deepProperties",c="propertyDescriptors",u="staticProperties",l="staticDeepProperties",f="staticPropertyDescriptors",p="configuration",h="deepConfiguration",y="deepProps",m="deepStatics",v="deepConf",d="initializers",b="methods",g="composers",x="compose";function E(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[])}function j(t,e){return Array.prototype.slice.call(arguments,2).reduce(t,e)}var w=j.bind(0,(function(t,e){if(e)for(var r=E(e),n=0;n<r.length;n+=1)Object.defineProperty(t,r[n],Object.getOwnPropertyDescriptor(e,r[n]));return t}));function O(t){return"function"==typeof t}function S(t){return t&&"object"==typeof t||O(t)}function A(t){return t&&"object"==typeof t&&t.__proto__==Object.prototype}var _=j.bind(0,(function t(r,n){if(n===e)return r;if(Array.isArray(n))return(Array.isArray(r)?r:[]).concat(n);if(!A(n))return n;for(var o,i,s=E(n),a=0;a<s.length;)o=s[a++],(i=Object.getOwnPropertyDescriptor(n,o)).hasOwnProperty("value")?i.value!==e&&(r[o]=t(A(r[o])||Array.isArray(n[o])?r[o]:{},n[o])):Object.defineProperty(r,o,i);return r}));function P(){return(r=Array.prototype.concat.apply([],arguments).filter((function(t,e,r){return O(t)&&r.indexOf(t)===e}))).length?r:e}function k(t,e){function n(r,n){S(e[r])&&(S(t[r])||(t[r]={}),(n||w)(t[r],e[r]))}function o(n){(r=P(t[n],e[n]))&&(t[n]=r)}return e&&S(e=e[x]||e)&&(n(b),n(s),n(a,_),n(c),n(u),n(l,_),n(f),n(p),n(h,_),o(d),o(g)),t}function T(){return function(t){return r=function t(r){var n,o,i=t[x]||{},u={__proto__:i[b]},l=i[d],f=Array.prototype.slice.apply(arguments),p=i[a];if(p&&_(u,p),(p=i[s])&&w(u,p),(p=i[c])&&Object.defineProperties(u,p),!l||!l.length)return u;for(r===e&&(r={}),i=0;i<l.length;)O(n=l[i++])&&(u=(o=n.call(u,r,{instance:u,stamp:t,args:f}))===e?u:o);return u},(n=t[l])&&_(r,n),(n=t[u])&&w(r,n),(n=t[f])&&Object.defineProperties(r,n),n=O(r[x])?r[x]:T,w(r[x]=function(){return n.apply(this,arguments)},t),r}(Array.prototype.concat.apply([this],arguments).reduce(k,{}))}function M(t){return O(t)&&O(t[x])}var N={};function C(t,i){return function(){return(o={})[t]=i.apply(e,Array.prototype.concat.apply([{}],arguments)),((r=this)&&r[x]||n).call(r,o)}}N[b]=C(b,w),N[s]=N.props=C(s,w),N[d]=N.init=C(d,P),N[g]=C(g,P),N[a]=N[y]=C(a,_),N[u]=N.statics=C(u,w),N[l]=N[m]=C(l,_),N[p]=N.conf=C(p,w),N[h]=N[v]=C(h,_),N[c]=C(c,w),N[f]=C(f,w),n=N[x]=w((function(){for(var t,E,j=0,O=[],A=arguments,k=this;j<A.length;)S(t=A[j++])&&O.push(M(t)?t:((o={})[b]=(E=t)[b]||e,n=E.props,o[s]=S((r=E[s])||n)?w({},n,r):e,o[d]=P(E.init,E[d]),o[g]=P(E[g]),n=E[y],o[a]=S((r=E[a])||n)?_({},n,r):e,o[c]=E[c],n=E.statics,o[u]=S((r=E[u])||n)?w({},n,r):e,n=E[m],o[l]=S((r=E[l])||n)?_({},n,r):e,r=E[f],o[f]=S((n=E.name&&{name:{value:E.name}})||r)?w({},r,n):e,n=E.conf,o[p]=S((r=E[p])||n)?w({},n,r):e,n=E[v],o[h]=S((r=E[h])||n)?_({},n,r):e,o));if(t=T.apply(k||i,O),k&&O.unshift(k),Array.isArray(A=t[x][g]))for(j=0;j<A.length;)t=M(k=A[j++]({stamp:t,composables:O}))?k:t;return t}),N),N.create=function(){return this.apply(e,arguments)},(o={})[u]=N,i=T(o),n[x]=n.bind(),n.version="4.3.2","object"!=typeof e?t.exports=n:self.stampit=n}()},1427:(t,e,r)=>{t.exports=r(6762)}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={id:n,loaded:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var n={};return(()=>{"use strict";r.r(n),r.d(n,{CompilationRelativeJsonPointerError:()=>yr,EvaluationRelativeJsonPointerError:()=>hr,InvalidRelativeJsonPointerError:()=>Yt,RelativeJsonPointerError:()=>Ht,compile:()=>Nr,evaluate:()=>an,isRelativeJsonPointer:()=>_r,parse:()=>Pr});var t={};function e(t){return null!=t&&"object"==typeof t&&!0===t["@@functional/placeholder"]}function o(t){return function r(n){return 0===arguments.length||e(n)?r:t.apply(this,arguments)}}function i(t){return function r(n,i){switch(arguments.length){case 0:return r;case 1:return e(n)?r:o((function(e){return t(n,e)}));default:return e(n)&&e(i)?r:e(n)?o((function(e){return t(e,i)})):e(i)?o((function(e){return t(n,e)})):t(n,i)}}}r.r(t),r.d(t,{hasElementSourceMap:()=>Re,includesClasses:()=>Ve,includesSymbols:()=>Ie,isAnnotationElement:()=>ke,isArrayElement:()=>Se,isBooleanElement:()=>we,isCommentElement:()=>Te,isElement:()=>ge,isLinkElement:()=>_e,isMemberElement:()=>Ae,isNullElement:()=>je,isNumberElement:()=>Ee,isObjectElement:()=>Oe,isParseResultElement:()=>Me,isPrimitiveElement:()=>Ce,isRefElement:()=>Pe,isSourceMapElement:()=>Ne,isStringElement:()=>xe});var s=i((function(t,e){for(var r={},n={},o=0,i=t.length;o<i;)n[t[o]]=1,o+=1;for(var s in e)n.hasOwnProperty(s)||(r[s]=e[s]);return r}));const a=s;const c=o((function(t){return null==t}));var u=i((function(t,e){return!c(e)&&t in e}));const l=u;function f(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(t){return e.apply(this,arguments)};case 2:return function(t,r){return e.apply(this,arguments)};case 3:return function(t,r,n){return e.apply(this,arguments)};case 4:return function(t,r,n,o){return e.apply(this,arguments)};case 5:return function(t,r,n,o,i){return e.apply(this,arguments)};case 6:return function(t,r,n,o,i,s){return e.apply(this,arguments)};case 7:return function(t,r,n,o,i,s,a){return e.apply(this,arguments)};case 8:return function(t,r,n,o,i,s,a,c){return e.apply(this,arguments)};case 9:return function(t,r,n,o,i,s,a,c,u){return e.apply(this,arguments)};case 10:return function(t,r,n,o,i,s,a,c,u,l){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function p(t,e){return function(){return e.call(this,t.apply(this,arguments))}}function h(t){return function r(n,s,a){switch(arguments.length){case 0:return r;case 1:return e(n)?r:i((function(e,r){return t(n,e,r)}));case 2:return e(n)&&e(s)?r:e(n)?i((function(e,r){return t(e,s,r)})):e(s)?i((function(e,r){return t(n,e,r)})):o((function(e){return t(n,s,e)}));default:return e(n)&&e(s)&&e(a)?r:e(n)&&e(s)?i((function(e,r){return t(e,r,a)})):e(n)&&e(a)?i((function(e,r){return t(e,s,r)})):e(s)&&e(a)?i((function(e,r){return t(n,e,r)})):e(n)?o((function(e){return t(e,s,a)})):e(s)?o((function(e){return t(n,e,a)})):e(a)?o((function(e){return t(n,s,e)})):t(n,s,a)}}}const y=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)};function m(t){return"[object String]"===Object.prototype.toString.call(t)}const v=o((function(t){return!!y(t)||!!t&&("object"==typeof t&&(!m(t)&&(0===t.length||t.length>0&&(t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1)))))}));var d="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function b(t,e,r){return function(n,o,i){if(v(i))return t(n,o,i);if(null==i)return o;if("function"==typeof i["fantasy-land/reduce"])return e(n,o,i,"fantasy-land/reduce");if(null!=i[d])return r(n,o,i[d]());if("function"==typeof i.next)return r(n,o,i);if("function"==typeof i.reduce)return e(n,o,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function g(t,e,r){for(var n=0,o=r.length;n<o;){if((e=t["@@transducer/step"](e,r[n]))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n+=1}return t["@@transducer/result"](e)}const x=i((function(t,e){return f(t.length,(function(){return t.apply(e,arguments)}))}));function E(t,e,r){for(var n=r.next();!n.done;){if((e=t["@@transducer/step"](e,n.value))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n=r.next()}return t["@@transducer/result"](e)}function j(t,e,r,n){return t["@@transducer/result"](r[n](x(t["@@transducer/step"],t),e))}const w=b(g,j,E);var O=function(){function t(t){this.f=t}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(t){return t},t.prototype["@@transducer/step"]=function(t,e){return this.f(t,e)},t}();const S=h((function(t,e,r){return w("function"==typeof t?new O(t):t,e,r)}));function A(t,e){return function(){var r=arguments.length;if(0===r)return e();var n=arguments[r-1];return y(n)||"function"!=typeof n[t]?e.apply(this,arguments):n[t].apply(n,Array.prototype.slice.call(arguments,0,r-1))}}const _=h(A("slice",(function(t,e,r){return Array.prototype.slice.call(r,t,e)})));const P=o(A("tail",_(1,1/0)));function k(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return f(arguments[0].length,S(p,arguments[0],P(arguments)))}const T=o((function(t){return null===t?"Null":void 0===t?"Undefined":Object.prototype.toString.call(t).slice(8,-1)}));const M="function"==typeof Object.is?Object.is:function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};var N=function(t,e){switch(arguments.length){case 0:return N;case 1:return function e(r){return 0===arguments.length?e:M(t,r)};default:return M(t,e)}};const C=N;function R(t){for(var e,r=[];!(e=t.next()).done;)r.push(e.value);return r}function I(t,e,r){for(var n=0,o=r.length;n<o;){if(t(e,r[n]))return!0;n+=1}return!1}function V(t,e){return Object.prototype.hasOwnProperty.call(e,t)}var F=Object.prototype.toString;const z=function(){return"[object Arguments]"===F.call(arguments)?function(t){return"[object Arguments]"===F.call(t)}:function(t){return V("callee",t)}}();var L=!{toString:null}.propertyIsEnumerable("toString"),D=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],B=function(){return arguments.propertyIsEnumerable("length")}(),q=function(t,e){for(var r=0;r<t.length;){if(t[r]===e)return!0;r+=1}return!1},U="function"!=typeof Object.keys||B?o((function(t){if(Object(t)!==t)return[];var e,r,n=[],o=B&&z(t);for(e in t)!V(e,t)||o&&"length"===e||(n[n.length]=e);if(L)for(r=D.length-1;r>=0;)V(e=D[r],t)&&!q(n,e)&&(n[n.length]=e),r-=1;return n})):o((function(t){return Object(t)!==t?[]:Object.keys(t)}));const G=U;function $(t,e,r,n){var o=R(t);function i(t,e){return J(t,e,r.slice(),n.slice())}return!I((function(t,e){return!I(i,e,t)}),R(e),o)}function J(t,e,r,n){if(M(t,e))return!0;var o,i,s=T(t);if(s!==T(e))return!1;if("function"==typeof t["fantasy-land/equals"]||"function"==typeof e["fantasy-land/equals"])return"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e)&&"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t);if("function"==typeof t.equals||"function"==typeof e.equals)return"function"==typeof t.equals&&t.equals(e)&&"function"==typeof e.equals&&e.equals(t);switch(s){case"Arguments":case"Array":case"Object":if("function"==typeof t.constructor&&"Promise"===(o=t.constructor,null==(i=String(o).match(/^function (\w*)/))?"":i[1]))return t===e;break;case"Boolean":case"Number":case"String":if(typeof t!=typeof e||!M(t.valueOf(),e.valueOf()))return!1;break;case"Date":if(!M(t.valueOf(),e.valueOf()))return!1;break;case"Error":return t.name===e.name&&t.message===e.message;case"RegExp":if(t.source!==e.source||t.global!==e.global||t.ignoreCase!==e.ignoreCase||t.multiline!==e.multiline||t.sticky!==e.sticky||t.unicode!==e.unicode)return!1}for(var a=r.length-1;a>=0;){if(r[a]===t)return n[a]===e;a-=1}switch(s){case"Map":return t.size===e.size&&$(t.entries(),e.entries(),r.concat([t]),n.concat([e]));case"Set":return t.size===e.size&&$(t.values(),e.values(),r.concat([t]),n.concat([e]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var c=G(t);if(c.length!==G(e).length)return!1;var u=r.concat([t]),l=n.concat([e]);for(a=c.length-1;a>=0;){var f=c[a];if(!V(f,e)||!J(e[f],t[f],u,l))return!1;a-=1}return!0}const K=i((function(t,e){return J(t,e,[],[])}));function W(t,e){return function(t,e,r){var n,o;if("function"==typeof t.indexOf)switch(typeof e){case"number":if(0===e){for(n=1/e;r<t.length;){if(0===(o=t[r])&&1/o===n)return r;r+=1}return-1}if(e!=e){for(;r<t.length;){if("number"==typeof(o=t[r])&&o!=o)return r;r+=1}return-1}return t.indexOf(e,r);case"string":case"boolean":case"function":case"undefined":return t.indexOf(e,r);case"object":if(null===e)return t.indexOf(e,r)}for(;r<t.length;){if(K(t[r],e))return r;r+=1}return-1}(e,t,0)>=0}function H(t,e){for(var r=0,n=e.length,o=Array(n);r<n;)o[r]=t(e[r]),r+=1;return o}function Y(t){return'"'+t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var X=function(t){return(t<10?"0":"")+t};const Z="function"==typeof Date.prototype.toISOString?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+X(t.getUTCMonth()+1)+"-"+X(t.getUTCDate())+"T"+X(t.getUTCHours())+":"+X(t.getUTCMinutes())+":"+X(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function Q(t,e,r){for(var n=0,o=r.length;n<o;)e=t(e,r[n]),n+=1;return e}function tt(t,e,r){return function(){if(0===arguments.length)return r();var n=arguments[arguments.length-1];if(!y(n)){for(var o=0;o<t.length;){if("function"==typeof n[t[o]])return n[t[o]].apply(n,Array.prototype.slice.call(arguments,0,-1));o+=1}if(function(t){return null!=t&&"function"==typeof t["@@transducer/step"]}(n))return e.apply(null,Array.prototype.slice.call(arguments,0,-1))(n)}return r.apply(this,arguments)}}function et(t){return"[object Object]"===Object.prototype.toString.call(t)}const rt=function(){return this.xf["@@transducer/init"]()},nt=function(t){return this.xf["@@transducer/result"](t)};var ot=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=rt,t.prototype["@@transducer/result"]=nt,t.prototype["@@transducer/step"]=function(t,e){return this.f(e)?this.xf["@@transducer/step"](t,e):t},t}();function it(t){return function(e){return new ot(t,e)}}const st=i(tt(["fantasy-land/filter","filter"],it,(function(t,e){return et(e)?Q((function(r,n){return t(e[n])&&(r[n]=e[n]),r}),{},G(e)):function(t,e){for(var r=0,n=e.length,o=[];r<n;)t(e[r])&&(o[o.length]=e[r]),r+=1;return o}(t,e)})));const at=i((function(t,e){return st((r=t,function(){return!r.apply(this,arguments)}),e);var r}));function ct(t,e){var r=function(r){var n=e.concat([t]);return W(r,n)?"<Circular>":ct(r,n)},n=function(t,e){return H((function(e){return Y(e)+": "+r(t[e])}),e.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+H(r,t).join(", ")+"))";case"[object Array]":return"["+H(r,t).concat(n(t,at((function(t){return/^\d+$/.test(t)}),G(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+r(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?r(NaN):Y(Z(t)))+")";case"[object Map]":return"new Map("+r(Array.from(t))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+r(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object Set]":return"new Set("+r(Array.from(t).sort())+")";case"[object String]":return"object"==typeof t?"new String("+r(t.valueOf())+")":Y(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var o=t.toString();if("[object Object]"!==o)return o}return"{"+n(t,G(t)).join(", ")+"}"}}const ut=o((function(t){return ct(t,[])})),lt=Number.isInteger||function(t){return t<<0===t};const ft=i((function(t,e){var r=t<0?e.length+t:t;return m(e)?e.charAt(r):e[r]}));const pt=i((function(t,e){return t.map((function(t){for(var r,n=e,o=0;o<t.length;){if(null==n)return;r=t[o],n=lt(r)?ft(r,n):n[r],o+=1}return n}))}));const ht=i((function(t,e){return pt([t],e)[0]}));const yt=h((function(t,e,r){return t(ht(e,r))}));function mt(t){var e=Object.prototype.toString.call(t);return"[object Function]"===e||"[object AsyncFunction]"===e||"[object GeneratorFunction]"===e||"[object AsyncGeneratorFunction]"===e}const vt=i((function(t,e){return t&&e}));function dt(t,e,r){for(var n=r.next();!n.done;)e=t(e,n.value),n=r.next();return e}function bt(t,e,r,n){return r[n](t,e)}const gt=b(Q,bt,dt);var xt=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=rt,t.prototype["@@transducer/result"]=nt,t.prototype["@@transducer/step"]=function(t,e){return this.xf["@@transducer/step"](t,this.f(e))},t}();const Et=function(t){return function(e){return new xt(t,e)}};function jt(t,r,n){return function(){for(var o=[],i=0,s=t,a=0,c=!1;a<r.length||i<arguments.length;){var u;a<r.length&&(!e(r[a])||i>=arguments.length)?u=r[a]:(u=arguments[i],i+=1),o[a]=u,e(u)?c=!0:s-=1,a+=1}return!c&&s<=0?n.apply(this,o):f(Math.max(0,s),jt(t,o,n))}}const wt=i((function(t,e){return 1===t?o(e):f(t,jt(t,[],e))}));const Ot=i(tt(["fantasy-land/map","map"],Et,(function(t,e){switch(Object.prototype.toString.call(e)){case"[object Function]":return wt(e.length,(function(){return t.call(this,e.apply(this,arguments))}));case"[object Object]":return Q((function(r,n){return r[n]=t(e[n]),r}),{},G(e));default:return H(t,e)}})));const St=i((function(t,e){return"function"==typeof e["fantasy-land/ap"]?e["fantasy-land/ap"](t):"function"==typeof t.ap?t.ap(e):"function"==typeof t?function(r){return t(r)(e(r))}:gt((function(t,r){return function(t,e){var r;e=e||[];var n=(t=t||[]).length,o=e.length,i=[];for(r=0;r<n;)i[i.length]=t[r],r+=1;for(r=0;r<o;)i[i.length]=e[r],r+=1;return i}(t,Ot(r,e))}),[],t)}));const At=i((function(t,e){var r=wt(t,e);return wt(t,(function(){return Q(St,Ot(r,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const _t=o((function(t){return At(t.length,t)}));const Pt=i((function(t,e){return mt(t)?function(){return t.apply(this,arguments)&&e.apply(this,arguments)}:_t(vt)(t,e)}));const kt=K(null);const Tt=_t(o((function(t){return!t})));var Mt=Tt(kt);function Nt(t){return Nt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Nt(t)}const Ct=wt(1,Pt(Mt,(function(t){return"object"===Nt(t)})));const Rt=i((function(t,e){if(t===e)return e;function r(t,e){if(t>e!=e>t)return e>t?e:t}var n=r(t,e);if(void 0!==n)return n;var o=r(typeof t,typeof e);if(void 0!==o)return o===typeof t?t:e;var i=ut(t),s=r(i,ut(e));return void 0!==s&&s===i?t:e}));const It=i((function(t,e){if(null!=e)return lt(t)?ft(t,e):e[t]}));const Vt=i((function(t,e){return Ot(It(t),e)}));const Ft=o((function(t){return wt(S(Rt,0,Vt("length",t)),(function(){for(var e=0,r=t.length;e<r;){if(t[e].apply(this,arguments))return!0;e+=1}return!1}))}));const zt=wt(1,k(T,C("GeneratorFunction")));const Lt=wt(1,k(T,C("AsyncFunction")));const Dt=Ft([k(T,C("Function")),zt,Lt]);var Bt=k(T,C("Object")),qt=yt(Pt(Dt,k(ut,K(ut(Object)))),["constructor"]);const Ut=wt(1,(function(t){if(!Ct(t)||!Bt(t))return!1;var e=Object.getPrototypeOf(t);return!!kt(e)||qt(e)}));var Gt=r(1427);const $t=class extends Gt{constructor(t,e,r){if(super(t,e,r),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,Ut(r)&&l("cause",r)&&!l("cause",this)){const{cause:t}=r;this.cause=t,t instanceof Error&&l("stack",t)&&(this.stack=`${this.stack}\nCAUSE: ${null==t?void 0:t.stack}`)}}};class Jt extends Error{static[Symbol.hasInstance](t){return super[Symbol.hasInstance](t)||Function.prototype[Symbol.hasInstance].call($t,t)}constructor(t,e){if(super(t,e),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,Ut(e)&&l("cause",e)&&!l("cause",this)){const{cause:t}=e;this.cause=t,t instanceof Error&&l("stack",t)&&(this.stack=`${this.stack}\nCAUSE: ${null==t?void 0:t.stack}`)}}}const Kt=Jt;const Wt=class extends Kt{constructor(t,e){super(t,e),void 0!==e&&Object.assign(this,a(["cause"],e))}};const Ht=class extends Wt{};class Yt extends Ht{constructor(t,e){super(t,e),void 0!==e&&(this.relativePointer=e.relativePointer)}}var Xt=r(7952);function Zt(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}var Qt=function(){function t(t,e){this.xf=e,this.f=t,this.all=!0}return t.prototype["@@transducer/init"]=rt,t.prototype["@@transducer/result"]=function(t){return this.all&&(t=this.xf["@@transducer/step"](t,!0)),this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){return this.f(e)||(this.all=!1,t=Zt(this.xf["@@transducer/step"](t,!1))),t},t}();function te(t){return function(e){return new Qt(t,e)}}const ee=i(tt(["all"],te,(function(t,e){for(var r=0;r<e.length;){if(!t(e[r]))return!1;r+=1}return!0})));const re=o((function(t){return wt(t.length,(function(e,r){var n=Array.prototype.slice.call(arguments,0);return n[0]=r,n[1]=e,t.apply(this,n)}))}))(i(W));class ne extends Xt.RP{constructor(t,e,r){super(t,e,r),this.element="annotation"}get code(){return this.attributes.get("code")}set code(t){this.attributes.set("code",t)}}const oe=ne;class ie extends Xt.RP{constructor(t,e,r){super(t,e,r),this.element="comment"}}const se=ie;var ae=o((function(t){return function(){return t}}))(void 0);const ce=K(ae());class ue extends Xt.ON{constructor(t,e,r){super(t,e,r),this.element="parseResult"}get api(){return this.children.filter((t=>t.classes.contains("api"))).first}get results(){return this.children.filter((t=>t.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((t=>"annotation"===t.element))}get warnings(){return this.children.filter((t=>"annotation"===t.element&&t.classes.contains("warning")))}get errors(){return this.children.filter((t=>"annotation"===t.element&&t.classes.contains("error")))}get isEmpty(){return this.children.reject((t=>"annotation"===t.element)).isEmpty}replaceResult(t){const{result:e}=this;if(ce(e))return!1;const r=this.content.findIndex((t=>t===e));return-1!==r&&(this.content[r]=t,!0)}}const le=ue;class fe extends Xt.ON{constructor(t,e,r){super(t,e,r),this.element="sourceMap"}get positionStart(){return this.children.filter((t=>t.classes.contains("position"))).get(0)}get positionEnd(){return this.children.filter((t=>t.classes.contains("position"))).get(1)}set position(t){if(null===t)return;const e=new Xt.ON([t.start.row,t.start.column,t.start.char]),r=new Xt.ON([t.end.row,t.end.column,t.end.char]);e.classes.push("position"),r.classes.push("position"),this.push(e).push(r)}}const pe=fe,he=(t,e)=>"object"==typeof e&&null!==e&&t in e&&"function"==typeof e[t],ye=t=>"object"==typeof t&&null!=t&&"_storedElement"in t&&"string"==typeof t._storedElement&&"_content"in t,me=(t,e)=>"object"==typeof e&&null!==e&&"primitive"in e&&("function"==typeof e.primitive&&e.primitive()===t),ve=(t,e)=>"object"==typeof e&&null!==e&&"classes"in e&&(Array.isArray(e.classes)||e.classes instanceof Xt.ON)&&e.classes.includes(t),de=(t,e)=>"object"==typeof e&&null!==e&&"element"in e&&e.element===t,be=t=>t({hasMethod:he,hasBasicElementProps:ye,primitiveEq:me,isElementType:de,hasClass:ve}),ge=be((({hasBasicElementProps:t,primitiveEq:e})=>r=>r instanceof Xt.W_||t(r)&&e(void 0,r))),xe=be((({hasBasicElementProps:t,primitiveEq:e})=>r=>r instanceof Xt.RP||t(r)&&e("string",r))),Ee=be((({hasBasicElementProps:t,primitiveEq:e})=>r=>r instanceof Xt.VL||t(r)&&e("number",r))),je=be((({hasBasicElementProps:t,primitiveEq:e})=>r=>r instanceof Xt.zr||t(r)&&e("null",r))),we=be((({hasBasicElementProps:t,primitiveEq:e})=>r=>r instanceof Xt.hh||t(r)&&e("boolean",r))),Oe=be((({hasBasicElementProps:t,primitiveEq:e,hasMethod:r})=>n=>n instanceof Xt.Sb||t(n)&&e("object",n)&&r("keys",n)&&r("values",n)&&r("items",n))),Se=be((({hasBasicElementProps:t,primitiveEq:e,hasMethod:r})=>n=>n instanceof Xt.ON&&!(n instanceof Xt.Sb)||t(n)&&e("array",n)&&r("push",n)&&r("unshift",n)&&r("map",n)&&r("reduce",n))),Ae=be((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Xt.c6||t(n)&&e("member",n)&&r(void 0,n))),_e=be((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Xt.EA||t(n)&&e("link",n)&&r(void 0,n))),Pe=be((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Xt.tK||t(n)&&e("ref",n)&&r(void 0,n))),ke=be((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof oe||t(n)&&e("annotation",n)&&r("array",n))),Te=be((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof se||t(n)&&e("comment",n)&&r("string",n))),Me=be((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof le||t(n)&&e("parseResult",n)&&r("array",n))),Ne=be((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof pe||t(n)&&e("sourceMap",n)&&r("array",n))),Ce=t=>de("object",t)||de("array",t)||de("boolean",t)||de("number",t)||de("string",t)||de("null",t)||de("member",t),Re=t=>Ne(t.meta.get("sourceMap")),Ie=(t,e)=>{if(0===t.length)return!0;const r=e.attributes.get("symbols");return!!Se(r)&&ee(re(r.toValue()),t)},Ve=(t,e)=>0===t.length||ee(re(e.classes.toValue()),t);var Fe=r(6591);const ze=function(){return!0};const Le=function(){return!1};const De=wt(1,k(T,C("String"))),Be=(t,e,r)=>{const n=t[e];if(null!=n){if(!r&&"function"==typeof n)return n;const t=r?n.leave:n.enter;if("function"==typeof t)return t}else{const n=r?t.leave:t.enter;if(null!=n){if("function"==typeof n)return n;const t=n[e];if("function"==typeof t)return t}}return null},qe={},Ue=t=>null==t?void 0:t.type,Ge=t=>"string"==typeof Ue(t),$e=t=>Object.create(Object.getPrototypeOf(t),Object.getOwnPropertyDescriptors(t)),Je=(t,e,{keyMap:r=null,state:n={},breakSymbol:o=qe,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:s=!1,visitFnGetter:a=Be,nodeTypeGetter:c=Ue,nodePredicate:u=Ge,nodeCloneFn:l=$e,detectCycles:f=!0}={})=>{const p=r||{};let h,y,m=Array.isArray(t),v=[t],d=-1,b=[],g=t;const x=[],E=[];do{d+=1;const t=d===v.length;let r;const w=t&&0!==b.length;if(t){if(r=0===E.length?void 0:x.pop(),g=y,y=E.pop(),w)if(m){g=g.slice();let t=0;for(const[e,r]of b){const n=e-t;r===i?(g.splice(n,1),t+=1):g[n]=r}}else{g=l(g);for(const[t,e]of b)g[t]=e}d=h.index,v=h.keys,b=h.edits,m=h.inArray,h=h.prev}else if(y!==i&&void 0!==y){if(r=m?d:v[d],g=y[r],g===i||void 0===g)continue;x.push(r)}if(E.includes(g))continue;let O;if(!Array.isArray(g)){if(!u(g))throw new Kt(`Invalid AST Node: ${JSON.stringify(g)}`);if(f&&E.includes(g)){x.pop();continue}const i=a(e,c(g),t);if(i){for(const[t,r]of Object.entries(n))e[t]=r;O=i.call(e,g,r,y,x,E)}if(O===o)break;if(O===s){if(!t){x.pop();continue}}else if(void 0!==O&&(b.push([r,O]),!t)){if(!u(O)){x.pop();continue}g=O}}var j;if(void 0===O&&w&&b.push([r,g]),!t)h={inArray:m,index:d,keys:v,edits:b,prev:h},m=Array.isArray(g),v=m?g:null!==(j=p[c(g)])&&void 0!==j?j:[],d=-1,b=[],y!==i&&void 0!==y&&E.push(y),y=g}while(void 0!==h);return 0!==b.length?b.at(-1)[1]:t};Je[Symbol.for("nodejs.util.promisify.custom")]=async(t,e,{keyMap:r=null,state:n={},breakSymbol:o=qe,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:s=!1,visitFnGetter:a=Be,nodeTypeGetter:c=Ue,nodePredicate:u=Ge,nodeCloneFn:l=$e,detectCycles:f=!0}={})=>{const p=r||{};let h,y,m=Array.isArray(t),v=[t],d=-1,b=[],g=t;const x=[],E=[];do{d+=1;const t=d===v.length;let r;const w=t&&0!==b.length;if(t){if(r=0===E.length?void 0:x.pop(),g=y,y=E.pop(),w)if(m){g=g.slice();let t=0;for(const[e,r]of b){const n=e-t;r===i?(g.splice(n,1),t+=1):g[n]=r}}else{g=l(g);for(const[t,e]of b)g[t]=e}d=h.index,v=h.keys,b=h.edits,m=h.inArray,h=h.prev}else if(y!==i&&void 0!==y){if(r=m?d:v[d],g=y[r],g===i||void 0===g)continue;x.push(r)}let O;if(!Array.isArray(g)){if(!u(g))throw new Kt(`Invalid AST Node: ${JSON.stringify(g)}`);if(f&&E.includes(g)){x.pop();continue}const i=a(e,c(g),t);if(i){for(const[t,r]of Object.entries(n))e[t]=r;O=await i.call(e,g,r,y,x,E)}if(O===o)break;if(O===s){if(!t){x.pop();continue}}else if(void 0!==O&&(b.push([r,O]),!t)){if(!u(O)){x.pop();continue}g=O}}var j;if(void 0===O&&w&&b.push([r,g]),!t)h={inArray:m,index:d,keys:v,edits:b,prev:h},m=Array.isArray(g),v=m?g:null!==(j=p[c(g)])&&void 0!==j?j:[],d=-1,b=[],y!==i&&void 0!==y&&E.push(y),y=g}while(void 0!==h);return 0!==b.length?b.at(-1)[1]:t};const Ke=class extends Wt{};const We=class extends Ke{};const He=class extends Ke{},Ye=t=>"function"==typeof(null==t?void 0:t.clone)?t.clone():t,Xe=t=>{if(t instanceof Xt.rm){const e=[...t].map(Ye);return new Xt.rm(e)}if(t instanceof Xt.O4){const e=[...t].map(Ye);return new Xt.O4(e)}if("function"==typeof(null==t?void 0:t.clone))return t.clone();throw new We("Value provided to cloneDeep function couldn't be cloned",{value:t})};Xe.safe=t=>{try{return Xe(t)}catch{return t}};const Ze=t=>{const{key:e,value:r}=t;return new Xt.KeyValuePair(e,r)},Qe=t=>{const e=new t.constructor;if(e.element=t.element,t.meta.length>0&&(e._meta=Xe(t.meta)),t.attributes.length>0&&(e._attributes=Xe(t.attributes)),ge(t.content)){const r=t.content;e.content=Qe(r)}else Array.isArray(t.content)?e.content=[...t.content]:t.content instanceof Xt.KeyValuePair?e.content=Ze(t.content):e.content=t.content;return e},tr=t=>{if(t instanceof Xt.KeyValuePair)return Ze(t);if(t instanceof Xt.rm)return(t=>{const e=[...t];return new Xt.rm(e)})(t);if(t instanceof Xt.O4)return(t=>{const e=[...t];return new Xt.O4(e)})(t);if(ge(t))return Qe(t);throw new He("Value provided to cloneShallow function couldn't be cloned",{value:t})};tr.safe=t=>{try{return tr(t)}catch{return t}};const er=t=>Oe(t)?"ObjectElement":Se(t)?"ArrayElement":Ae(t)?"MemberElement":xe(t)?"StringElement":we(t)?"BooleanElement":Ee(t)?"NumberElement":je(t)?"NullElement":_e(t)?"LinkElement":Pe(t)?"RefElement":void 0,rr=t=>ge(t)?tr(t):$e(t),nr=k(er,De),or={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]},ir=(Fe({props:{result:[],predicate:Le,returnOnTrue:void 0,returnOnFalse:void 0},init({predicate:t=this.predicate,returnOnTrue:e=this.returnOnTrue,returnOnFalse:r=this.returnOnFalse}={}){this.result=[],this.predicate=t,this.returnOnTrue=e,this.returnOnFalse=r},methods:{enter(t){return this.predicate(t)?(this.result.push(t),this.returnOnTrue):this.returnOnFalse}}}),(t,e,{keyMap:r=or,...n}={})=>Je(t,e,{keyMap:r,nodeTypeGetter:er,nodePredicate:nr,nodeCloneFn:rr,...n}));ir[Symbol.for("nodejs.util.promisify.custom")]=async(t,e,{keyMap:r=or,...n}={})=>Je[Symbol.for("nodejs.util.promisify.custom")](t,e,{keyMap:r,nodeTypeGetter:er,nodePredicate:nr,nodeCloneFn:rr,...n});const sr=t=>"string"==typeof(null==t?void 0:t.type)?t.type:er(t),ar={EphemeralObject:["content"],EphemeralArray:["content"],...or},cr=(t,e,{keyMap:r=ar,...n}={})=>ir(t,e,{keyMap:r,nodeTypeGetter:sr,nodePredicate:ze,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});cr[Symbol.for("nodejs.util.promisify.custom")]=async(t,{keyMap:e=ar,...r}={})=>ir[Symbol.for("nodejs.util.promisify.custom")](t,visitor,{keyMap:e,nodeTypeGetter:sr,nodePredicate:ze,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...r});const ur=class{type="EphemeralArray";content=[];reference=void 0;constructor(t){this.content=t,this.reference=[]}toReference(){return this.reference}toArray(){return this.reference.push(...this.content),this.reference}};const lr=class{type="EphemeralObject";content=[];reference=void 0;constructor(t){this.content=t,this.reference={}}toReference(){return this.reference}toObject(){return Object.assign(this.reference,Object.fromEntries(this.content))}},fr=Fe.init((function(){const t=new WeakMap;this.BooleanElement=function(t){return t.toValue()},this.NumberElement=function(t){return t.toValue()},this.StringElement=function(t){return t.toValue()},this.NullElement=function(){return null},this.ObjectElement={enter(e){if(t.has(e))return t.get(e).toReference();const r=new lr(e.content);return t.set(e,r),r}},this.EphemeralObject={leave:t=>t.toObject()},this.MemberElement={enter:t=>[t.key,t.value]},this.ArrayElement={enter(e){if(t.has(e))return t.get(e).toReference();const r=new ur(e.content);return t.set(e,r),r}},this.EphemeralArray={leave:t=>t.toArray()}})),pr=t=>ge(t)?xe(t)||Ee(t)||we(t)||je(t)?t.toValue():cr(t,fr()):t;const hr=class extends Ht{constructor(t,e){super(t,e),void 0!==e&&(this.relativePointer=e.relativePointer,this.currentElement=e.currentElement.element,Re(e.currentElement)&&(this.currentElementSourceMap=pr(e.currentElement.getMetaProperty("sourceMap"))),this.rootElement=e.rootElement.element,Re(e.rootElement)&&(this.rootElementSourceMap=pr(e.rootElement.getMetaProperty("sourceMap"))),void 0!==e.cursorElement&&(this.cursorElement=e.cursorElement.element,Re(e.cursorElement)&&(this.cursorElementSourceMap=pr(e.cursorElement.getMetaProperty("sourceMap")))))}};const yr=class extends Ht{constructor(t,e){super(t,e),void 0!==e&&(this.nonNegativeIntegerPrefix=e.relativePointer.nonNegativeIntegerPrefix,this.indexManipulation=e.relativePointer.indexManipulation,this.hashCharacter=e.relativePointer.hashCharacter,Array.isArray(e.relativePointer.jsonPointerTokens)&&(this.jsonPointerTokens=[...e.relativePointer.jsonPointerTokens]))}};var mr=function(){function t(t,e){this.xf=e,this.n=t,this.i=0}return t.prototype["@@transducer/init"]=rt,t.prototype["@@transducer/result"]=nt,t.prototype["@@transducer/step"]=function(t,e){this.i+=1;var r=0===this.n?t:this.xf["@@transducer/step"](t,e);return this.n>=0&&this.i>=this.n?Zt(r):r},t}();function vr(t){return function(e){return new mr(t,e)}}const dr=i(tt(["take"],vr,(function(t,e){return _(0,t<0?1/0:t,e)})));const br=i((function(t,e){return K(dr(t.length,e),t)}));const gr=i((function(t,e){return wt(t+1,(function(){var r=arguments[t];if(null!=r&&mt(r[e]))return r[e].apply(r,Array.prototype.slice.call(arguments,0,t));throw new TypeError(ut(r)+' does not have a method named "'+e+'"')}))}))(1,"split");const xr=K("");const Er=h((function(t,e,r){return r.replace(t,e)})),jr=k(Er(/~1/g,"/"),Er(/~0/g,"~"),(t=>{try{return decodeURIComponent(t)}catch{return t}}));const wr=class extends Wt{};const Or=class extends wr{constructor(t,e){super(t,e),void 0!==e&&(this.pointer=e.pointer)}},Sr=t=>{if(xr(t))return[];if(!br("/",t))throw new Or(`Invalid JSON Pointer "${t}". JSON Pointers must begin with "/"`,{pointer:t});try{const e=k(gr("/"),Ot(jr))(t);return P(e)}catch(e){throw new Or(`JSON Pointer parsing of "${t}" encountered an error.`,{pointer:t,cause:e})}},Ar=new RegExp("^(?<nonNegativeIntegerPrefix>[1-9]\\d*|0)(?<indexManipulation>[+-][1-9]\\d*|0)?((?<hashCharacter>#)|(?<jsonPointer>\\/.*))?$"),_r=t=>"string"==typeof t&&Ar.test(t),Pr=t=>{const e=t.match(Ar);if(null===e||void 0===e.groups)throw new Yt(`Invalid Relative JSON Pointer "${t}".`,{relativePointer:t});try{const t=parseInt(e.groups.nonNegativeIntegerPrefix,10),r="string"==typeof e.groups.indexManipulation?parseInt(e.groups.indexManipulation,10):void 0,n="string"==typeof e.groups.jsonPointer?Sr(e.groups.jsonPointer):void 0;return{nonNegativeIntegerPrefix:t,indexManipulation:r,jsonPointerTokens:n,hashCharacter:"string"==typeof e.groups.hashCharacter}}catch(e){throw new Yt(`Relative JSON Pointer parsing of "${t}" encountered an error.`,{relativePointer:t,cause:e})}},kr=k(Er(/~/g,"~0"),Er(/\//g,"~1"),encodeURIComponent);const Tr=class extends wr{constructor(t,e){super(t,e),void 0!==e&&(this.tokens=[...e.tokens])}},Mr=t=>{try{return 0===t.length?"":`/${t.map(kr).join("/")}`}catch(e){throw new Tr("JSON Pointer compilation of tokens encountered an error.",{tokens:t,cause:e})}},Nr=t=>{try{let e="";return e+=String(t.nonNegativeIntegerPrefix),"number"==typeof t.indexManipulation&&(e+=String(t.indexManipulation)),Array.isArray(t.jsonPointerTokens)?e+=Mr(t.jsonPointerTokens):t.hashCharacter&&(e+="#"),e}catch(e){throw new yr("Relative JSON Pointer compilation encountered an error.",{relativePointer:t,cause:e})}};const Cr=i((function(t,e){return null==e||e!=e?t:e}));const Rr=h((function(t,e,r){return Cr(t,It(e,r))}));const Ir=_(0,-1);const Vr=i((function(t,e){return t.apply(this,e)}));const Fr=Tt(Dt);var zr=o((function(t){return null!=t&&"function"==typeof t["fantasy-land/empty"]?t["fantasy-land/empty"]():null!=t&&null!=t.constructor&&"function"==typeof t.constructor["fantasy-land/empty"]?t.constructor["fantasy-land/empty"]():null!=t&&"function"==typeof t.empty?t.empty():null!=t&&null!=t.constructor&&"function"==typeof t.constructor.empty?t.constructor.empty():y(t)?[]:m(t)?"":et(t)?{}:z(t)?function(){return arguments}():function(t){var e=Object.prototype.toString.call(t);return"[object Uint8ClampedArray]"===e||"[object Int8Array]"===e||"[object Uint8Array]"===e||"[object Int16Array]"===e||"[object Uint16Array]"===e||"[object Int32Array]"===e||"[object Uint32Array]"===e||"[object Float32Array]"===e||"[object Float64Array]"===e||"[object BigInt64Array]"===e||"[object BigUint64Array]"===e}(t)?t.constructor.from(""):void 0}));const Lr=zr;const Dr=o((function(t){return null!=t&&K(t,Lr(t))}));const Br=Pt(wt(1,Dt(Array.isArray)?Array.isArray:k(T,C("Array"))),Dr);const qr=wt(3,(function(t,e,r){var n=ht(t,r),o=ht(Ir(t),r);if(!Fr(n)&&!Br(t)){var i=x(n,o);return Vr(i,e)}}));class Ur extends Xt.lS{constructor(){super(),this.register("annotation",oe),this.register("comment",se),this.register("parseResult",le),this.register("sourceMap",pe)}}const Gr=new Ur,$r=()=>({predicates:{...t},namespace:Gr}),Jr=(t,e,r={})=>{if(0===e.length)return t;const n=Rr($r,"toolboxCreator",r),o=Rr({},"visitorOptions",r),i=Rr(er,"nodeTypeGetter",o),s=n(),a=e.map((t=>t(s))),c=((t,{visitFnGetter:e=Be,nodeTypeGetter:r=Ue}={})=>{const n=new Array(t.length).fill(null);return{enter(o,...i){for(let s=0;s<t.length;s+=1)if(null===n[s]){const a=e(t[s],r(o),!1);if("function"==typeof a){const e=a.call(t[s],o,...i);if(!1===e)n[s]=o;else if(e===qe)n[s]=qe;else if(void 0!==e)return e}}},leave(o,...i){for(let s=0;s<t.length;s+=1)if(null===n[s]){const a=e(t[s],r(o),!0);if("function"==typeof a){const e=a.call(t[s],o,...i);if(e===qe)n[s]=qe;else if(void 0!==e&&!1!==e)return e}}else n[s]===o&&(n[s]=null)}}})(a.map(Rr({},"visitor")),{nodeTypeGetter:i});a.forEach(qr(["pre"],[]));const u=ir(t,c,o);return a.forEach(qr(["post"],[])),u},Kr=(t,{Type:e,plugins:r=[]})=>{const n=new e(t);return Jr(n,r,{toolboxCreator:$r,visitorOptions:{nodeTypeGetter:er}})},Wr=t=>(e,r={})=>Kr(e,{...r,Type:t});Xt.Sb.refract=Wr(Xt.Sb),Xt.ON.refract=Wr(Xt.ON),Xt.RP.refract=Wr(Xt.RP),Xt.hh.refract=Wr(Xt.hh),Xt.zr.refract=Wr(Xt.zr),Xt.VL.refract=Wr(Xt.VL),Xt.EA.refract=Wr(Xt.EA),Xt.tK.refract=Wr(Xt.tK),oe.refract=Wr(oe),se.refract=Wr(se),le.refract=Wr(le),pe.refract=Wr(pe);const Hr=i((function(t,e){return wt(S(Rt,0,Vt("length",e)),(function(){var r=arguments,n=this;return t.apply(n,H((function(t){return t.apply(n,r)}),e))}))}));function Yr(t){return t}const Xr=o(Yr);var Zr=Pt(wt(1,k(T,C("Number"))),isFinite);var Qr=wt(1,Zr);var tn=Pt(Dt(Number.isFinite)?wt(1,x(Number.isFinite,Number)):Qr,Hr(K,[Math.floor,Xr]));var en=wt(1,tn);const rn=Dt(Number.isInteger)?wt(1,x(Number.isInteger,Number)):en;const nn=class extends wr{constructor(t,e){super(t,e),void 0!==e&&(this.pointer=e.pointer,Array.isArray(e.tokens)&&(this.tokens=[...e.tokens]),this.failedToken=e.failedToken,this.failedTokenPosition=e.failedTokenPosition,this.element=e.element.element,Re(e.element)&&(this.elementSourceMap=pr(e.element.getMetaProperty("sourceMap"))))}},on=(t,e)=>{let r;try{r=Sr(t)}catch(r){throw new nn(`JSON Pointer evaluation failed while parsing the pointer "${t}".`,{pointer:t,element:e,cause:r})}return r.reduce(((e,n,o)=>{if(Oe(e)){if(!e.hasKey(n))throw new nn(`JSON Pointer evaluation failed while evaluating token "${n}" against an ObjectElement`,{pointer:t,tokens:r,failedToken:n,failedTokenPosition:o,element:e});return e.get(n)}if(Se(e)){if(!(n in e.content)||!rn(Number(n)))throw new nn(`JSON Pointer evaluation failed while evaluating token "${n}" against an ArrayElement`,{pointer:t,tokens:r,failedToken:n,failedTokenPosition:o,element:e});return e.get(Number(n))}throw new nn(`JSON Pointer evaluation failed while evaluating token "${n}" against an unexpected Element`,{pointer:t,tokens:r,failedToken:n,failedTokenPosition:o,element:e})}),e)};const sn=ft(-1),an=(t,e,r)=>{let n,o=[],i=e;if(ir(r,{enter(t,r,n,i,s){if(t===e)return o=[...s,n].filter(ge),qe}}),0===o.length)throw new hr("Relative JSON Pointer evaluation failed. Current element not found inside the root element",{relativePointer:t,currentElement:e,rootElement:r,cursorElement:i});if(sn(o)===r)throw new hr("Relative JSON Pointer evaluation failed. Current element cannot be the root element",{relativePointer:t,currentElement:e,rootElement:r,cursorElement:i});try{n=Pr(t)}catch(n){throw new hr("Relative JSON Pointer evaluation failed while parsing the pointer.",{relativePointer:t,currentElement:e,rootElement:r,cursorElement:i,cause:n})}if(n.nonNegativeIntegerPrefix>0){const s=[...o];for(let{nonNegativeIntegerPrefix:t}=n;t>0;t-=1)i=s.pop(),Ae(i)&&(i=s.pop());if(void 0===i)throw new hr(`Relative JSON Pointer evaluation failed on non-negative-integer prefix of "${n.nonNegativeIntegerPrefix}"`,{relativePointer:t,currentElement:e,rootElement:r,cursorElement:i});o=s}if("number"==typeof n.indexManipulation){const s=sn(o);if(void 0===s||!Se(s))throw new hr(`Relative JSON Pointer evaluation failed failed on index-manipulation "${n.indexManipulation}"`,{relativePointer:t,currentElement:e,rootElement:r,cursorElement:i});const a=s.content.indexOf(i)+n.indexManipulation;if(i=s.content[a],void 0===i)throw new hr(`Relative JSON Pointer evaluation failed on index-manipulation "${n.indexManipulation}"`,{relativePointer:t,currentElement:e,rootElement:r,cursorElement:i})}if(Array.isArray(n.jsonPointerTokens)){const t=Mr(n.jsonPointerTokens);i=on(t,i)}else if(n.hashCharacter){if(i===r)throw new hr('Relative JSON Pointer evaluation failed. Current element cannot be the root element to apply "#"',{relativePointer:t,currentElement:e,rootElement:r,cursorElement:i});const n=sn(o);void 0!==n&&(Ae(n)?i=n.key:Se(n)&&(i=new Xt.VL(n.content.indexOf(i))))}return i}})(),n})()));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swagger-api/apidom-json-pointer-relative",
3
- "version": "0.78.0",
3
+ "version": "0.79.0",
4
4
  "description": "Evaluate Relative JSON Pointer expressions against ApiDOM.",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -38,9 +38,9 @@
38
38
  "license": "Apache-2.0",
39
39
  "dependencies": {
40
40
  "@babel/runtime-corejs3": "^7.20.7",
41
- "@swagger-api/apidom-core": "^0.78.0",
42
- "@swagger-api/apidom-error": "^0.78.0",
43
- "@swagger-api/apidom-json-pointer": "^0.78.0",
41
+ "@swagger-api/apidom-core": "^0.79.0",
42
+ "@swagger-api/apidom-error": "^0.79.0",
43
+ "@swagger-api/apidom-json-pointer": "^0.79.0",
44
44
  "@types/ramda": "~0.29.6",
45
45
  "ramda": "~0.29.0",
46
46
  "ramda-adjunct": "^4.0.0"
@@ -55,5 +55,5 @@
55
55
  "README.md",
56
56
  "CHANGELOG.md"
57
57
  ],
58
- "gitHead": "d6587217f8a7bec5bbc49ca4dabff8d3d66e0913"
58
+ "gitHead": "8f93ee46d79e57833709f548fa6634f7e62d0aec"
59
59
  }