@swagger-api/apidom-parser-adapter-api-design-systems-yaml 0.70.1 → 0.70.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see apidom-parser-adapter-api-design-systems-yaml.browser.min.js.LICENSE.txt */
2
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.apidomParserAdapterApiDesignSystemsYaml=t():e.apidomParserAdapterApiDesignSystemsYaml=t()}(self,(()=>(()=>{var __webpack_modules__={8385:(e,t,r)=>{var n=r(6174);e.exports=n},5271:(e,t,r)=>{var n=r(7820);e.exports=n},7574:(e,t,r)=>{var n=r(2);e.exports=n},33:(e,t,r)=>{var n=r(5636);e.exports=n},9821:(e,t,r)=>{var n=r(2285);r(9031),e.exports=n},8008:(e,t,r)=>{var n=r(8535);e.exports=n},164:(e,t,r)=>{var n=r(6042);e.exports=n},2089:(e,t,r)=>{r(2276);var n=r(5607);e.exports=n("Array").indexOf},2604:(e,t,r)=>{var n=r(8902),s=r(2089),o=Array.prototype;e.exports=function(e){var t=e.indexOf;return e===o||n(o,e)&&t===o.indexOf?s:t}},3512:(e,t,r)=>{r(297);var n=r(7545).Object,s=e.exports=function(e,t,r){return n.defineProperty(e,t,r)};n.defineProperty.sham&&(s.sham=!0)},2921:(e,t,r)=>{r(6187);var n=r(7545);e.exports=n.Object.getOwnPropertySymbols},8651:(e,t,r)=>{r(2647);var n=r(7545);e.exports=n.Object.keys},5008:(e,t,r)=>{r(9106),r(6663),r(6187),r(9781),r(492),r(6681),r(9594),r(3665),r(9017),r(1250),r(9786),r(503),r(6565),r(9322),r(3610),r(6886),r(3514),r(8671),r(8556),r(1367);var n=r(7545);e.exports=n.Symbol},994:(e,t,r)=>{r(8939),r(6663),r(5454),r(3665);var n=r(9207);e.exports=n.f("iterator")},290:(e,t,r)=>{r(2432),r(3610);var n=r(9207);e.exports=n.f("toPrimitive")},2747:(e,t,r)=>{var n=r(8385);e.exports=n},229:(e,t,r)=>{var n=r(5271);e.exports=n},5090:(e,t,r)=>{var n=r(7574);e.exports=n},5483:(e,t,r)=>{var n=r(33);e.exports=n},2185:(e,t,r)=>{var n=r(9821);r(177),r(2725),r(1806),r(6658),r(4212),r(8658),r(1875),r(4592),r(6680),e.exports=n},9982:(e,t,r)=>{var n=r(8008);e.exports=n},8241:(e,t,r)=>{var n=r(164);e.exports=n},6235:(e,t,r)=>{var n=r(6447),s=r(9288),o=TypeError;e.exports=function(e){if(n(e))return e;throw o(s(e)+" is not a function")}},7757:(e,t,r)=>{var n=r(6447),s=String,o=TypeError;e.exports=function(e){if("object"==typeof e||n(e))return e;throw o("Can't set "+s(e)+" as a prototype")}},7423:e=>{e.exports=function(){}},1138:(e,t,r)=>{var n=r(5744),s=String,o=TypeError;e.exports=function(e){if(n(e))return e;throw o(s(e)+" is not an object")}},8180:(e,t,r)=>{var n=r(101),s=r(7739),o=r(4104),i=function(e){return function(t,r,i){var a,l=n(t),u=o(l),c=s(i,u);if(e&&r!=r){for(;u>c;)if((a=l[c++])!=a)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===r)return e||c||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},454:(e,t,r)=>{var n=r(8043),s=r(4120),o=r(2202),i=r(1795),a=r(4104),l=r(1321),u=s([].push),c=function(e){var t=1==e,r=2==e,s=3==e,c=4==e,_=6==e,p=7==e,d=5==e||_;return function(m,f,h,y){for(var g,b,v=i(m),w=o(v),E=n(f,h),S=a(w),M=0,O=y||l,x=t?O(m,S):r||p?O(m,0):void 0;S>M;M++)if((d||M in w)&&(b=E(g=w[M],M,v),e))if(t)x[M]=b;else if(b)switch(e){case 3:return!0;case 5:return g;case 6:return M;case 2:u(x,g)}else switch(e){case 4:return!1;case 7:u(x,g)}return _?-1:s||c?c:x}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},242:(e,t,r)=>{var n=r(6192),s=r(8182),o=r(4218),i=s("species");e.exports=function(e){return o>=51||!n((function(){var t=[];return(t.constructor={})[i]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},424:(e,t,r)=>{"use strict";var n=r(6192);e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){return 1},1)}))}},1923:(e,t,r)=>{var n=r(7739),s=r(4104),o=r(9361),i=Array,a=Math.max;e.exports=function(e,t,r){for(var l=s(e),u=n(t,l),c=n(void 0===r?l:r,l),_=i(a(c-u,0)),p=0;u<c;u++,p++)o(_,p,e[u]);return _.length=p,_}},3096:(e,t,r)=>{var n=r(4120);e.exports=n([].slice)},3712:(e,t,r)=>{var n=r(4770),s=r(2091),o=r(5744),i=r(8182)("species"),a=Array;e.exports=function(e){var t;return n(e)&&(t=e.constructor,(s(t)&&(t===a||n(t.prototype))||o(t)&&null===(t=t[i]))&&(t=void 0)),void 0===t?a:t}},1321:(e,t,r)=>{var n=r(3712);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},9272:(e,t,r)=>{var n=r(4120),s=n({}.toString),o=n("".slice);e.exports=function(e){return o(s(e),8,-1)}},4696:(e,t,r)=>{var n=r(3471),s=r(6447),o=r(9272),i=r(8182)("toStringTag"),a=Object,l="Arguments"==o(function(){return arguments}());e.exports=n?o:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=a(e),i))?r:l?o(t):"Object"==(n=o(t))&&s(t.callee)?"Arguments":n}},4635:(e,t,r)=>{var n=r(6192);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7271:e=>{e.exports=function(e,t){return{value:e,done:t}}},8711:(e,t,r)=>{var n=r(69),s=r(2760),o=r(774);e.exports=n?function(e,t,r){return s.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},774:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},9361:(e,t,r)=>{"use strict";var n=r(77),s=r(2760),o=r(774);e.exports=function(e,t,r){var i=n(t);i in e?s.f(e,i,o(0,r)):e[i]=r}},2807:(e,t,r)=>{var n=r(2760);e.exports=function(e,t,r){return n.f(e,t,r)}},9362:(e,t,r)=>{var n=r(8711);e.exports=function(e,t,r,s){return s&&s.enumerable?e[t]=r:n(e,t,r),e}},5098:(e,t,r)=>{var n=r(8576),s=Object.defineProperty;e.exports=function(e,t){try{s(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},69:(e,t,r)=>{var n=r(6192);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8382:e=>{var t="object"==typeof document&&document.all,r=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:r}},7449:(e,t,r)=>{var n=r(8576),s=r(5744),o=n.document,i=s(o)&&s(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},9425:e=>{var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},7365:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8989:e=>{e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},4218:(e,t,r)=>{var n,s,o=r(8576),i=r(8989),a=o.process,l=o.Deno,u=a&&a.versions||l&&l.version,c=u&&u.v8;c&&(s=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!s&&i&&(!(n=i.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=i.match(/Chrome\/(\d+)/))&&(s=+n[1]),e.exports=s},5607:(e,t,r)=>{var n=r(7545);e.exports=function(e){return n[e+"Prototype"]}},2952:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3085:(e,t,r)=>{"use strict";var n=r(8576),s=r(6298),o=r(4914),i=r(6447),a=r(5141).f,l=r(9245),u=r(7545),c=r(8043),_=r(8711),p=r(4500),d=function(e){var t=function(r,n,o){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(r);case 2:return new e(r,n)}return new e(r,n,o)}return s(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var r,s,m,f,h,y,g,b,v,w=e.target,E=e.global,S=e.stat,M=e.proto,O=E?n:S?n[w]:(n[w]||{}).prototype,x=E?u:u[w]||_(u,w,{})[w],A=x.prototype;for(f in t)s=!(r=l(E?f:w+(S?".":"#")+f,e.forced))&&O&&p(O,f),y=x[f],s&&(g=e.dontCallGetSet?(v=a(O,f))&&v.value:O[f]),h=s&&g?g:t[f],s&&typeof y==typeof h||(b=e.bind&&s?c(h,n):e.wrap&&s?d(h):M&&i(h)?o(h):h,(e.sham||h&&h.sham||y&&y.sham)&&_(b,"sham",!0),_(x,f,b),M&&(p(u,m=w+"Prototype")||_(u,m,{}),_(u[m],f,h),e.real&&A&&(r||!A[f])&&_(A,f,h)))}},6192:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},6298:(e,t,r)=>{var n=r(2784),s=Function.prototype,o=s.apply,i=s.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?i.bind(o):function(){return i.apply(o,arguments)})},8043:(e,t,r)=>{var n=r(4914),s=r(6235),o=r(2784),i=n(n.bind);e.exports=function(e,t){return s(e),void 0===t?e:o?i(e,t):function(){return e.apply(t,arguments)}}},2784:(e,t,r)=>{var n=r(6192);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},8922:(e,t,r)=>{var n=r(2784),s=Function.prototype.call;e.exports=n?s.bind(s):function(){return s.apply(s,arguments)}},2282:(e,t,r)=>{var n=r(69),s=r(4500),o=Function.prototype,i=n&&Object.getOwnPropertyDescriptor,a=s(o,"name"),l=a&&"something"===function(){}.name,u=a&&(!n||n&&i(o,"name").configurable);e.exports={EXISTS:a,PROPER:l,CONFIGURABLE:u}},6419:(e,t,r)=>{var n=r(4120),s=r(6235);e.exports=function(e,t,r){try{return n(s(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},4914:(e,t,r)=>{var n=r(9272),s=r(4120);e.exports=function(e){if("Function"===n(e))return s(e)}},4120:(e,t,r)=>{var n=r(2784),s=Function.prototype,o=s.call,i=n&&s.bind.bind(o,o);e.exports=n?i:function(e){return function(){return o.apply(e,arguments)}}},150:(e,t,r)=>{var n=r(7545),s=r(8576),o=r(6447),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(n[e])||i(s[e]):n[e]&&n[e][t]||s[e]&&s[e][t]}},9202:(e,t,r)=>{var n=r(4120),s=r(4770),o=r(6447),i=r(9272),a=r(4845),l=n([].push);e.exports=function(e){if(o(e))return e;if(s(e)){for(var t=e.length,r=[],n=0;n<t;n++){var u=e[n];"string"==typeof u?l(r,u):"number"!=typeof u&&"Number"!=i(u)&&"String"!=i(u)||l(r,a(u))}var c=r.length,_=!0;return function(e,t){if(_)return _=!1,t;if(s(this))return t;for(var n=0;n<c;n++)if(r[n]===e)return t}}}},5037:(e,t,r)=>{var n=r(6235),s=r(5646);e.exports=function(e,t){var r=e[t];return s(r)?void 0:n(r)}},8576:function(e,t,r){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||this||Function("return this")()},4500:(e,t,r)=>{var n=r(4120),s=r(1795),o=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(s(e),t)}},4535:e=>{e.exports={}},7403:(e,t,r)=>{var n=r(150);e.exports=n("document","documentElement")},188:(e,t,r)=>{var n=r(69),s=r(6192),o=r(7449);e.exports=!n&&!s((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},2202:(e,t,r)=>{var n=r(4120),s=r(6192),o=r(9272),i=Object,a=n("".split);e.exports=s((function(){return!i("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?a(e,""):i(e)}:i},9516:(e,t,r)=>{var n=r(4120),s=r(6447),o=r(6434),i=n(Function.toString);s(o.inspectSource)||(o.inspectSource=function(e){return i(e)}),e.exports=o.inspectSource},3326:(e,t,r)=>{var n,s,o,i=r(5278),a=r(8576),l=r(5744),u=r(8711),c=r(4500),_=r(6434),p=r(9766),d=r(4535),m="Object already initialized",f=a.TypeError,h=a.WeakMap;if(i||_.state){var y=_.state||(_.state=new h);y.get=y.get,y.has=y.has,y.set=y.set,n=function(e,t){if(y.has(e))throw f(m);return t.facade=e,y.set(e,t),t},s=function(e){return y.get(e)||{}},o=function(e){return y.has(e)}}else{var g=p("state");d[g]=!0,n=function(e,t){if(c(e,g))throw f(m);return t.facade=e,u(e,g,t),t},s=function(e){return c(e,g)?e[g]:{}},o=function(e){return c(e,g)}}e.exports={set:n,get:s,has:o,enforce:function(e){return o(e)?s(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!l(t)||(r=s(t)).type!==e)throw f("Incompatible receiver, "+e+" required");return r}}}},4770:(e,t,r)=>{var n=r(9272);e.exports=Array.isArray||function(e){return"Array"==n(e)}},6447:(e,t,r)=>{var n=r(8382),s=n.all;e.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===s}:function(e){return"function"==typeof e}},2091:(e,t,r)=>{var n=r(4120),s=r(6192),o=r(6447),i=r(4696),a=r(150),l=r(9516),u=function(){},c=[],_=a("Reflect","construct"),p=/^\s*(?:class|function)\b/,d=n(p.exec),m=!p.exec(u),f=function(e){if(!o(e))return!1;try{return _(u,c,e),!0}catch(e){return!1}},h=function(e){if(!o(e))return!1;switch(i(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return m||!!d(p,l(e))}catch(e){return!0}};h.sham=!0,e.exports=!_||s((function(){var e;return f(f.call)||!f(Object)||!f((function(){e=!0}))||e}))?h:f},9245:(e,t,r)=>{var n=r(6192),s=r(6447),o=/#|\.prototype\./,i=function(e,t){var r=l[a(e)];return r==c||r!=u&&(s(t)?n(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},l=i.data={},u=i.NATIVE="N",c=i.POLYFILL="P";e.exports=i},5646:e=>{e.exports=function(e){return null==e}},5744:(e,t,r)=>{var n=r(6447),s=r(8382),o=s.all;e.exports=s.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===o}:function(e){return"object"==typeof e?null!==e:n(e)}},5546:e=>{e.exports=!0},3236:(e,t,r)=>{var n=r(150),s=r(6447),o=r(8902),i=r(615),a=Object;e.exports=i?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return s(t)&&o(t.prototype,a(e))}},5695:(e,t,r)=>{"use strict";var n=r(4413).IteratorPrototype,s=r(2853),o=r(774),i=r(1284),a=r(7771),l=function(){return this};e.exports=function(e,t,r,u){var c=t+" Iterator";return e.prototype=s(n,{next:o(+!u,r)}),i(e,c,!1,!0),a[c]=l,e}},5297:(e,t,r)=>{"use strict";var n=r(3085),s=r(8922),o=r(5546),i=r(2282),a=r(6447),l=r(5695),u=r(9341),c=r(4469),_=r(1284),p=r(8711),d=r(9362),m=r(8182),f=r(7771),h=r(4413),y=i.PROPER,g=i.CONFIGURABLE,b=h.IteratorPrototype,v=h.BUGGY_SAFARI_ITERATORS,w=m("iterator"),E="keys",S="values",M="entries",O=function(){return this};e.exports=function(e,t,r,i,m,h,x){l(r,t,i);var A,I,N,P=function(e){if(e===m&&k)return k;if(!v&&e in F)return F[e];switch(e){case E:case S:case M:return function(){return new r(this,e)}}return function(){return new r(this)}},T=t+" Iterator",j=!1,F=e.prototype,R=F[w]||F["@@iterator"]||m&&F[m],k=!v&&R||P(m),C="Array"==t&&F.entries||R;if(C&&(A=u(C.call(new e)))!==Object.prototype&&A.next&&(o||u(A)===b||(c?c(A,b):a(A[w])||d(A,w,O)),_(A,T,!0,!0),o&&(f[T]=O)),y&&m==S&&R&&R.name!==S&&(!o&&g?p(F,"name",S):(j=!0,k=function(){return s(R,this)})),m)if(I={values:P(S),keys:h?k:P(E),entries:P(M)},x)for(N in I)(v||j||!(N in F))&&d(F,N,I[N]);else n({target:t,proto:!0,forced:v||j},I);return o&&!x||F[w]===k||d(F,w,k,{name:m}),f[t]=k,I}},4413:(e,t,r)=>{"use strict";var n,s,o,i=r(6192),a=r(6447),l=r(5744),u=r(2853),c=r(9341),_=r(9362),p=r(8182),d=r(5546),m=p("iterator"),f=!1;[].keys&&("next"in(o=[].keys())?(s=c(c(o)))!==Object.prototype&&(n=s):f=!0),!l(n)||i((function(){var e={};return n[m].call(e)!==e}))?n={}:d&&(n=u(n)),a(n[m])||_(n,m,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:f}},7771:e=>{e.exports={}},4104:(e,t,r)=>{var n=r(8445);e.exports=function(e){return n(e.length)}},7679:e=>{var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},2853:(e,t,r)=>{var n,s=r(1138),o=r(1187),i=r(2952),a=r(4535),l=r(7403),u=r(7449),c=r(9766),_="prototype",p="script",d=c("IE_PROTO"),m=function(){},f=function(e){return"<"+p+">"+e+"</"+p+">"},h=function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;y="undefined"!=typeof document?document.domain&&n?h(n):(t=u("iframe"),r="java"+p+":",t.style.display="none",l.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(f("document.F=Object")),e.close(),e.F):h(n);for(var s=i.length;s--;)delete y[_][i[s]];return y()};a[d]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(m[_]=s(e),r=new m,m[_]=null,r[d]=e):r=y(),void 0===t?r:o.f(r,t)}},1187:(e,t,r)=>{var n=r(69),s=r(9600),o=r(2760),i=r(1138),a=r(101),l=r(7653);t.f=n&&!s?Object.defineProperties:function(e,t){i(e);for(var r,n=a(t),s=l(t),u=s.length,c=0;u>c;)o.f(e,r=s[c++],n[r]);return e}},2760:(e,t,r)=>{var n=r(69),s=r(188),o=r(9600),i=r(1138),a=r(77),l=TypeError,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor,_="enumerable",p="configurable",d="writable";t.f=n?o?function(e,t,r){if(i(e),t=a(t),i(r),"function"==typeof e&&"prototype"===t&&"value"in r&&d in r&&!r[d]){var n=c(e,t);n&&n[d]&&(e[t]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:_ in r?r[_]:n[_],writable:!1})}return u(e,t,r)}:u:function(e,t,r){if(i(e),t=a(t),i(r),s)try{return u(e,t,r)}catch(e){}if("get"in r||"set"in r)throw l("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},5141:(e,t,r)=>{var n=r(69),s=r(8922),o=r(6007),i=r(774),a=r(101),l=r(77),u=r(4500),c=r(188),_=Object.getOwnPropertyDescriptor;t.f=n?_:function(e,t){if(e=a(e),t=l(t),c)try{return _(e,t)}catch(e){}if(u(e,t))return i(!s(o.f,e,t),e[t])}},4052:(e,t,r)=>{var n=r(9272),s=r(101),o=r(2092).f,i=r(1923),a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"Window"==n(e)?function(e){try{return o(e)}catch(e){return i(a)}}(e):o(s(e))}},2092:(e,t,r)=>{var n=r(7934),s=r(2952).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,s)}},4750:(e,t)=>{t.f=Object.getOwnPropertySymbols},9341:(e,t,r)=>{var n=r(4500),s=r(6447),o=r(1795),i=r(9766),a=r(4635),l=i("IE_PROTO"),u=Object,c=u.prototype;e.exports=a?u.getPrototypeOf:function(e){var t=o(e);if(n(t,l))return t[l];var r=t.constructor;return s(r)&&t instanceof r?r.prototype:t instanceof u?c:null}},8902:(e,t,r)=>{var n=r(4120);e.exports=n({}.isPrototypeOf)},7934:(e,t,r)=>{var n=r(4120),s=r(4500),o=r(101),i=r(8180).indexOf,a=r(4535),l=n([].push);e.exports=function(e,t){var r,n=o(e),u=0,c=[];for(r in n)!s(a,r)&&s(n,r)&&l(c,r);for(;t.length>u;)s(n,r=t[u++])&&(~i(c,r)||l(c,r));return c}},7653:(e,t,r)=>{var n=r(7934),s=r(2952);e.exports=Object.keys||function(e){return n(e,s)}},6007:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,s=n&&!r.call({1:2},1);t.f=s?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},4469:(e,t,r)=>{var n=r(6419),s=r(1138),o=r(7757);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return s(r),o(n),t?e(r,n):r.__proto__=n,r}}():void 0)},158:(e,t,r)=>{"use strict";var n=r(3471),s=r(4696);e.exports=n?{}.toString:function(){return"[object "+s(this)+"]"}},380:(e,t,r)=>{var n=r(8922),s=r(6447),o=r(5744),i=TypeError;e.exports=function(e,t){var r,a;if("string"===t&&s(r=e.toString)&&!o(a=n(r,e)))return a;if(s(r=e.valueOf)&&!o(a=n(r,e)))return a;if("string"!==t&&s(r=e.toString)&&!o(a=n(r,e)))return a;throw i("Can't convert object to primitive value")}},7545:e=>{e.exports={}},3209:(e,t,r)=>{var n=r(5646),s=TypeError;e.exports=function(e){if(n(e))throw s("Can't call method on "+e);return e}},1284:(e,t,r)=>{var n=r(3471),s=r(2760).f,o=r(8711),i=r(4500),a=r(158),l=r(8182)("toStringTag");e.exports=function(e,t,r,u){if(e){var c=r?e:e.prototype;i(c,l)||s(c,l,{configurable:!0,value:t}),u&&!n&&o(c,"toString",a)}}},9766:(e,t,r)=>{var n=r(8717),s=r(2759),o=n("keys");e.exports=function(e){return o[e]||(o[e]=s(e))}},6434:(e,t,r)=>{var n=r(8576),s=r(5098),o="__core-js_shared__",i=n[o]||s(o,{});e.exports=i},8717:(e,t,r)=>{var n=r(5546),s=r(6434);(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.30.2",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE",source:"https://github.com/zloirock/core-js"})},863:(e,t,r)=>{var n=r(4120),s=r(1941),o=r(4845),i=r(3209),a=n("".charAt),l=n("".charCodeAt),u=n("".slice),c=function(e){return function(t,r){var n,c,_=o(i(t)),p=s(r),d=_.length;return p<0||p>=d?e?"":void 0:(n=l(_,p))<55296||n>56319||p+1===d||(c=l(_,p+1))<56320||c>57343?e?a(_,p):n:e?u(_,p,p+2):c-56320+(n-55296<<10)+65536}};e.exports={codeAt:c(!1),charAt:c(!0)}},6770:(e,t,r)=>{var n=r(4218),s=r(6192),o=r(8576).String;e.exports=!!Object.getOwnPropertySymbols&&!s((function(){var e=Symbol();return!o(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},3407:(e,t,r)=>{var n=r(8922),s=r(150),o=r(8182),i=r(9362);e.exports=function(){var e=s("Symbol"),t=e&&e.prototype,r=t&&t.valueOf,a=o("toPrimitive");t&&!t[a]&&i(t,a,(function(e){return n(r,this)}),{arity:1})}},31:(e,t,r)=>{var n=r(6770);e.exports=n&&!!Symbol.for&&!!Symbol.keyFor},7739:(e,t,r)=>{var n=r(1941),s=Math.max,o=Math.min;e.exports=function(e,t){var r=n(e);return r<0?s(r+t,0):o(r,t)}},101:(e,t,r)=>{var n=r(2202),s=r(3209);e.exports=function(e){return n(s(e))}},1941:(e,t,r)=>{var n=r(7679);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},8445:(e,t,r)=>{var n=r(1941),s=Math.min;e.exports=function(e){return e>0?s(n(e),9007199254740991):0}},1795:(e,t,r)=>{var n=r(3209),s=Object;e.exports=function(e){return s(n(e))}},7888:(e,t,r)=>{var n=r(8922),s=r(5744),o=r(3236),i=r(5037),a=r(380),l=r(8182),u=TypeError,c=l("toPrimitive");e.exports=function(e,t){if(!s(e)||o(e))return e;var r,l=i(e,c);if(l){if(void 0===t&&(t="default"),r=n(l,e,t),!s(r)||o(r))return r;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},77:(e,t,r)=>{var n=r(7888),s=r(3236);e.exports=function(e){var t=n(e,"string");return s(t)?t:t+""}},3471:(e,t,r)=>{var n={};n[r(8182)("toStringTag")]="z",e.exports="[object z]"===String(n)},4845:(e,t,r)=>{var n=r(4696),s=String;e.exports=function(e){if("Symbol"===n(e))throw TypeError("Cannot convert a Symbol value to a string");return s(e)}},9288:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},2759:(e,t,r)=>{var n=r(4120),s=0,o=Math.random(),i=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+i(++s+o,36)}},615:(e,t,r)=>{var n=r(6770);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},9600:(e,t,r)=>{var n=r(69),s=r(6192);e.exports=n&&s((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5278:(e,t,r)=>{var n=r(8576),s=r(6447),o=n.WeakMap;e.exports=s(o)&&/native code/.test(String(o))},8332:(e,t,r)=>{var n=r(7545),s=r(4500),o=r(9207),i=r(2760).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});s(t,e)||i(t,e,{value:o.f(e)})}},9207:(e,t,r)=>{var n=r(8182);t.f=n},8182:(e,t,r)=>{var n=r(8576),s=r(8717),o=r(4500),i=r(2759),a=r(6770),l=r(615),u=n.Symbol,c=s("wks"),_=l?u.for||u:u&&u.withoutSetter||i;e.exports=function(e){return o(c,e)||(c[e]=a&&o(u,e)?u[e]:_("Symbol."+e)),c[e]}},9106:(e,t,r)=>{"use strict";var n=r(3085),s=r(6192),o=r(4770),i=r(5744),a=r(1795),l=r(4104),u=r(9425),c=r(9361),_=r(1321),p=r(242),d=r(8182),m=r(4218),f=d("isConcatSpreadable"),h=m>=51||!s((function(){var e=[];return e[f]=!1,e.concat()[0]!==e})),y=function(e){if(!i(e))return!1;var t=e[f];return void 0!==t?!!t:o(e)};n({target:"Array",proto:!0,arity:1,forced:!h||!p("concat")},{concat:function(e){var t,r,n,s,o,i=a(this),p=_(i,0),d=0;for(t=-1,n=arguments.length;t<n;t++)if(y(o=-1===t?i:arguments[t]))for(s=l(o),u(d+s),r=0;r<s;r++,d++)r in o&&c(p,d,o[r]);else u(d+1),c(p,d++,o);return p.length=d,p}})},2276:(e,t,r)=>{"use strict";var n=r(3085),s=r(4914),o=r(8180).indexOf,i=r(424),a=s([].indexOf),l=!!a&&1/a([1],1,-0)<0;n({target:"Array",proto:!0,forced:l||!i("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return l?a(this,e,t)||0:o(this,e,t)}})},8939:(e,t,r)=>{"use strict";var n=r(101),s=r(7423),o=r(7771),i=r(3326),a=r(2760).f,l=r(5297),u=r(7271),c=r(5546),_=r(69),p="Array Iterator",d=i.set,m=i.getterFor(p);e.exports=l(Array,"Array",(function(e,t){d(this,{type:p,target:n(e),index:0,kind:t})}),(function(){var e=m(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,u(void 0,!0)):u("keys"==r?n:"values"==r?t[n]:[n,t[n]],!1)}),"values");var f=o.Arguments=o.Array;if(s("keys"),s("values"),s("entries"),!c&&_&&"values"!==f.name)try{a(f,"name",{value:"values"})}catch(e){}},2432:()=>{},9704:(e,t,r)=>{var n=r(3085),s=r(150),o=r(6298),i=r(8922),a=r(4120),l=r(6192),u=r(6447),c=r(3236),_=r(3096),p=r(9202),d=r(6770),m=String,f=s("JSON","stringify"),h=a(/./.exec),y=a("".charAt),g=a("".charCodeAt),b=a("".replace),v=a(1..toString),w=/[\uD800-\uDFFF]/g,E=/^[\uD800-\uDBFF]$/,S=/^[\uDC00-\uDFFF]$/,M=!d||l((function(){var e=s("Symbol")();return"[null]"!=f([e])||"{}"!=f({a:e})||"{}"!=f(Object(e))})),O=l((function(){return'"\\udf06\\ud834"'!==f("\udf06\ud834")||'"\\udead"'!==f("\udead")})),x=function(e,t){var r=_(arguments),n=p(t);if(u(n)||void 0!==e&&!c(e))return r[1]=function(e,t){if(u(n)&&(t=i(n,this,m(e),t)),!c(t))return t},o(f,null,r)},A=function(e,t,r){var n=y(r,t-1),s=y(r,t+1);return h(E,e)&&!h(S,s)||h(S,e)&&!h(E,n)?"\\u"+v(g(e,0),16):e};f&&n({target:"JSON",stat:!0,arity:3,forced:M||O},{stringify:function(e,t,r){var n=_(arguments),s=o(M?x:f,null,n);return O&&"string"==typeof s?b(s,w,A):s}})},8671:(e,t,r)=>{var n=r(8576);r(1284)(n.JSON,"JSON",!0)},8556:()=>{},297:(e,t,r)=>{var n=r(3085),s=r(69),o=r(2760).f;n({target:"Object",stat:!0,forced:Object.defineProperty!==o,sham:!s},{defineProperty:o})},7895:(e,t,r)=>{var n=r(3085),s=r(6770),o=r(6192),i=r(4750),a=r(1795);n({target:"Object",stat:!0,forced:!s||o((function(){i.f(1)}))},{getOwnPropertySymbols:function(e){var t=i.f;return t?t(a(e)):[]}})},2647:(e,t,r)=>{var n=r(3085),s=r(1795),o=r(7653);n({target:"Object",stat:!0,forced:r(6192)((function(){o(1)}))},{keys:function(e){return o(s(e))}})},6663:()=>{},1367:()=>{},5454:(e,t,r)=>{"use strict";var n=r(863).charAt,s=r(4845),o=r(3326),i=r(5297),a=r(7271),l="String Iterator",u=o.set,c=o.getterFor(l);i(String,"String",(function(e){u(this,{type:l,string:s(e),index:0})}),(function(){var e,t=c(this),r=t.string,s=t.index;return s>=r.length?a(void 0,!0):(e=n(r,s),t.index+=e.length,a(e,!1))}))},9781:(e,t,r)=>{r(8332)("asyncIterator")},9351:(e,t,r)=>{"use strict";var n=r(3085),s=r(8576),o=r(8922),i=r(4120),a=r(5546),l=r(69),u=r(6770),c=r(6192),_=r(4500),p=r(8902),d=r(1138),m=r(101),f=r(77),h=r(4845),y=r(774),g=r(2853),b=r(7653),v=r(2092),w=r(4052),E=r(4750),S=r(5141),M=r(2760),O=r(1187),x=r(6007),A=r(9362),I=r(2807),N=r(8717),P=r(9766),T=r(4535),j=r(2759),F=r(8182),R=r(9207),k=r(8332),C=r(3407),D=r(1284),U=r(3326),L=r(454).forEach,q=P("hidden"),B="Symbol",V="prototype",Z=U.set,G=U.getterFor(B),H=Object[V],z=s.Symbol,W=z&&z[V],$=s.TypeError,K=s.QObject,Y=S.f,X=M.f,Q=w.f,J=x.f,ee=i([].push),te=N("symbols"),re=N("op-symbols"),ne=N("wks"),se=!K||!K[V]||!K[V].findChild,oe=l&&c((function(){return 7!=g(X({},"a",{get:function(){return X(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=Y(H,t);n&&delete H[t],X(e,t,r),n&&e!==H&&X(H,t,n)}:X,ie=function(e,t){var r=te[e]=g(W);return Z(r,{type:B,tag:e,description:t}),l||(r.description=t),r},ae=function(e,t,r){e===H&&ae(re,t,r),d(e);var n=f(t);return d(r),_(te,n)?(r.enumerable?(_(e,q)&&e[q][n]&&(e[q][n]=!1),r=g(r,{enumerable:y(0,!1)})):(_(e,q)||X(e,q,y(1,{})),e[q][n]=!0),oe(e,n,r)):X(e,n,r)},le=function(e,t){d(e);var r=m(t),n=b(r).concat(pe(r));return L(n,(function(t){l&&!o(ue,r,t)||ae(e,t,r[t])})),e},ue=function(e){var t=f(e),r=o(J,this,t);return!(this===H&&_(te,t)&&!_(re,t))&&(!(r||!_(this,t)||!_(te,t)||_(this,q)&&this[q][t])||r)},ce=function(e,t){var r=m(e),n=f(t);if(r!==H||!_(te,n)||_(re,n)){var s=Y(r,n);return!s||!_(te,n)||_(r,q)&&r[q][n]||(s.enumerable=!0),s}},_e=function(e){var t=Q(m(e)),r=[];return L(t,(function(e){_(te,e)||_(T,e)||ee(r,e)})),r},pe=function(e){var t=e===H,r=Q(t?re:m(e)),n=[];return L(r,(function(e){!_(te,e)||t&&!_(H,e)||ee(n,te[e])})),n};u||(A(W=(z=function(){if(p(W,this))throw $("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?h(arguments[0]):void 0,t=j(e),r=function(e){this===H&&o(r,re,e),_(this,q)&&_(this[q],t)&&(this[q][t]=!1),oe(this,t,y(1,e))};return l&&se&&oe(H,t,{configurable:!0,set:r}),ie(t,e)})[V],"toString",(function(){return G(this).tag})),A(z,"withoutSetter",(function(e){return ie(j(e),e)})),x.f=ue,M.f=ae,O.f=le,S.f=ce,v.f=w.f=_e,E.f=pe,R.f=function(e){return ie(F(e),e)},l&&(I(W,"description",{configurable:!0,get:function(){return G(this).description}}),a||A(H,"propertyIsEnumerable",ue,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:z}),L(b(ne),(function(e){k(e)})),n({target:B,stat:!0,forced:!u},{useSetter:function(){se=!0},useSimple:function(){se=!1}}),n({target:"Object",stat:!0,forced:!u,sham:!l},{create:function(e,t){return void 0===t?g(e):le(g(e),t)},defineProperty:ae,defineProperties:le,getOwnPropertyDescriptor:ce}),n({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:_e}),C(),D(z,B),T[q]=!0},492:()=>{},9148:(e,t,r)=>{var n=r(3085),s=r(150),o=r(4500),i=r(4845),a=r(8717),l=r(31),u=a("string-to-symbol-registry"),c=a("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!l},{for:function(e){var t=i(e);if(o(u,t))return u[t];var r=s("Symbol")(t);return u[t]=r,c[r]=t,r}})},6681:(e,t,r)=>{r(8332)("hasInstance")},9594:(e,t,r)=>{r(8332)("isConcatSpreadable")},3665:(e,t,r)=>{r(8332)("iterator")},6187:(e,t,r)=>{r(9351),r(9148),r(5991),r(9704),r(7895)},5991:(e,t,r)=>{var n=r(3085),s=r(4500),o=r(3236),i=r(9288),a=r(8717),l=r(31),u=a("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!l},{keyFor:function(e){if(!o(e))throw TypeError(i(e)+" is not a symbol");if(s(u,e))return u[e]}})},1250:(e,t,r)=>{r(8332)("matchAll")},9017:(e,t,r)=>{r(8332)("match")},9786:(e,t,r)=>{r(8332)("replace")},503:(e,t,r)=>{r(8332)("search")},6565:(e,t,r)=>{r(8332)("species")},9322:(e,t,r)=>{r(8332)("split")},3610:(e,t,r)=>{var n=r(8332),s=r(3407);n("toPrimitive"),s()},6886:(e,t,r)=>{var n=r(150),s=r(8332),o=r(1284);s("toStringTag"),o(n("Symbol"),"Symbol")},3514:(e,t,r)=>{r(8332)("unscopables")},177:(e,t,r)=>{r(8332)("asyncDispose")},9031:(e,t,r)=>{r(8332)("dispose")},2725:(e,t,r)=>{var n=r(3085),s=r(150),o=r(4120),i=s("Symbol"),a=i.keyFor,l=o(i.prototype.valueOf);n({target:"Symbol",stat:!0},{isRegistered:function(e){try{return void 0!==a(l(e))}catch(e){return!1}}})},1806:(e,t,r)=>{for(var n=r(3085),s=r(8717),o=r(150),i=r(4120),a=r(3236),l=r(8182),u=o("Symbol"),c=u.isWellKnown,_=o("Object","getOwnPropertyNames"),p=i(u.prototype.valueOf),d=s("wks"),m=0,f=_(u),h=f.length;m<h;m++)try{var y=f[m];a(u[y])&&l(y)}catch(e){}n({target:"Symbol",stat:!0,forced:!0},{isWellKnown:function(e){if(c&&c(e))return!0;try{for(var t=p(e),r=0,n=_(d),s=n.length;r<s;r++)if(d[n[r]]==t)return!0}catch(e){}return!1}})},6658:(e,t,r)=>{r(8332)("matcher")},4212:(e,t,r)=>{r(8332)("metadataKey")},1875:(e,t,r)=>{r(8332)("metadata")},8658:(e,t,r)=>{r(8332)("observable")},4592:(e,t,r)=>{r(8332)("patternMatch")},6680:(e,t,r)=>{r(8332)("replaceAll")},162:(e,t,r)=>{r(8939);var n=r(7365),s=r(8576),o=r(4696),i=r(8711),a=r(7771),l=r(8182)("toStringTag");for(var u in n){var c=s[u],_=c&&c.prototype;_&&o(_)!==l&&i(_,l,u),a[u]=a.Array}},6174:(e,t,r)=>{var n=r(2604);e.exports=n},7820:(e,t,r)=>{var n=r(3512);e.exports=n},2:(e,t,r)=>{var n=r(2921);e.exports=n},5636:(e,t,r)=>{var n=r(8651);e.exports=n},2285:(e,t,r)=>{var n=r(5008);r(162),e.exports=n},8535:(e,t,r)=>{var n=r(994);r(162),e.exports=n},6042:(e,t,r)=>{var n=r(290);e.exports=n},9515:(e,t,r)=>{var n=r(8761)(r(7772),"DataView");e.exports=n},9612:(e,t,r)=>{var n=r(2118),s=r(6909),o=r(8138),i=r(4174),a=r(7942);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=s,l.prototype.get=o,l.prototype.has=i,l.prototype.set=a,e.exports=l},235:(e,t,r)=>{var n=r(3945),s=r(1846),o=r(8028),i=r(2344),a=r(4769);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=s,l.prototype.get=o,l.prototype.has=i,l.prototype.set=a,e.exports=l},326:(e,t,r)=>{var n=r(8761)(r(7772),"Map");e.exports=n},6738:(e,t,r)=>{var n=r(2411),s=r(6417),o=r(6928),i=r(9493),a=r(4150);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=s,l.prototype.get=o,l.prototype.has=i,l.prototype.set=a,e.exports=l},1985:(e,t,r)=>{var n=r(8761)(r(7772),"Promise");e.exports=n},2143:(e,t,r)=>{var n=r(8761)(r(7772),"Set");e.exports=n},5386:(e,t,r)=>{var n=r(6738),s=r(2842),o=r(2482);function i(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}i.prototype.add=i.prototype.push=s,i.prototype.has=o,e.exports=i},6571:(e,t,r)=>{var n=r(235),s=r(5243),o=r(2858),i=r(4417),a=r(8605),l=r(1418);function u(e){var t=this.__data__=new n(e);this.size=t.size}u.prototype.clear=s,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=l,e.exports=u},857:(e,t,r)=>{var n=r(7772).Symbol;e.exports=n},9162:(e,t,r)=>{var n=r(7772).Uint8Array;e.exports=n},3215:(e,t,r)=>{var n=r(8761)(r(7772),"WeakMap");e.exports=n},7552:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,s=0,o=[];++r<n;){var i=e[r];t(i,r,e)&&(o[s++]=i)}return o}},1634:(e,t,r)=>{var n=r(6473),s=r(9631),o=r(6152),i=r(3226),a=r(9045),l=r(7598),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=o(e),c=!r&&s(e),_=!r&&!c&&i(e),p=!r&&!c&&!_&&l(e),d=r||c||_||p,m=d?n(e.length,String):[],f=m.length;for(var h in e)!t&&!u.call(e,h)||d&&("length"==h||_&&("offset"==h||"parent"==h)||p&&("buffer"==h||"byteLength"==h||"byteOffset"==h)||a(h,f))||m.push(h);return m}},5067:e=>{e.exports=function(e,t){for(var r=-1,n=t.length,s=e.length;++r<n;)e[s+r]=t[r];return e}},7064:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},2218:(e,t,r)=>{var n=r(1225);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},1897:(e,t,r)=>{var n=r(5067),s=r(6152);e.exports=function(e,t,r){var o=t(e);return s(e)?o:n(o,r(e))}},3366:(e,t,r)=>{var n=r(857),s=r(2107),o=r(7157),i=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":i&&i in Object(e)?s(e):o(e)}},5183:(e,t,r)=>{var n=r(3366),s=r(5125);e.exports=function(e){return s(e)&&"[object Arguments]"==n(e)}},8746:(e,t,r)=>{var n=r(1952),s=r(5125);e.exports=function e(t,r,o,i,a){return t===r||(null==t||null==r||!s(t)&&!s(r)?t!=t&&r!=r:n(t,r,o,i,e,a))}},1952:(e,t,r)=>{var n=r(6571),s=r(4871),o=r(1491),i=r(7416),a=r(940),l=r(6152),u=r(3226),c=r(7598),_="[object Arguments]",p="[object Array]",d="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,f,h,y){var g=l(e),b=l(t),v=g?p:a(e),w=b?p:a(t),E=(v=v==_?d:v)==d,S=(w=w==_?d:w)==d,M=v==w;if(M&&u(e)){if(!u(t))return!1;g=!0,E=!1}if(M&&!E)return y||(y=new n),g||c(e)?s(e,t,r,f,h,y):o(e,t,v,r,f,h,y);if(!(1&r)){var O=E&&m.call(e,"__wrapped__"),x=S&&m.call(t,"__wrapped__");if(O||x){var A=O?e.value():e,I=x?t.value():t;return y||(y=new n),h(A,I,r,f,y)}}return!!M&&(y||(y=new n),i(e,t,r,f,h,y))}},6840:(e,t,r)=>{var n=r(1049),s=r(7394),o=r(9259),i=r(7035),a=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,c=l.toString,_=u.hasOwnProperty,p=RegExp("^"+c.call(_).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||s(e))&&(n(e)?p:a).test(i(e))}},5522:(e,t,r)=>{var n=r(3366),s=r(1158),o=r(5125),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&s(e.length)&&!!i[n(e)]}},6411:(e,t,r)=>{var n=r(6001),s=r(4248),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return s(e);var t=[];for(var r in Object(e))o.call(e,r)&&"constructor"!=r&&t.push(r);return t}},6473:e=>{e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},7826:e=>{e.exports=function(e){return function(t){return e(t)}}},9950:e=>{e.exports=function(e,t){return e.has(t)}},4019:(e,t,r)=>{var n=r(7772)["__core-js_shared__"];e.exports=n},4871:(e,t,r)=>{var n=r(5386),s=r(7064),o=r(9950);e.exports=function(e,t,r,i,a,l){var u=1&r,c=e.length,_=t.length;if(c!=_&&!(u&&_>c))return!1;var p=l.get(e),d=l.get(t);if(p&&d)return p==t&&d==e;var m=-1,f=!0,h=2&r?new n:void 0;for(l.set(e,t),l.set(t,e);++m<c;){var y=e[m],g=t[m];if(i)var b=u?i(g,y,m,t,e,l):i(y,g,m,e,t,l);if(void 0!==b){if(b)continue;f=!1;break}if(h){if(!s(t,(function(e,t){if(!o(h,t)&&(y===e||a(y,e,r,i,l)))return h.push(t)}))){f=!1;break}}else if(y!==g&&!a(y,g,r,i,l)){f=!1;break}}return l.delete(e),l.delete(t),f}},1491:(e,t,r)=>{var n=r(857),s=r(9162),o=r(1225),i=r(4871),a=r(5179),l=r(4207),u=n?n.prototype:void 0,c=u?u.valueOf:void 0;e.exports=function(e,t,r,n,u,_,p){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!_(new s(e),new s(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=a;case"[object Set]":var m=1&n;if(d||(d=l),e.size!=t.size&&!m)return!1;var f=p.get(e);if(f)return f==t;n|=2,p.set(e,t);var h=i(d(e),d(t),n,u,_,p);return p.delete(e),h;case"[object Symbol]":if(c)return c.call(e)==c.call(t)}return!1}},7416:(e,t,r)=>{var n=r(3483),s=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,o,i,a){var l=1&r,u=n(e),c=u.length;if(c!=n(t).length&&!l)return!1;for(var _=c;_--;){var p=u[_];if(!(l?p in t:s.call(t,p)))return!1}var d=a.get(e),m=a.get(t);if(d&&m)return d==t&&m==e;var f=!0;a.set(e,t),a.set(t,e);for(var h=l;++_<c;){var y=e[p=u[_]],g=t[p];if(o)var b=l?o(g,y,p,t,e,a):o(y,g,p,e,t,a);if(!(void 0===b?y===g||i(y,g,r,o,a):b)){f=!1;break}h||(h="constructor"==p)}if(f&&!h){var v=e.constructor,w=t.constructor;v==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof w&&w instanceof w||(f=!1)}return a.delete(e),a.delete(t),f}},1242:(e,t,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},3483:(e,t,r)=>{var n=r(1897),s=r(633),o=r(249);e.exports=function(e){return n(e,o,s)}},7937:(e,t,r)=>{var n=r(8304);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},8761:(e,t,r)=>{var n=r(6840),s=r(8109);e.exports=function(e,t){var r=s(e,t);return n(r)?r:void 0}},2107:(e,t,r)=>{var n=r(857),s=Object.prototype,o=s.hasOwnProperty,i=s.toString,a=n?n.toStringTag:void 0;e.exports=function(e){var t=o.call(e,a),r=e[a];try{e[a]=void 0;var n=!0}catch(e){}var s=i.call(e);return n&&(t?e[a]=r:delete e[a]),s}},633:(e,t,r)=>{var n=r(7552),s=r(981),o=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,a=i?function(e){return null==e?[]:(e=Object(e),n(i(e),(function(t){return o.call(e,t)})))}:s;e.exports=a},940:(e,t,r)=>{var n=r(9515),s=r(326),o=r(1985),i=r(2143),a=r(3215),l=r(3366),u=r(7035),c="[object Map]",_="[object Promise]",p="[object Set]",d="[object WeakMap]",m="[object DataView]",f=u(n),h=u(s),y=u(o),g=u(i),b=u(a),v=l;(n&&v(new n(new ArrayBuffer(1)))!=m||s&&v(new s)!=c||o&&v(o.resolve())!=_||i&&v(new i)!=p||a&&v(new a)!=d)&&(v=function(e){var t=l(e),r="[object Object]"==t?e.constructor:void 0,n=r?u(r):"";if(n)switch(n){case f:return m;case h:return c;case y:return _;case g:return p;case b:return d}return t}),e.exports=v},8109:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},2118:(e,t,r)=>{var n=r(9191);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},6909:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},8138:(e,t,r)=>{var n=r(9191),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return s.call(t,e)?t[e]:void 0}},4174:(e,t,r)=>{var n=r(9191),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:s.call(t,e)}},7942:(e,t,r)=>{var n=r(9191);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},9045:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,r){var n=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<r}},8304:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},7394:(e,t,r)=>{var n,s=r(4019),o=(n=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!o&&o in e}},6001:e=>{var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},3945:e=>{e.exports=function(){this.__data__=[],this.size=0}},1846:(e,t,r)=>{var n=r(2218),s=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0)&&(r==t.length-1?t.pop():s.call(t,r,1),--this.size,!0)}},8028:(e,t,r)=>{var n=r(2218);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},2344:(e,t,r)=>{var n=r(2218);e.exports=function(e){return n(this.__data__,e)>-1}},4769:(e,t,r)=>{var n=r(2218);e.exports=function(e,t){var r=this.__data__,s=n(r,e);return s<0?(++this.size,r.push([e,t])):r[s][1]=t,this}},2411:(e,t,r)=>{var n=r(9612),s=r(235),o=r(326);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||s),string:new n}}},6417:(e,t,r)=>{var n=r(7937);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},6928:(e,t,r)=>{var n=r(7937);e.exports=function(e){return n(this,e).get(e)}},9493:(e,t,r)=>{var n=r(7937);e.exports=function(e){return n(this,e).has(e)}},4150:(e,t,r)=>{var n=r(7937);e.exports=function(e,t){var r=n(this,e),s=r.size;return r.set(e,t),this.size+=r.size==s?0:1,this}},5179:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}},9191:(e,t,r)=>{var n=r(8761)(Object,"create");e.exports=n},4248:(e,t,r)=>{var n=r(241)(Object.keys,Object);e.exports=n},4146:(e,t,r)=>{e=r.nmd(e);var n=r(1242),s=t&&!t.nodeType&&t,o=s&&e&&!e.nodeType&&e,i=o&&o.exports===s&&n.process,a=function(){try{var e=o&&o.require&&o.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=a},7157:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},241:e=>{e.exports=function(e,t){return function(r){return e(t(r))}}},7772:(e,t,r)=>{var n=r(1242),s="object"==typeof self&&self&&self.Object===Object&&self,o=n||s||Function("return this")();e.exports=o},2842:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},2482:e=>{e.exports=function(e){return this.__data__.has(e)}},4207:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},5243:(e,t,r)=>{var n=r(235);e.exports=function(){this.__data__=new n,this.size=0}},2858:e=>{e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},4417:e=>{e.exports=function(e){return this.__data__.get(e)}},8605:e=>{e.exports=function(e){return this.__data__.has(e)}},1418:(e,t,r)=>{var n=r(235),s=r(326),o=r(6738);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!s||i.length<199)return i.push([e,t]),this.size=++r.size,this;r=this.__data__=new o(i)}return r.set(e,t),this.size=r.size,this}},7035:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},1225:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},9631:(e,t,r)=>{var n=r(5183),s=r(5125),o=Object.prototype,i=o.hasOwnProperty,a=o.propertyIsEnumerable,l=n(function(){return arguments}())?n:function(e){return s(e)&&i.call(e,"callee")&&!a.call(e,"callee")};e.exports=l},6152:e=>{var t=Array.isArray;e.exports=t},7878:(e,t,r)=>{var n=r(1049),s=r(1158);e.exports=function(e){return null!=e&&s(e.length)&&!n(e)}},4335:(e,t,r)=>{var n=r(3366),s=r(5125);e.exports=function(e){return!0===e||!1===e||s(e)&&"[object Boolean]"==n(e)}},3226:(e,t,r)=>{e=r.nmd(e);var n=r(7772),s=r(6330),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o?n.Buffer:void 0,l=(a?a.isBuffer:void 0)||s;e.exports=l},8149:(e,t,r)=>{var n=r(8746);e.exports=function(e,t){return n(e,t)}},1049:(e,t,r)=>{var n=r(3366),s=r(9259);e.exports=function(e){if(!s(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1158:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},5877:e=>{e.exports=function(e){return null===e}},537:(e,t,r)=>{var n=r(3366),s=r(5125);e.exports=function(e){return"number"==typeof e||s(e)&&"[object Number]"==n(e)}},9259:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},5125:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},5505:(e,t,r)=>{var n=r(3366),s=r(6152),o=r(5125);e.exports=function(e){return"string"==typeof e||!s(e)&&o(e)&&"[object String]"==n(e)}},7598:(e,t,r)=>{var n=r(5522),s=r(7826),o=r(4146),i=o&&o.isTypedArray,a=i?s(i):n;e.exports=a},249:(e,t,r)=>{var n=r(1634),s=r(6411),o=r(7878);e.exports=function(e){return o(e)?n(e):s(e)}},1570:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},981:e=>{e.exports=function(){return[]}},6330:e=>{e.exports=function(){return!1}},1178:(e,t,r)=>{const n=r(1570);function s(e){return"string"==typeof e?t=>t.element===e:e.constructor&&e.extend?t=>t instanceof e:e}class o{constructor(e){this.elements=e||[]}toValue(){return this.elements.map((e=>e.toValue()))}map(e,t){return this.elements.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const r=[];return this.forEach((n=>{const s=e.bind(t)(n);s&&r.push(s)})),r}filter(e,t){return e=s(e),new o(this.elements.filter(e,t))}reject(e,t){return e=s(e),new o(this.elements.filter(n(e),t))}find(e,t){return e=s(e),this.elements.find(e,t)}forEach(e,t){this.elements.forEach(e,t)}reduce(e,t){return this.elements.reduce(e,t)}includes(e){return this.elements.some((t=>t.equals(e)))}shift(){return this.elements.shift()}unshift(e){this.elements.unshift(this.refract(e))}push(e){return this.elements.push(this.refract(e)),this}add(e){this.push(e)}get(e){return this.elements[e]}getValue(e){const t=this.elements[e];if(t)return t.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(o.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),e.exports=o},3026:e=>{class t{constructor(e,t){this.key=e,this.value=t}clone(){const e=new t;return this.key&&(e.key=this.key.clone()),this.value&&(e.value=this.value.clone()),e}}e.exports=t},5140:(e,t,r)=>{const n=r(5877),s=r(5505),o=r(537),i=r(4335),a=r(9259),l=r(2947),u=r(3756);class c{constructor(e){this.elementMap={},this.elementDetection=[],this.Element=u.Element,this.KeyValuePair=u.KeyValuePair,e&&e.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(e){return e.namespace&&e.namespace({base:this}),e.load&&e.load({base:this}),this}useDefault(){return this.register("null",u.NullElement).register("string",u.StringElement).register("number",u.NumberElement).register("boolean",u.BooleanElement).register("array",u.ArrayElement).register("object",u.ObjectElement).register("member",u.MemberElement).register("ref",u.RefElement).register("link",u.LinkElement),this.detect(n,u.NullElement,!1).detect(s,u.StringElement,!1).detect(o,u.NumberElement,!1).detect(i,u.BooleanElement,!1).detect(Array.isArray,u.ArrayElement,!1).detect(a,u.ObjectElement,!1),this}register(e,t){return this._elements=void 0,this.elementMap[e]=t,this}unregister(e){return this._elements=void 0,delete this.elementMap[e],this}detect(e,t,r){return void 0===r||r?this.elementDetection.unshift([e,t]):this.elementDetection.push([e,t]),this}toElement(e){if(e instanceof this.Element)return e;let t;for(let r=0;r<this.elementDetection.length;r+=1){const n=this.elementDetection[r][0],s=this.elementDetection[r][1];if(n(e)){t=new s(e);break}}return t}getElementClass(e){const t=this.elementMap[e];return void 0===t?this.Element:t}fromRefract(e){return this.serialiser.deserialise(e)}toRefract(e){return this.serialiser.serialise(e)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((e=>{const t=e[0].toUpperCase()+e.substr(1);this._elements[t]=this.elementMap[e]}))),this._elements}get serialiser(){return new l(this)}}l.prototype.Namespace=c,e.exports=c},3853:(e,t,r)=>{const n=r(1570),s=r(1178);class o extends s{map(e,t){return this.elements.map((r=>e.bind(t)(r.value,r.key,r)))}filter(e,t){return new o(this.elements.filter((r=>e.bind(t)(r.value,r.key,r))))}reject(e,t){return this.filter(n(e.bind(t)))}forEach(e,t){return this.elements.forEach(((r,n)=>{e.bind(t)(r.value,r.key,r,n)}))}keys(){return this.map(((e,t)=>t.toValue()))}values(){return this.map((e=>e.toValue()))}}e.exports=o},3756:(e,t,r)=>{const n=r(6420),s=r(4152),o=r(9542),i=r(3710),a=r(3312),l=r(1641),u=r(8858),c=r(3860),_=r(5202),p=r(2320),d=r(1178),m=r(3853),f=r(3026);function h(e){if(e instanceof n)return e;if("string"==typeof e)return new o(e);if("number"==typeof e)return new i(e);if("boolean"==typeof e)return new a(e);if(null===e)return new s;if(Array.isArray(e))return new l(e.map(h));if("object"==typeof e){return new c(e)}return e}n.prototype.ObjectElement=c,n.prototype.RefElement=p,n.prototype.MemberElement=u,n.prototype.refract=h,d.prototype.refract=h,e.exports={Element:n,NullElement:s,StringElement:o,NumberElement:i,BooleanElement:a,ArrayElement:l,MemberElement:u,ObjectElement:c,LinkElement:_,RefElement:p,refract:h,ArraySlice:d,ObjectSlice:m,KeyValuePair:f}},5202:(e,t,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e||[],t,r),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(e){this.attributes.set("relation",e)}get href(){return this.attributes.get("href")}set href(e){this.attributes.set("href",e)}}},2320:(e,t,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e||[],t,r),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(e){this.attributes.set("path",e)}}},7952:(e,t,r)=>{const n=r(5140),s=r(3756);t.lS=n,r(3026),s.ArraySlice,s.ObjectSlice,t.W_=s.Element,t.RP=s.StringElement,t.VL=s.NumberElement,t.hh=s.BooleanElement,t.zr=s.NullElement,t.ON=s.ArrayElement,t.Sb=s.ObjectElement,t.c6=s.MemberElement,t.tK=s.RefElement,t.EA=s.LinkElement,t.Qc=s.refract,r(2947),r(8910)},1641:(e,t,r)=>{const n=r(1570),s=r(6420),o=r(1178);class i extends s{constructor(e,t,r){super(e||[],t,r),this.element="array"}primitive(){return"array"}get(e){return this.content[e]}getValue(e){const t=this.get(e);if(t)return t.toValue()}getIndex(e){return this.content[e]}set(e,t){return this.content[e]=this.refract(t),this}remove(e){const t=this.content.splice(e,1);return t.length?t[0]:null}map(e,t){return this.content.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const r=[];return this.forEach((n=>{const s=e.bind(t)(n);s&&r.push(s)})),r}filter(e,t){return new o(this.content.filter(e,t))}reject(e,t){return this.filter(n(e),t)}reduce(e,t){let r,n;void 0!==t?(r=0,n=this.refract(t)):(r=1,n="object"===this.primitive()?this.first.value:this.first);for(let t=r;t<this.length;t+=1){const r=this.content[t];n="object"===this.primitive()?this.refract(e(n,r.value,r.key,r,this)):this.refract(e(n,r,t,this))}return n}forEach(e,t){this.content.forEach(((r,n)=>{e.bind(t)(r,this.refract(n))}))}shift(){return this.content.shift()}unshift(e){this.content.unshift(this.refract(e))}push(e){return this.content.push(this.refract(e)),this}add(e){this.push(e)}findElements(e,t){const r=t||{},n=!!r.recursive,s=void 0===r.results?[]:r.results;return this.forEach(((t,r,o)=>{n&&void 0!==t.findElements&&t.findElements(e,{results:s,recursive:n}),e(t,r,o)&&s.push(t)})),s}find(e){return new o(this.findElements(e,{recursive:!0}))}findByElement(e){return this.find((t=>t.element===e))}findByClass(e){return this.find((t=>t.classes.includes(e)))}getById(e){return this.find((t=>t.id.toValue()===e)).first}includes(e){return this.content.some((t=>t.equals(e)))}contains(e){return this.includes(e)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(e){return new this.constructor(this.content.concat(e.content))}"fantasy-land/concat"(e){return this.concat(e)}"fantasy-land/map"(e){return new this.constructor(this.map(e))}"fantasy-land/chain"(e){return this.map((t=>e(t)),this).reduce(((e,t)=>e.concat(t)),this.empty())}"fantasy-land/filter"(e){return new this.constructor(this.content.filter(e))}"fantasy-land/reduce"(e,t){return this.content.reduce(e,t)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}i.empty=function(){return new this},i["fantasy-land/empty"]=i.empty,"undefined"!=typeof Symbol&&(i.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),e.exports=i},3312:(e,t,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e,t,r),this.element="boolean"}primitive(){return"boolean"}}},6420:(e,t,r)=>{const n=r(8149),s=r(3026),o=r(1178);class i{constructor(e,t,r){t&&(this.meta=t),r&&(this.attributes=r),this.content=e}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach((e=>{e.parent=this,e.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const e=new this.constructor;return e.element=this.element,this.meta.length&&(e._meta=this.meta.clone()),this.attributes.length&&(e._attributes=this.attributes.clone()),this.content?this.content.clone?e.content=this.content.clone():Array.isArray(this.content)?e.content=this.content.map((e=>e.clone())):e.content=this.content:e.content=this.content,e}toValue(){return this.content instanceof i?this.content.toValue():this.content instanceof s?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((e=>e.toValue()),this):this.content}toRef(e){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const t=new this.RefElement(this.id.toValue());return e&&(t.path=e),t}findRecursive(...e){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const t=e.pop();let r=new o;const n=(e,t)=>(e.push(t),e),i=(e,r)=>{r.element===t&&e.push(r);const o=r.findRecursive(t);return o&&o.reduce(n,e),r.content instanceof s&&(r.content.key&&i(e,r.content.key),r.content.value&&i(e,r.content.value)),e};return this.content&&(this.content.element&&i(r,this.content),Array.isArray(this.content)&&this.content.reduce(i,r)),e.isEmpty||(r=r.filter((t=>{let r=t.parents.map((e=>e.element));for(const t in e){const n=e[t],s=r.indexOf(n);if(-1===s)return!1;r=r.splice(0,s)}return!0}))),r}set(e){return this.content=e,this}equals(e){return n(this.toValue(),e)}getMetaProperty(e,t){if(!this.meta.hasKey(e)){if(this.isFrozen){const e=this.refract(t);return e.freeze(),e}this.meta.set(e,t)}return this.meta.get(e)}setMetaProperty(e,t){this.meta.set(e,t)}get element(){return this._storedElement||"element"}set element(e){this._storedElement=e}get content(){return this._content}set content(e){if(e instanceof i)this._content=e;else if(e instanceof o)this.content=e.elements;else if("string"==typeof e||"number"==typeof e||"boolean"==typeof e||"null"===e||null==e)this._content=e;else if(e instanceof s)this._content=e;else if(Array.isArray(e))this._content=e.map(this.refract);else{if("object"!=typeof e)throw new Error("Cannot set content to given value");this._content=Object.keys(e).map((t=>new this.MemberElement(t,e[t])))}}get meta(){if(!this._meta){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._meta=new this.ObjectElement}return this._meta}set meta(e){e instanceof this.ObjectElement?this._meta=e:this.meta.set(e||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._attributes=new this.ObjectElement}return this._attributes}set attributes(e){e instanceof this.ObjectElement?this._attributes=e:this.attributes.set(e||{})}get id(){return this.getMetaProperty("id","")}set id(e){this.setMetaProperty("id",e)}get classes(){return this.getMetaProperty("classes",[])}set classes(e){this.setMetaProperty("classes",e)}get title(){return this.getMetaProperty("title","")}set title(e){this.setMetaProperty("title",e)}get description(){return this.getMetaProperty("description","")}set description(e){this.setMetaProperty("description",e)}get links(){return this.getMetaProperty("links",[])}set links(e){this.setMetaProperty("links",e)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:e}=this;const t=new o;for(;e;)t.push(e),e=e.parent;return t}get children(){if(Array.isArray(this.content))return new o(this.content);if(this.content instanceof s){const e=new o([this.content.key]);return this.content.value&&e.push(this.content.value),e}return this.content instanceof i?new o([this.content]):new o}get recursiveChildren(){const e=new o;return this.children.forEach((t=>{e.push(t),t.recursiveChildren.forEach((t=>{e.push(t)}))})),e}}e.exports=i},8858:(e,t,r)=>{const n=r(3026),s=r(6420);e.exports=class extends s{constructor(e,t,r,s){super(new n,r,s),this.element="member",this.key=e,this.value=t}get key(){return this.content.key}set key(e){this.content.key=this.refract(e)}get value(){return this.content.value}set value(e){this.content.value=this.refract(e)}}},4152:(e,t,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e||null,t,r),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},3710:(e,t,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e,t,r),this.element="number"}primitive(){return"number"}}},3860:(e,t,r)=>{const n=r(1570),s=r(9259),o=r(1641),i=r(8858),a=r(3853);e.exports=class extends o{constructor(e,t,r){super(e||[],t,r),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((e,t)=>(e[t.key.toValue()]=t.value?t.value.toValue():void 0,e)),{})}get(e){const t=this.getMember(e);if(t)return t.value}getMember(e){if(void 0!==e)return this.content.find((t=>t.key.toValue()===e))}remove(e){let t=null;return this.content=this.content.filter((r=>r.key.toValue()!==e||(t=r,!1))),t}getKey(e){const t=this.getMember(e);if(t)return t.key}set(e,t){if(s(e))return Object.keys(e).forEach((t=>{this.set(t,e[t])})),this;const r=e,n=this.getMember(r);return n?n.value=t:this.content.push(new i(r,t)),this}keys(){return this.content.map((e=>e.key.toValue()))}values(){return this.content.map((e=>e.value.toValue()))}hasKey(e){return this.content.some((t=>t.key.equals(e)))}items(){return this.content.map((e=>[e.key.toValue(),e.value.toValue()]))}map(e,t){return this.content.map((r=>e.bind(t)(r.value,r.key,r)))}compactMap(e,t){const r=[];return this.forEach(((n,s,o)=>{const i=e.bind(t)(n,s,o);i&&r.push(i)})),r}filter(e,t){return new a(this.content).filter(e,t)}reject(e,t){return this.filter(n(e),t)}forEach(e,t){return this.content.forEach((r=>e.bind(t)(r.value,r.key,r)))}}},9542:(e,t,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e,t,r),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},8910:(e,t,r)=>{const n=r(2947);e.exports=class extends n{serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);let t;e._attributes&&e.attributes.get("variable")&&(t=e.attributes.get("variable"));const r={element:e.element};e._meta&&e._meta.length>0&&(r.meta=this.serialiseObject(e.meta));const n="enum"===e.element||-1!==e.attributes.keys().indexOf("enumerations");if(n){const t=this.enumSerialiseAttributes(e);t&&(r.attributes=t)}else if(e._attributes&&e._attributes.length>0){let{attributes:n}=e;n.get("metadata")&&(n=n.clone(),n.set("meta",n.get("metadata")),n.remove("metadata")),"member"===e.element&&t&&(n=n.clone(),n.remove("variable")),n.length>0&&(r.attributes=this.serialiseObject(n))}if(n)r.content=this.enumSerialiseContent(e,r);else if(this[`${e.element}SerialiseContent`])r.content=this[`${e.element}SerialiseContent`](e,r);else if(void 0!==e.content){let n;t&&e.content.key?(n=e.content.clone(),n.key.attributes.set("variable",t),n=this.serialiseContent(n)):n=this.serialiseContent(e.content),this.shouldSerialiseContent(e,n)&&(r.content=n)}else this.shouldSerialiseContent(e,e.content)&&e instanceof this.namespace.elements.Array&&(r.content=[]);return r}shouldSerialiseContent(e,t){return"parseResult"===e.element||"httpRequest"===e.element||"httpResponse"===e.element||"category"===e.element||"link"===e.element||void 0!==t&&(!Array.isArray(t)||0!==t.length)}refSerialiseContent(e,t){return delete t.attributes,{href:e.toValue(),path:e.path.toValue()}}sourceMapSerialiseContent(e){return e.toValue()}dataStructureSerialiseContent(e){return[this.serialiseContent(e.content)]}enumSerialiseAttributes(e){const t=e.attributes.clone(),r=t.remove("enumerations")||new this.namespace.elements.Array([]),n=t.get("default");let s=t.get("samples")||new this.namespace.elements.Array([]);if(n&&n.content&&(n.content.attributes&&n.content.attributes.remove("typeAttributes"),t.set("default",new this.namespace.elements.Array([n.content]))),s.forEach((e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")})),e.content&&0!==r.length&&s.unshift(e.content),s=s.map((e=>e instanceof this.namespace.elements.Array?[e]:new this.namespace.elements.Array([e.content]))),s.length&&t.set("samples",s),t.length>0)return this.serialiseObject(t)}enumSerialiseContent(e){if(e._attributes){const t=e.attributes.get("enumerations");if(t&&t.length>0)return t.content.map((e=>{const t=e.clone();return t.attributes.remove("typeAttributes"),this.serialise(t)}))}if(e.content){const t=e.content.clone();return t.attributes.remove("typeAttributes"),[this.serialise(t)]}return[]}deserialise(e){if("string"==typeof e)return new this.namespace.elements.String(e);if("number"==typeof e)return new this.namespace.elements.Number(e);if("boolean"==typeof e)return new this.namespace.elements.Boolean(e);if(null===e)return new this.namespace.elements.Null;if(Array.isArray(e))return new this.namespace.elements.Array(e.map(this.deserialise,this));const t=this.namespace.getElementClass(e.element),r=new t;r.element!==e.element&&(r.element=e.element),e.meta&&this.deserialiseObject(e.meta,r.meta),e.attributes&&this.deserialiseObject(e.attributes,r.attributes);const n=this.deserialiseContent(e.content);if(void 0===n&&null!==r.content||(r.content=n),"enum"===r.element){r.content&&r.attributes.set("enumerations",r.content);let e=r.attributes.get("samples");if(r.attributes.remove("samples"),e){const n=e;e=new this.namespace.elements.Array,n.forEach((n=>{n.forEach((n=>{const s=new t(n);s.element=r.element,e.push(s)}))}));const s=e.shift();r.content=s?s.content:void 0,r.attributes.set("samples",e)}else r.content=void 0;let n=r.attributes.get("default");if(n&&n.length>0){n=n.get(0);const e=new t(n);e.element=r.element,r.attributes.set("default",e)}}else if("dataStructure"===r.element&&Array.isArray(r.content))[r.content]=r.content;else if("category"===r.element){const e=r.attributes.get("meta");e&&(r.attributes.set("metadata",e),r.attributes.remove("meta"))}else"member"===r.element&&r.key&&r.key._attributes&&r.key._attributes.getValue("variable")&&(r.attributes.set("variable",r.key.attributes.get("variable")),r.key.attributes.remove("variable"));return r}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}return e&&e.map?e.map(this.serialise,this):e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}shouldRefract(e){return!!(e._attributes&&e.attributes.keys().length||e._meta&&e.meta.keys().length)||"enum"!==e.element&&(e.element!==e.primitive()||"member"===e.element)}convertKeyToRefract(e,t){return this.shouldRefract(t)?this.serialise(t):"enum"===t.element?this.serialiseEnum(t):"array"===t.element?t.map((t=>this.shouldRefract(t)||"default"===e?this.serialise(t):"array"===t.element||"object"===t.element||"enum"===t.element?t.children.map((e=>this.serialise(e))):t.toValue())):"object"===t.element?(t.content||[]).map(this.serialise,this):t.toValue()}serialiseEnum(e){return e.children.map((e=>this.serialise(e)))}serialiseObject(e){const t={};return e.forEach(((e,r)=>{if(e){const n=r.toValue();t[n]=this.convertKeyToRefract(n,e)}})),t}deserialiseObject(e,t){Object.keys(e).forEach((r=>{t.set(r,this.deserialise(e[r]))}))}}},2947:e=>{e.exports=class{constructor(e){this.namespace=e||new this.Namespace}serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);const t={element:e.element};e._meta&&e._meta.length>0&&(t.meta=this.serialiseObject(e.meta)),e._attributes&&e._attributes.length>0&&(t.attributes=this.serialiseObject(e.attributes));const r=this.serialiseContent(e.content);return void 0!==r&&(t.content=r),t}deserialise(e){if(!e.element)throw new Error("Given value is not an object containing an element name");const t=new(this.namespace.getElementClass(e.element));t.element!==e.element&&(t.element=e.element),e.meta&&this.deserialiseObject(e.meta,t.meta),e.attributes&&this.deserialiseObject(e.attributes,t.attributes);const r=this.deserialiseContent(e.content);return void 0===r&&null!==t.content||(t.content=r),t}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}if(e&&e.map){if(0===e.length)return;return e.map(this.serialise,this)}return e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}serialiseObject(e){const t={};if(e.forEach(((e,r)=>{e&&(t[r.toValue()]=this.serialise(e))})),0!==Object.keys(t).length)return t}deserialiseObject(e,t){Object.keys(e).forEach((r=>{t.set(r,this.deserialise(e[r]))}))}}},6591:e=>{!function(){"use strict";var t,r,n,s,o,i="properties",a="deepProperties",l="propertyDescriptors",u="staticProperties",c="staticDeepProperties",_="staticPropertyDescriptors",p="configuration",d="deepConfiguration",m="deepProps",f="deepStatics",h="deepConf",y="initializers",g="methods",b="composers",v="compose";function w(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[])}function E(e,t){return Array.prototype.slice.call(arguments,2).reduce(e,t)}var S=E.bind(0,(function(e,t){if(t)for(var r=w(t),n=0;n<r.length;n+=1)Object.defineProperty(e,r[n],Object.getOwnPropertyDescriptor(t,r[n]));return e}));function M(e){return"function"==typeof e}function O(e){return e&&"object"==typeof e||M(e)}function x(e){return e&&"object"==typeof e&&e.__proto__==Object.prototype}var A=E.bind(0,(function e(r,n){if(n===t)return r;if(Array.isArray(n))return(Array.isArray(r)?r:[]).concat(n);if(!x(n))return n;for(var s,o,i=w(n),a=0;a<i.length;)s=i[a++],(o=Object.getOwnPropertyDescriptor(n,s)).hasOwnProperty("value")?o.value!==t&&(r[s]=e(x(r[s])||Array.isArray(n[s])?r[s]:{},n[s])):Object.defineProperty(r,s,o);return r}));function I(){return(r=Array.prototype.concat.apply([],arguments).filter((function(e,t,r){return M(e)&&r.indexOf(e)===t}))).length?r:t}function N(e,t){function n(r,n){O(t[r])&&(O(e[r])||(e[r]={}),(n||S)(e[r],t[r]))}function s(n){(r=I(e[n],t[n]))&&(e[n]=r)}return t&&O(t=t[v]||t)&&(n(g),n(i),n(a,A),n(l),n(u),n(c,A),n(_),n(p),n(d,A),s(y),s(b)),e}function P(){return function(e){return r=function e(r){var n,s,o=e[v]||{},u={__proto__:o[g]},c=o[y],_=Array.prototype.slice.apply(arguments),p=o[a];if(p&&A(u,p),(p=o[i])&&S(u,p),(p=o[l])&&Object.defineProperties(u,p),!c||!c.length)return u;for(r===t&&(r={}),o=0;o<c.length;)M(n=c[o++])&&(u=(s=n.call(u,r,{instance:u,stamp:e,args:_}))===t?u:s);return u},(n=e[c])&&A(r,n),(n=e[u])&&S(r,n),(n=e[_])&&Object.defineProperties(r,n),n=M(r[v])?r[v]:P,S(r[v]=function(){return n.apply(this,arguments)},e),r}(Array.prototype.concat.apply([this],arguments).reduce(N,{}))}function T(e){return M(e)&&M(e[v])}var j={};function F(e,o){return function(){return(s={})[e]=o.apply(t,Array.prototype.concat.apply([{}],arguments)),((r=this)&&r[v]||n).call(r,s)}}j[g]=F(g,S),j[i]=j.props=F(i,S),j[y]=j.init=F(y,I),j[b]=F(b,I),j[a]=j[m]=F(a,A),j[u]=j.statics=F(u,S),j[c]=j[f]=F(c,A),j[p]=j.conf=F(p,S),j[d]=j[h]=F(d,A),j[l]=F(l,S),j[_]=F(_,S),n=j[v]=S((function(){for(var e,w,E=0,M=[],x=arguments,N=this;E<x.length;)O(e=x[E++])&&M.push(T(e)?e:((s={})[g]=(w=e)[g]||t,n=w.props,s[i]=O((r=w[i])||n)?S({},n,r):t,s[y]=I(w.init,w[y]),s[b]=I(w[b]),n=w[m],s[a]=O((r=w[a])||n)?A({},n,r):t,s[l]=w[l],n=w.statics,s[u]=O((r=w[u])||n)?S({},n,r):t,n=w[f],s[c]=O((r=w[c])||n)?A({},n,r):t,r=w[_],s[_]=O((n=w.name&&{name:{value:w.name}})||r)?S({},r,n):t,n=w.conf,s[p]=O((r=w[p])||n)?S({},n,r):t,n=w[h],s[d]=O((r=w[d])||n)?A({},n,r):t,s));if(e=P.apply(N||o,M),N&&M.unshift(N),Array.isArray(x=e[v][b]))for(E=0;E<x.length;)e=T(N=x[E++]({stamp:e,composables:M}))?N:e;return e}),j),j.create=function(){return this.apply(t,arguments)},(s={})[u]=j,o=P(s),n[v]=n.bind(),n.version="4.3.2","object"!=typeof t?e.exports=n:self.stampit=n}()},2396:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.MalformedUnicode="MALFORMED_UNICODE",e.MalformedHexadecimal="MALFORMED_HEXADECIMAL",e.CodePointLimit="CODE_POINT_LIMIT",e.OctalDeprecation="OCTAL_DEPRECATION",e.EndOfString="END_OF_STRING"}(r=t.ErrorType||(t.ErrorType={})),t.errorMessages=new Map([[r.MalformedUnicode,"malformed Unicode character escape sequence"],[r.MalformedHexadecimal,"malformed hexadecimal character escape sequence"],[r.CodePointLimit,"Unicode codepoint must not be greater than 0x10FFFF in escape sequence"],[r.OctalDeprecation,'"0"-prefixed octal literals and octal escape sequences are deprecated; for octal literals use the "0o" prefix instead'],[r.EndOfString,"malformed escape sequence at end of string"]])},2770:(e,t,r)=>{"use strict";const n=r(2396);function s(e,t,r){const s=function(e){return e.match(/[^a-f0-9]/i)?NaN:parseInt(e,16)}(e);if(Number.isNaN(s)||void 0!==r&&r!==e.length)throw new SyntaxError(n.errorMessages.get(t));return s}function o(e,t){const r=s(e,n.ErrorType.MalformedUnicode,4);if(void 0!==t){const e=s(t,n.ErrorType.MalformedUnicode,4);return String.fromCharCode(r,e)}return String.fromCharCode(r)}n.ErrorType,n.errorMessages;const i=new Map([["b","\b"],["f","\f"],["n","\n"],["r","\r"],["t","\t"],["v","\v"],["0","\0"]]);const a=/\\(?:(\\)|x([\s\S]{0,2})|u(\{[^}]*\}?)|u([\s\S]{4})\\u([^{][\s\S]{0,3})|u([\s\S]{0,4})|([0-3]?[0-7]{1,2})|([\s\S])|$)/g;function l(e,t=!1){return e.replace(a,(function(e,r,a,l,u,c,_,p,d){if(void 0!==r)return"\\";if(void 0!==a)return function(e){const t=s(e,n.ErrorType.MalformedHexadecimal,2);return String.fromCharCode(t)}(a);if(void 0!==l)return function(e){if("{"!==(t=e).charAt(0)||"}"!==t.charAt(t.length-1))throw new SyntaxError(n.errorMessages.get(n.ErrorType.MalformedUnicode));var t;const r=s(e.slice(1,-1),n.ErrorType.MalformedUnicode);try{return String.fromCodePoint(r)}catch(e){throw e instanceof RangeError?new SyntaxError(n.errorMessages.get(n.ErrorType.CodePointLimit)):e}}(l);if(void 0!==u)return o(u,c);if(void 0!==_)return o(_);if("0"===p)return"\0";if(void 0!==p)return function(e,t=!1){if(t)throw new SyntaxError(n.errorMessages.get(n.ErrorType.OctalDeprecation));const r=parseInt(e,8);return String.fromCharCode(r)}(p,!t);if(void 0!==d)return m=d,i.get(m)||m;var m;throw new SyntaxError(n.errorMessages.get(n.ErrorType.EndOfString))}))}t.S6=l},9794:(module,__unused_webpack_exports,__webpack_require__)=>{var __dirname="/",Module=void 0!==Module?Module:{},TreeSitter=function(){var initPromise,document="object"==typeof window?{currentScript:window.document.currentScript}:null;class Parser{constructor(){this.initialize()}initialize(){throw new Error("cannot construct a Parser before calling `init()`")}static init(moduleOptions){return initPromise||(Module=Object.assign({},Module,moduleOptions),initPromise=new Promise((resolveInitPromise=>{var moduleOverrides=Object.assign({},Module),arguments_=[],thisProgram="./this.program",quit_=(e,t)=>{throw t},ENVIRONMENT_IS_WEB="object"==typeof window,ENVIRONMENT_IS_WORKER="function"==typeof importScripts,ENVIRONMENT_IS_NODE="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,scriptDirectory="",read_,readAsync,readBinary,setWindowTitle;function locateFile(e){return Module.locateFile?Module.locateFile(e,scriptDirectory):scriptDirectory+e}function logExceptionOnExit(e){e instanceof ExitStatus||err("exiting due to exception: "+e)}if(ENVIRONMENT_IS_NODE){var fs=__webpack_require__(5530),nodePath=__webpack_require__(6287);scriptDirectory=ENVIRONMENT_IS_WORKER?nodePath.dirname(scriptDirectory)+"/":__dirname+"/",read_=(e,t)=>(e=isFileURI(e)?new URL(e):nodePath.normalize(e),fs.readFileSync(e,t?void 0:"utf8")),readBinary=e=>{var t=read_(e,!0);return t.buffer||(t=new Uint8Array(t)),t},readAsync=(e,t,r)=>{e=isFileURI(e)?new URL(e):nodePath.normalize(e),fs.readFile(e,(function(e,n){e?r(e):t(n.buffer)}))},process.argv.length>1&&(thisProgram=process.argv[1].replace(/\\/g,"/")),arguments_=process.argv.slice(2),module.exports=Module,quit_=(e,t)=>{if(keepRuntimeAlive())throw process.exitCode=e,t;logExceptionOnExit(t),process.exit(e)},Module.inspect=function(){return"[Emscripten Module object]"}}else(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)&&(ENVIRONMENT_IS_WORKER?scriptDirectory=self.location.href:void 0!==document&&document.currentScript&&(scriptDirectory=document.currentScript.src),scriptDirectory=0!==scriptDirectory.indexOf("blob:")?scriptDirectory.substr(0,scriptDirectory.replace(/[?#].*/,"").lastIndexOf("/")+1):"",read_=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},ENVIRONMENT_IS_WORKER&&(readBinary=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),readAsync=(e,t,r)=>{var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="arraybuffer",n.onload=()=>{200==n.status||0==n.status&&n.response?t(n.response):r()},n.onerror=r,n.send(null)},setWindowTitle=e=>document.title=e);var out=Module.print||console.log.bind(console),err=Module.printErr||console.warn.bind(console);Object.assign(Module,moduleOverrides),moduleOverrides=null,Module.arguments&&(arguments_=Module.arguments),Module.thisProgram&&(thisProgram=Module.thisProgram),Module.quit&&(quit_=Module.quit);var STACK_ALIGN=16,dynamicLibraries=Module.dynamicLibraries||[],wasmBinary;Module.wasmBinary&&(wasmBinary=Module.wasmBinary);var noExitRuntime=Module.noExitRuntime||!0,wasmMemory;"object"!=typeof WebAssembly&&abort("no native wasm support detected");var ABORT=!1,EXITSTATUS,UTF8Decoder="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,buffer,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;function UTF8ArrayToString(e,t,r){for(var n=t+r,s=t;e[s]&&!(s>=n);)++s;if(s-t>16&&e.buffer&&UTF8Decoder)return UTF8Decoder.decode(e.subarray(t,s));for(var o="";t<s;){var i=e[t++];if(128&i){var a=63&e[t++];if(192!=(224&i)){var l=63&e[t++];if((i=224==(240&i)?(15&i)<<12|a<<6|l:(7&i)<<18|a<<12|l<<6|63&e[t++])<65536)o+=String.fromCharCode(i);else{var u=i-65536;o+=String.fromCharCode(55296|u>>10,56320|1023&u)}}else o+=String.fromCharCode((31&i)<<6|a)}else o+=String.fromCharCode(i)}return o}function UTF8ToString(e,t){return e?UTF8ArrayToString(HEAPU8,e,t):""}function stringToUTF8Array(e,t,r,n){if(!(n>0))return 0;for(var s=r,o=r+n-1,i=0;i<e.length;++i){var a=e.charCodeAt(i);if(a>=55296&&a<=57343&&(a=65536+((1023&a)<<10)|1023&e.charCodeAt(++i)),a<=127){if(r>=o)break;t[r++]=a}else if(a<=2047){if(r+1>=o)break;t[r++]=192|a>>6,t[r++]=128|63&a}else if(a<=65535){if(r+2>=o)break;t[r++]=224|a>>12,t[r++]=128|a>>6&63,t[r++]=128|63&a}else{if(r+3>=o)break;t[r++]=240|a>>18,t[r++]=128|a>>12&63,t[r++]=128|a>>6&63,t[r++]=128|63&a}}return t[r]=0,r-s}function stringToUTF8(e,t,r){return stringToUTF8Array(e,HEAPU8,t,r)}function lengthBytesUTF8(e){for(var t=0,r=0;r<e.length;++r){var n=e.charCodeAt(r);n<=127?t++:n<=2047?t+=2:n>=55296&&n<=57343?(t+=4,++r):t+=3}return t}function updateGlobalBufferAndViews(e){buffer=e,Module.HEAP8=HEAP8=new Int8Array(e),Module.HEAP16=HEAP16=new Int16Array(e),Module.HEAP32=HEAP32=new Int32Array(e),Module.HEAPU8=HEAPU8=new Uint8Array(e),Module.HEAPU16=HEAPU16=new Uint16Array(e),Module.HEAPU32=HEAPU32=new Uint32Array(e),Module.HEAPF32=HEAPF32=new Float32Array(e),Module.HEAPF64=HEAPF64=new Float64Array(e)}var INITIAL_MEMORY=Module.INITIAL_MEMORY||33554432;wasmMemory=Module.wasmMemory?Module.wasmMemory:new WebAssembly.Memory({initial:INITIAL_MEMORY/65536,maximum:32768}),wasmMemory&&(buffer=wasmMemory.buffer),INITIAL_MEMORY=buffer.byteLength,updateGlobalBufferAndViews(buffer);var wasmTable=new WebAssembly.Table({initial:20,element:"anyfunc"}),__ATPRERUN__=[],__ATINIT__=[],__ATMAIN__=[],__ATPOSTRUN__=[],__RELOC_FUNCS__=[],runtimeInitialized=!1;function keepRuntimeAlive(){return noExitRuntime}function preRun(){if(Module.preRun)for("function"==typeof Module.preRun&&(Module.preRun=[Module.preRun]);Module.preRun.length;)addOnPreRun(Module.preRun.shift());callRuntimeCallbacks(__ATPRERUN__)}function initRuntime(){runtimeInitialized=!0,callRuntimeCallbacks(__RELOC_FUNCS__),callRuntimeCallbacks(__ATINIT__)}function preMain(){callRuntimeCallbacks(__ATMAIN__)}function postRun(){if(Module.postRun)for("function"==typeof Module.postRun&&(Module.postRun=[Module.postRun]);Module.postRun.length;)addOnPostRun(Module.postRun.shift());callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(e){__ATPRERUN__.unshift(e)}function addOnInit(e){__ATINIT__.unshift(e)}function addOnPostRun(e){__ATPOSTRUN__.unshift(e)}var runDependencies=0,runDependencyWatcher=null,dependenciesFulfilled=null;function addRunDependency(e){runDependencies++,Module.monitorRunDependencies&&Module.monitorRunDependencies(runDependencies)}function removeRunDependency(e){if(runDependencies--,Module.monitorRunDependencies&&Module.monitorRunDependencies(runDependencies),0==runDependencies&&(null!==runDependencyWatcher&&(clearInterval(runDependencyWatcher),runDependencyWatcher=null),dependenciesFulfilled)){var t=dependenciesFulfilled;dependenciesFulfilled=null,t()}}function abort(e){throw Module.onAbort&&Module.onAbort(e),err(e="Aborted("+e+")"),ABORT=!0,EXITSTATUS=1,e+=". Build with -sASSERTIONS for more info.",new WebAssembly.RuntimeError(e)}var dataURIPrefix="data:application/octet-stream;base64,",wasmBinaryFile,tempDouble,tempI64;function isDataURI(e){return e.startsWith(dataURIPrefix)}function isFileURI(e){return e.startsWith("file://")}function getBinary(e){try{if(e==wasmBinaryFile&&wasmBinary)return new Uint8Array(wasmBinary);if(readBinary)return readBinary(e);throw"both async and sync fetching of the wasm failed"}catch(e){abort(e)}}function getBinaryPromise(){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)){if("function"==typeof fetch&&!isFileURI(wasmBinaryFile))return fetch(wasmBinaryFile,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load wasm binary file at '"+wasmBinaryFile+"'";return e.arrayBuffer()})).catch((function(){return getBinary(wasmBinaryFile)}));if(readAsync)return new Promise((function(e,t){readAsync(wasmBinaryFile,(function(t){e(new Uint8Array(t))}),t)}))}return Promise.resolve().then((function(){return getBinary(wasmBinaryFile)}))}function createWasm(){var e={env:asmLibraryArg,wasi_snapshot_preview1:asmLibraryArg,"GOT.mem":new Proxy(asmLibraryArg,GOTHandler),"GOT.func":new Proxy(asmLibraryArg,GOTHandler)};function t(e,t){var r=e.exports;r=relocateExports(r,1024);var n=getDylinkMetadata(t);n.neededDynlibs&&(dynamicLibraries=n.neededDynlibs.concat(dynamicLibraries)),mergeLibSymbols(r,"main"),Module.asm=r,addOnInit(Module.asm.__wasm_call_ctors),__RELOC_FUNCS__.push(Module.asm.__wasm_apply_data_relocs),removeRunDependency("wasm-instantiate")}function r(e){t(e.instance,e.module)}function n(t){return getBinaryPromise().then((function(t){return WebAssembly.instantiate(t,e)})).then((function(e){return e})).then(t,(function(e){err("failed to asynchronously prepare wasm: "+e),abort(e)}))}if(addRunDependency("wasm-instantiate"),Module.instantiateWasm)try{return Module.instantiateWasm(e,t)}catch(e){return err("Module.instantiateWasm callback failed with error: "+e),!1}return wasmBinary||"function"!=typeof WebAssembly.instantiateStreaming||isDataURI(wasmBinaryFile)||isFileURI(wasmBinaryFile)||ENVIRONMENT_IS_NODE||"function"!=typeof fetch?n(r):fetch(wasmBinaryFile,{credentials:"same-origin"}).then((function(t){return WebAssembly.instantiateStreaming(t,e).then(r,(function(e){return err("wasm streaming compile failed: "+e),err("falling back to ArrayBuffer instantiation"),n(r)}))})),{}}wasmBinaryFile="tree-sitter.wasm",isDataURI(wasmBinaryFile)||(wasmBinaryFile=locateFile(wasmBinaryFile));var ASM_CONSTS={};function ExitStatus(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}var GOT={},CurrentModuleWeakSymbols=new Set([]),GOTHandler={get:function(e,t){var r=GOT[t];return r||(r=GOT[t]=new WebAssembly.Global({value:"i32",mutable:!0})),CurrentModuleWeakSymbols.has(t)||(r.required=!0),r}};function callRuntimeCallbacks(e){for(;e.length>0;)e.shift()(Module)}function getDylinkMetadata(e){var t=0,r=0;function n(){for(var r=0,n=1;;){var s=e[t++];if(r+=(127&s)*n,n*=128,!(128&s))break}return r}function s(){var r=n();return UTF8ArrayToString(e,(t+=r)-r,r)}function o(e,t){if(e)throw new Error(t)}var i="dylink.0";if(e instanceof WebAssembly.Module){var a=WebAssembly.Module.customSections(e,i);0===a.length&&(i="dylink",a=WebAssembly.Module.customSections(e,i)),o(0===a.length,"need dylink section"),r=(e=new Uint8Array(a[0])).length}else{o(!(1836278016==new Uint32Array(new Uint8Array(e.subarray(0,24)).buffer)[0]),"need to see wasm magic number"),o(0!==e[8],"need the dylink section to be first"),t=9;var l=n();r=t+l,i=s()}var u={neededDynlibs:[],tlsExports:new Set,weakImports:new Set};if("dylink"==i){u.memorySize=n(),u.memoryAlign=n(),u.tableSize=n(),u.tableAlign=n();for(var c=n(),_=0;_<c;++_){var p=s();u.neededDynlibs.push(p)}}else for(o("dylink.0"!==i);t<r;){var d=e[t++],m=n();if(1===d)u.memorySize=n(),u.memoryAlign=n(),u.tableSize=n(),u.tableAlign=n();else if(2===d)for(c=n(),_=0;_<c;++_)p=s(),u.neededDynlibs.push(p);else if(3===d)for(var f=n();f--;){var h=s();256&n()&&u.tlsExports.add(h)}else if(4===d)for(f=n();f--;)s(),h=s(),1==(3&n())&&u.weakImports.add(h);else t+=m}return u}function getValue(e,t="i8"){switch(t.endsWith("*")&&(t="*"),t){case"i1":case"i8":return HEAP8[e>>0];case"i16":return HEAP16[e>>1];case"i32":case"i64":return HEAP32[e>>2];case"float":return HEAPF32[e>>2];case"double":return HEAPF64[e>>3];case"*":return HEAPU32[e>>2];default:abort("invalid type for getValue: "+t)}return null}function asmjsMangle(e){return 0==e.indexOf("dynCall_")||["stackAlloc","stackSave","stackRestore","getTempRet0","setTempRet0"].includes(e)?e:"_"+e}function mergeLibSymbols(e,t){for(var r in e)if(e.hasOwnProperty(r)){asmLibraryArg.hasOwnProperty(r)||(asmLibraryArg[r]=e[r]);var n=asmjsMangle(r);Module.hasOwnProperty(n)||(Module[n]=e[r]),"__main_argc_argv"==r&&(Module._main=e[r])}}var LDSO={loadedLibsByName:{},loadedLibsByHandle:{}};function dynCallLegacy(e,t,r){var n=Module["dynCall_"+e];return r&&r.length?n.apply(null,[t].concat(r)):n.call(null,t)}var wasmTableMirror=[];function getWasmTableEntry(e){var t=wasmTableMirror[e];return t||(e>=wasmTableMirror.length&&(wasmTableMirror.length=e+1),wasmTableMirror[e]=t=wasmTable.get(e)),t}function dynCall(e,t,r){return e.includes("j")?dynCallLegacy(e,t,r):getWasmTableEntry(t).apply(null,r)}function createInvokeFunction(e){return function(){var t=stackSave();try{return dynCall(e,arguments[0],Array.prototype.slice.call(arguments,1))}catch(e){if(stackRestore(t),e!==e+0)throw e;_setThrew(1,0)}}}var ___heap_base=78144;function zeroMemory(e,t){return HEAPU8.fill(0,e,e+t),e}function getMemory(e){if(runtimeInitialized)return zeroMemory(_malloc(e),e);var t=___heap_base,r=t+e+15&-16;return ___heap_base=r,GOT.__heap_base.value=r,t}function isInternalSym(e){return["__cpp_exception","__c_longjmp","__wasm_apply_data_relocs","__dso_handle","__tls_size","__tls_align","__set_stack_limits","_emscripten_tls_init","__wasm_init_tls","__wasm_call_ctors","__start_em_asm","__stop_em_asm"].includes(e)}function uleb128Encode(e,t){e<128?t.push(e):t.push(e%128|128,e>>7)}function sigToWasmTypes(e){for(var t={i:"i32",j:"i32",f:"f32",d:"f64",p:"i32"},r={parameters:[],results:"v"==e[0]?[]:[t[e[0]]]},n=1;n<e.length;++n)r.parameters.push(t[e[n]]),"j"===e[n]&&r.parameters.push("i32");return r}function generateFuncType(e,t){var r=e.slice(0,1),n=e.slice(1),s={i:127,p:127,j:126,f:125,d:124};t.push(96),uleb128Encode(n.length,t);for(var o=0;o<n.length;++o)t.push(s[n[o]]);"v"==r?t.push(0):t.push(1,s[r])}function convertJsFunctionToWasm(e,t){if("function"==typeof WebAssembly.Function)return new WebAssembly.Function(sigToWasmTypes(t),e);var r=[1];generateFuncType(t,r);var n=[0,97,115,109,1,0,0,0,1];uleb128Encode(r.length,n),n.push.apply(n,r),n.push(2,7,1,1,101,1,102,0,0,7,5,1,1,102,0,0);var s=new WebAssembly.Module(new Uint8Array(n));return new WebAssembly.Instance(s,{e:{f:e}}).exports.f}function updateTableMap(e,t){if(functionsInTableMap)for(var r=e;r<e+t;r++){var n=getWasmTableEntry(r);n&&functionsInTableMap.set(n,r)}}var functionsInTableMap=void 0,freeTableIndexes=[];function getEmptyTableSlot(){if(freeTableIndexes.length)return freeTableIndexes.pop();try{wasmTable.grow(1)}catch(e){if(!(e instanceof RangeError))throw e;throw"Unable to grow wasm table. Set ALLOW_TABLE_GROWTH."}return wasmTable.length-1}function setWasmTableEntry(e,t){wasmTable.set(e,t),wasmTableMirror[e]=wasmTable.get(e)}function addFunction(e,t){if(functionsInTableMap||(functionsInTableMap=new WeakMap,updateTableMap(0,wasmTable.length)),functionsInTableMap.has(e))return functionsInTableMap.get(e);var r=getEmptyTableSlot();try{setWasmTableEntry(r,e)}catch(n){if(!(n instanceof TypeError))throw n;setWasmTableEntry(r,convertJsFunctionToWasm(e,t))}return functionsInTableMap.set(e,r),r}function updateGOT(e,t){for(var r in e)if(!isInternalSym(r)){var n=e[r];r.startsWith("orig$")&&(r=r.split("$")[1],t=!0),GOT[r]||(GOT[r]=new WebAssembly.Global({value:"i32",mutable:!0})),(t||0==GOT[r].value)&&("function"==typeof n?GOT[r].value=addFunction(n):"number"==typeof n?GOT[r].value=n:err("unhandled export type for `"+r+"`: "+typeof n))}}function relocateExports(e,t,r){var n={};for(var s in e){var o=e[s];"object"==typeof o&&(o=o.value),"number"==typeof o&&(o+=t),n[s]=o}return updateGOT(n,r),n}function resolveGlobalSymbol(e,t){var r;return t&&(r=asmLibraryArg["orig$"+e]),r||(r=asmLibraryArg[e])&&r.stub&&(r=void 0),r||(r=Module[asmjsMangle(e)]),!r&&e.startsWith("invoke_")&&(r=createInvokeFunction(e.split("_")[1])),r}function alignMemory(e,t){return Math.ceil(e/t)*t}function loadWebAssemblyModule(binary,flags,handle){var metadata=getDylinkMetadata(binary);function loadModule(){var firstLoad=!handle||!HEAP8[handle+12>>0];if(firstLoad){var memAlign=Math.pow(2,metadata.memoryAlign);memAlign=Math.max(memAlign,STACK_ALIGN);var memoryBase=metadata.memorySize?alignMemory(getMemory(metadata.memorySize+memAlign),memAlign):0,tableBase=metadata.tableSize?wasmTable.length:0;handle&&(HEAP8[handle+12>>0]=1,HEAPU32[handle+16>>2]=memoryBase,HEAP32[handle+20>>2]=metadata.memorySize,HEAPU32[handle+24>>2]=tableBase,HEAP32[handle+28>>2]=metadata.tableSize)}else memoryBase=HEAPU32[handle+16>>2],tableBase=HEAPU32[handle+24>>2];var tableGrowthNeeded=tableBase+metadata.tableSize-wasmTable.length,moduleExports;function resolveSymbol(e){var t=resolveGlobalSymbol(e,!1);return t||(t=moduleExports[e]),t}tableGrowthNeeded>0&&wasmTable.grow(tableGrowthNeeded);var proxyHandler={get:function(e,t){switch(t){case"__memory_base":return memoryBase;case"__table_base":return tableBase}return t in asmLibraryArg?asmLibraryArg[t]:(t in e||(e[t]=function(){return r||(r=resolveSymbol(t)),r.apply(null,arguments)}),e[t]);var r}},proxy=new Proxy({},proxyHandler),info={"GOT.mem":new Proxy({},GOTHandler),"GOT.func":new Proxy({},GOTHandler),env:proxy,wasi_snapshot_preview1:proxy};function postInstantiation(instance){function addEmAsm(addr,body){for(var args=[],arity=0;arity<16&&-1!=body.indexOf("$"+arity);arity++)args.push("$"+arity);args=args.join(",");var func="("+args+" ) => { "+body+"};";ASM_CONSTS[start]=eval(func)}if(updateTableMap(tableBase,metadata.tableSize),moduleExports=relocateExports(instance.exports,memoryBase),flags.allowUndefined||reportUndefinedSymbols(),"__start_em_asm"in moduleExports)for(var start=moduleExports.__start_em_asm,stop=moduleExports.__stop_em_asm;start<stop;){var jsString=UTF8ToString(start);addEmAsm(start,jsString),start=HEAPU8.indexOf(0,start)+1}var applyRelocs=moduleExports.__wasm_apply_data_relocs;applyRelocs&&(runtimeInitialized?applyRelocs():__RELOC_FUNCS__.push(applyRelocs));var init=moduleExports.__wasm_call_ctors;return init&&(runtimeInitialized?init():__ATINIT__.push(init)),moduleExports}if(flags.loadAsync){if(binary instanceof WebAssembly.Module){var instance=new WebAssembly.Instance(binary,info);return Promise.resolve(postInstantiation(instance))}return WebAssembly.instantiate(binary,info).then((function(e){return postInstantiation(e.instance)}))}var module=binary instanceof WebAssembly.Module?binary:new WebAssembly.Module(binary),instance=new WebAssembly.Instance(module,info);return postInstantiation(instance)}return CurrentModuleWeakSymbols=metadata.weakImports,flags.loadAsync?metadata.neededDynlibs.reduce((function(e,t){return e.then((function(){return loadDynamicLibrary(t,flags)}))}),Promise.resolve()).then((function(){return loadModule()})):(metadata.neededDynlibs.forEach((function(e){loadDynamicLibrary(e,flags)})),loadModule())}function loadDynamicLibrary(e,t,r){t=t||{global:!0,nodelete:!0};var n=LDSO.loadedLibsByName[e];if(n)return t.global&&!n.global&&(n.global=!0,"loading"!==n.module&&mergeLibSymbols(n.module,e)),t.nodelete&&n.refcount!==1/0&&(n.refcount=1/0),n.refcount++,r&&(LDSO.loadedLibsByHandle[r]=n),!t.loadAsync||Promise.resolve(!0);function s(e){if(t.fs&&t.fs.findObject(e)){var r=t.fs.readFile(e,{encoding:"binary"});return r instanceof Uint8Array||(r=new Uint8Array(r)),t.loadAsync?Promise.resolve(r):r}if(e=locateFile(e),t.loadAsync)return new Promise((function(t,r){readAsync(e,(e=>t(new Uint8Array(e))),r)}));if(!readBinary)throw new Error(e+": file not found, and synchronous loading of external files is not available");return readBinary(e)}function o(){if("undefined"!=typeof preloadedWasm&&preloadedWasm[e]){var n=preloadedWasm[e];return t.loadAsync?Promise.resolve(n):n}return t.loadAsync?s(e).then((function(e){return loadWebAssemblyModule(e,t,r)})):loadWebAssemblyModule(s(e),t,r)}function i(t){n.global&&mergeLibSymbols(t,e),n.module=t}return n={refcount:t.nodelete?1/0:1,name:e,module:"loading",global:t.global},LDSO.loadedLibsByName[e]=n,r&&(LDSO.loadedLibsByHandle[r]=n),t.loadAsync?o().then((function(e){return i(e),!0})):(i(o()),!0)}function reportUndefinedSymbols(){for(var e in GOT)if(0==GOT[e].value){var t=resolveGlobalSymbol(e,!0);if(!t&&!GOT[e].required)continue;if("function"==typeof t)GOT[e].value=addFunction(t,t.sig);else{if("number"!=typeof t)throw new Error("bad export type for `"+e+"`: "+typeof t);GOT[e].value=t}}}function preloadDylibs(){dynamicLibraries.length?(addRunDependency("preloadDylibs"),dynamicLibraries.reduce((function(e,t){return e.then((function(){return loadDynamicLibrary(t,{loadAsync:!0,global:!0,nodelete:!0,allowUndefined:!0})}))}),Promise.resolve()).then((function(){reportUndefinedSymbols(),removeRunDependency("preloadDylibs")}))):reportUndefinedSymbols()}function setValue(e,t,r="i8"){switch(r.endsWith("*")&&(r="*"),r){case"i1":case"i8":HEAP8[e>>0]=t;break;case"i16":HEAP16[e>>1]=t;break;case"i32":HEAP32[e>>2]=t;break;case"i64":tempI64=[t>>>0,(tempDouble=t,+Math.abs(tempDouble)>=1?tempDouble>0?(0|Math.min(+Math.floor(tempDouble/4294967296),4294967295))>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[e>>2]=tempI64[0],HEAP32[e+4>>2]=tempI64[1];break;case"float":HEAPF32[e>>2]=t;break;case"double":HEAPF64[e>>3]=t;break;case"*":HEAPU32[e>>2]=t;break;default:abort("invalid type for setValue: "+r)}}var ___memory_base=new WebAssembly.Global({value:"i32",mutable:!1},1024),___stack_pointer=new WebAssembly.Global({value:"i32",mutable:!0},78144),___table_base=new WebAssembly.Global({value:"i32",mutable:!1},1),nowIsMonotonic=!0,_emscripten_get_now;function __emscripten_get_now_is_monotonic(){return nowIsMonotonic}function _abort(){abort("")}function _emscripten_date_now(){return Date.now()}function _emscripten_memcpy_big(e,t,r){HEAPU8.copyWithin(e,t,t+r)}function getHeapMax(){return 2147483648}function emscripten_realloc_buffer(e){try{return wasmMemory.grow(e-buffer.byteLength+65535>>>16),updateGlobalBufferAndViews(wasmMemory.buffer),1}catch(e){}}function _emscripten_resize_heap(e){var t=HEAPU8.length;e>>>=0;var r,n=getHeapMax();if(e>n)return!1;for(var s=1;s<=4;s*=2){var o=t*(1+.2/s);if(o=Math.min(o,e+100663296),emscripten_realloc_buffer(Math.min(n,(r=Math.max(e,o))+(65536-r%65536)%65536)))return!0}return!1}__emscripten_get_now_is_monotonic.sig="i",Module._abort=_abort,_abort.sig="v",_emscripten_date_now.sig="d",_emscripten_get_now=ENVIRONMENT_IS_NODE?()=>{var e=process.hrtime();return 1e3*e[0]+e[1]/1e6}:()=>performance.now(),_emscripten_get_now.sig="d",_emscripten_memcpy_big.sig="vppp",_emscripten_resize_heap.sig="ip";var SYSCALLS={DEFAULT_POLLMASK:5,calculateAt:function(e,t,r){if(PATH.isAbs(t))return t;var n;if(n=-100===e?FS.cwd():SYSCALLS.getStreamFromFD(e).path,0==t.length){if(!r)throw new FS.ErrnoError(44);return n}return PATH.join2(n,t)},doStat:function(e,t,r){try{var n=e(t)}catch(e){if(e&&e.node&&PATH.normalize(t)!==PATH.normalize(FS.getPath(e.node)))return-54;throw e}HEAP32[r>>2]=n.dev,HEAP32[r+8>>2]=n.ino,HEAP32[r+12>>2]=n.mode,HEAPU32[r+16>>2]=n.nlink,HEAP32[r+20>>2]=n.uid,HEAP32[r+24>>2]=n.gid,HEAP32[r+28>>2]=n.rdev,tempI64=[n.size>>>0,(tempDouble=n.size,+Math.abs(tempDouble)>=1?tempDouble>0?(0|Math.min(+Math.floor(tempDouble/4294967296),4294967295))>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[r+40>>2]=tempI64[0],HEAP32[r+44>>2]=tempI64[1],HEAP32[r+48>>2]=4096,HEAP32[r+52>>2]=n.blocks;var s=n.atime.getTime(),o=n.mtime.getTime(),i=n.ctime.getTime();return tempI64=[Math.floor(s/1e3)>>>0,(tempDouble=Math.floor(s/1e3),+Math.abs(tempDouble)>=1?tempDouble>0?(0|Math.min(+Math.floor(tempDouble/4294967296),4294967295))>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[r+56>>2]=tempI64[0],HEAP32[r+60>>2]=tempI64[1],HEAPU32[r+64>>2]=s%1e3*1e3,tempI64=[Math.floor(o/1e3)>>>0,(tempDouble=Math.floor(o/1e3),+Math.abs(tempDouble)>=1?tempDouble>0?(0|Math.min(+Math.floor(tempDouble/4294967296),4294967295))>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[r+72>>2]=tempI64[0],HEAP32[r+76>>2]=tempI64[1],HEAPU32[r+80>>2]=o%1e3*1e3,tempI64=[Math.floor(i/1e3)>>>0,(tempDouble=Math.floor(i/1e3),+Math.abs(tempDouble)>=1?tempDouble>0?(0|Math.min(+Math.floor(tempDouble/4294967296),4294967295))>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[r+88>>2]=tempI64[0],HEAP32[r+92>>2]=tempI64[1],HEAPU32[r+96>>2]=i%1e3*1e3,tempI64=[n.ino>>>0,(tempDouble=n.ino,+Math.abs(tempDouble)>=1?tempDouble>0?(0|Math.min(+Math.floor(tempDouble/4294967296),4294967295))>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[r+104>>2]=tempI64[0],HEAP32[r+108>>2]=tempI64[1],0},doMsync:function(e,t,r,n,s){if(!FS.isFile(t.node.mode))throw new FS.ErrnoError(43);if(2&n)return 0;var o=HEAPU8.slice(e,e+r);FS.msync(t,o,s,r,n)},varargs:void 0,get:function(){return SYSCALLS.varargs+=4,HEAP32[SYSCALLS.varargs-4>>2]},getStr:function(e){return UTF8ToString(e)},getStreamFromFD:function(e){var t=FS.getStream(e);if(!t)throw new FS.ErrnoError(8);return t}};function _proc_exit(e){EXITSTATUS=e,keepRuntimeAlive()||(Module.onExit&&Module.onExit(e),ABORT=!0),quit_(e,new ExitStatus(e))}function exitJS(e,t){EXITSTATUS=e,_proc_exit(e)}_proc_exit.sig="vi";var _exit=exitJS;function _fd_close(e){try{var t=SYSCALLS.getStreamFromFD(e);return FS.close(t),0}catch(e){if("undefined"==typeof FS||!(e instanceof FS.ErrnoError))throw e;return e.errno}}function convertI32PairToI53Checked(e,t){return t+2097152>>>0<4194305-!!e?(e>>>0)+4294967296*t:NaN}function _fd_seek(e,t,r,n,s){try{var o=convertI32PairToI53Checked(t,r);if(isNaN(o))return 61;var i=SYSCALLS.getStreamFromFD(e);return FS.llseek(i,o,n),tempI64=[i.position>>>0,(tempDouble=i.position,+Math.abs(tempDouble)>=1?tempDouble>0?(0|Math.min(+Math.floor(tempDouble/4294967296),4294967295))>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[s>>2]=tempI64[0],HEAP32[s+4>>2]=tempI64[1],i.getdents&&0===o&&0===n&&(i.getdents=null),0}catch(e){if("undefined"==typeof FS||!(e instanceof FS.ErrnoError))throw e;return e.errno}}function doWritev(e,t,r,n){for(var s=0,o=0;o<r;o++){var i=HEAPU32[t>>2],a=HEAPU32[t+4>>2];t+=8;var l=FS.write(e,HEAP8,i,a,n);if(l<0)return-1;s+=l,void 0!==n&&(n+=l)}return s}function _fd_write(e,t,r,n){try{var s=doWritev(SYSCALLS.getStreamFromFD(e),t,r);return HEAPU32[n>>2]=s,0}catch(e){if("undefined"==typeof FS||!(e instanceof FS.ErrnoError))throw e;return e.errno}}function _tree_sitter_log_callback(e,t){if(currentLogCallback){const r=UTF8ToString(t);currentLogCallback(r,0!==e)}}function _tree_sitter_parse_callback(e,t,r,n,s){var o=currentParseCallback(t,{row:r,column:n});"string"==typeof o?(setValue(s,o.length,"i32"),stringToUTF16(o,e,10240)):setValue(s,0,"i32")}function handleException(e){if(e instanceof ExitStatus||"unwind"==e)return EXITSTATUS;quit_(1,e)}function allocateUTF8OnStack(e){var t=lengthBytesUTF8(e)+1,r=stackAlloc(t);return stringToUTF8Array(e,HEAP8,r,t),r}function stringToUTF16(e,t,r){if(void 0===r&&(r=2147483647),r<2)return 0;for(var n=t,s=(r-=2)<2*e.length?r/2:e.length,o=0;o<s;++o){var i=e.charCodeAt(o);HEAP16[t>>1]=i,t+=2}return HEAP16[t>>1]=0,t-n}function AsciiToString(e){for(var t="";;){var r=HEAPU8[e++>>0];if(!r)return t;t+=String.fromCharCode(r)}}_exit.sig="vi",_fd_close.sig="ii",_fd_seek.sig="iijip",_fd_write.sig="iippp";var asmLibraryArg={__heap_base:___heap_base,__indirect_function_table:wasmTable,__memory_base:___memory_base,__stack_pointer:___stack_pointer,__table_base:___table_base,_emscripten_get_now_is_monotonic:__emscripten_get_now_is_monotonic,abort:_abort,emscripten_get_now:_emscripten_get_now,emscripten_memcpy_big:_emscripten_memcpy_big,emscripten_resize_heap:_emscripten_resize_heap,exit:_exit,fd_close:_fd_close,fd_seek:_fd_seek,fd_write:_fd_write,memory:wasmMemory,tree_sitter_log_callback:_tree_sitter_log_callback,tree_sitter_parse_callback:_tree_sitter_parse_callback},asm=createWasm(),___wasm_call_ctors=Module.___wasm_call_ctors=function(){return(___wasm_call_ctors=Module.___wasm_call_ctors=Module.asm.__wasm_call_ctors).apply(null,arguments)},___wasm_apply_data_relocs=Module.___wasm_apply_data_relocs=function(){return(___wasm_apply_data_relocs=Module.___wasm_apply_data_relocs=Module.asm.__wasm_apply_data_relocs).apply(null,arguments)},_malloc=Module._malloc=function(){return(_malloc=Module._malloc=Module.asm.malloc).apply(null,arguments)},_calloc=Module._calloc=function(){return(_calloc=Module._calloc=Module.asm.calloc).apply(null,arguments)},_realloc=Module._realloc=function(){return(_realloc=Module._realloc=Module.asm.realloc).apply(null,arguments)},_free=Module._free=function(){return(_free=Module._free=Module.asm.free).apply(null,arguments)},_ts_language_symbol_count=Module._ts_language_symbol_count=function(){return(_ts_language_symbol_count=Module._ts_language_symbol_count=Module.asm.ts_language_symbol_count).apply(null,arguments)},_ts_language_version=Module._ts_language_version=function(){return(_ts_language_version=Module._ts_language_version=Module.asm.ts_language_version).apply(null,arguments)},_ts_language_field_count=Module._ts_language_field_count=function(){return(_ts_language_field_count=Module._ts_language_field_count=Module.asm.ts_language_field_count).apply(null,arguments)},_ts_language_symbol_name=Module._ts_language_symbol_name=function(){return(_ts_language_symbol_name=Module._ts_language_symbol_name=Module.asm.ts_language_symbol_name).apply(null,arguments)},_ts_language_symbol_for_name=Module._ts_language_symbol_for_name=function(){return(_ts_language_symbol_for_name=Module._ts_language_symbol_for_name=Module.asm.ts_language_symbol_for_name).apply(null,arguments)},_ts_language_symbol_type=Module._ts_language_symbol_type=function(){return(_ts_language_symbol_type=Module._ts_language_symbol_type=Module.asm.ts_language_symbol_type).apply(null,arguments)},_ts_language_field_name_for_id=Module._ts_language_field_name_for_id=function(){return(_ts_language_field_name_for_id=Module._ts_language_field_name_for_id=Module.asm.ts_language_field_name_for_id).apply(null,arguments)},_memset=Module._memset=function(){return(_memset=Module._memset=Module.asm.memset).apply(null,arguments)},_memcpy=Module._memcpy=function(){return(_memcpy=Module._memcpy=Module.asm.memcpy).apply(null,arguments)},_ts_parser_delete=Module._ts_parser_delete=function(){return(_ts_parser_delete=Module._ts_parser_delete=Module.asm.ts_parser_delete).apply(null,arguments)},_ts_parser_reset=Module._ts_parser_reset=function(){return(_ts_parser_reset=Module._ts_parser_reset=Module.asm.ts_parser_reset).apply(null,arguments)},_ts_parser_set_language=Module._ts_parser_set_language=function(){return(_ts_parser_set_language=Module._ts_parser_set_language=Module.asm.ts_parser_set_language).apply(null,arguments)},_ts_parser_timeout_micros=Module._ts_parser_timeout_micros=function(){return(_ts_parser_timeout_micros=Module._ts_parser_timeout_micros=Module.asm.ts_parser_timeout_micros).apply(null,arguments)},_ts_parser_set_timeout_micros=Module._ts_parser_set_timeout_micros=function(){return(_ts_parser_set_timeout_micros=Module._ts_parser_set_timeout_micros=Module.asm.ts_parser_set_timeout_micros).apply(null,arguments)},_memmove=Module._memmove=function(){return(_memmove=Module._memmove=Module.asm.memmove).apply(null,arguments)},_memcmp=Module._memcmp=function(){return(_memcmp=Module._memcmp=Module.asm.memcmp).apply(null,arguments)},_ts_query_new=Module._ts_query_new=function(){return(_ts_query_new=Module._ts_query_new=Module.asm.ts_query_new).apply(null,arguments)},_ts_query_delete=Module._ts_query_delete=function(){return(_ts_query_delete=Module._ts_query_delete=Module.asm.ts_query_delete).apply(null,arguments)},_iswspace=Module._iswspace=function(){return(_iswspace=Module._iswspace=Module.asm.iswspace).apply(null,arguments)},_iswalnum=Module._iswalnum=function(){return(_iswalnum=Module._iswalnum=Module.asm.iswalnum).apply(null,arguments)},_ts_query_pattern_count=Module._ts_query_pattern_count=function(){return(_ts_query_pattern_count=Module._ts_query_pattern_count=Module.asm.ts_query_pattern_count).apply(null,arguments)},_ts_query_capture_count=Module._ts_query_capture_count=function(){return(_ts_query_capture_count=Module._ts_query_capture_count=Module.asm.ts_query_capture_count).apply(null,arguments)},_ts_query_string_count=Module._ts_query_string_count=function(){return(_ts_query_string_count=Module._ts_query_string_count=Module.asm.ts_query_string_count).apply(null,arguments)},_ts_query_capture_name_for_id=Module._ts_query_capture_name_for_id=function(){return(_ts_query_capture_name_for_id=Module._ts_query_capture_name_for_id=Module.asm.ts_query_capture_name_for_id).apply(null,arguments)},_ts_query_string_value_for_id=Module._ts_query_string_value_for_id=function(){return(_ts_query_string_value_for_id=Module._ts_query_string_value_for_id=Module.asm.ts_query_string_value_for_id).apply(null,arguments)},_ts_query_predicates_for_pattern=Module._ts_query_predicates_for_pattern=function(){return(_ts_query_predicates_for_pattern=Module._ts_query_predicates_for_pattern=Module.asm.ts_query_predicates_for_pattern).apply(null,arguments)},_ts_tree_copy=Module._ts_tree_copy=function(){return(_ts_tree_copy=Module._ts_tree_copy=Module.asm.ts_tree_copy).apply(null,arguments)},_ts_tree_delete=Module._ts_tree_delete=function(){return(_ts_tree_delete=Module._ts_tree_delete=Module.asm.ts_tree_delete).apply(null,arguments)},_ts_init=Module._ts_init=function(){return(_ts_init=Module._ts_init=Module.asm.ts_init).apply(null,arguments)},_ts_parser_new_wasm=Module._ts_parser_new_wasm=function(){return(_ts_parser_new_wasm=Module._ts_parser_new_wasm=Module.asm.ts_parser_new_wasm).apply(null,arguments)},_ts_parser_enable_logger_wasm=Module._ts_parser_enable_logger_wasm=function(){return(_ts_parser_enable_logger_wasm=Module._ts_parser_enable_logger_wasm=Module.asm.ts_parser_enable_logger_wasm).apply(null,arguments)},_ts_parser_parse_wasm=Module._ts_parser_parse_wasm=function(){return(_ts_parser_parse_wasm=Module._ts_parser_parse_wasm=Module.asm.ts_parser_parse_wasm).apply(null,arguments)},_ts_language_type_is_named_wasm=Module._ts_language_type_is_named_wasm=function(){return(_ts_language_type_is_named_wasm=Module._ts_language_type_is_named_wasm=Module.asm.ts_language_type_is_named_wasm).apply(null,arguments)},_ts_language_type_is_visible_wasm=Module._ts_language_type_is_visible_wasm=function(){return(_ts_language_type_is_visible_wasm=Module._ts_language_type_is_visible_wasm=Module.asm.ts_language_type_is_visible_wasm).apply(null,arguments)},_ts_tree_root_node_wasm=Module._ts_tree_root_node_wasm=function(){return(_ts_tree_root_node_wasm=Module._ts_tree_root_node_wasm=Module.asm.ts_tree_root_node_wasm).apply(null,arguments)},_ts_tree_edit_wasm=Module._ts_tree_edit_wasm=function(){return(_ts_tree_edit_wasm=Module._ts_tree_edit_wasm=Module.asm.ts_tree_edit_wasm).apply(null,arguments)},_ts_tree_get_changed_ranges_wasm=Module._ts_tree_get_changed_ranges_wasm=function(){return(_ts_tree_get_changed_ranges_wasm=Module._ts_tree_get_changed_ranges_wasm=Module.asm.ts_tree_get_changed_ranges_wasm).apply(null,arguments)},_ts_tree_cursor_new_wasm=Module._ts_tree_cursor_new_wasm=function(){return(_ts_tree_cursor_new_wasm=Module._ts_tree_cursor_new_wasm=Module.asm.ts_tree_cursor_new_wasm).apply(null,arguments)},_ts_tree_cursor_delete_wasm=Module._ts_tree_cursor_delete_wasm=function(){return(_ts_tree_cursor_delete_wasm=Module._ts_tree_cursor_delete_wasm=Module.asm.ts_tree_cursor_delete_wasm).apply(null,arguments)},_ts_tree_cursor_reset_wasm=Module._ts_tree_cursor_reset_wasm=function(){return(_ts_tree_cursor_reset_wasm=Module._ts_tree_cursor_reset_wasm=Module.asm.ts_tree_cursor_reset_wasm).apply(null,arguments)},_ts_tree_cursor_goto_first_child_wasm=Module._ts_tree_cursor_goto_first_child_wasm=function(){return(_ts_tree_cursor_goto_first_child_wasm=Module._ts_tree_cursor_goto_first_child_wasm=Module.asm.ts_tree_cursor_goto_first_child_wasm).apply(null,arguments)},_ts_tree_cursor_goto_next_sibling_wasm=Module._ts_tree_cursor_goto_next_sibling_wasm=function(){return(_ts_tree_cursor_goto_next_sibling_wasm=Module._ts_tree_cursor_goto_next_sibling_wasm=Module.asm.ts_tree_cursor_goto_next_sibling_wasm).apply(null,arguments)},_ts_tree_cursor_goto_parent_wasm=Module._ts_tree_cursor_goto_parent_wasm=function(){return(_ts_tree_cursor_goto_parent_wasm=Module._ts_tree_cursor_goto_parent_wasm=Module.asm.ts_tree_cursor_goto_parent_wasm).apply(null,arguments)},_ts_tree_cursor_current_node_type_id_wasm=Module._ts_tree_cursor_current_node_type_id_wasm=function(){return(_ts_tree_cursor_current_node_type_id_wasm=Module._ts_tree_cursor_current_node_type_id_wasm=Module.asm.ts_tree_cursor_current_node_type_id_wasm).apply(null,arguments)},_ts_tree_cursor_current_node_is_named_wasm=Module._ts_tree_cursor_current_node_is_named_wasm=function(){return(_ts_tree_cursor_current_node_is_named_wasm=Module._ts_tree_cursor_current_node_is_named_wasm=Module.asm.ts_tree_cursor_current_node_is_named_wasm).apply(null,arguments)},_ts_tree_cursor_current_node_is_missing_wasm=Module._ts_tree_cursor_current_node_is_missing_wasm=function(){return(_ts_tree_cursor_current_node_is_missing_wasm=Module._ts_tree_cursor_current_node_is_missing_wasm=Module.asm.ts_tree_cursor_current_node_is_missing_wasm).apply(null,arguments)},_ts_tree_cursor_current_node_id_wasm=Module._ts_tree_cursor_current_node_id_wasm=function(){return(_ts_tree_cursor_current_node_id_wasm=Module._ts_tree_cursor_current_node_id_wasm=Module.asm.ts_tree_cursor_current_node_id_wasm).apply(null,arguments)},_ts_tree_cursor_start_position_wasm=Module._ts_tree_cursor_start_position_wasm=function(){return(_ts_tree_cursor_start_position_wasm=Module._ts_tree_cursor_start_position_wasm=Module.asm.ts_tree_cursor_start_position_wasm).apply(null,arguments)},_ts_tree_cursor_end_position_wasm=Module._ts_tree_cursor_end_position_wasm=function(){return(_ts_tree_cursor_end_position_wasm=Module._ts_tree_cursor_end_position_wasm=Module.asm.ts_tree_cursor_end_position_wasm).apply(null,arguments)},_ts_tree_cursor_start_index_wasm=Module._ts_tree_cursor_start_index_wasm=function(){return(_ts_tree_cursor_start_index_wasm=Module._ts_tree_cursor_start_index_wasm=Module.asm.ts_tree_cursor_start_index_wasm).apply(null,arguments)},_ts_tree_cursor_end_index_wasm=Module._ts_tree_cursor_end_index_wasm=function(){return(_ts_tree_cursor_end_index_wasm=Module._ts_tree_cursor_end_index_wasm=Module.asm.ts_tree_cursor_end_index_wasm).apply(null,arguments)},_ts_tree_cursor_current_field_id_wasm=Module._ts_tree_cursor_current_field_id_wasm=function(){return(_ts_tree_cursor_current_field_id_wasm=Module._ts_tree_cursor_current_field_id_wasm=Module.asm.ts_tree_cursor_current_field_id_wasm).apply(null,arguments)},_ts_tree_cursor_current_node_wasm=Module._ts_tree_cursor_current_node_wasm=function(){return(_ts_tree_cursor_current_node_wasm=Module._ts_tree_cursor_current_node_wasm=Module.asm.ts_tree_cursor_current_node_wasm).apply(null,arguments)},_ts_node_symbol_wasm=Module._ts_node_symbol_wasm=function(){return(_ts_node_symbol_wasm=Module._ts_node_symbol_wasm=Module.asm.ts_node_symbol_wasm).apply(null,arguments)},_ts_node_child_count_wasm=Module._ts_node_child_count_wasm=function(){return(_ts_node_child_count_wasm=Module._ts_node_child_count_wasm=Module.asm.ts_node_child_count_wasm).apply(null,arguments)},_ts_node_named_child_count_wasm=Module._ts_node_named_child_count_wasm=function(){return(_ts_node_named_child_count_wasm=Module._ts_node_named_child_count_wasm=Module.asm.ts_node_named_child_count_wasm).apply(null,arguments)},_ts_node_child_wasm=Module._ts_node_child_wasm=function(){return(_ts_node_child_wasm=Module._ts_node_child_wasm=Module.asm.ts_node_child_wasm).apply(null,arguments)},_ts_node_named_child_wasm=Module._ts_node_named_child_wasm=function(){return(_ts_node_named_child_wasm=Module._ts_node_named_child_wasm=Module.asm.ts_node_named_child_wasm).apply(null,arguments)},_ts_node_child_by_field_id_wasm=Module._ts_node_child_by_field_id_wasm=function(){return(_ts_node_child_by_field_id_wasm=Module._ts_node_child_by_field_id_wasm=Module.asm.ts_node_child_by_field_id_wasm).apply(null,arguments)},_ts_node_next_sibling_wasm=Module._ts_node_next_sibling_wasm=function(){return(_ts_node_next_sibling_wasm=Module._ts_node_next_sibling_wasm=Module.asm.ts_node_next_sibling_wasm).apply(null,arguments)},_ts_node_prev_sibling_wasm=Module._ts_node_prev_sibling_wasm=function(){return(_ts_node_prev_sibling_wasm=Module._ts_node_prev_sibling_wasm=Module.asm.ts_node_prev_sibling_wasm).apply(null,arguments)},_ts_node_next_named_sibling_wasm=Module._ts_node_next_named_sibling_wasm=function(){return(_ts_node_next_named_sibling_wasm=Module._ts_node_next_named_sibling_wasm=Module.asm.ts_node_next_named_sibling_wasm).apply(null,arguments)},_ts_node_prev_named_sibling_wasm=Module._ts_node_prev_named_sibling_wasm=function(){return(_ts_node_prev_named_sibling_wasm=Module._ts_node_prev_named_sibling_wasm=Module.asm.ts_node_prev_named_sibling_wasm).apply(null,arguments)},_ts_node_parent_wasm=Module._ts_node_parent_wasm=function(){return(_ts_node_parent_wasm=Module._ts_node_parent_wasm=Module.asm.ts_node_parent_wasm).apply(null,arguments)},_ts_node_descendant_for_index_wasm=Module._ts_node_descendant_for_index_wasm=function(){return(_ts_node_descendant_for_index_wasm=Module._ts_node_descendant_for_index_wasm=Module.asm.ts_node_descendant_for_index_wasm).apply(null,arguments)},_ts_node_named_descendant_for_index_wasm=Module._ts_node_named_descendant_for_index_wasm=function(){return(_ts_node_named_descendant_for_index_wasm=Module._ts_node_named_descendant_for_index_wasm=Module.asm.ts_node_named_descendant_for_index_wasm).apply(null,arguments)},_ts_node_descendant_for_position_wasm=Module._ts_node_descendant_for_position_wasm=function(){return(_ts_node_descendant_for_position_wasm=Module._ts_node_descendant_for_position_wasm=Module.asm.ts_node_descendant_for_position_wasm).apply(null,arguments)},_ts_node_named_descendant_for_position_wasm=Module._ts_node_named_descendant_for_position_wasm=function(){return(_ts_node_named_descendant_for_position_wasm=Module._ts_node_named_descendant_for_position_wasm=Module.asm.ts_node_named_descendant_for_position_wasm).apply(null,arguments)},_ts_node_start_point_wasm=Module._ts_node_start_point_wasm=function(){return(_ts_node_start_point_wasm=Module._ts_node_start_point_wasm=Module.asm.ts_node_start_point_wasm).apply(null,arguments)},_ts_node_end_point_wasm=Module._ts_node_end_point_wasm=function(){return(_ts_node_end_point_wasm=Module._ts_node_end_point_wasm=Module.asm.ts_node_end_point_wasm).apply(null,arguments)},_ts_node_start_index_wasm=Module._ts_node_start_index_wasm=function(){return(_ts_node_start_index_wasm=Module._ts_node_start_index_wasm=Module.asm.ts_node_start_index_wasm).apply(null,arguments)},_ts_node_end_index_wasm=Module._ts_node_end_index_wasm=function(){return(_ts_node_end_index_wasm=Module._ts_node_end_index_wasm=Module.asm.ts_node_end_index_wasm).apply(null,arguments)},_ts_node_to_string_wasm=Module._ts_node_to_string_wasm=function(){return(_ts_node_to_string_wasm=Module._ts_node_to_string_wasm=Module.asm.ts_node_to_string_wasm).apply(null,arguments)},_ts_node_children_wasm=Module._ts_node_children_wasm=function(){return(_ts_node_children_wasm=Module._ts_node_children_wasm=Module.asm.ts_node_children_wasm).apply(null,arguments)},_ts_node_named_children_wasm=Module._ts_node_named_children_wasm=function(){return(_ts_node_named_children_wasm=Module._ts_node_named_children_wasm=Module.asm.ts_node_named_children_wasm).apply(null,arguments)},_ts_node_descendants_of_type_wasm=Module._ts_node_descendants_of_type_wasm=function(){return(_ts_node_descendants_of_type_wasm=Module._ts_node_descendants_of_type_wasm=Module.asm.ts_node_descendants_of_type_wasm).apply(null,arguments)},_ts_node_is_named_wasm=Module._ts_node_is_named_wasm=function(){return(_ts_node_is_named_wasm=Module._ts_node_is_named_wasm=Module.asm.ts_node_is_named_wasm).apply(null,arguments)},_ts_node_has_changes_wasm=Module._ts_node_has_changes_wasm=function(){return(_ts_node_has_changes_wasm=Module._ts_node_has_changes_wasm=Module.asm.ts_node_has_changes_wasm).apply(null,arguments)},_ts_node_has_error_wasm=Module._ts_node_has_error_wasm=function(){return(_ts_node_has_error_wasm=Module._ts_node_has_error_wasm=Module.asm.ts_node_has_error_wasm).apply(null,arguments)},_ts_node_is_missing_wasm=Module._ts_node_is_missing_wasm=function(){return(_ts_node_is_missing_wasm=Module._ts_node_is_missing_wasm=Module.asm.ts_node_is_missing_wasm).apply(null,arguments)},_ts_query_matches_wasm=Module._ts_query_matches_wasm=function(){return(_ts_query_matches_wasm=Module._ts_query_matches_wasm=Module.asm.ts_query_matches_wasm).apply(null,arguments)},_ts_query_captures_wasm=Module._ts_query_captures_wasm=function(){return(_ts_query_captures_wasm=Module._ts_query_captures_wasm=Module.asm.ts_query_captures_wasm).apply(null,arguments)},___cxa_atexit=Module.___cxa_atexit=function(){return(___cxa_atexit=Module.___cxa_atexit=Module.asm.__cxa_atexit).apply(null,arguments)},_iswdigit=Module._iswdigit=function(){return(_iswdigit=Module._iswdigit=Module.asm.iswdigit).apply(null,arguments)},_iswalpha=Module._iswalpha=function(){return(_iswalpha=Module._iswalpha=Module.asm.iswalpha).apply(null,arguments)},_iswlower=Module._iswlower=function(){return(_iswlower=Module._iswlower=Module.asm.iswlower).apply(null,arguments)},_memchr=Module._memchr=function(){return(_memchr=Module._memchr=Module.asm.memchr).apply(null,arguments)},_strlen=Module._strlen=function(){return(_strlen=Module._strlen=Module.asm.strlen).apply(null,arguments)},_towupper=Module._towupper=function(){return(_towupper=Module._towupper=Module.asm.towupper).apply(null,arguments)},_setThrew=Module._setThrew=function(){return(_setThrew=Module._setThrew=Module.asm.setThrew).apply(null,arguments)},stackSave=Module.stackSave=function(){return(stackSave=Module.stackSave=Module.asm.stackSave).apply(null,arguments)},stackRestore=Module.stackRestore=function(){return(stackRestore=Module.stackRestore=Module.asm.stackRestore).apply(null,arguments)},stackAlloc=Module.stackAlloc=function(){return(stackAlloc=Module.stackAlloc=Module.asm.stackAlloc).apply(null,arguments)},__Znwm=Module.__Znwm=function(){return(__Znwm=Module.__Znwm=Module.asm._Znwm).apply(null,arguments)},__ZdlPv=Module.__ZdlPv=function(){return(__ZdlPv=Module.__ZdlPv=Module.asm._ZdlPv).apply(null,arguments)},__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=function(){return(__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=Module.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev).apply(null,arguments)},__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=function(){return(__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=Module.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm).apply(null,arguments)},__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=function(){return(__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=Module.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm).apply(null,arguments)},__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=function(){return(__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=Module.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm).apply(null,arguments)},__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=Module.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=function(){return(__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=Module.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=Module.asm._ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm).apply(null,arguments)},__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=function(){return(__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=Module.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc).apply(null,arguments)},__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=function(){return(__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=Module.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev).apply(null,arguments)},__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=function(){return(__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=Module.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw).apply(null,arguments)},__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6resizeEmw=Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6resizeEmw=function(){return(__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6resizeEmw=Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6resizeEmw=Module.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6resizeEmw).apply(null,arguments)},dynCall_jiji=Module.dynCall_jiji=function(){return(dynCall_jiji=Module.dynCall_jiji=Module.asm.dynCall_jiji).apply(null,arguments)},_orig$ts_parser_timeout_micros=Module._orig$ts_parser_timeout_micros=function(){return(_orig$ts_parser_timeout_micros=Module._orig$ts_parser_timeout_micros=Module.asm.orig$ts_parser_timeout_micros).apply(null,arguments)},_orig$ts_parser_set_timeout_micros=Module._orig$ts_parser_set_timeout_micros=function(){return(_orig$ts_parser_set_timeout_micros=Module._orig$ts_parser_set_timeout_micros=Module.asm.orig$ts_parser_set_timeout_micros).apply(null,arguments)},calledRun;function callMain(e){var t=Module._main;if(t){(e=e||[]).unshift(thisProgram);var r=e.length,n=stackAlloc(4*(r+1)),s=n>>2;e.forEach((e=>{HEAP32[s++]=allocateUTF8OnStack(e)})),HEAP32[s]=0;try{var o=t(r,n);return exitJS(o,!0),o}catch(e){return handleException(e)}}}Module.AsciiToString=AsciiToString,Module.stringToUTF16=stringToUTF16,dependenciesFulfilled=function e(){calledRun||run(),calledRun||(dependenciesFulfilled=e)};var dylibsLoaded=!1;function run(e){function t(){calledRun||(calledRun=!0,Module.calledRun=!0,ABORT||(initRuntime(),preMain(),Module.onRuntimeInitialized&&Module.onRuntimeInitialized(),shouldRunNow&&callMain(e),postRun()))}e=e||arguments_,runDependencies>0||!dylibsLoaded&&(preloadDylibs(),dylibsLoaded=!0,runDependencies>0)||(preRun(),runDependencies>0||(Module.setStatus?(Module.setStatus("Running..."),setTimeout((function(){setTimeout((function(){Module.setStatus("")}),1),t()}),1)):t()))}if(Module.preInit)for("function"==typeof Module.preInit&&(Module.preInit=[Module.preInit]);Module.preInit.length>0;)Module.preInit.pop()();var shouldRunNow=!0;Module.noInitialRun&&(shouldRunNow=!1),run();const C=Module,INTERNAL={},SIZE_OF_INT=4,SIZE_OF_NODE=5*SIZE_OF_INT,SIZE_OF_POINT=2*SIZE_OF_INT,SIZE_OF_RANGE=2*SIZE_OF_INT+2*SIZE_OF_POINT,ZERO_POINT={row:0,column:0},QUERY_WORD_REGEX=/[\w-.]*/g,PREDICATE_STEP_TYPE_CAPTURE=1,PREDICATE_STEP_TYPE_STRING=2,LANGUAGE_FUNCTION_REGEX=/^_?tree_sitter_\w+/;var VERSION,MIN_COMPATIBLE_VERSION,TRANSFER_BUFFER,currentParseCallback,currentLogCallback;class ParserImpl{static init(){TRANSFER_BUFFER=C._ts_init(),VERSION=getValue(TRANSFER_BUFFER,"i32"),MIN_COMPATIBLE_VERSION=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32")}initialize(){C._ts_parser_new_wasm(),this[0]=getValue(TRANSFER_BUFFER,"i32"),this[1]=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32")}delete(){C._ts_parser_delete(this[0]),C._free(this[1]),this[0]=0,this[1]=0}setLanguage(e){let t;if(e){if(e.constructor!==Language)throw new Error("Argument must be a Language");{t=e[0];const r=C._ts_language_version(t);if(r<MIN_COMPATIBLE_VERSION||VERSION<r)throw new Error(`Incompatible language version ${r}. Compatibility range ${MIN_COMPATIBLE_VERSION} through ${VERSION}.`)}}else t=0,e=null;return this.language=e,C._ts_parser_set_language(this[0],t),this}getLanguage(){return this.language}parse(e,t,r){if("string"==typeof e)currentParseCallback=(t,r,n)=>e.slice(t,n);else{if("function"!=typeof e)throw new Error("Argument must be a string or a function");currentParseCallback=e}this.logCallback?(currentLogCallback=this.logCallback,C._ts_parser_enable_logger_wasm(this[0],1)):(currentLogCallback=null,C._ts_parser_enable_logger_wasm(this[0],0));let n=0,s=0;if(r&&r.includedRanges){n=r.includedRanges.length,s=C._calloc(n,SIZE_OF_RANGE);let e=s;for(let t=0;t<n;t++)marshalRange(e,r.includedRanges[t]),e+=SIZE_OF_RANGE}const o=C._ts_parser_parse_wasm(this[0],this[1],t?t[0]:0,s,n);if(!o)throw currentParseCallback=null,currentLogCallback=null,new Error("Parsing failed");const i=new Tree(INTERNAL,o,this.language,currentParseCallback);return currentParseCallback=null,currentLogCallback=null,i}reset(){C._ts_parser_reset(this[0])}setTimeoutMicros(e){C._ts_parser_set_timeout_micros(this[0],e)}getTimeoutMicros(){return C._ts_parser_timeout_micros(this[0])}setLogger(e){if(e){if("function"!=typeof e)throw new Error("Logger callback must be a function")}else e=null;return this.logCallback=e,this}getLogger(){return this.logCallback}}class Tree{constructor(e,t,r,n){assertInternal(e),this[0]=t,this.language=r,this.textCallback=n}copy(){const e=C._ts_tree_copy(this[0]);return new Tree(INTERNAL,e,this.language,this.textCallback)}delete(){C._ts_tree_delete(this[0]),this[0]=0}edit(e){marshalEdit(e),C._ts_tree_edit_wasm(this[0])}get rootNode(){return C._ts_tree_root_node_wasm(this[0]),unmarshalNode(this)}getLanguage(){return this.language}walk(){return this.rootNode.walk()}getChangedRanges(e){if(e.constructor!==Tree)throw new TypeError("Argument must be a Tree");C._ts_tree_get_changed_ranges_wasm(this[0],e[0]);const t=getValue(TRANSFER_BUFFER,"i32"),r=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),n=new Array(t);if(t>0){let e=r;for(let r=0;r<t;r++)n[r]=unmarshalRange(e),e+=SIZE_OF_RANGE;C._free(r)}return n}}class Node{constructor(e,t){assertInternal(e),this.tree=t}get typeId(){return marshalNode(this),C._ts_node_symbol_wasm(this.tree[0])}get type(){return this.tree.language.types[this.typeId]||"ERROR"}get endPosition(){return marshalNode(this),C._ts_node_end_point_wasm(this.tree[0]),unmarshalPoint(TRANSFER_BUFFER)}get endIndex(){return marshalNode(this),C._ts_node_end_index_wasm(this.tree[0])}get text(){return getText(this.tree,this.startIndex,this.endIndex)}isNamed(){return marshalNode(this),1===C._ts_node_is_named_wasm(this.tree[0])}hasError(){return marshalNode(this),1===C._ts_node_has_error_wasm(this.tree[0])}hasChanges(){return marshalNode(this),1===C._ts_node_has_changes_wasm(this.tree[0])}isMissing(){return marshalNode(this),1===C._ts_node_is_missing_wasm(this.tree[0])}equals(e){return this.id===e.id}child(e){return marshalNode(this),C._ts_node_child_wasm(this.tree[0],e),unmarshalNode(this.tree)}namedChild(e){return marshalNode(this),C._ts_node_named_child_wasm(this.tree[0],e),unmarshalNode(this.tree)}childForFieldId(e){return marshalNode(this),C._ts_node_child_by_field_id_wasm(this.tree[0],e),unmarshalNode(this.tree)}childForFieldName(e){const t=this.tree.language.fields.indexOf(e);if(-1!==t)return this.childForFieldId(t)}get childCount(){return marshalNode(this),C._ts_node_child_count_wasm(this.tree[0])}get namedChildCount(){return marshalNode(this),C._ts_node_named_child_count_wasm(this.tree[0])}get firstChild(){return this.child(0)}get firstNamedChild(){return this.namedChild(0)}get lastChild(){return this.child(this.childCount-1)}get lastNamedChild(){return this.namedChild(this.namedChildCount-1)}get children(){if(!this._children){marshalNode(this),C._ts_node_children_wasm(this.tree[0]);const e=getValue(TRANSFER_BUFFER,"i32"),t=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32");if(this._children=new Array(e),e>0){let r=t;for(let t=0;t<e;t++)this._children[t]=unmarshalNode(this.tree,r),r+=SIZE_OF_NODE;C._free(t)}}return this._children}get namedChildren(){if(!this._namedChildren){marshalNode(this),C._ts_node_named_children_wasm(this.tree[0]);const e=getValue(TRANSFER_BUFFER,"i32"),t=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32");if(this._namedChildren=new Array(e),e>0){let r=t;for(let t=0;t<e;t++)this._namedChildren[t]=unmarshalNode(this.tree,r),r+=SIZE_OF_NODE;C._free(t)}}return this._namedChildren}descendantsOfType(e,t,r){Array.isArray(e)||(e=[e]),t||(t=ZERO_POINT),r||(r=ZERO_POINT);const n=[],s=this.tree.language.types;for(let t=0,r=s.length;t<r;t++)e.includes(s[t])&&n.push(t);const o=C._malloc(SIZE_OF_INT*n.length);for(let e=0,t=n.length;e<t;e++)setValue(o+e*SIZE_OF_INT,n[e],"i32");marshalNode(this),C._ts_node_descendants_of_type_wasm(this.tree[0],o,n.length,t.row,t.column,r.row,r.column);const i=getValue(TRANSFER_BUFFER,"i32"),a=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),l=new Array(i);if(i>0){let e=a;for(let t=0;t<i;t++)l[t]=unmarshalNode(this.tree,e),e+=SIZE_OF_NODE}return C._free(a),C._free(o),l}get nextSibling(){return marshalNode(this),C._ts_node_next_sibling_wasm(this.tree[0]),unmarshalNode(this.tree)}get previousSibling(){return marshalNode(this),C._ts_node_prev_sibling_wasm(this.tree[0]),unmarshalNode(this.tree)}get nextNamedSibling(){return marshalNode(this),C._ts_node_next_named_sibling_wasm(this.tree[0]),unmarshalNode(this.tree)}get previousNamedSibling(){return marshalNode(this),C._ts_node_prev_named_sibling_wasm(this.tree[0]),unmarshalNode(this.tree)}get parent(){return marshalNode(this),C._ts_node_parent_wasm(this.tree[0]),unmarshalNode(this.tree)}descendantForIndex(e,t=e){if("number"!=typeof e||"number"!=typeof t)throw new Error("Arguments must be numbers");marshalNode(this);let r=TRANSFER_BUFFER+SIZE_OF_NODE;return setValue(r,e,"i32"),setValue(r+SIZE_OF_INT,t,"i32"),C._ts_node_descendant_for_index_wasm(this.tree[0]),unmarshalNode(this.tree)}namedDescendantForIndex(e,t=e){if("number"!=typeof e||"number"!=typeof t)throw new Error("Arguments must be numbers");marshalNode(this);let r=TRANSFER_BUFFER+SIZE_OF_NODE;return setValue(r,e,"i32"),setValue(r+SIZE_OF_INT,t,"i32"),C._ts_node_named_descendant_for_index_wasm(this.tree[0]),unmarshalNode(this.tree)}descendantForPosition(e,t=e){if(!isPoint(e)||!isPoint(t))throw new Error("Arguments must be {row, column} objects");marshalNode(this);let r=TRANSFER_BUFFER+SIZE_OF_NODE;return marshalPoint(r,e),marshalPoint(r+SIZE_OF_POINT,t),C._ts_node_descendant_for_position_wasm(this.tree[0]),unmarshalNode(this.tree)}namedDescendantForPosition(e,t=e){if(!isPoint(e)||!isPoint(t))throw new Error("Arguments must be {row, column} objects");marshalNode(this);let r=TRANSFER_BUFFER+SIZE_OF_NODE;return marshalPoint(r,e),marshalPoint(r+SIZE_OF_POINT,t),C._ts_node_named_descendant_for_position_wasm(this.tree[0]),unmarshalNode(this.tree)}walk(){return marshalNode(this),C._ts_tree_cursor_new_wasm(this.tree[0]),new TreeCursor(INTERNAL,this.tree)}toString(){marshalNode(this);const e=C._ts_node_to_string_wasm(this.tree[0]),t=AsciiToString(e);return C._free(e),t}}class TreeCursor{constructor(e,t){assertInternal(e),this.tree=t,unmarshalTreeCursor(this)}delete(){marshalTreeCursor(this),C._ts_tree_cursor_delete_wasm(this.tree[0]),this[0]=this[1]=this[2]=0}reset(e){marshalNode(e),marshalTreeCursor(this,TRANSFER_BUFFER+SIZE_OF_NODE),C._ts_tree_cursor_reset_wasm(this.tree[0]),unmarshalTreeCursor(this)}get nodeType(){return this.tree.language.types[this.nodeTypeId]||"ERROR"}get nodeTypeId(){return marshalTreeCursor(this),C._ts_tree_cursor_current_node_type_id_wasm(this.tree[0])}get nodeId(){return marshalTreeCursor(this),C._ts_tree_cursor_current_node_id_wasm(this.tree[0])}get nodeIsNamed(){return marshalTreeCursor(this),1===C._ts_tree_cursor_current_node_is_named_wasm(this.tree[0])}get nodeIsMissing(){return marshalTreeCursor(this),1===C._ts_tree_cursor_current_node_is_missing_wasm(this.tree[0])}get nodeText(){marshalTreeCursor(this);const e=C._ts_tree_cursor_start_index_wasm(this.tree[0]),t=C._ts_tree_cursor_end_index_wasm(this.tree[0]);return getText(this.tree,e,t)}get startPosition(){return marshalTreeCursor(this),C._ts_tree_cursor_start_position_wasm(this.tree[0]),unmarshalPoint(TRANSFER_BUFFER)}get endPosition(){return marshalTreeCursor(this),C._ts_tree_cursor_end_position_wasm(this.tree[0]),unmarshalPoint(TRANSFER_BUFFER)}get startIndex(){return marshalTreeCursor(this),C._ts_tree_cursor_start_index_wasm(this.tree[0])}get endIndex(){return marshalTreeCursor(this),C._ts_tree_cursor_end_index_wasm(this.tree[0])}currentNode(){return marshalTreeCursor(this),C._ts_tree_cursor_current_node_wasm(this.tree[0]),unmarshalNode(this.tree)}currentFieldId(){return marshalTreeCursor(this),C._ts_tree_cursor_current_field_id_wasm(this.tree[0])}currentFieldName(){return this.tree.language.fields[this.currentFieldId()]}gotoFirstChild(){marshalTreeCursor(this);const e=C._ts_tree_cursor_goto_first_child_wasm(this.tree[0]);return unmarshalTreeCursor(this),1===e}gotoNextSibling(){marshalTreeCursor(this);const e=C._ts_tree_cursor_goto_next_sibling_wasm(this.tree[0]);return unmarshalTreeCursor(this),1===e}gotoParent(){marshalTreeCursor(this);const e=C._ts_tree_cursor_goto_parent_wasm(this.tree[0]);return unmarshalTreeCursor(this),1===e}}class Language{constructor(e,t){assertInternal(e),this[0]=t,this.types=new Array(C._ts_language_symbol_count(this[0]));for(let e=0,t=this.types.length;e<t;e++)C._ts_language_symbol_type(this[0],e)<2&&(this.types[e]=UTF8ToString(C._ts_language_symbol_name(this[0],e)));this.fields=new Array(C._ts_language_field_count(this[0])+1);for(let e=0,t=this.fields.length;e<t;e++){const t=C._ts_language_field_name_for_id(this[0],e);this.fields[e]=0!==t?UTF8ToString(t):null}}get version(){return C._ts_language_version(this[0])}get fieldCount(){return this.fields.length-1}fieldIdForName(e){const t=this.fields.indexOf(e);return-1!==t?t:null}fieldNameForId(e){return this.fields[e]||null}idForNodeType(e,t){const r=lengthBytesUTF8(e),n=C._malloc(r+1);stringToUTF8(e,n,r+1);const s=C._ts_language_symbol_for_name(this[0],n,r,t);return C._free(n),s||null}get nodeTypeCount(){return C._ts_language_symbol_count(this[0])}nodeTypeForId(e){const t=C._ts_language_symbol_name(this[0],e);return t?UTF8ToString(t):null}nodeTypeIsNamed(e){return!!C._ts_language_type_is_named_wasm(this[0],e)}nodeTypeIsVisible(e){return!!C._ts_language_type_is_visible_wasm(this[0],e)}query(e){const t=lengthBytesUTF8(e),r=C._malloc(t+1);stringToUTF8(e,r,t+1);const n=C._ts_query_new(this[0],r,t,TRANSFER_BUFFER,TRANSFER_BUFFER+SIZE_OF_INT);if(!n){const t=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),n=UTF8ToString(r,getValue(TRANSFER_BUFFER,"i32")).length,s=e.substr(n,100).split("\n")[0];let o,i=s.match(QUERY_WORD_REGEX)[0];switch(t){case 2:o=new RangeError(`Bad node name '${i}'`);break;case 3:o=new RangeError(`Bad field name '${i}'`);break;case 4:o=new RangeError(`Bad capture name @${i}`);break;case 5:o=new TypeError(`Bad pattern structure at offset ${n}: '${s}'...`),i="";break;default:o=new SyntaxError(`Bad syntax at offset ${n}: '${s}'...`),i=""}throw o.index=n,o.length=i.length,C._free(r),o}const s=C._ts_query_string_count(n),o=C._ts_query_capture_count(n),i=C._ts_query_pattern_count(n),a=new Array(o),l=new Array(s);for(let e=0;e<o;e++){const t=C._ts_query_capture_name_for_id(n,e,TRANSFER_BUFFER),r=getValue(TRANSFER_BUFFER,"i32");a[e]=UTF8ToString(t,r)}for(let e=0;e<s;e++){const t=C._ts_query_string_value_for_id(n,e,TRANSFER_BUFFER),r=getValue(TRANSFER_BUFFER,"i32");l[e]=UTF8ToString(t,r)}const u=new Array(i),c=new Array(i),_=new Array(i),p=new Array(i),d=new Array(i);for(let e=0;e<i;e++){const t=C._ts_query_predicates_for_pattern(n,e,TRANSFER_BUFFER),r=getValue(TRANSFER_BUFFER,"i32");p[e]=[],d[e]=[];const s=[];let o=t;for(let t=0;t<r;t++){const t=getValue(o,"i32");o+=SIZE_OF_INT;const r=getValue(o,"i32");if(o+=SIZE_OF_INT,t===PREDICATE_STEP_TYPE_CAPTURE)s.push({type:"capture",name:a[r]});else if(t===PREDICATE_STEP_TYPE_STRING)s.push({type:"string",value:l[r]});else if(s.length>0){if("string"!==s[0].type)throw new Error("Predicates must begin with a literal value");const t=s[0].value;let r=!0;switch(t){case"not-eq?":r=!1;case"eq?":if(3!==s.length)throw new Error("Wrong number of arguments to `#eq?` predicate. Expected 2, got "+(s.length-1));if("capture"!==s[1].type)throw new Error(`First argument of \`#eq?\` predicate must be a capture. Got "${s[1].value}"`);if("capture"===s[2].type){const t=s[1].name,n=s[2].name;d[e].push((function(e){let s,o;for(const r of e)r.name===t&&(s=r.node),r.name===n&&(o=r.node);return void 0===s||void 0===o||s.text===o.text===r}))}else{const t=s[1].name,n=s[2].value;d[e].push((function(e){for(const s of e)if(s.name===t)return s.node.text===n===r;return!0}))}break;case"not-match?":r=!1;case"match?":if(3!==s.length)throw new Error(`Wrong number of arguments to \`#match?\` predicate. Expected 2, got ${s.length-1}.`);if("capture"!==s[1].type)throw new Error(`First argument of \`#match?\` predicate must be a capture. Got "${s[1].value}".`);if("string"!==s[2].type)throw new Error(`Second argument of \`#match?\` predicate must be a string. Got @${s[2].value}.`);const n=s[1].name,o=new RegExp(s[2].value);d[e].push((function(e){for(const t of e)if(t.name===n)return o.test(t.node.text)===r;return!0}));break;case"set!":if(s.length<2||s.length>3)throw new Error(`Wrong number of arguments to \`#set!\` predicate. Expected 1 or 2. Got ${s.length-1}.`);if(s.some((e=>"string"!==e.type)))throw new Error('Arguments to `#set!` predicate must be a strings.".');u[e]||(u[e]={}),u[e][s[1].value]=s[2]?s[2].value:null;break;case"is?":case"is-not?":if(s.length<2||s.length>3)throw new Error(`Wrong number of arguments to \`#${t}\` predicate. Expected 1 or 2. Got ${s.length-1}.`);if(s.some((e=>"string"!==e.type)))throw new Error(`Arguments to \`#${t}\` predicate must be a strings.".`);const i="is?"===t?c:_;i[e]||(i[e]={}),i[e][s[1].value]=s[2]?s[2].value:null;break;default:p[e].push({operator:t,operands:s.slice(1)})}s.length=0}}Object.freeze(u[e]),Object.freeze(c[e]),Object.freeze(_[e])}return C._free(r),new Query(INTERNAL,n,a,d,p,Object.freeze(u),Object.freeze(c),Object.freeze(_))}static load(e){let t;if(e instanceof Uint8Array)t=Promise.resolve(e);else{const r=e;if("undefined"!=typeof process&&process.versions&&process.versions.node){const e=__webpack_require__(5530);t=Promise.resolve(e.readFileSync(r))}else t=fetch(r).then((e=>e.arrayBuffer().then((t=>{if(e.ok)return new Uint8Array(t);{const r=new TextDecoder("utf-8").decode(t);throw new Error(`Language.load failed with status ${e.status}.\n\n${r}`)}}))))}const r="function"==typeof loadSideModule?loadSideModule:loadWebAssemblyModule;return t.then((e=>r(e,{loadAsync:!0}))).then((e=>{const t=Object.keys(e),r=t.find((e=>LANGUAGE_FUNCTION_REGEX.test(e)&&!e.includes("external_scanner_")));r||console.log(`Couldn't find language function in WASM file. Symbols:\n${JSON.stringify(t,null,2)}`);const n=e[r]();return new Language(INTERNAL,n)}))}}class Query{constructor(e,t,r,n,s,o,i,a){assertInternal(e),this[0]=t,this.captureNames=r,this.textPredicates=n,this.predicates=s,this.setProperties=o,this.assertedProperties=i,this.refutedProperties=a,this.exceededMatchLimit=!1}delete(){C._ts_query_delete(this[0]),this[0]=0}matches(e,t,r,n){t||(t=ZERO_POINT),r||(r=ZERO_POINT),n||(n={});let s=n.matchLimit;if(void 0===s)s=0;else if("number"!=typeof s)throw new Error("Arguments must be numbers");marshalNode(e),C._ts_query_matches_wasm(this[0],e.tree[0],t.row,t.column,r.row,r.column,s);const o=getValue(TRANSFER_BUFFER,"i32"),i=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),a=getValue(TRANSFER_BUFFER+2*SIZE_OF_INT,"i32"),l=new Array(o);this.exceededMatchLimit=!!a;let u=0,c=i;for(let t=0;t<o;t++){const r=getValue(c,"i32");c+=SIZE_OF_INT;const n=getValue(c,"i32");c+=SIZE_OF_INT;const s=new Array(n);if(c=unmarshalCaptures(this,e.tree,c,s),this.textPredicates[r].every((e=>e(s)))){l[u++]={pattern:r,captures:s};const e=this.setProperties[r];e&&(l[t].setProperties=e);const n=this.assertedProperties[r];n&&(l[t].assertedProperties=n);const o=this.refutedProperties[r];o&&(l[t].refutedProperties=o)}}return l.length=u,C._free(i),l}captures(e,t,r,n){t||(t=ZERO_POINT),r||(r=ZERO_POINT),n||(n={});let s=n.matchLimit;if(void 0===s)s=0;else if("number"!=typeof s)throw new Error("Arguments must be numbers");marshalNode(e),C._ts_query_captures_wasm(this[0],e.tree[0],t.row,t.column,r.row,r.column,s);const o=getValue(TRANSFER_BUFFER,"i32"),i=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),a=getValue(TRANSFER_BUFFER+2*SIZE_OF_INT,"i32"),l=[];this.exceededMatchLimit=!!a;const u=[];let c=i;for(let t=0;t<o;t++){const t=getValue(c,"i32");c+=SIZE_OF_INT;const r=getValue(c,"i32");c+=SIZE_OF_INT;const n=getValue(c,"i32");if(c+=SIZE_OF_INT,u.length=r,c=unmarshalCaptures(this,e.tree,c,u),this.textPredicates[t].every((e=>e(u)))){const e=u[n],r=this.setProperties[t];r&&(e.setProperties=r);const s=this.assertedProperties[t];s&&(e.assertedProperties=s);const o=this.refutedProperties[t];o&&(e.refutedProperties=o),l.push(e)}}return C._free(i),l}predicatesForPattern(e){return this.predicates[e]}didExceedMatchLimit(){return this.exceededMatchLimit}}function getText(e,t,r){const n=r-t;let s=e.textCallback(t,null,r);for(t+=s.length;t<r;){const n=e.textCallback(t,null,r);if(!(n&&n.length>0))break;t+=n.length,s+=n}return t>r&&(s=s.slice(0,n)),s}function unmarshalCaptures(e,t,r,n){for(let s=0,o=n.length;s<o;s++){const o=getValue(r,"i32"),i=unmarshalNode(t,r+=SIZE_OF_INT);r+=SIZE_OF_NODE,n[s]={name:e.captureNames[o],node:i}}return r}function assertInternal(e){if(e!==INTERNAL)throw new Error("Illegal constructor")}function isPoint(e){return e&&"number"==typeof e.row&&"number"==typeof e.column}function marshalNode(e){let t=TRANSFER_BUFFER;setValue(t,e.id,"i32"),t+=SIZE_OF_INT,setValue(t,e.startIndex,"i32"),t+=SIZE_OF_INT,setValue(t,e.startPosition.row,"i32"),t+=SIZE_OF_INT,setValue(t,e.startPosition.column,"i32"),t+=SIZE_OF_INT,setValue(t,e[0],"i32")}function unmarshalNode(e,t=TRANSFER_BUFFER){const r=getValue(t,"i32");if(0===r)return null;const n=getValue(t+=SIZE_OF_INT,"i32"),s=getValue(t+=SIZE_OF_INT,"i32"),o=getValue(t+=SIZE_OF_INT,"i32"),i=getValue(t+=SIZE_OF_INT,"i32"),a=new Node(INTERNAL,e);return a.id=r,a.startIndex=n,a.startPosition={row:s,column:o},a[0]=i,a}function marshalTreeCursor(e,t=TRANSFER_BUFFER){setValue(t+0*SIZE_OF_INT,e[0],"i32"),setValue(t+1*SIZE_OF_INT,e[1],"i32"),setValue(t+2*SIZE_OF_INT,e[2],"i32")}function unmarshalTreeCursor(e){e[0]=getValue(TRANSFER_BUFFER+0*SIZE_OF_INT,"i32"),e[1]=getValue(TRANSFER_BUFFER+1*SIZE_OF_INT,"i32"),e[2]=getValue(TRANSFER_BUFFER+2*SIZE_OF_INT,"i32")}function marshalPoint(e,t){setValue(e,t.row,"i32"),setValue(e+SIZE_OF_INT,t.column,"i32")}function unmarshalPoint(e){return{row:getValue(e,"i32"),column:getValue(e+SIZE_OF_INT,"i32")}}function marshalRange(e,t){marshalPoint(e,t.startPosition),marshalPoint(e+=SIZE_OF_POINT,t.endPosition),setValue(e+=SIZE_OF_POINT,t.startIndex,"i32"),setValue(e+=SIZE_OF_INT,t.endIndex,"i32"),e+=SIZE_OF_INT}function unmarshalRange(e){const t={};return t.startPosition=unmarshalPoint(e),e+=SIZE_OF_POINT,t.endPosition=unmarshalPoint(e),e+=SIZE_OF_POINT,t.startIndex=getValue(e,"i32"),e+=SIZE_OF_INT,t.endIndex=getValue(e,"i32"),t}function marshalEdit(e){let t=TRANSFER_BUFFER;marshalPoint(t,e.startPosition),t+=SIZE_OF_POINT,marshalPoint(t,e.oldEndPosition),t+=SIZE_OF_POINT,marshalPoint(t,e.newEndPosition),t+=SIZE_OF_POINT,setValue(t,e.startIndex,"i32"),t+=SIZE_OF_INT,setValue(t,e.oldEndIndex,"i32"),t+=SIZE_OF_INT,setValue(t,e.newEndIndex,"i32"),t+=SIZE_OF_INT}for(const e of Object.getOwnPropertyNames(ParserImpl.prototype))Object.defineProperty(Parser.prototype,e,{value:ParserImpl.prototype[e],enumerable:!1,writable:!1});Parser.Language=Language,Module.onRuntimeInitialized=()=>{ParserImpl.init(),resolveInitPromise()}})))}}return Parser}();module.exports=TreeSitter},5530:()=>{},6287:()=>{}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(r.exports,r,r.exports,__webpack_require__),r.loaded=!0,r.exports}__webpack_require__.d=(e,t)=>{for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var t=__webpack_require__.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&!e;)e=r[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=e})();var __webpack_exports__={};return(()=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{detect:()=>Yo,detectionRegExp:()=>Ko,mediaTypes:()=>$o,namespace:()=>Qo,parse:()=>Xo});var e={};__webpack_require__.r(e),__webpack_require__.d(e,{hasElementSourceMap:()=>us,includesClasses:()=>_s,includesSymbols:()=>cs,isAnnotationElement:()=>ss,isArrayElement:()=>es,isBooleanElement:()=>Qn,isCommentElement:()=>os,isElement:()=>$n,isLinkElement:()=>rs,isMemberElement:()=>ts,isNullElement:()=>Xn,isNumberElement:()=>Yn,isObjectElement:()=>Jn,isParseResultElement:()=>is,isPrimitiveElement:()=>ls,isRefElement:()=>ns,isSourceMapElement:()=>as,isStringElement:()=>Kn});var t={};__webpack_require__.r(t),__webpack_require__.d(t,{isInfoElement:()=>Po,isMainElement:()=>No,isPrincipleElement:()=>To,isRequirementElement:()=>jo,isRequirementLevelElement:()=>Fo,isScenarioElement:()=>Ro,isStandardElement:()=>ko,isStandardIdentifierElement:()=>Co});const r=function(){return!1};function n(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function s(e){return function t(r){return 0===arguments.length||n(r)?t:e.apply(this,arguments)}}function o(e){return function t(r,o){switch(arguments.length){case 0:return t;case 1:return n(r)?t:s((function(t){return e(r,t)}));default:return n(r)&&n(o)?t:n(r)?s((function(t){return e(t,o)})):n(o)?s((function(t){return e(r,t)})):e(r,o)}}}const i=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function a(e,t,r){return function(){if(0===arguments.length)return r();var n=arguments[arguments.length-1];if(!i(n)){for(var s=0;s<e.length;){if("function"==typeof n[e[s]])return n[e[s]].apply(n,Array.prototype.slice.call(arguments,0,-1));s+=1}if(function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}(n))return t.apply(null,Array.prototype.slice.call(arguments,0,-1))(n)}return r.apply(this,arguments)}}const l=function(){return this.xf["@@transducer/init"]()},u=function(e){return this.xf["@@transducer/result"](e)};var c=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=l,e.prototype["@@transducer/result"]=function(e){return this.all&&(e=this.xf["@@transducer/step"](e,!0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){var r;return this.f(t)||(this.all=!1,e=(r=this.xf["@@transducer/step"](e,!1))&&r["@@transducer/reduced"]?r:{"@@transducer/value":r,"@@transducer/reduced":!0}),e},e}();function _(e){return function(t){return new c(e,t)}}const p=o(a(["all"],_,(function(e,t){for(var r=0;r<t.length;){if(!e(t[r]))return!1;r+=1}return!0})));function d(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}function m(e,t,r){for(var n=0,s=r.length;n<s;){if(e(t,r[n]))return!0;n+=1}return!1}function f(e,t){return Object.prototype.hasOwnProperty.call(t,e)}const h="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};var y=Object.prototype.toString;const g=function(){return"[object Arguments]"===y.call(arguments)?function(e){return"[object Arguments]"===y.call(e)}:function(e){return f("callee",e)}}();var b=!{toString:null}.propertyIsEnumerable("toString"),v=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],w=function(){return arguments.propertyIsEnumerable("length")}(),E=function(e,t){for(var r=0;r<e.length;){if(e[r]===t)return!0;r+=1}return!1};const S="function"!=typeof Object.keys||w?s((function(e){if(Object(e)!==e)return[];var t,r,n=[],s=w&&g(e);for(t in e)!f(t,e)||s&&"length"===t||(n[n.length]=t);if(b)for(r=v.length-1;r>=0;)f(t=v[r],e)&&!E(n,t)&&(n[n.length]=t),r-=1;return n})):s((function(e){return Object(e)!==e?[]:Object.keys(e)}));const M=s((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function O(e,t,r,n){var s=d(e);function o(e,t){return x(e,t,r.slice(),n.slice())}return!m((function(e,t){return!m(o,t,e)}),d(t),s)}function x(e,t,r,n){if(h(e,t))return!0;var s,o,i=M(e);if(i!==M(t))return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(i){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===(s=e.constructor,null==(o=String(s).match(/^function (\w*)/))?"":o[1]))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!h(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!h(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var a=r.length-1;a>=0;){if(r[a]===e)return n[a]===t;a-=1}switch(i){case"Map":return e.size===t.size&&O(e.entries(),t.entries(),r.concat([e]),n.concat([t]));case"Set":return e.size===t.size&&O(e.values(),t.values(),r.concat([e]),n.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var l=S(e);if(l.length!==S(t).length)return!1;var u=r.concat([e]),c=n.concat([t]);for(a=l.length-1;a>=0;){var _=l[a];if(!f(_,t)||!x(t[_],e[_],u,c))return!1;a-=1}return!0}const A=o((function(e,t){return x(e,t,[],[])}));function I(e,t){return function(e,t,r){var n,s;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(n=1/t;r<e.length;){if(0===(s=e[r])&&1/s===n)return r;r+=1}return-1}if(t!=t){for(;r<e.length;){if("number"==typeof(s=e[r])&&s!=s)return r;r+=1}return-1}return e.indexOf(t,r);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,r);case"object":if(null===t)return e.indexOf(t,r)}for(;r<e.length;){if(A(e[r],t))return r;r+=1}return-1}(t,e,0)>=0}function N(e,t){for(var r=0,n=t.length,s=Array(n);r<n;)s[r]=e(t[r]),r+=1;return s}function P(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var T=function(e){return(e<10?"0":"")+e};const j="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+T(e.getUTCMonth()+1)+"-"+T(e.getUTCDate())+"T"+T(e.getUTCHours())+":"+T(e.getUTCMinutes())+":"+T(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function F(e,t,r){for(var n=0,s=r.length;n<s;)t=e(t,r[n]),n+=1;return t}function R(e){return"[object Object]"===Object.prototype.toString.call(e)}var k=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=l,e.prototype["@@transducer/result"]=u,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function C(e){return function(t){return new k(e,t)}}const D=o(a(["fantasy-land/filter","filter"],C,(function(e,t){return R(t)?F((function(r,n){return e(t[n])&&(r[n]=t[n]),r}),{},S(t)):function(e,t){for(var r=0,n=t.length,s=[];r<n;)e(t[r])&&(s[s.length]=t[r]),r+=1;return s}(e,t)})));const U=o((function(e,t){return D((r=e,function(){return!r.apply(this,arguments)}),t);var r}));function L(e,t){var r=function(r){var n=t.concat([e]);return I(r,n)?"<Circular>":L(r,n)},n=function(e,t){return N((function(t){return P(t)+": "+r(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+N(r,e).join(", ")+"))";case"[object Array]":return"["+N(r,e).concat(n(e,U((function(e){return/^\d+$/.test(e)}),S(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+r(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?r(NaN):P(j(e)))+")";case"[object Map]":return"new Map("+r(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+r(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+r(Array.from(e).sort())+")";case"[object String]":return"object"==typeof e?"new String("+r(e.valueOf())+")":P(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var s=e.toString();if("[object Object]"!==s)return s}return"{"+n(e,S(e)).join(", ")+"}"}}const q=s((function(e){return L(e,[])}));const B=o((function(e,t){if(e===t)return t;function r(e,t){if(e>t!=t>e)return t>e?t:e}var n=r(e,t);if(void 0!==n)return n;var s=r(typeof e,typeof t);if(void 0!==s)return s===typeof e?e:t;var o=q(e),i=r(o,q(t));return void 0!==i&&i===o?e:t}));var V=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=l,e.prototype["@@transducer/result"]=u,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const Z=function(e){return function(t){return new V(e,t)}};function G(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,r){return t.apply(this,arguments)};case 3:return function(e,r,n){return t.apply(this,arguments)};case 4:return function(e,r,n,s){return t.apply(this,arguments)};case 5:return function(e,r,n,s,o){return t.apply(this,arguments)};case 6:return function(e,r,n,s,o,i){return t.apply(this,arguments)};case 7:return function(e,r,n,s,o,i,a){return t.apply(this,arguments)};case 8:return function(e,r,n,s,o,i,a,l){return t.apply(this,arguments)};case 9:return function(e,r,n,s,o,i,a,l,u){return t.apply(this,arguments)};case 10:return function(e,r,n,s,o,i,a,l,u,c){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function H(e,t,r){return function(){for(var s=[],o=0,i=e,a=0;a<t.length||o<arguments.length;){var l;a<t.length&&(!n(t[a])||o>=arguments.length)?l=t[a]:(l=arguments[o],o+=1),s[a]=l,n(l)||(i-=1),a+=1}return i<=0?r.apply(this,s):G(i,H(e,s,r))}}const z=o((function(e,t){return 1===e?s(t):G(e,H(e,[],t))}));const W=o(a(["fantasy-land/map","map"],Z,(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return z(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return F((function(r,n){return r[n]=e(t[n]),r}),{},S(t));default:return N(e,t)}}))),$=Number.isInteger||function(e){return e<<0===e};function K(e){return"[object String]"===Object.prototype.toString.call(e)}const Y=o((function(e,t){var r=e<0?t.length+e:e;return K(t)?t.charAt(r):t[r]}));const X=o((function(e,t){if(null!=t)return $(e)?Y(e,t):t[e]}));const Q=o((function(e,t){return W(X(e),t)}));function J(e){return function t(r,i,a){switch(arguments.length){case 0:return t;case 1:return n(r)?t:o((function(t,n){return e(r,t,n)}));case 2:return n(r)&&n(i)?t:n(r)?o((function(t,r){return e(t,i,r)})):n(i)?o((function(t,n){return e(r,t,n)})):s((function(t){return e(r,i,t)}));default:return n(r)&&n(i)&&n(a)?t:n(r)&&n(i)?o((function(t,r){return e(t,r,a)})):n(r)&&n(a)?o((function(t,r){return e(t,i,r)})):n(i)&&n(a)?o((function(t,n){return e(r,t,n)})):n(r)?s((function(t){return e(t,i,a)})):n(i)?s((function(t){return e(r,t,a)})):n(a)?s((function(t){return e(r,i,t)})):e(r,i,a)}}}const ee=s((function(e){return!!i(e)||!!e&&("object"==typeof e&&(!K(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var te="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function re(e,t,r){return function(n,s,o){if(ee(o))return e(n,s,o);if(null==o)return s;if("function"==typeof o["fantasy-land/reduce"])return t(n,s,o,"fantasy-land/reduce");if(null!=o[te])return r(n,s,o[te]());if("function"==typeof o.next)return r(n,s,o);if("function"==typeof o.reduce)return t(n,s,o,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function ne(e,t,r){for(var n=0,s=r.length;n<s;){if((t=e["@@transducer/step"](t,r[n]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n+=1}return e["@@transducer/result"](t)}const se=o((function(e,t){return G(e.length,(function(){return e.apply(t,arguments)}))}));function oe(e,t,r){for(var n=r.next();!n.done;){if((t=e["@@transducer/step"](t,n.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n=r.next()}return e["@@transducer/result"](t)}function ie(e,t,r,n){return e["@@transducer/result"](r[n](se(e["@@transducer/step"],e),t))}const ae=re(ne,ie,oe);var le=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();function ue(e){return new le(e)}const ce=J((function(e,t,r){return ae("function"==typeof e?ue(e):e,t,r)}));const _e=s((function(e){return function(){return e}}));const pe=s((function(e){return z(ce(B,0,Q("length",e)),(function(){for(var t=0,r=e.length;t<r;){if(e[t].apply(this,arguments))return!0;t+=1}return!1}))}));function de(e,t,r){for(var n=r.next();!n.done;)t=e(t,n.value),n=r.next();return t}function me(e,t,r,n){return r[n](e,t)}const fe=re(F,me,de);const he=o((function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(r){return e(r)(t(r))}:fe((function(e,r){return function(e,t){var r;t=t||[];var n=(e=e||[]).length,s=t.length,o=[];for(r=0;r<n;)o[o.length]=e[r],r+=1;for(r=0;r<s;)o[o.length]=t[r],r+=1;return o}(e,W(r,t))}),[],e)}));const ye=o((function(e,t){return e.apply(this,t)}));function ge(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const be=o((function(e,t){return e&&t}));const ve=o((function(e,t){var r=z(e,t);return z(e,(function(){return F(he,W(r,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const we=s((function(e){return ve(e.length,e)}));const Ee=o((function(e,t){return ge(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:we(be)(e,t)}));const Se=we(s((function(e){return!e})));function Me(e,t){return function(){return t.call(this,e.apply(this,arguments))}}function Oe(e,t){return function(){var r=arguments.length;if(0===r)return t();var n=arguments[r-1];return i(n)||"function"!=typeof n[e]?t.apply(this,arguments):n[e].apply(n,Array.prototype.slice.call(arguments,0,r-1))}}const xe=J(Oe("slice",(function(e,t,r){return Array.prototype.slice.call(r,e,t)})));const Ae=s(Oe("tail",xe(1,1/0)));function Ie(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return G(arguments[0].length,ce(Me,arguments[0],Ae(arguments)))}const Ne=s((function(e){return K(e)?e.split("").reverse().join(""):Array.prototype.slice.call(e,0).reverse()}));function Pe(){if(0===arguments.length)throw new Error("compose requires at least one argument");return Ie.apply(this,Ne(arguments))}const Te=o((function(e,t){if(i(e)){if(i(t))return e.concat(t);throw new TypeError(q(t)+" is not an array")}if(K(e)){if(K(t))return e+t;throw new TypeError(q(t)+" is not a string")}if(null!=e&&ge(e["fantasy-land/concat"]))return e["fantasy-land/concat"](t);if(null!=e&&ge(e.concat))return e.concat(t);throw new TypeError(q(e)+' does not have a method named "concat" or "fantasy-land/concat"')}));const je=o((function(e,t){return z(ce(B,0,Q("length",t)),(function(){var r=arguments,n=this;return e.apply(n,N((function(e){return e.apply(n,r)}),t))}))}));const Fe=s((function(e){return z(e.length,e)}));const Re=o((function(e,t){return null==t||t!=t?e:t}));var ke=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=l,e.prototype["@@transducer/result"]=u,e.prototype["@@transducer/step"]=function(e,t){if(this.f){if(this.f(t))return e;this.f=null}return this.xf["@@transducer/step"](e,t)},e}();function Ce(e){return function(t){return new ke(e,t)}}const De=o(a(["dropWhile"],Ce,(function(e,t){for(var r=0,n=t.length;r<n&&e(t[r]);)r+=1;return xe(r,1/0,t)})));var Ue=s((function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():i(e)?[]:K(e)?"":R(e)?{}:g(e)?function(){return arguments}():function(e){var t=Object.prototype.toString.call(e);return"[object Uint8ClampedArray]"===t||"[object Int8Array]"===t||"[object Uint8Array]"===t||"[object Int16Array]"===t||"[object Uint16Array]"===t||"[object Int32Array]"===t||"[object Uint32Array]"===t||"[object Float32Array]"===t||"[object Float64Array]"===t||"[object BigInt64Array]"===t||"[object BigUint64Array]"===t}(e)?e.constructor.from(""):void 0}));const Le=Ue;const qe=s((function(e){return z(e.length,(function(t,r){var n=Array.prototype.slice.call(arguments,0);return n[0]=r,n[1]=t,e.apply(this,n)}))}));const Be=o((function(e,t){return e>t}));const Ve=s((function(e){return null==e}));const Ze=o((function(e,t){if(0===e.length||Ve(t))return!1;for(var r=t,n=0;n<e.length;){if(Ve(r)||!f(e[n],r))return!1;r=r[e[n]],n+=1}return!0}));const Ge=o((function(e,t){return Ze([e],t)}));const He=Y(0);var ze=function(e,t){switch(arguments.length){case 0:return ze;case 1:return function t(r){return 0===arguments.length?t:h(e,r)};default:return h(e,t)}};const We=ze;function $e(e){return e}const Ke=s($e);const Ye=o(I);const Xe=xe(0,-1);const Qe="function"==typeof Object.assign?Object.assign:function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1,n=arguments.length;r<n;){var s=arguments[r];if(null!=s)for(var o in s)f(o,s)&&(t[o]=s[o]);r+=1}return t};const Je=o((function(e,t){return z(e+1,(function(){var r=arguments[e];if(null!=r&&ge(r[t]))return r[t].apply(r,Array.prototype.slice.call(arguments,0,e));throw new TypeError(q(r)+' does not have a method named "'+t+'"')}))}));const et=s((function(e){return null!=e&&A(e,Le(e))}));const tt=Je(1,"join");const rt=Y(-1);const nt=o((function(e,t){return e.map((function(e){for(var r,n=t,s=0;s<e.length;){if(null==n)return;r=e[s],n=$(r)?Y(r,n):n[r],s+=1}return n}))}));const st=o((function(e,t){return nt([e],t)[0]}));const ot=o((function(e,t){return F((function(r,n){return r[n]=e(t[n],n,t),r}),{},S(t))}));const it=o((function(e,t){return Qe({},e,t)}));const at=o((function(e,t){for(var r={},n={},s=0,o=e.length;s<o;)n[e[s]]=1,s+=1;for(var i in t)n.hasOwnProperty(i)||(r[i]=t[i]);return r}));const lt=J((function(e,t,r){return Re(e,st(t,r))}));const ut=J((function(e,t,r){return e(st(t,r))}));const ct=o((function(e,t){for(var r={},n=0;n<e.length;)e[n]in t&&(r[e[n]]=t[e[n]]),n+=1;return r}));const _t=J((function(e,t,r){return Re(e,X(t,r))}));const pt=J((function(e,t,r){return e(X(t,r))}));const dt=J((function(e,t,r){return r.replace(e,t)}));const mt=Je(1,"split");const ft=z(4,(function(e,t,r,n){return ae(e("function"==typeof t?ue(t):t),r,n)}));var ht="\t\n\v\f\r                 \u2028\u2029\ufeff";const yt=s("function"==typeof String.prototype.trim&&!ht.trim()&&"​".trim()?function(e){return e.trim()}:function(e){var t=new RegExp("^["+ht+"]["+ht+"]*"),r=new RegExp("["+ht+"]["+ht+"]*$");return e.replace(t,"").replace(r,"")});const gt=_e(void 0);const bt=A(gt());const vt=Se(bt);var wt=__webpack_require__(7952);const Et=A(null);var St=Se(Et);function Mt(e){return Mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mt(e)}const Ot=z(1,Ee(St,(function(e){return"object"===Mt(e)})));const xt=z(1,Ie(M,We("GeneratorFunction")));const At=z(1,Ie(M,We("AsyncFunction")));const It=pe([Ie(M,We("Function")),xt,At]);var Nt=Ie(M,We("Object")),Pt=Ie(q,A(q(Object))),Tt=ut(Ee(It,Pt),["constructor"]);const jt=z(1,(function(e){if(!Ot(e)||!Nt(e))return!1;var t=Object.getPrototypeOf(e);return!!Et(t)||Tt(t)}));class Ft extends wt.RP{constructor(e,t,r){super(e,t,r),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const Rt=Ft;class kt extends wt.RP{constructor(e,t,r){super(e,t,r),this.element="comment"}}const Ct=kt;class Dt extends wt.ON{constructor(e,t,r){super(e,t,r),this.element="parseResult"}get api(){return this.children.filter((e=>e.classes.contains("api"))).first}get results(){return this.children.filter((e=>e.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((e=>"annotation"===e.element))}get warnings(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("warning")))}get errors(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("error")))}get isEmpty(){return this.children.reject((e=>"annotation"===e.element)).isEmpty}replaceResult(e){const{result:t}=this;if(bt(t))return!1;const r=this.content.findIndex((e=>e===t));return-1!==r&&(this.content[r]=e,!0)}}const Ut=Dt;class Lt extends wt.ON{constructor(e,t,r){super(e,t,r),this.element="sourceMap"}get positionStart(){return this.children.filter((e=>e.classes.contains("position"))).get(0)}get positionEnd(){return this.children.filter((e=>e.classes.contains("position"))).get(1)}set position(e){if(null===e)return;const t=new wt.ON([e.start.row,e.start.column,e.start.char]),r=new wt.ON([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),r.classes.push("position"),this.push(t).push(r)}}const qt=Lt;class Bt extends wt.lS{constructor(){super(),this.register("annotation",Rt),this.register("comment",Ct),this.register("parseResult",Ut),this.register("sourceMap",qt)}}const Vt=new Bt,Zt=e=>{const t=new Bt;return jt(e)&&t.use(e),t},Gt=Vt;const Ht=z(1,Ie(M,We("String"))),zt=__webpack_require__.p+"3055f0c5f4843ded29b10894f35a54d2.wasm",Wt=globalThis.fetch;It(Wt)&&(globalThis.fetch=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ht(t[0])&&t[0].endsWith("tree-sitter.wasm")?Wt.apply(globalThis,[zt,Ae(t)]):Wt.apply(globalThis,t)});var $t=__webpack_require__(9794);const Kt=__webpack_require__.p+"c0da590675c708b5efeb89f8248097c1.wasm";let Yt=null,Xt=null;const Qt=async e=>{if(null===Yt&&null===Xt)Xt=$t.init().then((()=>$t.Language.load(Kt))).then((e=>{const t=new $t;return t.setLanguage(e),t})).finally((()=>{Xt=null})),Yt=await Xt;else if(null===Yt&&null!==Xt)Yt=await Xt;else if(null===Yt)throw new Error("Error while initializing web-tree-sitter");return Yt.parse(e)};var Jt=__webpack_require__(6591);const er=Jt({props:{type:null,position:null,children:[]},init(){let{children:e=[],position:t=null,isMissing:r=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{stamp:n={}}=arguments.length>1?arguments[1]:void 0;this.type=n.type,this.isMissing=r,this.children=e,this.position=t},methods:{clone(){const e=Object.create(Object.getPrototypeOf(this));return Object.getOwnPropertyNames(this).forEach((t=>{const r=Object.getOwnPropertyDescriptor(this,t);Object.defineProperty(e,t,r)})),e}}});let tr=function(e){return e.Scalar="Scalar",e.Sequence="Sequence",e.Mapping="Mapping",e}({});const rr=Jt(er,{statics:{type:"tag"},props:{explicitName:"",kind:null},init(){let{explicitName:e,kind:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.explicitName=e,this.kind=t}});const nr=A("");const sr=z(1,Ie(M,We("Number")));var or=Ee(sr,isFinite);var ir=z(1,or);const ar=It(Number.isFinite)?z(1,se(Number.isFinite,Number)):ir;var lr=Ee(ar,je(A,[Math.floor,Ke]));var ur=z(1,lr);const cr=It(Number.isInteger)?z(1,se(Number.isInteger,Number)):ur;const _r=Se(ar);const pr=z(1,Ee(sr,Be(0)));const dr=function(e,t){var r=Number(t);if(r!==t&&(r=0),pr(r))throw new RangeError("repeat count must be non-negative");if(_r(r))throw new RangeError("repeat count must be less than infinity");if(r=Math.floor(r),0===e.length||0===r)return"";if(e.length*r>=1<<28)throw new RangeError("repeat count must not overflow maximum string size");var n=e.length*r;r=Math.floor(Math.log(r)/Math.log(2));for(var s=e;r;)s+=e,r-=1;return s+=s.substring(0,n-s.length)};var mr=Fe(dr),fr=qe(Je(1,"repeat"));const hr=It(String.prototype.repeat)?fr:mr;var yr=dt(/[\s\uFEFF\xA0]+$/,""),gr=Je(0,"trimEnd");const br=It(String.prototype.trimEnd)?gr:yr;var vr=dt(/^[\s\uFEFF\xA0]+/,""),wr=Je(0,"trimStart");const Er=It(String.prototype.trimStart)?wr:vr;const Sr=qe(Ye);const Mr=Fe((function(e,t){return Ie(mt(""),De(Sr(e)),tt(""))(t)}));const Or=qe(Te);var xr=__webpack_require__(2770);const Ar=/^(?<style>[|>])(?<chomping>[+-]?)(?<indentation>[0-9]*)\s/,Ir=e=>{const t=(e=>{const t=e.match(Ar),r=lt("",["groups","indentation"],t);return nr(r)?void 0:parseInt(r,10)})(e);if(cr(t))return hr(" ",t);const r=lt("",[1],e.split("\n")),n=lt(0,["groups","indentation","length"],r.match(/^(?<indentation>[ ]*)/));return hr(" ",n)},Nr=e=>{const t=e.match(Ar),r=lt("",["groups","chomping"],t);return nr(r)?void 0:r},Pr=(e,t)=>bt(e)?`${br(t)}\n`:"-"===e?br(t):t,Tr=e=>e.replace(/\r\n/g,"\n"),jr=e=>e.replace(/(\n)?\n([^\n]+)/g,((e,t,r)=>t?e:` ${r.trimStart()}`)).replace(/[\n]{2}/g,"\n"),Fr=Fe(((e,t)=>t.replace(new RegExp(`^${e}`),"").replace(new RegExp(`${e}$`),""))),Rr=Ie(Tr,yt,jr,mt("\n"),W(Er),tt("\n")),kr=Ie(Tr,yt,Fr("'"),jr,mt("\n"),W(Er),tt("\n")),Cr=Ie(Tr,yt,Fr('"'),(e=>e.replace(/\\\n\s*/g,"")),jr,xr.S6,mt("\n"),W(Er),tt("\n"));let Dr=function(e){return e.Plain="Plain",e.SingleQuoted="SingleQuoted",e.DoubleQuoted="DoubleQuoted",e.Literal="Literal",e.Folded="Folded",e.Explicit="Explicit",e.SinglePair="SinglePair",e.NextLine="NextLine",e.InLine="InLine",e}({}),Ur=function(e){return e.Flow="Flow",e.Block="Block",e}({});const Lr=Jt({props:{styleGroup:null,style:null}}),qr=Jt({methods:{test:e=>e.tag.kind===tr.Scalar&&"string"==typeof e.content,canonicalFormat(e){let t=e.content;const r=e.clone();return e.style===Dr.Plain?t=Rr(e.content):e.style===Dr.SingleQuoted?t=kr(e.content):e.style===Dr.DoubleQuoted?t=Cr(e.content):e.style===Dr.Literal?t=(e=>{const t=Ir(e),r=Nr(e),n=Tr(e),s=Ae(n.split("\n")),o=Pe(W(Mr(t)),W(Or("\n"))),i=ft(o,Te,"",s);return Pr(r,i)})(e.content):e.style===Dr.Folded&&(t=(e=>{const t=Ir(e),r=Nr(e),n=Tr(e),s=Ae(n.split("\n")),o=Pe(W(Mr(t)),W(Or("\n"))),i=ft(o,Te,"",s),a=jr(i);return Pr(r,a)})(e.content)),r.content=t,r},resolve:e=>e}}),Br=Jt(qr,{props:{tag:""}}),Vr=Jt(Br,{statics:{uri:"tag:yaml.org,2002:map"},init(e,t){let{stamp:r}=t;this.tag=r.uri},methods:{test:e=>e.tag.kind===tr.Mapping,resolve:e=>e}}),Zr=Jt(Br,{statics:{uri:"tag:yaml.org,2002:seq"},init(e,t){let{stamp:r}=t;this.tag=r.uri},methods:{test:e=>e.tag.kind===tr.Sequence,resolve:e=>e}}),Gr=Jt(Br,{statics:{uri:"tag:yaml.org,2002:str"},init(e,t){let{stamp:r}=t;this.tag=r.uri},methods:{resolve:e=>e}}),Hr=Jt({props:{tags:[],tagDirectives:[]},init(){this.tags=[],this.tagDirectives=[],this.registerTag(Vr()),this.registerTag(Zr()),this.registerTag(Gr())},methods:{toSpecificTagName(e){let t=e.tag.explicitName;return"!"===e.tag.explicitName?e.tag.kind===tr.Scalar?t=Gr.uri:e.tag.kind===tr.Sequence?t=Zr.uri:e.tag.kind===tr.Mapping&&(t=Vr.uri):e.tag.explicitName.startsWith("!<")?t=e.tag.explicitName.replace(/^!</,"").replace(/>$/,""):e.tag.explicitName.startsWith("!!")&&(t=`tag:yaml.org,2002:${e.tag.explicitName.replace(/^!!/,"")}`),t},registerTagDirective(e){this.tagDirectives.push({handle:e.parameters.handle,prefix:e.parameters.prefix})},registerTag(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?this.tags.unshift(e):this.tags.push(e),this},overrideTag(e){return this.tags=this.tags.filter((t=>t.tag===e.tag)),this.tags.push(e),this},resolve(e){const t=this.toSpecificTagName(e);if("?"===t)return e;let r=e;e.tag.kind===tr.Scalar&&(r=qr().canonicalFormat(e));const n=this.tags.find((e=>(null==e?void 0:e.tag)===t));if(void 0===n)throw new Error(`Tag "${t}" couldn't be resolved`);if(!n.test(r))throw new Error(`Node couldn't be resolved against tag "${t}"`);return n.resolve(r)}}}),zr=Jt(Br,{statics:{uri:"tag:yaml.org,2002:bool"},init(e,t){let{stamp:r}=t;this.tag=r.uri},methods:{test:e=>/^(true|false)$/.test(e.content),resolve(e){const t="true"===e.content,r=e.clone();return r.content=t,r}}}),Wr=Jt(Br,{statics:{uri:"tag:yaml.org,2002:float"},init(e,t){let{stamp:r}=t;this.tag=r.uri},methods:{test:e=>/^-?(0|[1-9][0-9]*)(\.[0-9]*)?([eE][-+]?[0-9]+)?$/.test(e.content),resolve(e){const t=parseFloat(e.content),r=e.clone();return r.content=t,r}}}),$r=Jt(Br,{statics:{uri:"tag:yaml.org,2002:int"},init(e,t){let{stamp:r}=t;this.tag=r.uri},methods:{test:e=>/^-?(0|[1-9][0-9]*)$/.test(e.content),resolve(e){const t=parseInt(e.content,10),r=e.clone();return r.content=t,r}}}),Kr=Jt(Br,{statics:{uri:"tag:yaml.org,2002:null"},init(e,t){let{stamp:r}=t;this.tag=r.uri},methods:{test:e=>/^null$/.test(e.content),resolve(e){const t=e.clone();return t.content=null,t}}}),Yr=Jt(Hr,{init(){this.registerTag(zr(),!0),this.registerTag(Wr(),!0),this.registerTag($r(),!0),this.registerTag(Kr(),!0)},methods:{toSpecificTagName(e){let t=Hr.compose.methods.toSpecificTagName.call(this,e);if("?"===t)if(e.tag.vkind===tr.Sequence)t=Zr.uri;else if(e.tag.kind===tr.Mapping)t=Vr.uri;else if(e.tag.kind===tr.Scalar){const r=this.tags.find((t=>t.test(e)));t=(null==r?void 0:r.tag)||"?"}return t}}}),Xr=(e,t,r)=>{const n=e[t];if(null!=n){if(!r&&"function"==typeof n)return n;const e=r?n.leave:n.enter;if("function"==typeof e)return e}else{const n=r?e.leave:e.enter;if(null!=n){if("function"==typeof n)return n;const e=n[t];if("function"==typeof e)return e}}return null},Qr={},Jr=e=>null==e?void 0:e.type,en=e=>"string"==typeof Jr(e),tn=function(e,t){let{keyMap:r=null,state:n={},breakSymbol:s=Qr,deleteNodeSymbol:o=null,skipVisitingNodeSymbol:i=!1,visitFnGetter:a=Xr,nodeTypeGetter:l=Jr,nodePredicate:u=en,detectCycles:c=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const _=r||{};let p,d,m=Array.isArray(e),f=[e],h=-1,y=[];const g=[],b=[];let v=e;do{h+=1;const e=h===f.length;let r,w;const E=e&&0!==y.length;if(e){if(r=0===b.length?void 0:g.pop(),w=d,d=b.pop(),E){w=m?w.slice():Object.create(Object.getPrototypeOf(w),Object.getOwnPropertyDescriptors(w));let e=0;for(let t=0;t<y.length;t+=1){let r=y[t][0];const n=y[t][1];m&&(r-=e),m&&n===o?(w.splice(r,1),e+=1):w[r]=n}}h=p.index,f=p.keys,y=p.edits,m=p.inArray,p=p.prev}else{if(r=d?m?h:f[h]:void 0,w=d?d[r]:v,w===o||void 0===w)continue;d&&g.push(r)}if(b.includes(w))continue;let S;if(!Array.isArray(w)){if(!u(w))throw new Error(`Invalid AST Node: ${JSON.stringify(w)}`);if(c&&b.includes(w)){g.pop();continue}const o=a(t,l(w),e);if(o){for(const[e,r]of Object.entries(n))t[e]=r;if(S=o.call(t,w,r,d,g,b),S===s)break;if(S===i){if(!e){g.pop();continue}}else if(void 0!==S&&(y.push([r,S]),!e)){if(!u(S)){g.pop();continue}w=S}}}void 0===S&&E&&y.push([r,w]),e||(p={inArray:m,index:h,keys:f,edits:y,prev:p},m=Array.isArray(w),f=m?w:_[l(w)]||[],h=-1,y=[],d&&b.push(d),d=w)}while(void 0!==p);return 0!==y.length&&([,v]=y[y.length-1]),v};tn[Symbol.for("nodejs.util.promisify.custom")]=async function(e,t){let{keyMap:r=null,state:n={},breakSymbol:s=Qr,deleteNodeSymbol:o=null,skipVisitingNodeSymbol:i=!1,visitFnGetter:a=Xr,nodeTypeGetter:l=Jr,nodePredicate:u=en,detectCycles:c=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const _=r||{};let p,d,m=Array.isArray(e),f=[e],h=-1,y=[];const g=[],b=[];let v=e;do{h+=1;const e=h===f.length;let r,w;const E=e&&0!==y.length;if(e){if(r=0===b.length?void 0:g.pop(),w=d,d=b.pop(),E){w=m?w.slice():Object.create(Object.getPrototypeOf(w),Object.getOwnPropertyDescriptors(w));let e=0;for(let t=0;t<y.length;t+=1){let r=y[t][0];const n=y[t][1];m&&(r-=e),m&&n===o?(w.splice(r,1),e+=1):w[r]=n}}h=p.index,f=p.keys,y=p.edits,m=p.inArray,p=p.prev}else{if(r=d?m?h:f[h]:void 0,w=d?d[r]:v,w===o||void 0===w)continue;d&&g.push(r)}let S;if(!Array.isArray(w)){if(!u(w))throw new Error(`Invalid AST Node: ${JSON.stringify(w)}`);if(c&&b.includes(w)){g.pop();continue}const o=a(t,l(w),e);if(o){for(const[e,r]of Object.entries(n))t[e]=r;if(S=await o.call(t,w,r,d,g,b),S===s)break;if(S===i){if(!e){g.pop();continue}}else if(void 0!==S&&(y.push([r,S]),!e)){if(!u(S)){g.pop();continue}w=S}}}void 0===S&&E&&y.push([r,w]),e||(p={inArray:m,index:h,keys:f,edits:y,prev:p},m=Array.isArray(w),f=m?w:_[l(w)]||[],h=-1,y=[],d&&b.push(d),d=w)}while(void 0!==p);return 0!==y.length&&([,v]=y[y.length-1]),v};const rn=Jt({statics:{type:"point"},props:{type:"point",row:null,column:null,char:null},init(){let{row:e=null,column:t=null,char:r=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.row=e,this.column=t,this.char=r}}),nn=Jt({statics:{type:"position"},props:{type:"position",start:null,end:null},init(){let{start:e=null,end:t=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.start=e,this.end=t}}),sn=Jt(er,{statics:{type:"anchor"},props:{name:null},init(){let{name:e=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.name=e}}),on=Jt(er,{props:{anchor:null,tag:null,style:null,styleGroup:null},init(){let{anchor:e=null,tag:t=null,style:r=null,styleGroup:n=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.anchor=e,this.tag=t,this.style=r,this.styleGroup=n}}),an=Jt(on,{statics:{type:"scalar"},props:{content:""},init(){let{content:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.content=e}}),ln=Jt(er,{statics:{type:"literal"},props:{value:null},init(){let{value:e=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.value=e}}),un=(e,t)=>(null==t?void 0:t.type)===e,cn=(un.bind(void 0,"literal"),un.bind(void 0,"position"),un.bind(void 0,"point"),un.bind(void 0,"parseResult"),un.bind(void 0,"stream"),un.bind(void 0,"document")),_n=un.bind(void 0,"mapping"),pn=un.bind(void 0,"sequence"),dn=un.bind(void 0,"keyValuePair"),mn=(un.bind(void 0,"tag"),un.bind(void 0,"scalar")),fn=un.bind(void 0,"alias"),hn=(un.bind(void 0,"directive"),un.bind(void 0,"comment")),yn=Jt(er,{statics:{type:"stream"},propertyDescriptors:{content:{get(){return Array.isArray(this.children)?this.children.filter((e=>cn(e)||hn(e))):[]},enumerable:!0}}}),gn=Jt(er,{statics:{type:"parseResult"},methods:{get rootNode(){return He(this.children)}}}),bn=Jt(er,{statics:{type:"directive"},props:{name:null,parameters:null},init(){let{name:e=null,parameters:t={}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.name=e,this.parameters=it({version:null,handle:null,prefix:null},t)}}),vn=Jt(er,{statics:{type:"document"}}),wn=Jt(on,{}),En=Jt(wn,{statics:{type:"mapping"},propertyDescriptors:{content:{get(){return Array.isArray(this.children)?this.children.filter(dn):[]},enumerable:!0}}}),Sn=Jt(er,Lr,{statics:{type:"keyValuePair"},propertyDescriptors:{key:{get(){return this.children.filter((e=>mn(e)||_n(e)||pn(e)))[0]},enumerable:!0},value:{get(){const{key:e,children:t}=this;return t.filter((t=>(t=>t!==e)(t)&&(e=>mn(e)||_n(e)||pn(e)||fn(e))(t)))[0]},enumerable:!0}}}),Mn=Jt(wn,{statics:{type:"sequence"},propertyDescriptors:{content:{get(){const{children:e}=this;return Array.isArray(e)?e.filter((e=>pn(e)||_n(e)||mn(e)||fn(e))):[]},enumerable:!0}}}),On=Jt(er,{statics:{type:"comment"},props:{content:null},init(){let{content:e=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.content=e}}),xn=Jt(er,{statics:{type:"error"},props:{value:null,isUnexpected:!1},init(){let{value:e=null,isUnexpected:t=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.value=e,this.isUnexpected=t}}),An={stream:["children"],document:["children"],mapping:["children"],keyValuePair:["children"],sequence:["children"],error:["children"]},In=e=>Array.isArray(e)||en(e),Nn=Jt({props:{schema:null},init(){const e=e=>{if(null===e)return null;const t=rn({row:e.startPosition.row,column:e.startPosition.column,char:e.startIndex}),r=rn({row:e.endPosition.row,column:e.endPosition.column,char:e.endIndex});return nn({start:t,end:r})},t=t=>{var r;let{previousSibling:n}=t;for(;null!==n&&"tag"!==n.type;)({previousSibling:n}=n);const s=null!==(r=n)&&void 0!==r&&r.text||"plain_scalar"===t.type?"?":"!",o=t.type.endsWith("mapping")?tr.Mapping:t.type.endsWith("sequence")?tr.Sequence:tr.Scalar,i=e(n);return rr({explicitName:s,kind:o,position:i})},r=t=>{let{previousSibling:r}=t;for(;null!==r&&"anchor"!==r.type;)({previousSibling:r}=r);return null===r?null:sn({name:r.text,position:e(r)})},n=e=>t=>"string"==typeof(null==t?void 0:t.type)&&t.type.endsWith(e),s=n("scalar"),o=n("mapping"),i=n("sequence"),a=(e,t)=>{var r;return`${e}Node`in t?t[`${e}Node`]:"childForFieldName"in t?null===(r=t.childForFieldName)||void 0===r?void 0:r.call(t,e):null},l=e=>{if("block_mapping_pair"!==e.type&&"flow_pair"!==e.type)return!1;return null===a("key",e)},u=e=>{if("block_mapping_pair"!==e.type&&"flow_pair"!==e.type)return!1;return null===a("value",e)},c=t=>{const r=rn({row:t.startPosition.row,column:t.startPosition.column,char:t.startIndex}),s=a("key",t),o=(null==s?void 0:s.children)||[],i=o.find(n("tag")),l=o.find(n("anchor")),u=rr(void 0!==i?{explicitName:i.text,kind:tr.Scalar,position:e(i)}:{explicitName:"?",kind:tr.Scalar}),c=void 0!==l?sn({name:l.text,position:e(l)}):null;return an({content:"",position:nn({start:r,end:r}),tag:u,anchor:c,styleGroup:Ur.Flow,style:Dr.Plain})},_=t=>{const r=rn({row:t.endPosition.row,column:t.endPosition.column,char:t.endIndex}),s=a("value",t),o=(null==s?void 0:s.children)||[],i=o.find(n("tag")),l=o.find(n("anchor")),u=rr(void 0!==i?{explicitName:i.text,kind:tr.Scalar,position:e(i)}:{explicitName:"?",kind:tr.Scalar}),c=void 0!==l?sn({name:l.text,position:e(l)}):null;return an({content:"",position:nn({start:r,end:r}),tag:u,anchor:c,styleGroup:Ur.Flow,style:Dr.Plain})};this.enter=function(t){if("function"==typeof t.isNamed&&!t.isNamed()||!1===t.isNamed){const r=e(t),n=t.type||t.text,s=t.isMissing();return ln({value:n,position:r,isMissing:s})}},this.stream={enter(t){const r=e(t);return yn({children:t.children,position:r,isMissing:t.isMissing()})},leave:e=>gn({children:[e]})},this.yaml_directive={enter(t){var r;const n=e(t),s=(null==t||null===(r=t.firstNamedChild)||void 0===r?void 0:r.text)||null;return bn({position:n,name:"%YAML",parameters:{version:s}})}},this.tag_directive={enter(t){const r=e(t),n=t.child(0),s=t.child(1),o=bn({position:r,name:"%TAG",parameters:{handle:(null==n?void 0:n.text)||null,prefix:(null==s?void 0:s.text)||null}});return this.schema.registerTagDirective(o),o}},this.reserved_directive={enter(t){const r=e(t),n=t.child(0),s=t.child(1),o=t.child(2);return bn({position:r,name:(null==n?void 0:n.text)||null,parameters:{handle:(null==s?void 0:s.text)||null,prefix:(null==o?void 0:o.text)||null}})}},this.document={enter(t){const r=e(t);return vn({children:t.children,position:r,isMissing:t.isMissing()})},leave(e){e.children=e.children.flat()}},this.block_node={enter:e=>e.children},this.flow_node={enter(e){const[n]=e.children.slice(-1);if(s(n)||o(n)||i(n))return e.children;const a=rn({row:n.endPosition.row,column:n.endPosition.column,char:n.endIndex}),l=an({content:"",anchor:r(n),tag:t(n),position:nn({start:a,end:a}),styleGroup:Ur.Flow,style:Dr.Plain});return[...e.children,l]}},this.tag={enter:()=>null},this.anchor={enter:()=>null},this.block_mapping={enter(n){const s=e(n),o=t(n),i=r(n),a=En({children:n.children,position:s,anchor:i,tag:o,styleGroup:Ur.Block,style:Dr.NextLine,isMissing:n.isMissing()});return this.schema.resolve(a)}},this.block_mapping_pair={enter(t){const r=e(t),n=[...t.children];if(l(t)){const e=c(t);n.unshift(e)}if(u(t)){const e=_(t);n.push(e)}return Sn({children:n,position:r,styleGroup:Ur.Block,isMissing:t.isMissing()})}},this.flow_mapping={enter(n){const s=e(n),o=t(n),i=r(n),a=En({children:n.children,position:s,anchor:i,tag:o,styleGroup:Ur.Flow,style:Dr.Explicit,isMissing:n.isMissing()});return this.schema.resolve(a)}},this.flow_pair={enter(t){const r=e(t),n=[...t.children];if(l(t)){const e=c(t);n.unshift(e)}if(u(t)){const e=_(t);n.push(e)}return Sn({children:n,position:r,styleGroup:Ur.Flow,isMissing:t.isMissing()})}},this.keyValuePair={leave(e){e.children=e.children.flat()}},this.block_sequence={enter(n){const s=e(n),o=t(n),i=r(n),a=Mn({children:n.children,position:s,anchor:i,tag:o,styleGroup:Ur.Block,style:Dr.NextLine});return this.schema.resolve(a)}},this.block_sequence_item={enter(e){if(e.children.length>1)return e.children;const t=rn({row:e.endPosition.row,column:e.endPosition.column,char:e.endIndex});return[an({content:"",anchor:null,tag:rr({explicitName:"?",kind:tr.Scalar}),position:nn({start:t,end:t}),styleGroup:Ur.Flow,style:Dr.Plain})]}},this.flow_sequence={enter(n){const s=e(n),o=t(n),i=r(n),a=Mn({children:n.children.flat(),position:s,anchor:i,tag:o,styleGroup:Ur.Flow,style:Dr.Explicit});return this.schema.resolve(a)}},this.sequence={leave(e){e.children=e.children.flat(1/0)}},this.plain_scalar={enter(n){const s=e(n),o=t(n),i=r(n),a=an({content:n.text,anchor:i,tag:o,position:s,styleGroup:Ur.Flow,style:Dr.Plain});return this.schema.resolve(a)}},this.single_quote_scalar={enter(n){const s=e(n),o=t(n),i=r(n),a=an({content:n.text,anchor:i,tag:o,position:s,styleGroup:Ur.Flow,style:Dr.SingleQuoted});return this.schema.resolve(a)}},this.double_quote_scalar={enter(n){const s=e(n),o=t(n),i=r(n),a=an({content:n.text,anchor:i,tag:o,position:s,styleGroup:Ur.Flow,style:Dr.DoubleQuoted});return this.schema.resolve(a)}},this.block_scalar={enter(n){const s=e(n),o=t(n),i=r(n),a=n.text.startsWith("|")?Dr.Literal:n.text.startsWith(">")?Dr.Folded:null,l=an({content:n.text,anchor:i,tag:o,position:s,styleGroup:Ur.Block,style:a});return this.schema.resolve(l)}},this.comment={enter:e=>On({content:e.text})},this.ERROR=function(t,r,n,s){const o=e(t),i=xn({children:t.children,position:o,isUnexpected:!t.hasError(),isMissing:t.isMissing(),value:t.text});return 0===s.length?gn({children:[i]}):i}}}),Pn=Nn;var Tn=__webpack_require__(229),jn=__webpack_require__(2185),Fn=__webpack_require__(9982);function Rn(e){return Rn="function"==typeof jn&&"symbol"==typeof Fn?function(e){return typeof e}:function(e){return e&&"function"==typeof jn&&e.constructor===jn&&e!==jn.prototype?"symbol":typeof e},Rn(e)}var kn=__webpack_require__(8241);function Cn(e){var t=function(e,t){if("object"!==Rn(e)||null===e)return e;var r=e[kn];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==Rn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Rn(t)?t:String(t)}function Dn(e,t,r){return(t=Cn(t))in e?Tn(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Un=__webpack_require__(5090),Ln=__webpack_require__(2747),qn=__webpack_require__(5483);function Bn(e,t){if(null==e)return{};var r,n,s=function(e,t){if(null==e)return{};var r,n,s={},o=qn(e);for(n=0;n<o.length;n++)r=o[n],Ln(t).call(t,r)>=0||(s[r]=e[r]);return s}(e,t);if(Un){var o=Un(e);for(n=0;n<o.length;n++)r=o[n],Ln(t).call(t,r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(s[r]=e[r])}return s}const Vn=(e,t)=>"function"==typeof(null==t?void 0:t[e]),Zn=e=>null!=e&&Object.prototype.hasOwnProperty.call(e,"_storedElement")&&Object.prototype.hasOwnProperty.call(e,"_content"),Gn=(e,t)=>{var r;return(null==t||null===(r=t.primitive)||void 0===r?void 0:r.call(t))===e},Hn=(e,t)=>{var r,n;return(null==t||null===(r=t.classes)||void 0===r||null===(n=r.includes)||void 0===n?void 0:n.call(r,e))||!1},zn=(e,t)=>(null==t?void 0:t.element)===e,Wn=e=>e({hasMethod:Vn,hasBasicElementProps:Zn,primitiveEq:Gn,isElementType:zn,hasClass:Hn}),$n=Wn((e=>{let{hasBasicElementProps:t,primitiveEq:r}=e;return e=>e instanceof wt.W_||t(e)&&r(void 0,e)})),Kn=Wn((e=>{let{hasBasicElementProps:t,primitiveEq:r}=e;return e=>e instanceof wt.RP||t(e)&&r("string",e)})),Yn=Wn((e=>{let{hasBasicElementProps:t,primitiveEq:r}=e;return e=>e instanceof wt.VL||t(e)&&r("number",e)})),Xn=Wn((e=>{let{hasBasicElementProps:t,primitiveEq:r}=e;return e=>e instanceof wt.zr||t(e)&&r("null",e)})),Qn=Wn((e=>{let{hasBasicElementProps:t,primitiveEq:r}=e;return e=>e instanceof wt.hh||t(e)&&r("boolean",e)})),Jn=Wn((e=>{let{hasBasicElementProps:t,primitiveEq:r,hasMethod:n}=e;return e=>e instanceof wt.Sb||t(e)&&r("object",e)&&n("keys",e)&&n("values",e)&&n("items",e)})),es=Wn((e=>{let{hasBasicElementProps:t,primitiveEq:r,hasMethod:n}=e;return e=>e instanceof wt.ON&&!(e instanceof wt.Sb)||t(e)&&r("array",e)&&n("push",e)&&n("unshift",e)&&n("map",e)&&n("reduce",e)})),ts=Wn((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof wt.c6||t(e)&&r("member",e)&&n(void 0,e)})),rs=Wn((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof wt.EA||t(e)&&r("link",e)&&n(void 0,e)})),ns=Wn((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof wt.tK||t(e)&&r("ref",e)&&n(void 0,e)})),ss=Wn((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Rt||t(e)&&r("annotation",e)&&n("array",e)})),os=Wn((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Ct||t(e)&&r("comment",e)&&n("string",e)})),is=Wn((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Ut||t(e)&&r("parseResult",e)&&n("array",e)})),as=Wn((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof qt||t(e)&&r("sourceMap",e)&&n("array",e)})),ls=e=>zn("object",e)||zn("array",e)||zn("boolean",e)||zn("number",e)||zn("string",e)||zn("null",e)||zn("member",e),us=e=>{var t,r;return as(null==e||null===(t=e.meta)||void 0===t||null===(r=t.get)||void 0===r?void 0:r.call(t,"sourceMap"))},cs=(e,t)=>{if(0===e.length)return!0;const r=t.attributes.get("symbols");return!!es(r)&&p(Sr(r.toValue()),e)},_s=(e,t)=>0===e.length||p(Sr(t.classes.toValue()),e),ps=["keyMap"],ds=["keyMap"];function ms(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function fs(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ms(Object(r),!0).forEach((function(t){Dn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ms(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const hs=e=>Jn(e)?"ObjectElement":es(e)?"ArrayElement":ts(e)?"MemberElement":Kn(e)?"StringElement":Qn(e)?"BooleanElement":Yn(e)?"NumberElement":Xn(e)?"NullElement":rs(e)?"LinkElement":ns(e)?"RefElement":void 0,ys=Ie(hs,Ht),gs={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]},bs=(Jt({props:{result:[],predicate:r,returnOnTrue:void 0,returnOnFalse:void 0},init(){let{predicate:e=this.predicate,returnOnTrue:t=this.returnOnTrue,returnOnFalse:r=this.returnOnFalse}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.result=[],this.predicate=e,this.returnOnTrue=t,this.returnOnFalse=r},methods:{enter(e){return this.predicate(e)?(this.result.push(e),this.returnOnTrue):this.returnOnFalse}}}),function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{keyMap:n=gs}=r,s=Bn(r,ps);return tn(e,t,fs({keyMap:n,nodeTypeGetter:hs,nodePredicate:ys},s))});bs[Symbol.for("nodejs.util.promisify.custom")]=async function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{keyMap:n=gs}=r,s=Bn(r,ds);return tn[Symbol.for("nodejs.util.promisify.custom")](e,t,fs({keyMap:n,nodeTypeGetter:hs,nodePredicate:ys},s))};const vs=Se(It);const ws=Ee(z(1,It(Array.isArray)?Array.isArray:Ie(M,We("Array"))),et);const Es=z(3,(function(e,t,r){var n=st(e,r),s=st(Xe(e),r);if(!vs(n)&&!ws(e)){var o=se(n,s);return ye(o,t)}}));function Ss(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const Ms=()=>({predicates:function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ss(Object(r),!0).forEach((function(t){Dn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ss(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e),namespace:Gt}),Os=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(0===t.length)return e;const n=_t(Ms,"toolboxCreator",r),s=_t({},"visitorOptions",r),o=_t(hs,"nodeTypeGetter",s),i=n(),a=t.map((e=>e(i))),l=function(e){let{visitFnGetter:t=Xr,nodeTypeGetter:r=Jr}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=new Array(e.length);return{enter(s){for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];for(let o=0;o<e.length;o+=1)if(null==n[o]){const a=t(e[o],r(s),!1);if("function"==typeof a){const t=a.call(e[o],s,...i);if(!1===t)n[o]=s;else if(t===Qr)n[o]=Qr;else if(void 0!==t)return t}}},leave(s){for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];for(let o=0;o<e.length;o+=1)if(null==n[o]){const a=t(e[o],r(s),!0);if("function"==typeof a){const t=a.call(e[o],s,...i);if(t===Qr)n[o]=Qr;else if(void 0!==t&&!1!==t)return t}}else n[o]===s&&(n[o]=null)}}}(a.map(_t({},"visitor")),{nodeTypeGetter:o});a.forEach(Es(["pre"],[]));const u=bs(e,l,s);return a.forEach(Es(["post"],[])),u};function xs(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function As(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xs(Object(r),!0).forEach((function(t){Dn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xs(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const Is=(e,t)=>{let{Type:r,plugins:n=[]}=t;const s=new r(e);return Os(s,n,{toolboxCreator:Ms,visitorOptions:{nodeTypeGetter:hs}})},Ns=e=>function(t){return Is(t,As(As({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),{},{Type:e}))};function Ps(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}wt.Sb.refract=Ns(wt.Sb),wt.ON.refract=Ns(wt.ON),wt.RP.refract=Ns(wt.RP),wt.hh.refract=Ns(wt.hh),wt.zr.refract=Ns(wt.zr),wt.VL.refract=Ns(wt.VL),wt.EA.refract=Ns(wt.EA),wt.tK.refract=Ns(wt.tK),Rt.refract=Ns(Rt),Ct.refract=Ns(Ct),Ut.refract=Ns(Ut),qt.refract=Ns(qt);const Ts=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ps(Object(r),!0).forEach((function(t){Dn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ps(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({stream:["children"],document:["children"],mapping:["children"],keyValuePair:["children"],sequence:["children"],error:["children"]},gs),js=e=>$n(e)?hs(e):Jr(e),Fs=e=>$n(e)||en(e)||Array.isArray(e),Rs=Jt({props:{sourceMap:!1,processedDocumentCount:0,annotations:[],namespace:null},init(){const e=(e,t)=>{if(!this.sourceMap)return;const r=new qt;r.position=e.position,r.astNode=e,t.meta.set("sourceMap",r)};this.namespace=Zt(),this.annotations=[],this.stream={leave(e){const t=new Ut;t._content=e.children.flat(1);const r=t.findElements(ls);if(r.length>0){r[0].classes.push("result")}return this.annotations.forEach((e=>{t.push(e)})),this.annotations=[],t}},this.comment=function(t){if(0===this.processedDocumentCount){const r=new Ct(t.content);return e(t,r),r}return null},this.document=function(t){const r=1===this.processedDocumentCount,n=this.processedDocumentCount>=1;if(r){const r=new Rt("Only first document within YAML stream will be used. Rest will be discarded.");r.classes.push("warning"),e(t,r),this.annotations.push(r)}return n?null:(this.processedDocumentCount+=1,t.children)},this.mapping=function(t){const r=new wt.Sb;return r._content=t.children,e(t,r),r},this.keyValuePair=function(t){const r=new wt.c6;return r.content.key=t.key,r.content.value=t.value,e(t,r),t.children.filter((e=>"error"===e.type)).forEach((e=>{this.error(e,t,[],[t])})),r},this.sequence=function(t){const r=new wt.ON;return r._content=t.children,e(t,r),r},this.scalar=function(t){const r=this.namespace.toElement(t.content);return""===t.content&&t.style===Dr.Plain&&(r.classes.push("yaml-e-node"),r.classes.push("yaml-e-scalar")),e(t,r),r},this.literal=function(t){if(t.isMissing){const r=`(Missing ${t.value})`,n=new Rt(r);n.classes.push("warning"),e(t,n),this.annotations.push(n)}return null},this.error=function(t,r,n,s){const o=t.isUnexpected?`(Unexpected ${t.value})`:`(Error ${t.value})`,i=new Rt(o);if(i.classes.push("error"),e(t,i),0===s.length){const e=new Ut;return e.push(i),e}return this.annotations.push(i),null}}}),ks=function(e){let{sourceMap:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=Pn(),n=Rs(),s=Yr(),o=tn(e.rootNode,r,{keyMap:An,nodePredicate:In,state:{schema:s,sourceMap:t}});return tn(o.rootNode,n,{keyMap:Ts,nodeTypeGetter:js,nodePredicate:Fs,state:{sourceMap:t}})},Cs=(e,t)=>{const r=Re(e,t);return ot((e=>{if(jt(e)&&Ge("$ref",e)&&pt(Ht,"$ref",e)){const t=st(["$ref"],e),n=Mr("#/",t);return st(n.split("/"),r)}return jt(e)?Cs(e,r):e}),e)},Ds=Jt({props:{element:null},methods:{copyMetaAndAttributes(e,t){us(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),Us=Jt(Ds,{methods:{enter(e){return this.element=e.clone(),Qr}}});function Ls(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const qs=e=>{if($n(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Bs=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ls(Object(r),!0).forEach((function(t){Dn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ls(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({MainElement:["content"],InfoElement:["content"],PrincipleElement:["content"],StandardElement:["content"],ScenarioElement:["content"],RequirementElement:["content"],StandardIdentifierElement:["content"],RequirementLevelElement:[]},gs);function Vs(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Zs(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Vs(Object(r),!0).forEach((function(t){Dn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vs(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const Gs=Jt(Ds,{props:{specObj:null},init(e){let{specObj:t=this.specObj}=e;this.specObj=t},methods:{retrievePassingOptions(){return ct(["namespace","specObj"],this)},retrieveFixedFields(e){return Ie(st(["visitors",...e,"fixedFields"]),S)(this.specObj)},retrieveVisitor(e){return ut(It,["visitors",...e],this.specObj)?st(["visitors",...e],this.specObj):st(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=this.retrievePassingOptions();return this.retrieveVisitor(e)(Zs(Zs({},r),t))},toRefractedElement(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=this.retrieveVisitorInstance(e,r),s=Object.getPrototypeOf(n);return bt(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===s?t.clone():(bs(t,n,Zs(Zs({keyMap:Bs},r),{},{nodeTypeGetter:qs})),n.element)}}});class Hs extends wt.RP{constructor(e,t,r){super(e,t,r),this.element="requirementLevel"}}const zs=Hs,Ws=Jt(Gs,Us,{methods:{StringElement(e){const t=new zs(e.toValue());return this.copyMetaAndAttributes(e,t),this.element=t,Qr}}});class $s extends wt.ON{constructor(e,t,r){super(e,t,r),this.element="standardIdentifier"}}const Ks=$s,Ys=Jt(Gs,Us,{init(){this.element=new Ks},methods:{ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","StandardIdentifier"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Qr}}});class Xs extends wt.Sb{constructor(e,t,r){super(e,t,r),this.element="requirement"}get subject(){return this.get("subject")}set subject(e){this.set("subject",e)}get level(){return this.get("level")}set level(e){this.set("level",e)}get values(){return this.get("values")}set values(e){this.set("values",e)}get follows(){return this.get("follows")}set follows(e){this.set("follows",e)}}const Qs=Xs;const Js=Jt(Gs,{props:{specPath:_e(gt()),ignoredFields:[]},init(){let{specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){const t=this.specPath(e),r=this.retrieveFixedFields(t);return e.forEach(((e,n,s)=>{if(Kn(n)&&r.includes(n.toValue())&&!this.ignoredFields.includes(n.toValue())){const r=this.toRefractedElement([...t,"fixedFields",n.toValue()],e),o=new wt.c6(n.clone(),r);o.classes.push("fixed-field"),this.copyMetaAndAttributes(s,o),this.element.content.push(o)}else this.ignoredFields.includes(n.toValue())||this.element.content.push(s.clone())})),this.copyMetaAndAttributes(e,this.element),Qr}}}),eo=Jt(Js,Us,{props:{specPath:_e(["document","objects","Requirement"])},init(){this.element=new Qs}}),to=Us,ro=Us;class no extends wt.Sb{constructor(e,t,r){super(e,t,r),this.element="scenario"}get description(){return this.get("description")}set description(e){this.set("description",e)}get when(){return this.get("when")}set when(e){this.set("when",e)}get then(){return this.get("then")}set then(e){this.set("then",e)}}const so=no,oo=Jt(Js,Us,{props:{specPath:_e(["document","objects","Scenario"])},init(){this.element=new so}}),io=Us,ao=Jt(Gs,Us,{init(){this.element=new wt.ON,this.element.classes.push("scenario-then")},methods:{ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","Requirement"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Qr}}});class lo extends wt.Sb{constructor(e,t,r){super(e,t,r),this.element="standard"}get name(){return this.get("name")}set name(e){this.set("name",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get iri(){return this.get("iri")}set iri(e){this.set("iri",e)}get level(){return this.get("level")}set level(e){this.set("level",e)}}const uo=lo,co=Jt(Js,Us,{props:{specPath:_e(["document","objects","Standard"])},init(){this.element=new uo}}),_o=Us,po=Us,mo=Us;class fo extends wt.Sb{constructor(e,t,r){super(e,t,r),this.element="principle"}get name(){return this.get("name")}set name(e){this.set("name",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get iri(){return this.get("iri")}set iri(e){this.set("iri",e)}get level(){return this.get("level")}set level(e){this.set("level",e)}}const ho=fo,yo=Jt(Js,Us,{props:{specPath:_e(["document","objects","Principle"])},init(){this.element=new ho}}),go=Us,bo=Us,vo=Us;class wo extends wt.Sb{constructor(e,t,r){super(e,t,r),this.element="info"}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}}const Eo=wo,So=Jt(Js,Us,{props:{specPath:_e(["document","objects","Info"])},init(){this.element=new Eo}}),Mo=Us,Oo=Us;class xo extends wt.Sb{constructor(e,t,r){super(e,t,r),this.element="main",this.classes.push("api")}get version(){return this.get("version")}set version(e){this.set("version",e)}get info(){return this.get("info")}set info(e){this.set("info",e)}get principles(){return this.get("principles")}set principles(e){this.set("principles",e)}get standards(){return this.get("standards")}set standards(e){this.set("standards",e)}get scenarios(){return this.get("scenarios")}set scenarios(e){this.set("scenarios",e)}}const Ao=xo,Io={visitors:{value:Us,document:{objects:{Main:{$visitor:Jt(Js,Us,{props:{specPath:_e(["document","objects","Main"])},init(){this.element=new Ao}}),fixedFields:{version:Us,info:{$ref:"#/visitors/document/objects/Info"},principles:Jt(Gs,Us,{init(){this.element=new wt.ON,this.element.classes.push("main-principles")},methods:{ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","Principle"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Qr}}}),standards:Jt(Gs,Us,{init(){this.element=new wt.ON,this.element.classes.push("main-standards")},methods:{ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","Standard"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Qr}}}),scenarios:Jt(Gs,Us,{init(){this.element=new wt.ON,this.element.classes.push("main-scenarios")},methods:{ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","Scenario"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Qr}}})}},Info:{$visitor:So,fixedFields:{title:Mo,description:Oo}},Principle:{$visitor:yo,fixedFields:{name:go,description:bo,iri:vo,level:{$ref:"#/visitors/document/objects/RequirementLevel"}}},Standard:{$visitor:co,fixedFields:{name:_o,description:po,level:{$ref:"#/visitors/document/objects/RequirementLevel"},iri:mo}},Scenario:{$visitor:oo,fixedFields:{description:io,when:{$ref:"#/visitors/document/objects/StandardIdentifier"},then:ao}},Requirement:{$visitor:eo,fixedFields:{subject:{$ref:"#/visitors/document/objects/StandardIdentifier"},level:{$ref:"#/visitors/document/objects/RequirementLevel"},values:to,follows:ro}},StandardIdentifier:Ys,RequirementLevel:Ws}}}},No=Wn((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Ao||t(e)&&r("main",e)&&n("object",e)})),Po=Wn((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Eo||t(e)&&r("info",e)&&n("object",e)})),To=Wn((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof ho||t(e)&&r("principle",e)&&n("object",e)})),jo=Wn((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Qs||t(e)&&r("requirement",e)&&n("object",e)})),Fo=Wn((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof zs||t(e)&&r("requirementLevel",e)&&n("string",e)})),Ro=Wn((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof so||t(e)&&r("scenario",e)&&n("object",e)})),ko=Wn((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof uo||t(e)&&r("standard",e)&&n("object",e)})),Co=Wn((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Ks||t(e)&&r("standardIdentifier",e)&&n("array",e)})),Do={namespace:e=>{const{base:t}=e;return t.register("info",Eo),t.register("main",Ao),t.register("principle",ho),t.register("requirement",Qs),t.register("requirementLevel",zs),t.register("scenario",so),t.register("standard",uo),t.register("standardIdentifier",Ks),t}};function Uo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Lo(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Uo(Object(r),!0).forEach((function(t){Dn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Uo(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const qo=()=>{const e=Zt(Do);return{predicates:Lo(Lo({},t),{},{isStringElement:Kn}),namespace:e}};function Bo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Vo(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Bo(Object(r),!0).forEach((function(t){Dn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Bo(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const Zo=function(e){let{specPath:t=["visitors","document","objects","Main","$visitor"],plugins:r=[]}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(0,wt.Qc)(e),s=Cs(Io),o=Es(t,[],s);return bs(n,o,{state:{specObj:s}}),Os(o.element,r,{toolboxCreator:qo,visitorOptions:{keyMap:Bs,nodeTypeGetter:qs}})},Go=e=>function(t){return Zo(t,Vo(Vo({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),{},{specPath:e}))};Ao.refract=Go(["visitors","document","objects","Main","$visitor"]),Eo.refract=Go(["visitors","document","objects","Info","$visitor"]),ho.refract=Go(["visitors","document","objects","Principle","$visitor"]),Qs.refract=Go(["visitors","document","objects","Requirement","$visitor"]),zs.refract=Go(["visitors","document","objects","RequirementLevel","$visitor"]),so.refract=Go(["visitors","document","objects","Scenario","$visitor"]),uo.refract=Go(["visitors","document","objects","Standards","$visitor"]),Ks.refract=Go(["visitors","document","objects","StandardIdentifier","$visitor"]);const Ho=class extends Array{constructor(){super(...arguments),Dn(this,"unknownMediaType","application/octet-stream")}filterByFormat(){throw new Error("Not implemented!")}findBy(){throw new Error("Not implemented")}latest(){throw new Error("Not implemented!")}};class zo extends Ho{filterByFormat(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"generic";const t="generic"===e?"apidesignsystems;version":e;return this.filter((e=>e.includes(t)))}findBy(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"2021-05-07",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"generic";const r="generic"===t?`apidesignsystems;version=${e}`:`apidesignsystems+${t};version=${e}`;return this.find((e=>e.includes(r)))||this.unknownMediaType}latest(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"generic";return rt(this.filterByFormat(e))}}const Wo=new zo("application/vnd.aai.apidesignsystems;version=2021-05-07","application/vnd.aai.apidesignsystems+json;version=2021-05-07","application/vnd.aai.apidesignsystems+yaml;version=2021-05-07"),$o=new zo(...Wo.filterByFormat("generic"),...Wo.filterByFormat("yaml")),Ko=/(?<YAML>^(["']?)version\2\s*:\s*(["']?)(?<version_yaml>2021-05-07)\3)|(?<JSON>"version"\s*:\s*"(?<version_json>2021-05-07)")/m,Yo=async e=>Ko.test(e)&&await(async e=>{try{return"ERROR"!==(await Qt(e)).rootNode.type}catch{return!1}})(e),Xo=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=_t({},"refractorOpts",t),n=at(["refractorOpts"],t),s=await async function(e){let{sourceMap:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=await Qt(e);return ks(r,{sourceMap:t})}(e,n),{result:o}=s;if(vt(o)){const e=Ao.refract(o,r);e.classes.push("result"),s.replaceResult(e)}return s},Qo=Zt(Do)})(),__webpack_exports__})()));
2
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.apidomParserAdapterApiDesignSystemsYaml=e():t.apidomParserAdapterApiDesignSystemsYaml=e()}(self,(()=>(()=>{var t={8385:(t,e,r)=>{var n=r(6174);t.exports=n},5271:(t,e,r)=>{var n=r(7820);t.exports=n},7574:(t,e,r)=>{var n=r(2);t.exports=n},33:(t,e,r)=>{var n=r(5636);t.exports=n},9821:(t,e,r)=>{var n=r(2285);r(7148),r(9031),r(1875),t.exports=n},8008:(t,e,r)=>{var n=r(8535);t.exports=n},164:(t,e,r)=>{var n=r(6042);t.exports=n},2089:(t,e,r)=>{r(2276);var n=r(5607);t.exports=n("Array").indexOf},2604:(t,e,r)=>{var n=r(8902),s=r(2089),i=Array.prototype;t.exports=function(t){var e=t.indexOf;return t===i||n(i,t)&&e===i.indexOf?s:e}},3512:(t,e,r)=>{r(297);var n=r(7545).Object,s=t.exports=function(t,e,r){return n.defineProperty(t,e,r)};n.defineProperty.sham&&(s.sham=!0)},2921:(t,e,r)=>{r(6187);var n=r(7545);t.exports=n.Object.getOwnPropertySymbols},8651:(t,e,r)=>{r(2647);var n=r(7545);t.exports=n.Object.keys},5008:(t,e,r)=>{r(9106),r(6663),r(6187),r(9781),r(492),r(6681),r(9594),r(3665),r(9017),r(1250),r(9786),r(503),r(6565),r(9322),r(3610),r(6886),r(3514),r(8671),r(8556),r(1367);var n=r(7545);t.exports=n.Symbol},994:(t,e,r)=>{r(8939),r(6663),r(5454),r(3665);var n=r(9207);t.exports=n.f("iterator")},290:(t,e,r)=>{r(2432),r(3610);var n=r(9207);t.exports=n.f("toPrimitive")},2747:(t,e,r)=>{var n=r(8385);t.exports=n},229:(t,e,r)=>{var n=r(5271);t.exports=n},5090:(t,e,r)=>{var n=r(7574);t.exports=n},5483:(t,e,r)=>{var n=r(33);t.exports=n},2185:(t,e,r)=>{var n=r(9821);r(177),r(3346),r(3520),r(6658),r(8658),r(2725),r(1806),r(4212),r(4592),r(6680),t.exports=n},9982:(t,e,r)=>{var n=r(8008);t.exports=n},8241:(t,e,r)=>{var n=r(164);t.exports=n},6235:(t,e,r)=>{var n=r(6447),s=r(9288),i=TypeError;t.exports=function(t){if(n(t))return t;throw i(s(t)+" is not a function")}},7757:(t,e,r)=>{var n=r(6447),s=String,i=TypeError;t.exports=function(t){if("object"==typeof t||n(t))return t;throw i("Can't set "+s(t)+" as a prototype")}},7423:t=>{t.exports=function(){}},1138:(t,e,r)=>{var n=r(5744),s=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw i(s(t)+" is not an object")}},8180:(t,e,r)=>{var n=r(101),s=r(7739),i=r(4104),o=function(t){return function(e,r,o){var a,c=n(e),u=i(c),l=s(o,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:o(!0),indexOf:o(!1)}},454:(t,e,r)=>{var n=r(8043),s=r(4120),i=r(2202),o=r(1795),a=r(4104),c=r(1321),u=s([].push),l=function(t){var e=1==t,r=2==t,s=3==t,l=4==t,p=6==t,f=7==t,h=5==t||p;return function(_,d,m,y){for(var g,v,b=o(_),w=i(b),E=n(d,m),x=a(w),O=0,j=y||c,S=e?j(_,x):r||f?j(_,0):void 0;x>O;O++)if((h||O in w)&&(v=E(g=w[O],O,b),t))if(e)S[O]=v;else if(v)switch(t){case 3:return!0;case 5:return g;case 6:return O;case 2:u(S,g)}else switch(t){case 4:return!1;case 7:u(S,g)}return p?-1:s||l?l:S}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},242:(t,e,r)=>{var n=r(6192),s=r(8182),i=r(4218),o=s("species");t.exports=function(t){return i>=51||!n((function(){var e=[];return(e.constructor={})[o]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},424:(t,e,r)=>{"use strict";var n=r(6192);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){return 1},1)}))}},1923:(t,e,r)=>{var n=r(7739),s=r(4104),i=r(9361),o=Array,a=Math.max;t.exports=function(t,e,r){for(var c=s(t),u=n(e,c),l=n(void 0===r?c:r,c),p=o(a(l-u,0)),f=0;u<l;u++,f++)i(p,f,t[u]);return p.length=f,p}},3096:(t,e,r)=>{var n=r(4120);t.exports=n([].slice)},3712:(t,e,r)=>{var n=r(4770),s=r(2091),i=r(5744),o=r(8182)("species"),a=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(s(e)&&(e===a||n(e.prototype))||i(e)&&null===(e=e[o]))&&(e=void 0)),void 0===e?a:e}},1321:(t,e,r)=>{var n=r(3712);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},9272:(t,e,r)=>{var n=r(4120),s=n({}.toString),i=n("".slice);t.exports=function(t){return i(s(t),8,-1)}},4696:(t,e,r)=>{var n=r(3471),s=r(6447),i=r(9272),o=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),o))?r:c?i(e):"Object"==(n=i(e))&&s(e.callee)?"Arguments":n}},4635:(t,e,r)=>{var n=r(6192);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},7271:t=>{t.exports=function(t,e){return{value:t,done:e}}},8711:(t,e,r)=>{var n=r(69),s=r(2760),i=r(774);t.exports=n?function(t,e,r){return s.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},774:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},9361:(t,e,r)=>{"use strict";var n=r(77),s=r(2760),i=r(774);t.exports=function(t,e,r){var o=n(e);o in t?s.f(t,o,i(0,r)):t[o]=r}},2807:(t,e,r)=>{var n=r(2760);t.exports=function(t,e,r){return n.f(t,e,r)}},9362:(t,e,r)=>{var n=r(8711);t.exports=function(t,e,r,s){return s&&s.enumerable?t[e]=r:n(t,e,r),t}},5098:(t,e,r)=>{var n=r(8576),s=Object.defineProperty;t.exports=function(t,e){try{s(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},69:(t,e,r)=>{var n=r(6192);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8382:t=>{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)=>{var n=r(8576),s=r(5744),i=n.document,o=s(i)&&s(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},9425:t=>{var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},7365:t=>{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=>{t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},4218:(t,e,r)=>{var n,s,i=r(8576),o=r(8989),a=i.process,c=i.Deno,u=a&&a.versions||c&&c.version,l=u&&u.v8;l&&(s=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!s&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(s=+n[1]),t.exports=s},5607:(t,e,r)=>{var n=r(7545);t.exports=function(t){return n[t+"Prototype"]}},2952:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3085:(t,e,r)=>{"use strict";var n=r(8576),s=r(6298),i=r(4914),o=r(6447),a=r(5141).f,c=r(9245),u=r(7545),l=r(8043),p=r(8711),f=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 s(t,this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var r,s,_,d,m,y,g,v,b,w=t.target,E=t.global,x=t.stat,O=t.proto,j=E?n:x?n[w]:(n[w]||{}).prototype,S=E?u:u[w]||p(u,w,{})[w],A=S.prototype;for(d in e)s=!(r=c(E?d:w+(x?".":"#")+d,t.forced))&&j&&f(j,d),y=S[d],s&&(g=t.dontCallGetSet?(b=a(j,d))&&b.value:j[d]),m=s&&g?g:e[d],s&&typeof y==typeof m||(v=t.bind&&s?l(m,n):t.wrap&&s?h(m):O&&o(m)?i(m):m,(t.sham||m&&m.sham||y&&y.sham)&&p(v,"sham",!0),p(S,d,v),O&&(f(u,_=w+"Prototype")||p(u,_,{}),p(u[_],d,m),t.real&&A&&(r||!A[d])&&p(A,d,m)))}},6192:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},6298:(t,e,r)=>{var n=r(2784),s=Function.prototype,i=s.apply,o=s.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(i):function(){return o.apply(i,arguments)})},8043:(t,e,r)=>{var n=r(4914),s=r(6235),i=r(2784),o=n(n.bind);t.exports=function(t,e){return s(t),void 0===e?t:i?o(t,e):function(){return t.apply(e,arguments)}}},2784:(t,e,r)=>{var n=r(6192);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},8922:(t,e,r)=>{var n=r(2784),s=Function.prototype.call;t.exports=n?s.bind(s):function(){return s.apply(s,arguments)}},2282:(t,e,r)=>{var n=r(69),s=r(4500),i=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,a=s(i,"name"),c=a&&"something"===function(){}.name,u=a&&(!n||n&&o(i,"name").configurable);t.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},6419:(t,e,r)=>{var n=r(4120),s=r(6235);t.exports=function(t,e,r){try{return n(s(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},4914:(t,e,r)=>{var n=r(9272),s=r(4120);t.exports=function(t){if("Function"===n(t))return s(t)}},4120:(t,e,r)=>{var n=r(2784),s=Function.prototype,i=s.call,o=n&&s.bind.bind(i,i);t.exports=n?o:function(t){return function(){return i.apply(t,arguments)}}},150:(t,e,r)=>{var n=r(7545),s=r(8576),i=r(6447),o=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(n[t])||o(s[t]):n[t]&&n[t][e]||s[t]&&s[t][e]}},9202:(t,e,r)=>{var n=r(4120),s=r(4770),i=r(6447),o=r(9272),a=r(4845),c=n([].push);t.exports=function(t){if(i(t))return t;if(s(t)){for(var e=t.length,r=[],n=0;n<e;n++){var u=t[n];"string"==typeof u?c(r,u):"number"!=typeof u&&"Number"!=o(u)&&"String"!=o(u)||c(r,a(u))}var l=r.length,p=!0;return function(t,e){if(p)return p=!1,e;if(s(this))return e;for(var n=0;n<l;n++)if(r[n]===t)return e}}}},5037:(t,e,r)=>{var n=r(6235),s=r(5646);t.exports=function(t,e){var r=t[e];return s(r)?void 0:n(r)}},8576:function(t,e,r){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)=>{var n=r(4120),s=r(1795),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(s(t),e)}},4535:t=>{t.exports={}},7403:(t,e,r)=>{var n=r(150);t.exports=n("document","documentElement")},188:(t,e,r)=>{var n=r(69),s=r(6192),i=r(7449);t.exports=!n&&!s((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},2202:(t,e,r)=>{var n=r(4120),s=r(6192),i=r(9272),o=Object,a=n("".split);t.exports=s((function(){return!o("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?a(t,""):o(t)}:o},9516:(t,e,r)=>{var n=r(4120),s=r(6447),i=r(6434),o=n(Function.toString);s(i.inspectSource)||(i.inspectSource=function(t){return o(t)}),t.exports=i.inspectSource},3326:(t,e,r)=>{var n,s,i,o=r(5278),a=r(8576),c=r(5744),u=r(8711),l=r(4500),p=r(6434),f=r(9766),h=r(4535),_="Object already initialized",d=a.TypeError,m=a.WeakMap;if(o||p.state){var y=p.state||(p.state=new m);y.get=y.get,y.has=y.has,y.set=y.set,n=function(t,e){if(y.has(t))throw d(_);return e.facade=t,y.set(t,e),e},s=function(t){return y.get(t)||{}},i=function(t){return y.has(t)}}else{var g=f("state");h[g]=!0,n=function(t,e){if(l(t,g))throw d(_);return e.facade=t,u(t,g,e),e},s=function(t){return l(t,g)?t[g]:{}},i=function(t){return l(t,g)}}t.exports={set:n,get:s,has:i,enforce:function(t){return i(t)?s(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!c(e)||(r=s(e)).type!==t)throw d("Incompatible receiver, "+t+" required");return r}}}},4770:(t,e,r)=>{var n=r(9272);t.exports=Array.isArray||function(t){return"Array"==n(t)}},6447:(t,e,r)=>{var n=r(8382),s=n.all;t.exports=n.IS_HTMLDDA?function(t){return"function"==typeof t||t===s}:function(t){return"function"==typeof t}},2091:(t,e,r)=>{var n=r(4120),s=r(6192),i=r(6447),o=r(4696),a=r(150),c=r(9516),u=function(){},l=[],p=a("Reflect","construct"),f=/^\s*(?:class|function)\b/,h=n(f.exec),_=!f.exec(u),d=function(t){if(!i(t))return!1;try{return p(u,l,t),!0}catch(t){return!1}},m=function(t){if(!i(t))return!1;switch(o(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return _||!!h(f,c(t))}catch(t){return!0}};m.sham=!0,t.exports=!p||s((function(){var t;return d(d.call)||!d(Object)||!d((function(){t=!0}))||t}))?m:d},9245:(t,e,r)=>{var n=r(6192),s=r(6447),i=/#|\.prototype\./,o=function(t,e){var r=c[a(t)];return r==l||r!=u&&(s(e)?n(e):!!e)},a=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";t.exports=o},5646:t=>{t.exports=function(t){return null==t}},5744:(t,e,r)=>{var n=r(6447),s=r(8382),i=s.all;t.exports=s.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=>{t.exports=!0},3236:(t,e,r)=>{var n=r(150),s=r(6447),i=r(8902),o=r(615),a=Object;t.exports=o?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return s(e)&&i(e.prototype,a(t))}},5695:(t,e,r)=>{"use strict";var n=r(4413).IteratorPrototype,s=r(2853),i=r(774),o=r(1284),a=r(7771),c=function(){return this};t.exports=function(t,e,r,u){var l=e+" Iterator";return t.prototype=s(n,{next:i(+!u,r)}),o(t,l,!1,!0),a[l]=c,t}},5297:(t,e,r)=>{"use strict";var n=r(3085),s=r(8922),i=r(5546),o=r(2282),a=r(6447),c=r(5695),u=r(9341),l=r(4469),p=r(1284),f=r(8711),h=r(9362),_=r(8182),d=r(7771),m=r(4413),y=o.PROPER,g=o.CONFIGURABLE,v=m.IteratorPrototype,b=m.BUGGY_SAFARI_ITERATORS,w=_("iterator"),E="keys",x="values",O="entries",j=function(){return this};t.exports=function(t,e,r,o,_,m,S){c(r,e,o);var A,P,k,N=function(t){if(t===_&&C)return C;if(!b&&t in T)return T[t];switch(t){case E:case x:case O:return function(){return new r(this,t)}}return function(){return new r(this)}},I=e+" Iterator",M=!1,T=t.prototype,F=T[w]||T["@@iterator"]||_&&T[_],C=!b&&F||N(_),R="Array"==e&&T.entries||F;if(R&&(A=u(R.call(new t)))!==Object.prototype&&A.next&&(i||u(A)===v||(l?l(A,v):a(A[w])||h(A,w,j)),p(A,I,!0,!0),i&&(d[I]=j)),y&&_==x&&F&&F.name!==x&&(!i&&g?f(T,"name",x):(M=!0,C=function(){return s(F,this)})),_)if(P={values:N(x),keys:m?C:N(E),entries:N(O)},S)for(k in P)(b||M||!(k in T))&&h(T,k,P[k]);else n({target:e,proto:!0,forced:b||M},P);return i&&!S||T[w]===C||h(T,w,C,{name:_}),d[e]=C,P}},4413:(t,e,r)=>{"use strict";var n,s,i,o=r(6192),a=r(6447),c=r(5744),u=r(2853),l=r(9341),p=r(9362),f=r(8182),h=r(5546),_=f("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(s=l(l(i)))!==Object.prototype&&(n=s):d=!0),!c(n)||o((function(){var t={};return n[_].call(t)!==t}))?n={}:h&&(n=u(n)),a(n[_])||p(n,_,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:d}},7771:t=>{t.exports={}},4104:(t,e,r)=>{var n=r(8445);t.exports=function(t){return n(t.length)}},7679:t=>{var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},2853:(t,e,r)=>{var n,s=r(1138),i=r(1187),o=r(2952),a=r(4535),c=r(7403),u=r(7449),l=r(9766),p="prototype",f="script",h=l("IE_PROTO"),_=function(){},d=function(t){return"<"+f+">"+t+"</"+f+">"},m=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;y="undefined"!=typeof document?document.domain&&n?m(n):(e=u("iframe"),r="java"+f+":",e.style.display="none",c.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(d("document.F=Object")),t.close(),t.F):m(n);for(var s=o.length;s--;)delete y[p][o[s]];return y()};a[h]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(_[p]=s(t),r=new _,_[p]=null,r[h]=t):r=y(),void 0===e?r:i.f(r,e)}},1187:(t,e,r)=>{var n=r(69),s=r(9600),i=r(2760),o=r(1138),a=r(101),c=r(7653);e.f=n&&!s?Object.defineProperties:function(t,e){o(t);for(var r,n=a(e),s=c(e),u=s.length,l=0;u>l;)i.f(t,r=s[l++],n[r]);return t}},2760:(t,e,r)=>{var n=r(69),s=r(188),i=r(9600),o=r(1138),a=r(77),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,p="enumerable",f="configurable",h="writable";e.f=n?i?function(t,e,r){if(o(t),e=a(e),o(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:f in r?r[f]:n[f],enumerable:p in r?r[p]:n[p],writable:!1})}return u(t,e,r)}:u:function(t,e,r){if(o(t),e=a(e),o(r),s)try{return u(t,e,r)}catch(t){}if("get"in r||"set"in r)throw c("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},5141:(t,e,r)=>{var n=r(69),s=r(8922),i=r(6007),o=r(774),a=r(101),c=r(77),u=r(4500),l=r(188),p=Object.getOwnPropertyDescriptor;e.f=n?p:function(t,e){if(t=a(t),e=c(e),l)try{return p(t,e)}catch(t){}if(u(t,e))return o(!s(i.f,t,e),t[e])}},4052:(t,e,r)=>{var n=r(9272),s=r(101),i=r(2092).f,o=r(1923),a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"Window"==n(t)?function(t){try{return i(t)}catch(t){return o(a)}}(t):i(s(t))}},2092:(t,e,r)=>{var n=r(7934),s=r(2952).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,s)}},4750:(t,e)=>{e.f=Object.getOwnPropertySymbols},9341:(t,e,r)=>{var n=r(4500),s=r(6447),i=r(1795),o=r(9766),a=r(4635),c=o("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 s(r)&&e instanceof r?r.prototype:e instanceof u?l:null}},8902:(t,e,r)=>{var n=r(4120);t.exports=n({}.isPrototypeOf)},7934:(t,e,r)=>{var n=r(4120),s=r(4500),i=r(101),o=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)!s(a,r)&&s(n,r)&&c(l,r);for(;e.length>u;)s(n,r=e[u++])&&(~o(l,r)||c(l,r));return l}},7653:(t,e,r)=>{var n=r(7934),s=r(2952);t.exports=Object.keys||function(t){return n(t,s)}},6007:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,s=n&&!r.call({1:2},1);e.f=s?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},4469:(t,e,r)=>{var n=r(6419),s=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 s(r),i(n),e?t(r,n):r.__proto__=n,r}}():void 0)},158:(t,e,r)=>{"use strict";var n=r(3471),s=r(4696);t.exports=n?{}.toString:function(){return"[object "+s(this)+"]"}},380:(t,e,r)=>{var n=r(8922),s=r(6447),i=r(5744),o=TypeError;t.exports=function(t,e){var r,a;if("string"===e&&s(r=t.toString)&&!i(a=n(r,t)))return a;if(s(r=t.valueOf)&&!i(a=n(r,t)))return a;if("string"!==e&&s(r=t.toString)&&!i(a=n(r,t)))return a;throw o("Can't convert object to primitive value")}},7545:t=>{t.exports={}},3209:(t,e,r)=>{var n=r(5646),s=TypeError;t.exports=function(t){if(n(t))throw s("Can't call method on "+t);return t}},1284:(t,e,r)=>{var n=r(3471),s=r(2760).f,i=r(8711),o=r(4500),a=r(158),c=r(8182)("toStringTag");t.exports=function(t,e,r,u){if(t){var l=r?t:t.prototype;o(l,c)||s(l,c,{configurable:!0,value:e}),u&&!n&&i(l,"toString",a)}}},9766:(t,e,r)=>{var n=r(8717),s=r(2759),i=n("keys");t.exports=function(t){return i[t]||(i[t]=s(t))}},6434:(t,e,r)=>{var n=r(8576),s=r(5098),i="__core-js_shared__",o=n[i]||s(i,{});t.exports=o},8717:(t,e,r)=>{var n=r(5546),s=r(6434);(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.31.0",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.0/LICENSE",source:"https://github.com/zloirock/core-js"})},863:(t,e,r)=>{var n=r(4120),s=r(1941),i=r(4845),o=r(3209),a=n("".charAt),c=n("".charCodeAt),u=n("".slice),l=function(t){return function(e,r){var n,l,p=i(o(e)),f=s(r),h=p.length;return f<0||f>=h?t?"":void 0:(n=c(p,f))<55296||n>56319||f+1===h||(l=c(p,f+1))<56320||l>57343?t?a(p,f):n:t?u(p,f,f+2):l-56320+(n-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}},6770:(t,e,r)=>{var n=r(4218),s=r(6192),i=r(8576).String;t.exports=!!Object.getOwnPropertySymbols&&!s((function(){var t=Symbol();return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},3407:(t,e,r)=>{var n=r(8922),s=r(150),i=r(8182),o=r(9362);t.exports=function(){var t=s("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,a=i("toPrimitive");e&&!e[a]&&o(e,a,(function(t){return n(r,this)}),{arity:1})}},8743:(t,e,r)=>{var n=r(150),s=r(4120),i=n("Symbol"),o=i.keyFor,a=s(i.prototype.valueOf);t.exports=i.isRegisteredSymbol||function(t){try{return void 0!==o(a(t))}catch(t){return!1}}},5128:(t,e,r)=>{for(var n=r(8717),s=r(150),i=r(4120),o=r(3236),a=r(8182),c=s("Symbol"),u=c.isWellKnownSymbol,l=s("Object","getOwnPropertyNames"),p=i(c.prototype.valueOf),f=n("wks"),h=0,_=l(c),d=_.length;h<d;h++)try{var m=_[h];o(c[m])&&a(m)}catch(t){}t.exports=function(t){if(u&&u(t))return!0;try{for(var e=p(t),r=0,n=l(f),s=n.length;r<s;r++)if(f[n[r]]==e)return!0}catch(t){}return!1}},31:(t,e,r)=>{var n=r(6770);t.exports=n&&!!Symbol.for&&!!Symbol.keyFor},7739:(t,e,r)=>{var n=r(1941),s=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?s(r+e,0):i(r,e)}},101:(t,e,r)=>{var n=r(2202),s=r(3209);t.exports=function(t){return n(s(t))}},1941:(t,e,r)=>{var n=r(7679);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},8445:(t,e,r)=>{var n=r(1941),s=Math.min;t.exports=function(t){return t>0?s(n(t),9007199254740991):0}},1795:(t,e,r)=>{var n=r(3209),s=Object;t.exports=function(t){return s(n(t))}},7888:(t,e,r)=>{var n=r(8922),s=r(5744),i=r(3236),o=r(5037),a=r(380),c=r(8182),u=TypeError,l=c("toPrimitive");t.exports=function(t,e){if(!s(t)||i(t))return t;var r,c=o(t,l);if(c){if(void 0===e&&(e="default"),r=n(c,t,e),!s(r)||i(r))return r;throw u("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},77:(t,e,r)=>{var n=r(7888),s=r(3236);t.exports=function(t){var e=n(t,"string");return s(e)?e:e+""}},3471:(t,e,r)=>{var n={};n[r(8182)("toStringTag")]="z",t.exports="[object z]"===String(n)},4845:(t,e,r)=>{var n=r(4696),s=String;t.exports=function(t){if("Symbol"===n(t))throw TypeError("Cannot convert a Symbol value to a string");return s(t)}},9288:t=>{var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},2759:(t,e,r)=>{var n=r(4120),s=0,i=Math.random(),o=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+o(++s+i,36)}},615:(t,e,r)=>{var n=r(6770);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},9600:(t,e,r)=>{var n=r(69),s=r(6192);t.exports=n&&s((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5278:(t,e,r)=>{var n=r(8576),s=r(6447),i=n.WeakMap;t.exports=s(i)&&/native code/.test(String(i))},8332:(t,e,r)=>{var n=r(7545),s=r(4500),i=r(9207),o=r(2760).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});s(e,t)||o(e,t,{value:i.f(t)})}},9207:(t,e,r)=>{var n=r(8182);e.f=n},8182:(t,e,r)=>{var n=r(8576),s=r(8717),i=r(4500),o=r(2759),a=r(6770),c=r(615),u=n.Symbol,l=s("wks"),p=c?u.for||u:u&&u.withoutSetter||o;t.exports=function(t){return i(l,t)||(l[t]=a&&i(u,t)?u[t]:p("Symbol."+t)),l[t]}},9106:(t,e,r)=>{"use strict";var n=r(3085),s=r(6192),i=r(4770),o=r(5744),a=r(1795),c=r(4104),u=r(9425),l=r(9361),p=r(1321),f=r(242),h=r(8182),_=r(4218),d=h("isConcatSpreadable"),m=_>=51||!s((function(){var t=[];return t[d]=!1,t.concat()[0]!==t})),y=function(t){if(!o(t))return!1;var e=t[d];return void 0!==e?!!e:i(t)};n({target:"Array",proto:!0,arity:1,forced:!m||!f("concat")},{concat:function(t){var e,r,n,s,i,o=a(this),f=p(o,0),h=0;for(e=-1,n=arguments.length;e<n;e++)if(y(i=-1===e?o:arguments[e]))for(s=c(i),u(h+s),r=0;r<s;r++,h++)r in i&&l(f,h,i[r]);else u(h+1),l(f,h++,i);return f.length=h,f}})},2276:(t,e,r)=>{"use strict";var n=r(3085),s=r(4914),i=r(8180).indexOf,o=r(424),a=s([].indexOf),c=!!a&&1/a([1],1,-0)<0;n({target:"Array",proto:!0,forced:c||!o("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return c?a(this,t,e)||0:i(this,t,e)}})},8939:(t,e,r)=>{"use strict";var n=r(101),s=r(7423),i=r(7771),o=r(3326),a=r(2760).f,c=r(5297),u=r(7271),l=r(5546),p=r(69),f="Array Iterator",h=o.set,_=o.getterFor(f);t.exports=c(Array,"Array",(function(t,e){h(this,{type:f,target:n(t),index:0,kind:e})}),(function(){var t=_(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,u(void 0,!0)):u("keys"==r?n:"values"==r?e[n]:[n,e[n]],!1)}),"values");var d=i.Arguments=i.Array;if(s("keys"),s("values"),s("entries"),!l&&p&&"values"!==d.name)try{a(d,"name",{value:"values"})}catch(t){}},2432:()=>{},9704:(t,e,r)=>{var n=r(3085),s=r(150),i=r(6298),o=r(8922),a=r(4120),c=r(6192),u=r(6447),l=r(3236),p=r(3096),f=r(9202),h=r(6770),_=String,d=s("JSON","stringify"),m=a(/./.exec),y=a("".charAt),g=a("".charCodeAt),v=a("".replace),b=a(1..toString),w=/[\uD800-\uDFFF]/g,E=/^[\uD800-\uDBFF]$/,x=/^[\uDC00-\uDFFF]$/,O=!h||c((function(){var t=s("Symbol")();return"[null]"!=d([t])||"{}"!=d({a:t})||"{}"!=d(Object(t))})),j=c((function(){return'"\\udf06\\ud834"'!==d("\udf06\ud834")||'"\\udead"'!==d("\udead")})),S=function(t,e){var r=p(arguments),n=f(e);if(u(n)||void 0!==t&&!l(t))return r[1]=function(t,e){if(u(n)&&(e=o(n,this,_(t),e)),!l(e))return e},i(d,null,r)},A=function(t,e,r){var n=y(r,e-1),s=y(r,e+1);return m(E,t)&&!m(x,s)||m(x,t)&&!m(E,n)?"\\u"+b(g(t,0),16):t};d&&n({target:"JSON",stat:!0,arity:3,forced:O||j},{stringify:function(t,e,r){var n=p(arguments),s=i(O?S:d,null,n);return j&&"string"==typeof s?v(s,w,A):s}})},8671:(t,e,r)=>{var n=r(8576);r(1284)(n.JSON,"JSON",!0)},8556:()=>{},297:(t,e,r)=>{var n=r(3085),s=r(69),i=r(2760).f;n({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!s},{defineProperty:i})},7895:(t,e,r)=>{var n=r(3085),s=r(6770),i=r(6192),o=r(4750),a=r(1795);n({target:"Object",stat:!0,forced:!s||i((function(){o.f(1)}))},{getOwnPropertySymbols:function(t){var e=o.f;return e?e(a(t)):[]}})},2647:(t,e,r)=>{var n=r(3085),s=r(1795),i=r(7653);n({target:"Object",stat:!0,forced:r(6192)((function(){i(1)}))},{keys:function(t){return i(s(t))}})},6663:()=>{},1367:()=>{},5454:(t,e,r)=>{"use strict";var n=r(863).charAt,s=r(4845),i=r(3326),o=r(5297),a=r(7271),c="String Iterator",u=i.set,l=i.getterFor(c);o(String,"String",(function(t){u(this,{type:c,string:s(t),index:0})}),(function(){var t,e=l(this),r=e.string,s=e.index;return s>=r.length?a(void 0,!0):(t=n(r,s),e.index+=t.length,a(t,!1))}))},9781:(t,e,r)=>{r(8332)("asyncIterator")},9351:(t,e,r)=>{"use strict";var n=r(3085),s=r(8576),i=r(8922),o=r(4120),a=r(5546),c=r(69),u=r(6770),l=r(6192),p=r(4500),f=r(8902),h=r(1138),_=r(101),d=r(77),m=r(4845),y=r(774),g=r(2853),v=r(7653),b=r(2092),w=r(4052),E=r(4750),x=r(5141),O=r(2760),j=r(1187),S=r(6007),A=r(9362),P=r(2807),k=r(8717),N=r(9766),I=r(4535),M=r(2759),T=r(8182),F=r(9207),C=r(8332),R=r(3407),q=r(1284),D=r(3326),L=r(454).forEach,$=N("hidden"),B="Symbol",V="prototype",z=D.set,G=D.getterFor(B),U=Object[V],W=s.Symbol,Z=W&&W[V],K=s.TypeError,H=s.QObject,Q=x.f,Y=O.f,J=w.f,X=S.f,tt=o([].push),et=k("symbols"),rt=k("op-symbols"),nt=k("wks"),st=!H||!H[V]||!H[V].findChild,it=c&&l((function(){return 7!=g(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=Q(U,e);n&&delete U[e],Y(t,e,r),n&&t!==U&&Y(U,e,n)}:Y,ot=function(t,e){var r=et[t]=g(Z);return z(r,{type:B,tag:t,description:e}),c||(r.description=e),r},at=function(t,e,r){t===U&&at(rt,e,r),h(t);var n=d(e);return h(r),p(et,n)?(r.enumerable?(p(t,$)&&t[$][n]&&(t[$][n]=!1),r=g(r,{enumerable:y(0,!1)})):(p(t,$)||Y(t,$,y(1,{})),t[$][n]=!0),it(t,n,r)):Y(t,n,r)},ct=function(t,e){h(t);var r=_(e),n=v(r).concat(ft(r));return L(n,(function(e){c&&!i(ut,r,e)||at(t,e,r[e])})),t},ut=function(t){var e=d(t),r=i(X,this,e);return!(this===U&&p(et,e)&&!p(rt,e))&&(!(r||!p(this,e)||!p(et,e)||p(this,$)&&this[$][e])||r)},lt=function(t,e){var r=_(t),n=d(e);if(r!==U||!p(et,n)||p(rt,n)){var s=Q(r,n);return!s||!p(et,n)||p(r,$)&&r[$][n]||(s.enumerable=!0),s}},pt=function(t){var e=J(_(t)),r=[];return L(e,(function(t){p(et,t)||p(I,t)||tt(r,t)})),r},ft=function(t){var e=t===U,r=J(e?rt:_(t)),n=[];return L(r,(function(t){!p(et,t)||e&&!p(U,t)||tt(n,et[t])})),n};u||(A(Z=(W=function(){if(f(Z,this))throw K("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?m(arguments[0]):void 0,e=M(t),r=function(t){this===U&&i(r,rt,t),p(this,$)&&p(this[$],e)&&(this[$][e]=!1),it(this,e,y(1,t))};return c&&st&&it(U,e,{configurable:!0,set:r}),ot(e,t)})[V],"toString",(function(){return G(this).tag})),A(W,"withoutSetter",(function(t){return ot(M(t),t)})),S.f=ut,O.f=at,j.f=ct,x.f=lt,b.f=w.f=pt,E.f=ft,F.f=function(t){return ot(T(t),t)},c&&(P(Z,"description",{configurable:!0,get:function(){return G(this).description}}),a||A(U,"propertyIsEnumerable",ut,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:W}),L(v(nt),(function(t){C(t)})),n({target:B,stat:!0,forced:!u},{useSetter:function(){st=!0},useSimple:function(){st=!1}}),n({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(t,e){return void 0===e?g(t):ct(g(t),e)},defineProperty:at,defineProperties:ct,getOwnPropertyDescriptor:lt}),n({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:pt}),R(),q(W,B),I[$]=!0},492:()=>{},9148:(t,e,r)=>{var n=r(3085),s=r(150),i=r(4500),o=r(4845),a=r(8717),c=r(31),u=a("string-to-symbol-registry"),l=a("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!c},{for:function(t){var e=o(t);if(i(u,e))return u[e];var r=s("Symbol")(e);return u[e]=r,l[r]=e,r}})},6681:(t,e,r)=>{r(8332)("hasInstance")},9594:(t,e,r)=>{r(8332)("isConcatSpreadable")},3665:(t,e,r)=>{r(8332)("iterator")},6187:(t,e,r)=>{r(9351),r(9148),r(5991),r(9704),r(7895)},5991:(t,e,r)=>{var n=r(3085),s=r(4500),i=r(3236),o=r(9288),a=r(8717),c=r(31),u=a("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!c},{keyFor:function(t){if(!i(t))throw TypeError(o(t)+" is not a symbol");if(s(u,t))return u[t]}})},1250:(t,e,r)=>{r(8332)("matchAll")},9017:(t,e,r)=>{r(8332)("match")},9786:(t,e,r)=>{r(8332)("replace")},503:(t,e,r)=>{r(8332)("search")},6565:(t,e,r)=>{r(8332)("species")},9322:(t,e,r)=>{r(8332)("split")},3610:(t,e,r)=>{var n=r(8332),s=r(3407);n("toPrimitive"),s()},6886:(t,e,r)=>{var n=r(150),s=r(8332),i=r(1284);s("toStringTag"),i(n("Symbol"),"Symbol")},3514:(t,e,r)=>{r(8332)("unscopables")},7148:(t,e,r)=>{var n=r(8182),s=r(2760).f,i=n("metadata"),o=Function.prototype;void 0===o[i]&&s(o,i,{value:null})},177:(t,e,r)=>{r(8332)("asyncDispose")},9031:(t,e,r)=>{r(8332)("dispose")},3346:(t,e,r)=>{r(3085)({target:"Symbol",stat:!0},{isRegisteredSymbol:r(8743)})},2725:(t,e,r)=>{r(3085)({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:r(8743)})},3520:(t,e,r)=>{r(3085)({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:r(5128)})},1806:(t,e,r)=>{r(3085)({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:r(5128)})},6658:(t,e,r)=>{r(8332)("matcher")},4212:(t,e,r)=>{r(8332)("metadataKey")},1875:(t,e,r)=>{r(8332)("metadata")},8658:(t,e,r)=>{r(8332)("observable")},4592:(t,e,r)=>{r(8332)("patternMatch")},6680:(t,e,r)=>{r(8332)("replaceAll")},162:(t,e,r)=>{r(8939);var n=r(7365),s=r(8576),i=r(4696),o=r(8711),a=r(7771),c=r(8182)("toStringTag");for(var u in n){var l=s[u],p=l&&l.prototype;p&&i(p)!==c&&o(p,c,u),a[u]=a.Array}},6174:(t,e,r)=>{var n=r(2604);t.exports=n},7820:(t,e,r)=>{var n=r(3512);t.exports=n},2:(t,e,r)=>{var n=r(2921);t.exports=n},5636:(t,e,r)=>{var n=r(8651);t.exports=n},2285:(t,e,r)=>{var n=r(5008);r(162),t.exports=n},8535:(t,e,r)=>{var n=r(994);r(162),t.exports=n},6042:(t,e,r)=>{var n=r(290);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),s=r(6909),i=r(8138),o=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=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,t.exports=c},235:(t,e,r)=>{var n=r(3945),s=r(1846),i=r(8028),o=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=s,c.prototype.get=i,c.prototype.has=o,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),s=r(6417),i=r(6928),o=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=s,c.prototype.get=i,c.prototype.has=o,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),s=r(2842),i=r(2482);function o(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e<r;)this.add(t[e])}o.prototype.add=o.prototype.push=s,o.prototype.has=i,t.exports=o},6571:(t,e,r)=>{var n=r(235),s=r(5243),i=r(2858),o=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=s,u.prototype.delete=i,u.prototype.get=o,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,s=0,i=[];++r<n;){var o=t[r];e(o,r,t)&&(i[s++]=o)}return i}},1634:(t,e,r)=>{var n=r(6473),s=r(9631),i=r(6152),o=r(3226),a=r(9045),c=r(7598),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=i(t),l=!r&&s(t),p=!r&&!l&&o(t),f=!r&&!l&&!p&&c(t),h=r||l||p||f,_=h?n(t.length,String):[],d=_.length;for(var m in t)!e&&!u.call(t,m)||h&&("length"==m||p&&("offset"==m||"parent"==m)||f&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||a(m,d))||_.push(m);return _}},5067:t=>{t.exports=function(t,e){for(var r=-1,n=e.length,s=t.length;++r<n;)t[s+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),s=r(6152);t.exports=function(t,e,r){var i=e(t);return s(t)?i:n(i,r(t))}},3366:(t,e,r)=>{var n=r(857),s=r(2107),i=r(7157),o=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":o&&o in Object(t)?s(t):i(t)}},5183:(t,e,r)=>{var n=r(3366),s=r(5125);t.exports=function(t){return s(t)&&"[object Arguments]"==n(t)}},8746:(t,e,r)=>{var n=r(1952),s=r(5125);t.exports=function t(e,r,i,o,a){return e===r||(null==e||null==r||!s(e)&&!s(r)?e!=e&&r!=r:n(e,r,i,o,t,a))}},1952:(t,e,r)=>{var n=r(6571),s=r(4871),i=r(1491),o=r(7416),a=r(940),c=r(6152),u=r(3226),l=r(7598),p="[object Arguments]",f="[object Array]",h="[object Object]",_=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,d,m,y){var g=c(t),v=c(e),b=g?f:a(t),w=v?f:a(e),E=(b=b==p?h:b)==h,x=(w=w==p?h:w)==h,O=b==w;if(O&&u(t)){if(!u(e))return!1;g=!0,E=!1}if(O&&!E)return y||(y=new n),g||l(t)?s(t,e,r,d,m,y):i(t,e,b,r,d,m,y);if(!(1&r)){var j=E&&_.call(t,"__wrapped__"),S=x&&_.call(e,"__wrapped__");if(j||S){var A=j?t.value():t,P=S?e.value():e;return y||(y=new n),m(A,P,r,d,y)}}return!!O&&(y||(y=new n),o(t,e,r,d,m,y))}},6840:(t,e,r)=>{var n=r(1049),s=r(7394),i=r(9259),o=r(7035),a=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,p=u.hasOwnProperty,f=RegExp("^"+l.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||s(t))&&(n(t)?f:a).test(o(t))}},5522:(t,e,r)=>{var n=r(3366),s=r(1158),i=r(5125),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&s(t.length)&&!!o[n(t)]}},6411:(t,e,r)=>{var n=r(6001),s=r(4248),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return s(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),s=r(7064),i=r(9950);t.exports=function(t,e,r,o,a,c){var u=1&r,l=t.length,p=e.length;if(l!=p&&!(u&&p>l))return!1;var f=c.get(t),h=c.get(e);if(f&&h)return f==e&&h==t;var _=-1,d=!0,m=2&r?new n:void 0;for(c.set(t,e),c.set(e,t);++_<l;){var y=t[_],g=e[_];if(o)var v=u?o(g,y,_,e,t,c):o(y,g,_,t,e,c);if(void 0!==v){if(v)continue;d=!1;break}if(m){if(!s(e,(function(t,e){if(!i(m,e)&&(y===t||a(y,t,r,o,c)))return m.push(e)}))){d=!1;break}}else if(y!==g&&!a(y,g,r,o,c)){d=!1;break}}return c.delete(t),c.delete(e),d}},1491:(t,e,r)=>{var n=r(857),s=r(9162),i=r(1225),o=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,p,f){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||!p(new s(t),new s(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 _=1&n;if(h||(h=c),t.size!=e.size&&!_)return!1;var d=f.get(t);if(d)return d==e;n|=2,f.set(t,e);var m=o(h(t),h(e),n,u,p,f);return f.delete(t),m;case"[object Symbol]":if(l)return l.call(t)==l.call(e)}return!1}},7416:(t,e,r)=>{var n=r(3483),s=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,i,o,a){var c=1&r,u=n(t),l=u.length;if(l!=n(e).length&&!c)return!1;for(var p=l;p--;){var f=u[p];if(!(c?f in e:s.call(e,f)))return!1}var h=a.get(t),_=a.get(e);if(h&&_)return h==e&&_==t;var d=!0;a.set(t,e),a.set(e,t);for(var m=c;++p<l;){var y=t[f=u[p]],g=e[f];if(i)var v=c?i(g,y,f,e,t,a):i(y,g,f,t,e,a);if(!(void 0===v?y===g||o(y,g,r,i,a):v)){d=!1;break}m||(m="constructor"==f)}if(d&&!m){var b=t.constructor,w=e.constructor;b==w||!("constructor"in t)||!("constructor"in e)||"function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w||(d=!1)}return a.delete(t),a.delete(e),d}},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),s=r(633),i=r(249);t.exports=function(t){return n(t,i,s)}},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),s=r(8109);t.exports=function(t,e){var r=s(t,e);return n(r)?r:void 0}},2107:(t,e,r)=>{var n=r(857),s=Object.prototype,i=s.hasOwnProperty,o=s.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 s=o.call(t);return n&&(e?t[a]=r:delete t[a]),s}},633:(t,e,r)=>{var n=r(7552),s=r(981),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,a=o?function(t){return null==t?[]:(t=Object(t),n(o(t),(function(e){return i.call(t,e)})))}:s;t.exports=a},940:(t,e,r)=>{var n=r(9515),s=r(326),i=r(1985),o=r(2143),a=r(3215),c=r(3366),u=r(7035),l="[object Map]",p="[object Promise]",f="[object Set]",h="[object WeakMap]",_="[object DataView]",d=u(n),m=u(s),y=u(i),g=u(o),v=u(a),b=c;(n&&b(new n(new ArrayBuffer(1)))!=_||s&&b(new s)!=l||i&&b(i.resolve())!=p||o&&b(new o)!=f||a&&b(new a)!=h)&&(b=function(t){var e=c(t),r="[object Object]"==e?t.constructor:void 0,n=r?u(r):"";if(n)switch(n){case d:return _;case m:return l;case y:return p;case g:return f;case v:return h}return e}),t.exports=b},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),s=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 s.call(e,t)?e[t]:void 0}},4174:(t,e,r)=>{var n=r(9191),s=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:s.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,s=r(4019),i=(n=/[^.]+$/.exec(s&&s.keys&&s.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),s=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():s.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__,s=n(r,t);return s<0?(++this.size,r.push([t,e])):r[s][1]=e,this}},2411:(t,e,r)=>{var n=r(9612),s=r(235),i=r(326);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||s),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),s=r.size;return r.set(t,e),this.size+=r.size==s?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),s=e&&!e.nodeType&&e,i=s&&t&&!t.nodeType&&t,o=i&&i.exports===s&&n.process,a=function(){try{var t=i&&i.require&&i.require("util").types;return t||o&&o.binding&&o.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),s="object"==typeof self&&self&&self.Object===Object&&self,i=n||s||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),s=r(326),i=r(6738);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var o=r.__data__;if(!s||o.length<199)return o.push([t,e]),this.size=++r.size,this;r=this.__data__=new i(o)}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),s=r(5125),i=Object.prototype,o=i.hasOwnProperty,a=i.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(t){return s(t)&&o.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),s=r(1158);t.exports=function(t){return null!=t&&s(t.length)&&!n(t)}},4335:(t,e,r)=>{var n=r(3366),s=r(5125);t.exports=function(t){return!0===t||!1===t||s(t)&&"[object Boolean]"==n(t)}},3226:(t,e,r)=>{t=r.nmd(t);var n=r(7772),s=r(6330),i=e&&!e.nodeType&&e,o=i&&t&&!t.nodeType&&t,a=o&&o.exports===i?n.Buffer:void 0,c=(a?a.isBuffer:void 0)||s;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),s=r(9259);t.exports=function(t){if(!s(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),s=r(5125);t.exports=function(t){return"number"==typeof t||s(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),s=r(6152),i=r(5125);t.exports=function(t){return"string"==typeof t||!s(t)&&i(t)&&"[object String]"==n(t)}},7598:(t,e,r)=>{var n=r(5522),s=r(7826),i=r(4146),o=i&&i.isTypedArray,a=o?s(o):n;t.exports=a},249:(t,e,r)=>{var n=r(1634),s=r(6411),i=r(7878);t.exports=function(t){return i(t)?n(t):s(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 s(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 s=t.bind(e)(n);s&&r.push(s)})),r}filter(t,e){return t=s(t),new i(this.elements.filter(t,e))}reject(t,e){return t=s(t),new i(this.elements.filter(n(t),e))}find(t,e){return t=s(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),s=r(5505),i=r(537),o=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(s,u.StringElement,!1).detect(i,u.NumberElement,!1).detect(o,u.BooleanElement,!1).detect(Array.isArray,u.ArrayElement,!1).detect(a,u.ObjectElement,!1),this}register(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],s=this.elementDetection[r][1];if(n(t)){e=new s(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),s=r(1178);class i extends s{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),s=r(4152),i=r(9542),o=r(3710),a=r(3312),c=r(1641),u=r(8858),l=r(3860),p=r(5202),f=r(2320),h=r(1178),_=r(3853),d=r(3026);function m(t){if(t instanceof n)return t;if("string"==typeof t)return new i(t);if("number"==typeof t)return new o(t);if("boolean"==typeof t)return new a(t);if(null===t)return new s;if(Array.isArray(t))return new c(t.map(m));if("object"==typeof t){return new l(t)}return t}n.prototype.ObjectElement=l,n.prototype.RefElement=f,n.prototype.MemberElement=u,n.prototype.refract=m,h.prototype.refract=m,t.exports={Element:n,NullElement:s,StringElement:i,NumberElement:o,BooleanElement:a,ArrayElement:c,MemberElement:u,ObjectElement:l,LinkElement:p,RefElement:f,refract:m,ArraySlice:h,ObjectSlice:_,KeyValuePair:d}},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),s=r(3756);e.lS=n,r(3026),s.ArraySlice,s.ObjectSlice,e.W_=s.Element,e.RP=s.StringElement,e.VL=s.NumberElement,e.hh=s.BooleanElement,e.zr=s.NullElement,e.ON=s.ArrayElement,e.Sb=s.ObjectElement,e.c6=s.MemberElement,e.tK=s.RefElement,e.EA=s.LinkElement,e.Qc=s.refract,r(2947),r(8910)},1641:(t,e,r)=>{const n=r(1570),s=r(6420),i=r(1178);class o extends s{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 s=t.bind(e)(n);s&&r.push(s)})),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,s=void 0===r.results?[]:r.results;return this.forEach(((e,r,i)=>{n&&void 0!==e.findElements&&e.findElements(t,{results:s,recursive:n}),t(e,r,i)&&s.push(e)})),s}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)}}o.empty=function(){return new this},o["fantasy-land/empty"]=o.empty,"undefined"!=typeof Symbol&&(o.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),t.exports=o},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),s=r(3026),i=r(1178);class o{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 o?this.content.toValue():this.content instanceof s?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((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),o=(t,r)=>{r.element===e&&t.push(r);const i=r.findRecursive(e);return i&&i.reduce(n,t),r.content instanceof s&&(r.content.key&&o(t,r.content.key),r.content.value&&o(t,r.content.value)),t};return this.content&&(this.content.element&&o(r,this.content),Array.isArray(this.content)&&this.content.reduce(o,r)),t.isEmpty||(r=r.filter((e=>{let r=e.parents.map((t=>t.element));for(const e in t){const n=t[e],s=r.indexOf(n);if(-1===s)return!1;r=r.splice(0,s)}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 o)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 s)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 s){const t=new i([this.content.key]);return this.content.value&&t.push(this.content.value),t}return this.content instanceof o?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=o},8858:(t,e,r)=>{const n=r(3026),s=r(6420);t.exports=class extends s{constructor(t,e,r,s){super(new n,r,s),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),s=r(9259),i=r(1641),o=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(s(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 o(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,s,i)=>{const o=t.bind(e)(n,s,i);o&&r.push(o)})),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 s=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]))),s.forEach((t=>{t.content&&t.content.element&&t.content.attributes.remove("typeAttributes")})),t.content&&0!==r.length&&s.unshift(t.content),s=s.map((t=>t instanceof this.namespace.elements.Array?[t]:new this.namespace.elements.Array([t.content]))),s.length&&e.set("samples",s),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 s=new e(n);s.element=r.element,t.push(s)}))}));const s=t.shift();r.content=s?s.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,s,i,o="properties",a="deepProperties",c="propertyDescriptors",u="staticProperties",l="staticDeepProperties",p="staticPropertyDescriptors",f="configuration",h="deepConfiguration",_="deepProps",d="deepStatics",m="deepConf",y="initializers",g="methods",v="composers",b="compose";function w(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[])}function E(t,e){return Array.prototype.slice.call(arguments,2).reduce(t,e)}var x=E.bind(0,(function(t,e){if(e)for(var r=w(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 j(t){return t&&"object"==typeof t||O(t)}function S(t){return t&&"object"==typeof t&&t.__proto__==Object.prototype}var A=E.bind(0,(function t(r,n){if(n===e)return r;if(Array.isArray(n))return(Array.isArray(r)?r:[]).concat(n);if(!S(n))return n;for(var s,i,o=w(n),a=0;a<o.length;)s=o[a++],(i=Object.getOwnPropertyDescriptor(n,s)).hasOwnProperty("value")?i.value!==e&&(r[s]=t(S(r[s])||Array.isArray(n[s])?r[s]:{},n[s])):Object.defineProperty(r,s,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){j(e[r])&&(j(t[r])||(t[r]={}),(n||x)(t[r],e[r]))}function s(n){(r=P(t[n],e[n]))&&(t[n]=r)}return e&&j(e=e[b]||e)&&(n(g),n(o),n(a,A),n(c),n(u),n(l,A),n(p),n(f),n(h,A),s(y),s(v)),t}function N(){return function(t){return r=function t(r){var n,s,i=t[b]||{},u={__proto__:i[g]},l=i[y],p=Array.prototype.slice.apply(arguments),f=i[a];if(f&&A(u,f),(f=i[o])&&x(u,f),(f=i[c])&&Object.defineProperties(u,f),!l||!l.length)return u;for(r===e&&(r={}),i=0;i<l.length;)O(n=l[i++])&&(u=(s=n.call(u,r,{instance:u,stamp:t,args:p}))===e?u:s);return u},(n=t[l])&&A(r,n),(n=t[u])&&x(r,n),(n=t[p])&&Object.defineProperties(r,n),n=O(r[b])?r[b]:N,x(r[b]=function(){return n.apply(this,arguments)},t),r}(Array.prototype.concat.apply([this],arguments).reduce(k,{}))}function I(t){return O(t)&&O(t[b])}var M={};function T(t,i){return function(){return(s={})[t]=i.apply(e,Array.prototype.concat.apply([{}],arguments)),((r=this)&&r[b]||n).call(r,s)}}M[g]=T(g,x),M[o]=M.props=T(o,x),M[y]=M.init=T(y,P),M[v]=T(v,P),M[a]=M[_]=T(a,A),M[u]=M.statics=T(u,x),M[l]=M[d]=T(l,A),M[f]=M.conf=T(f,x),M[h]=M[m]=T(h,A),M[c]=T(c,x),M[p]=T(p,x),n=M[b]=x((function(){for(var t,w,E=0,O=[],S=arguments,k=this;E<S.length;)j(t=S[E++])&&O.push(I(t)?t:((s={})[g]=(w=t)[g]||e,n=w.props,s[o]=j((r=w[o])||n)?x({},n,r):e,s[y]=P(w.init,w[y]),s[v]=P(w[v]),n=w[_],s[a]=j((r=w[a])||n)?A({},n,r):e,s[c]=w[c],n=w.statics,s[u]=j((r=w[u])||n)?x({},n,r):e,n=w[d],s[l]=j((r=w[l])||n)?A({},n,r):e,r=w[p],s[p]=j((n=w.name&&{name:{value:w.name}})||r)?x({},r,n):e,n=w.conf,s[f]=j((r=w[f])||n)?x({},n,r):e,n=w[m],s[h]=j((r=w[h])||n)?A({},n,r):e,s));if(t=N.apply(k||i,O),k&&O.unshift(k),Array.isArray(S=t[b][v]))for(E=0;E<S.length;)t=I(k=S[E++]({stamp:t,composables:O}))?k:t;return t}),M),M.create=function(){return this.apply(e,arguments)},(s={})[u]=M,i=N(s),n[b]=n.bind(),n.version="4.3.2","object"!=typeof e?t.exports=n:self.stampit=n}()},2396:(t,e)=>{"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.MalformedUnicode="MALFORMED_UNICODE",t.MalformedHexadecimal="MALFORMED_HEXADECIMAL",t.CodePointLimit="CODE_POINT_LIMIT",t.OctalDeprecation="OCTAL_DEPRECATION",t.EndOfString="END_OF_STRING"}(r=e.ErrorType||(e.ErrorType={})),e.errorMessages=new Map([[r.MalformedUnicode,"malformed Unicode character escape sequence"],[r.MalformedHexadecimal,"malformed hexadecimal character escape sequence"],[r.CodePointLimit,"Unicode codepoint must not be greater than 0x10FFFF in escape sequence"],[r.OctalDeprecation,'"0"-prefixed octal literals and octal escape sequences are deprecated; for octal literals use the "0o" prefix instead'],[r.EndOfString,"malformed escape sequence at end of string"]])},2770:(t,e,r)=>{"use strict";const n=r(2396);function s(t,e,r){const s=function(t){return t.match(/[^a-f0-9]/i)?NaN:parseInt(t,16)}(t);if(Number.isNaN(s)||void 0!==r&&r!==t.length)throw new SyntaxError(n.errorMessages.get(e));return s}function i(t,e){const r=s(t,n.ErrorType.MalformedUnicode,4);if(void 0!==e){const t=s(e,n.ErrorType.MalformedUnicode,4);return String.fromCharCode(r,t)}return String.fromCharCode(r)}n.ErrorType,n.errorMessages;const o=new Map([["b","\b"],["f","\f"],["n","\n"],["r","\r"],["t","\t"],["v","\v"],["0","\0"]]);const a=/\\(?:(\\)|x([\s\S]{0,2})|u(\{[^}]*\}?)|u([\s\S]{4})\\u([^{][\s\S]{0,3})|u([\s\S]{0,4})|([0-3]?[0-7]{1,2})|([\s\S])|$)/g;function c(t,e=!1){return t.replace(a,(function(t,r,a,c,u,l,p,f,h){if(void 0!==r)return"\\";if(void 0!==a)return function(t){const e=s(t,n.ErrorType.MalformedHexadecimal,2);return String.fromCharCode(e)}(a);if(void 0!==c)return function(t){if("{"!==(e=t).charAt(0)||"}"!==e.charAt(e.length-1))throw new SyntaxError(n.errorMessages.get(n.ErrorType.MalformedUnicode));var e;const r=s(t.slice(1,-1),n.ErrorType.MalformedUnicode);try{return String.fromCodePoint(r)}catch(t){throw t instanceof RangeError?new SyntaxError(n.errorMessages.get(n.ErrorType.CodePointLimit)):t}}(c);if(void 0!==u)return i(u,l);if(void 0!==p)return i(p);if("0"===f)return"\0";if(void 0!==f)return function(t,e=!1){if(e)throw new SyntaxError(n.errorMessages.get(n.ErrorType.OctalDeprecation));const r=parseInt(t,8);return String.fromCharCode(r)}(f,!e);if(void 0!==h)return _=h,o.get(_)||_;var _;throw new SyntaxError(n.errorMessages.get(n.ErrorType.EndOfString))}))}e.S6=c},9794:(t,e,r)=>{var n=void 0!==n?n:{},s=function(){var e,s="object"==typeof window?{currentScript:window.document.currentScript}:null;class i{constructor(){this.initialize()}initialize(){throw new Error("cannot construct a Parser before calling `init()`")}static init(o){return e||(n=Object.assign({},n,o),e=new Promise((e=>{var o,a={};for(o in n)n.hasOwnProperty(o)&&(a[o]=n[o]);var c,u,l,p,f=[],h="./this.program",_=function(t,e){throw e};l="object"==typeof window,p="function"==typeof importScripts,c="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,u=!l&&!c&&!p;var d,m,y,g,v,b="";c?(b=p?r(6287).dirname(b)+"/":"//",d=function(t,e){return g||(g=r(5530)),v||(v=r(6287)),t=v.normalize(t),g.readFileSync(t,e?null:"utf8")},y=function(t){var e=d(t,!0);return e.buffer||(e=new Uint8Array(e)),T(e.buffer),e},process.argv.length>1&&(h=process.argv[1].replace(/\\/g,"/")),f=process.argv.slice(2),t.exports=n,_=function(t){process.exit(t)},n.inspect=function(){return"[Emscripten Module object]"}):u?("undefined"!=typeof read&&(d=function(t){return read(t)}),y=function(t){var e;return"function"==typeof readbuffer?new Uint8Array(readbuffer(t)):(T("object"==typeof(e=read(t,"binary"))),e)},"undefined"!=typeof scriptArgs?f=scriptArgs:void 0!==arguments&&(f=arguments),"function"==typeof quit&&(_=function(t){quit(t)}),"undefined"!=typeof print&&("undefined"==typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!=typeof printErr?printErr:print)):(l||p)&&(p?b=self.location.href:void 0!==s&&s.currentScript&&(b=s.currentScript.src),b=0!==b.indexOf("blob:")?b.substr(0,b.lastIndexOf("/")+1):"",d=function(t){var e=new XMLHttpRequest;return e.open("GET",t,!1),e.send(null),e.responseText},p&&(y=function(t){var e=new XMLHttpRequest;return e.open("GET",t,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}),m=function(t,e,r){var n=new XMLHttpRequest;n.open("GET",t,!0),n.responseType="arraybuffer",n.onload=function(){200==n.status||0==n.status&&n.response?e(n.response):r()},n.onerror=r,n.send(null)}),n.print||console.log.bind(console);var w=n.printErr||console.warn.bind(console);for(o in a)a.hasOwnProperty(o)&&(n[o]=a[o]);a=null,n.arguments&&(f=n.arguments),n.thisProgram&&(h=n.thisProgram),n.quit&&(_=n.quit);var E,x=16,O=[];function j(t,e){if(!E){E=new WeakMap;for(var r=0;r<Q.length;r++){var n=Q.get(r);n&&E.set(n,r)}}if(E.has(t))return E.get(t);var s=function(){if(O.length)return O.pop();try{Q.grow(1)}catch(t){if(!(t instanceof RangeError))throw t;throw"Unable to grow wasm table. Set ALLOW_TABLE_GROWTH."}return Q.length-1}();try{Q.set(s,t)}catch(r){if(!(r instanceof TypeError))throw r;var i=function(t,e){if("function"==typeof WebAssembly.Function){for(var r={i:"i32",j:"i64",f:"f32",d:"f64"},n={parameters:[],results:"v"==e[0]?[]:[r[e[0]]]},s=1;s<e.length;++s)n.parameters.push(r[e[s]]);return new WebAssembly.Function(n,t)}var i=[1,0,1,96],o=e.slice(0,1),a=e.slice(1),c={i:127,j:126,f:125,d:124};for(i.push(a.length),s=0;s<a.length;++s)i.push(c[a[s]]);"v"==o?i.push(0):i=i.concat([1,c[o]]),i[1]=i.length-2;var u=new Uint8Array([0,97,115,109,1,0,0,0].concat(i,[2,7,1,1,101,1,102,0,0,7,5,1,1,102,0,0])),l=new WebAssembly.Module(u);return new WebAssembly.Instance(l,{e:{f:t}}).exports.f}(t,e);Q.set(s,i)}return E.set(t,s),s}var S,A=n.dynamicLibraries||[];n.wasmBinary&&(S=n.wasmBinary);var P,k=n.noExitRuntime||!0;function N(t,e,r,n){switch("*"===(r=r||"i8").charAt(r.length-1)&&(r="i32"),r){case"i1":case"i8":C[t>>0]=e;break;case"i16":q[t>>1]=e;break;case"i32":D[t>>2]=e;break;case"i64":lt=[e>>>0,(ut=e,+Math.abs(ut)>=1?ut>0?(0|Math.min(+Math.floor(ut/4294967296),4294967295))>>>0:~~+Math.ceil((ut-+(~~ut>>>0))/4294967296)>>>0:0)],D[t>>2]=lt[0],D[t+4>>2]=lt[1];break;case"float":L[t>>2]=e;break;case"double":$[t>>3]=e;break;default:at("invalid type for setValue: "+r)}}function I(t,e,r){switch("*"===(e=e||"i8").charAt(e.length-1)&&(e="i32"),e){case"i1":case"i8":return C[t>>0];case"i16":return q[t>>1];case"i32":case"i64":return D[t>>2];case"float":return L[t>>2];case"double":return $[t>>3];default:at("invalid type for getValue: "+e)}return null}"object"!=typeof WebAssembly&&at("no native wasm support detected");var M=!1;function T(t,e){t||at("Assertion failed: "+e)}var F,C,R,q,D,L,$,B="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function V(t,e,r){for(var n=e+r,s=e;t[s]&&!(s>=n);)++s;if(s-e>16&&t.subarray&&B)return B.decode(t.subarray(e,s));for(var i="";e<s;){var o=t[e++];if(128&o){var a=63&t[e++];if(192!=(224&o)){var c=63&t[e++];if((o=224==(240&o)?(15&o)<<12|a<<6|c:(7&o)<<18|a<<12|c<<6|63&t[e++])<65536)i+=String.fromCharCode(o);else{var u=o-65536;i+=String.fromCharCode(55296|u>>10,56320|1023&u)}}else i+=String.fromCharCode((31&o)<<6|a)}else i+=String.fromCharCode(o)}return i}function z(t,e){return t?V(R,t,e):""}function G(t,e,r,n){if(!(n>0))return 0;for(var s=r,i=r+n-1,o=0;o<t.length;++o){var a=t.charCodeAt(o);if(a>=55296&&a<=57343&&(a=65536+((1023&a)<<10)|1023&t.charCodeAt(++o)),a<=127){if(r>=i)break;e[r++]=a}else if(a<=2047){if(r+1>=i)break;e[r++]=192|a>>6,e[r++]=128|63&a}else if(a<=65535){if(r+2>=i)break;e[r++]=224|a>>12,e[r++]=128|a>>6&63,e[r++]=128|63&a}else{if(r+3>=i)break;e[r++]=240|a>>18,e[r++]=128|a>>12&63,e[r++]=128|a>>6&63,e[r++]=128|63&a}}return e[r]=0,r-s}function U(t,e,r){return G(t,R,e,r)}function W(t){for(var e=0,r=0;r<t.length;++r){var n=t.charCodeAt(r);n>=55296&&n<=57343&&(n=65536+((1023&n)<<10)|1023&t.charCodeAt(++r)),n<=127?++e:e+=n<=2047?2:n<=65535?3:4}return e}function Z(t){var e=W(t)+1,r=zt(e);return G(t,C,r,e),r}function K(t){F=t,n.HEAP8=C=new Int8Array(t),n.HEAP16=q=new Int16Array(t),n.HEAP32=D=new Int32Array(t),n.HEAPU8=R=new Uint8Array(t),n.HEAPU16=new Uint16Array(t),n.HEAPU32=new Uint32Array(t),n.HEAPF32=L=new Float32Array(t),n.HEAPF64=$=new Float64Array(t)}var H=n.INITIAL_MEMORY||33554432;(P=n.wasmMemory?n.wasmMemory:new WebAssembly.Memory({initial:H/65536,maximum:32768}))&&(F=P.buffer),H=F.byteLength,K(F);var Q=new WebAssembly.Table({initial:17,element:"anyfunc"}),Y=[],J=[],X=[],tt=[],et=!1,rt=0,nt=null,st=null;function it(t){rt++,n.monitorRunDependencies&&n.monitorRunDependencies(rt)}function ot(t){if(rt--,n.monitorRunDependencies&&n.monitorRunDependencies(rt),0==rt&&(null!==nt&&(clearInterval(nt),nt=null),st)){var e=st;st=null,e()}}function at(t){throw n.onAbort&&n.onAbort(t),w(t+=""),M=!0,t="abort("+t+"). Build with -s ASSERTIONS=1 for more info.",new WebAssembly.RuntimeError(t)}n.preloadedImages={},n.preloadedAudios={},n.preloadedWasm={};var ct,ut,lt;function pt(t){return t.startsWith("data:application/octet-stream;base64,")}function ft(t){return t.startsWith("file://")}function ht(t){try{if(t==ct&&S)return new Uint8Array(S);if(y)return y(t);throw"both async and sync fetching of the wasm failed"}catch(t){at(t)}}pt(ct="tree-sitter.wasm")||(ct=function(t){return n.locateFile?n.locateFile(t,b):b+t}(ct));var _t={},dt={get:function(t,e){return _t[e]||(_t[e]=new WebAssembly.Global({value:"i32",mutable:!0})),_t[e]}};function mt(t){for(;t.length>0;){var e=t.shift();if("function"!=typeof e){var r=e.func;"number"==typeof r?void 0===e.arg?Q.get(r)():Q.get(r)(e.arg):r(void 0===e.arg?null:e.arg)}else e(n)}}function yt(t){var e=0;function r(){for(var r=0,n=1;;){var s=t[e++];if(r+=(127&s)*n,n*=128,!(128&s))break}return r}if(t instanceof WebAssembly.Module){var n=WebAssembly.Module.customSections(t,"dylink");T(0!=n.length,"need dylink section"),t=new Int8Array(n[0])}else T(1836278016==new Uint32Array(new Uint8Array(t.subarray(0,24)).buffer)[0],"need to see wasm magic number"),T(0===t[8],"need the dylink section to be first"),e=9,r(),T(6===t[e]),T(t[++e]==="d".charCodeAt(0)),T(t[++e]==="y".charCodeAt(0)),T(t[++e]==="l".charCodeAt(0)),T(t[++e]==="i".charCodeAt(0)),T(t[++e]==="n".charCodeAt(0)),T(t[++e]==="k".charCodeAt(0)),e++;var s={};s.memorySize=r(),s.memoryAlign=r(),s.tableSize=r(),s.tableAlign=r();var i=r();s.neededDynlibs=[];for(var o=0;o<i;++o){var a=r(),c=t.subarray(e,e+a);e+=a;var u=V(c,0);s.neededDynlibs.push(u)}return s}var gt=0;function vt(){return k||gt>0}function bt(t){return 0==t.indexOf("dynCall_")||["stackAlloc","stackSave","stackRestore"].includes(t)?t:"_"+t}function wt(t,e){for(var r in t)if(t.hasOwnProperty(r)){Dt.hasOwnProperty(r)||(Dt[r]=t[r]);var s=bt(r);n.hasOwnProperty(s)||(n[s]=t[r])}}var Et={nextHandle:1,loadedLibs:{},loadedLibNames:{}};var xt=5250880;function Ot(t){return["__cpp_exception","__wasm_apply_data_relocs","__dso_handle","__set_stack_limits"].includes(t)}function jt(t,e){var r={};for(var n in t){var s=t[n];"object"==typeof s&&(s=s.value),"number"==typeof s&&(s+=e),r[n]=s}return function(t){for(var e in t)if(!Ot(e)){var r=!1,n=t[e];e.startsWith("orig$")&&(e=e.split("$")[1],r=!0),_t[e]||(_t[e]=new WebAssembly.Global({value:"i32",mutable:!0})),(r||0==_t[e].value)&&("function"==typeof n?_t[e].value=j(n):"number"==typeof n?_t[e].value=n:w("unhandled export type for `"+e+"`: "+typeof n))}}(r),r}function St(t,e){var r,s;return e&&(r=Dt["orig$"+t]),r||(r=Dt[t]),r||(r=n[bt(t)]),!r&&t.startsWith("invoke_")&&(s=t.split("_")[1],r=function(){var t=Bt();try{return function(t,e,r){return t.includes("j")?function(t,e,r){var s=n["dynCall_"+t];return r&&r.length?s.apply(null,[e].concat(r)):s.call(null,e)}(t,e,r):Q.get(e).apply(null,r)}(s,arguments[0],Array.prototype.slice.call(arguments,1))}catch(e){if(Vt(t),e!==e+0&&"longjmp"!==e)throw e;Gt(1,0)}}),r}function At(t,e){var r=yt(t);function n(){var n=Math.pow(2,r.memoryAlign);n=Math.max(n,x);var s,i,o,a=(s=function(t){if(et)return Lt(t);var e=xt,r=e+t+15&-16;return xt=r,_t.__heap_base.value=r,e}(r.memorySize+n),(i=n)||(i=x),Math.ceil(s/i)*i),c=Q.length;Q.grow(r.tableSize);for(var u=a;u<a+r.memorySize;u++)C[u]=0;for(u=c;u<c+r.tableSize;u++)Q.set(u,null);var l=new Proxy({},{get:function(t,e){switch(e){case"__memory_base":return a;case"__table_base":return c}return e in Dt?Dt[e]:(e in t||(t[e]=function(){return r||(r=function(t){var e=St(t,!1);return e||(e=o[t]),e}(e)),r.apply(null,arguments)}),t[e]);var r}}),p={"GOT.mem":new Proxy({},dt),"GOT.func":new Proxy({},dt),env:l,wasi_snapshot_preview1:l};function f(t){for(var n=0;n<r.tableSize;n++){var s=Q.get(c+n);s&&E.set(s,c+n)}o=jt(t.exports,a),e.allowUndefined||kt();var i=o.__wasm_call_ctors;return i||(i=o.__post_instantiate),i&&(et?i():J.push(i)),o}if(e.loadAsync){if(t instanceof WebAssembly.Module){var h=new WebAssembly.Instance(t,p);return Promise.resolve(f(h))}return WebAssembly.instantiate(t,p).then((function(t){return f(t.instance)}))}var _=t instanceof WebAssembly.Module?t:new WebAssembly.Module(t);return f(h=new WebAssembly.Instance(_,p))}return e.loadAsync?r.neededDynlibs.reduce((function(t,r){return t.then((function(){return Pt(r,e)}))}),Promise.resolve()).then((function(){return n()})):(r.neededDynlibs.forEach((function(t){Pt(t,e)})),n())}function Pt(t,e){"__main__"!=t||Et.loadedLibNames[t]||(Et.loadedLibs[-1]={refcount:1/0,name:"__main__",module:n.asm,global:!0},Et.loadedLibNames.__main__=-1),e=e||{global:!0,nodelete:!0};var r,s=Et.loadedLibNames[t];if(s)return r=Et.loadedLibs[s],e.global&&!r.global&&(r.global=!0,"loading"!==r.module&&wt(r.module)),e.nodelete&&r.refcount!==1/0&&(r.refcount=1/0),r.refcount++,e.loadAsync?Promise.resolve(s):s;function i(t){if(e.fs){var r=e.fs.readFile(t,{encoding:"binary"});return r instanceof Uint8Array||(r=new Uint8Array(r)),e.loadAsync?Promise.resolve(r):r}return e.loadAsync?(n=t,fetch(n,{credentials:"same-origin"}).then((function(t){if(!t.ok)throw"failed to load binary file at '"+n+"'";return t.arrayBuffer()})).then((function(t){return new Uint8Array(t)}))):y(t);var n}function o(){if(void 0!==n.preloadedWasm&&void 0!==n.preloadedWasm[t]){var r=n.preloadedWasm[t];return e.loadAsync?Promise.resolve(r):r}return e.loadAsync?i(t).then((function(t){return At(t,e)})):At(i(t),e)}function a(t){r.global&&wt(t),r.module=t}return s=Et.nextHandle++,r={refcount:e.nodelete?1/0:1,name:t,module:"loading",global:e.global},Et.loadedLibNames[t]=s,Et.loadedLibs[s]=r,e.loadAsync?o().then((function(t){return a(t),s})):(a(o()),s)}function kt(){for(var t in _t)if(0==_t[t].value){var e=St(t,!0);"function"==typeof e?_t[t].value=j(e,e.sig):"number"==typeof e?_t[t].value=e:T(!1,"bad export type for `"+t+"`: "+typeof e)}}n.___heap_base=xt;var Nt,It=new WebAssembly.Global({value:"i32",mutable:!0},5250880);function Mt(){at()}n._abort=Mt,Mt.sig="v",Nt=c?function(){var t=process.hrtime();return 1e3*t[0]+t[1]/1e6}:"undefined"!=typeof dateNow?dateNow:function(){return performance.now()};function Tt(t,e){var r;if(0===t)r=Date.now();else{if(1!==t&&4!==t)return 28,D[$t()>>2]=28,-1;r=Nt()}return D[e>>2]=r/1e3|0,D[e+4>>2]=r%1e3*1e3*1e3|0,0}function Ft(t){try{return P.grow(t-F.byteLength+65535>>>16),K(P.buffer),1}catch(t){}}function Ct(t){Kt(t)}function Rt(t){}Tt.sig="iii",Ct.sig="vi",Rt.sig="vi";var qt,Dt={__heap_base:xt,__indirect_function_table:Q,__memory_base:1024,__stack_pointer:It,__table_base:1,abort:Mt,clock_gettime:Tt,emscripten_memcpy_big:function(t,e,r){R.copyWithin(t,e,e+r)},emscripten_resize_heap:function(t){var e,r=R.length;if((t>>>=0)>2147483648)return!1;for(var n=1;n<=4;n*=2){var s=r*(1+.2/n);if(s=Math.min(s,t+100663296),Ft(Math.min(2147483648,((e=Math.max(t,s))%65536>0&&(e+=65536-e%65536),e))))return!0}return!1},exit:Ct,memory:P,setTempRet0:Rt,tree_sitter_log_callback:function(t,e){if(ue){const r=z(e);ue(r,0!==t)}},tree_sitter_parse_callback:function(t,e,r,n,s){var i=ce(e,{row:r,column:n});"string"==typeof i?(N(s,i.length,"i32"),function(t,e,r){if(void 0===r&&(r=2147483647),r<2)return 0;for(var n=(r-=2)<2*t.length?r/2:t.length,s=0;s<n;++s){var i=t.charCodeAt(s);q[e>>1]=i,e+=2}q[e>>1]=0}(i,t,10240)):N(s,0,"i32")}},Lt=(function(){var t={env:Dt,wasi_snapshot_preview1:Dt,"GOT.mem":new Proxy(Dt,dt),"GOT.func":new Proxy(Dt,dt)};function e(t,e){var r=t.exports;r=jt(r,1024),n.asm=r;var s,i=yt(e);i.neededDynlibs&&(A=i.neededDynlibs.concat(A)),wt(r),s=n.asm.__wasm_call_ctors,J.unshift(s),ot()}function r(t){e(t.instance,t.module)}function s(e){return function(){if(!S&&(l||p)){if("function"==typeof fetch&&!ft(ct))return fetch(ct,{credentials:"same-origin"}).then((function(t){if(!t.ok)throw"failed to load wasm binary file at '"+ct+"'";return t.arrayBuffer()})).catch((function(){return ht(ct)}));if(m)return new Promise((function(t,e){m(ct,(function(e){t(new Uint8Array(e))}),e)}))}return Promise.resolve().then((function(){return ht(ct)}))}().then((function(e){return WebAssembly.instantiate(e,t)})).then(e,(function(t){w("failed to asynchronously prepare wasm: "+t),at(t)}))}if(it(),n.instantiateWasm)try{return n.instantiateWasm(t,e)}catch(t){return w("Module.instantiateWasm callback failed with error: "+t),!1}S||"function"!=typeof WebAssembly.instantiateStreaming||pt(ct)||ft(ct)||"function"!=typeof fetch?s(r):fetch(ct,{credentials:"same-origin"}).then((function(e){return WebAssembly.instantiateStreaming(e,t).then(r,(function(t){return w("wasm streaming compile failed: "+t),w("falling back to ArrayBuffer instantiation"),s(r)}))}))}(),n.___wasm_call_ctors=function(){return(n.___wasm_call_ctors=n.asm.__wasm_call_ctors).apply(null,arguments)},n._malloc=function(){return(Lt=n._malloc=n.asm.malloc).apply(null,arguments)}),$t=(n._calloc=function(){return(n._calloc=n.asm.calloc).apply(null,arguments)},n._realloc=function(){return(n._realloc=n.asm.realloc).apply(null,arguments)},n._free=function(){return(n._free=n.asm.free).apply(null,arguments)},n._ts_language_symbol_count=function(){return(n._ts_language_symbol_count=n.asm.ts_language_symbol_count).apply(null,arguments)},n._ts_language_version=function(){return(n._ts_language_version=n.asm.ts_language_version).apply(null,arguments)},n._ts_language_field_count=function(){return(n._ts_language_field_count=n.asm.ts_language_field_count).apply(null,arguments)},n._ts_language_symbol_name=function(){return(n._ts_language_symbol_name=n.asm.ts_language_symbol_name).apply(null,arguments)},n._ts_language_symbol_for_name=function(){return(n._ts_language_symbol_for_name=n.asm.ts_language_symbol_for_name).apply(null,arguments)},n._ts_language_symbol_type=function(){return(n._ts_language_symbol_type=n.asm.ts_language_symbol_type).apply(null,arguments)},n._ts_language_field_name_for_id=function(){return(n._ts_language_field_name_for_id=n.asm.ts_language_field_name_for_id).apply(null,arguments)},n._memcpy=function(){return(n._memcpy=n.asm.memcpy).apply(null,arguments)},n._ts_parser_delete=function(){return(n._ts_parser_delete=n.asm.ts_parser_delete).apply(null,arguments)},n._ts_parser_reset=function(){return(n._ts_parser_reset=n.asm.ts_parser_reset).apply(null,arguments)},n._ts_parser_set_language=function(){return(n._ts_parser_set_language=n.asm.ts_parser_set_language).apply(null,arguments)},n._ts_parser_timeout_micros=function(){return(n._ts_parser_timeout_micros=n.asm.ts_parser_timeout_micros).apply(null,arguments)},n._ts_parser_set_timeout_micros=function(){return(n._ts_parser_set_timeout_micros=n.asm.ts_parser_set_timeout_micros).apply(null,arguments)},n._memmove=function(){return(n._memmove=n.asm.memmove).apply(null,arguments)},n._memcmp=function(){return(n._memcmp=n.asm.memcmp).apply(null,arguments)},n._ts_query_new=function(){return(n._ts_query_new=n.asm.ts_query_new).apply(null,arguments)},n._ts_query_delete=function(){return(n._ts_query_delete=n.asm.ts_query_delete).apply(null,arguments)},n._iswspace=function(){return(n._iswspace=n.asm.iswspace).apply(null,arguments)},n._iswalnum=function(){return(n._iswalnum=n.asm.iswalnum).apply(null,arguments)},n._ts_query_pattern_count=function(){return(n._ts_query_pattern_count=n.asm.ts_query_pattern_count).apply(null,arguments)},n._ts_query_capture_count=function(){return(n._ts_query_capture_count=n.asm.ts_query_capture_count).apply(null,arguments)},n._ts_query_string_count=function(){return(n._ts_query_string_count=n.asm.ts_query_string_count).apply(null,arguments)},n._ts_query_capture_name_for_id=function(){return(n._ts_query_capture_name_for_id=n.asm.ts_query_capture_name_for_id).apply(null,arguments)},n._ts_query_string_value_for_id=function(){return(n._ts_query_string_value_for_id=n.asm.ts_query_string_value_for_id).apply(null,arguments)},n._ts_query_predicates_for_pattern=function(){return(n._ts_query_predicates_for_pattern=n.asm.ts_query_predicates_for_pattern).apply(null,arguments)},n._ts_tree_copy=function(){return(n._ts_tree_copy=n.asm.ts_tree_copy).apply(null,arguments)},n._ts_tree_delete=function(){return(n._ts_tree_delete=n.asm.ts_tree_delete).apply(null,arguments)},n._ts_init=function(){return(n._ts_init=n.asm.ts_init).apply(null,arguments)},n._ts_parser_new_wasm=function(){return(n._ts_parser_new_wasm=n.asm.ts_parser_new_wasm).apply(null,arguments)},n._ts_parser_enable_logger_wasm=function(){return(n._ts_parser_enable_logger_wasm=n.asm.ts_parser_enable_logger_wasm).apply(null,arguments)},n._ts_parser_parse_wasm=function(){return(n._ts_parser_parse_wasm=n.asm.ts_parser_parse_wasm).apply(null,arguments)},n._ts_language_type_is_named_wasm=function(){return(n._ts_language_type_is_named_wasm=n.asm.ts_language_type_is_named_wasm).apply(null,arguments)},n._ts_language_type_is_visible_wasm=function(){return(n._ts_language_type_is_visible_wasm=n.asm.ts_language_type_is_visible_wasm).apply(null,arguments)},n._ts_tree_root_node_wasm=function(){return(n._ts_tree_root_node_wasm=n.asm.ts_tree_root_node_wasm).apply(null,arguments)},n._ts_tree_edit_wasm=function(){return(n._ts_tree_edit_wasm=n.asm.ts_tree_edit_wasm).apply(null,arguments)},n._ts_tree_get_changed_ranges_wasm=function(){return(n._ts_tree_get_changed_ranges_wasm=n.asm.ts_tree_get_changed_ranges_wasm).apply(null,arguments)},n._ts_tree_cursor_new_wasm=function(){return(n._ts_tree_cursor_new_wasm=n.asm.ts_tree_cursor_new_wasm).apply(null,arguments)},n._ts_tree_cursor_delete_wasm=function(){return(n._ts_tree_cursor_delete_wasm=n.asm.ts_tree_cursor_delete_wasm).apply(null,arguments)},n._ts_tree_cursor_reset_wasm=function(){return(n._ts_tree_cursor_reset_wasm=n.asm.ts_tree_cursor_reset_wasm).apply(null,arguments)},n._ts_tree_cursor_goto_first_child_wasm=function(){return(n._ts_tree_cursor_goto_first_child_wasm=n.asm.ts_tree_cursor_goto_first_child_wasm).apply(null,arguments)},n._ts_tree_cursor_goto_next_sibling_wasm=function(){return(n._ts_tree_cursor_goto_next_sibling_wasm=n.asm.ts_tree_cursor_goto_next_sibling_wasm).apply(null,arguments)},n._ts_tree_cursor_goto_parent_wasm=function(){return(n._ts_tree_cursor_goto_parent_wasm=n.asm.ts_tree_cursor_goto_parent_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_type_id_wasm=function(){return(n._ts_tree_cursor_current_node_type_id_wasm=n.asm.ts_tree_cursor_current_node_type_id_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_is_named_wasm=function(){return(n._ts_tree_cursor_current_node_is_named_wasm=n.asm.ts_tree_cursor_current_node_is_named_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_is_missing_wasm=function(){return(n._ts_tree_cursor_current_node_is_missing_wasm=n.asm.ts_tree_cursor_current_node_is_missing_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_id_wasm=function(){return(n._ts_tree_cursor_current_node_id_wasm=n.asm.ts_tree_cursor_current_node_id_wasm).apply(null,arguments)},n._ts_tree_cursor_start_position_wasm=function(){return(n._ts_tree_cursor_start_position_wasm=n.asm.ts_tree_cursor_start_position_wasm).apply(null,arguments)},n._ts_tree_cursor_end_position_wasm=function(){return(n._ts_tree_cursor_end_position_wasm=n.asm.ts_tree_cursor_end_position_wasm).apply(null,arguments)},n._ts_tree_cursor_start_index_wasm=function(){return(n._ts_tree_cursor_start_index_wasm=n.asm.ts_tree_cursor_start_index_wasm).apply(null,arguments)},n._ts_tree_cursor_end_index_wasm=function(){return(n._ts_tree_cursor_end_index_wasm=n.asm.ts_tree_cursor_end_index_wasm).apply(null,arguments)},n._ts_tree_cursor_current_field_id_wasm=function(){return(n._ts_tree_cursor_current_field_id_wasm=n.asm.ts_tree_cursor_current_field_id_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_wasm=function(){return(n._ts_tree_cursor_current_node_wasm=n.asm.ts_tree_cursor_current_node_wasm).apply(null,arguments)},n._ts_node_symbol_wasm=function(){return(n._ts_node_symbol_wasm=n.asm.ts_node_symbol_wasm).apply(null,arguments)},n._ts_node_child_count_wasm=function(){return(n._ts_node_child_count_wasm=n.asm.ts_node_child_count_wasm).apply(null,arguments)},n._ts_node_named_child_count_wasm=function(){return(n._ts_node_named_child_count_wasm=n.asm.ts_node_named_child_count_wasm).apply(null,arguments)},n._ts_node_child_wasm=function(){return(n._ts_node_child_wasm=n.asm.ts_node_child_wasm).apply(null,arguments)},n._ts_node_named_child_wasm=function(){return(n._ts_node_named_child_wasm=n.asm.ts_node_named_child_wasm).apply(null,arguments)},n._ts_node_child_by_field_id_wasm=function(){return(n._ts_node_child_by_field_id_wasm=n.asm.ts_node_child_by_field_id_wasm).apply(null,arguments)},n._ts_node_next_sibling_wasm=function(){return(n._ts_node_next_sibling_wasm=n.asm.ts_node_next_sibling_wasm).apply(null,arguments)},n._ts_node_prev_sibling_wasm=function(){return(n._ts_node_prev_sibling_wasm=n.asm.ts_node_prev_sibling_wasm).apply(null,arguments)},n._ts_node_next_named_sibling_wasm=function(){return(n._ts_node_next_named_sibling_wasm=n.asm.ts_node_next_named_sibling_wasm).apply(null,arguments)},n._ts_node_prev_named_sibling_wasm=function(){return(n._ts_node_prev_named_sibling_wasm=n.asm.ts_node_prev_named_sibling_wasm).apply(null,arguments)},n._ts_node_parent_wasm=function(){return(n._ts_node_parent_wasm=n.asm.ts_node_parent_wasm).apply(null,arguments)},n._ts_node_descendant_for_index_wasm=function(){return(n._ts_node_descendant_for_index_wasm=n.asm.ts_node_descendant_for_index_wasm).apply(null,arguments)},n._ts_node_named_descendant_for_index_wasm=function(){return(n._ts_node_named_descendant_for_index_wasm=n.asm.ts_node_named_descendant_for_index_wasm).apply(null,arguments)},n._ts_node_descendant_for_position_wasm=function(){return(n._ts_node_descendant_for_position_wasm=n.asm.ts_node_descendant_for_position_wasm).apply(null,arguments)},n._ts_node_named_descendant_for_position_wasm=function(){return(n._ts_node_named_descendant_for_position_wasm=n.asm.ts_node_named_descendant_for_position_wasm).apply(null,arguments)},n._ts_node_start_point_wasm=function(){return(n._ts_node_start_point_wasm=n.asm.ts_node_start_point_wasm).apply(null,arguments)},n._ts_node_end_point_wasm=function(){return(n._ts_node_end_point_wasm=n.asm.ts_node_end_point_wasm).apply(null,arguments)},n._ts_node_start_index_wasm=function(){return(n._ts_node_start_index_wasm=n.asm.ts_node_start_index_wasm).apply(null,arguments)},n._ts_node_end_index_wasm=function(){return(n._ts_node_end_index_wasm=n.asm.ts_node_end_index_wasm).apply(null,arguments)},n._ts_node_to_string_wasm=function(){return(n._ts_node_to_string_wasm=n.asm.ts_node_to_string_wasm).apply(null,arguments)},n._ts_node_children_wasm=function(){return(n._ts_node_children_wasm=n.asm.ts_node_children_wasm).apply(null,arguments)},n._ts_node_named_children_wasm=function(){return(n._ts_node_named_children_wasm=n.asm.ts_node_named_children_wasm).apply(null,arguments)},n._ts_node_descendants_of_type_wasm=function(){return(n._ts_node_descendants_of_type_wasm=n.asm.ts_node_descendants_of_type_wasm).apply(null,arguments)},n._ts_node_is_named_wasm=function(){return(n._ts_node_is_named_wasm=n.asm.ts_node_is_named_wasm).apply(null,arguments)},n._ts_node_has_changes_wasm=function(){return(n._ts_node_has_changes_wasm=n.asm.ts_node_has_changes_wasm).apply(null,arguments)},n._ts_node_has_error_wasm=function(){return(n._ts_node_has_error_wasm=n.asm.ts_node_has_error_wasm).apply(null,arguments)},n._ts_node_is_missing_wasm=function(){return(n._ts_node_is_missing_wasm=n.asm.ts_node_is_missing_wasm).apply(null,arguments)},n._ts_query_matches_wasm=function(){return(n._ts_query_matches_wasm=n.asm.ts_query_matches_wasm).apply(null,arguments)},n._ts_query_captures_wasm=function(){return(n._ts_query_captures_wasm=n.asm.ts_query_captures_wasm).apply(null,arguments)},n._iswdigit=function(){return(n._iswdigit=n.asm.iswdigit).apply(null,arguments)},n._iswalpha=function(){return(n._iswalpha=n.asm.iswalpha).apply(null,arguments)},n._iswlower=function(){return(n._iswlower=n.asm.iswlower).apply(null,arguments)},n._towupper=function(){return(n._towupper=n.asm.towupper).apply(null,arguments)},n.___errno_location=function(){return($t=n.___errno_location=n.asm.__errno_location).apply(null,arguments)}),Bt=(n._memchr=function(){return(n._memchr=n.asm.memchr).apply(null,arguments)},n._strlen=function(){return(n._strlen=n.asm.strlen).apply(null,arguments)},n.stackSave=function(){return(Bt=n.stackSave=n.asm.stackSave).apply(null,arguments)}),Vt=n.stackRestore=function(){return(Vt=n.stackRestore=n.asm.stackRestore).apply(null,arguments)},zt=n.stackAlloc=function(){return(zt=n.stackAlloc=n.asm.stackAlloc).apply(null,arguments)},Gt=n._setThrew=function(){return(Gt=n._setThrew=n.asm.setThrew).apply(null,arguments)};function Ut(t){this.name="ExitStatus",this.message="Program terminated with exit("+t+")",this.status=t}n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm).apply(null,arguments)},n.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=function(){return(n.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=n.asm._ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc).apply(null,arguments)},n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=function(){return(n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=n.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev).apply(null,arguments)},n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=function(){return(n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=n.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw).apply(null,arguments)},n.__Znwm=function(){return(n.__Znwm=n.asm._Znwm).apply(null,arguments)},n.__ZdlPv=function(){return(n.__ZdlPv=n.asm._ZdlPv).apply(null,arguments)},n.__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv=function(){return(n.__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv=n.asm._ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv).apply(null,arguments)},n._orig$ts_parser_timeout_micros=function(){return(n._orig$ts_parser_timeout_micros=n.asm.orig$ts_parser_timeout_micros).apply(null,arguments)},n._orig$ts_parser_set_timeout_micros=function(){return(n._orig$ts_parser_set_timeout_micros=n.asm.orig$ts_parser_set_timeout_micros).apply(null,arguments)},n.allocate=function(t,e){var r;return r=1==e?zt(t.length):Lt(t.length),t.subarray||t.slice?R.set(t,r):R.set(new Uint8Array(t),r),r},st=function t(){qt||Zt(),qt||(st=t)};var Wt=!1;function Zt(t){function e(){qt||(qt=!0,n.calledRun=!0,M||(et=!0,mt(J),mt(X),n.onRuntimeInitialized&&n.onRuntimeInitialized(),Ht&&function(t){var e=n._main;if(e){var r=(t=t||[]).length+1,s=zt(4*(r+1));D[s>>2]=Z(h);for(var i=1;i<r;i++)D[(s>>2)+i]=Z(t[i-1]);D[(s>>2)+r]=0;try{Kt(e(r,s),!0)}catch(t){if(t instanceof Ut)return;if("unwind"==t)return;var o=t;t&&"object"==typeof t&&t.stack&&(o=[t,t.stack]),w("exception thrown: "+o),_(1,t)}}}(t),function(){if(n.postRun)for("function"==typeof n.postRun&&(n.postRun=[n.postRun]);n.postRun.length;)t=n.postRun.shift(),tt.unshift(t);var t;mt(tt)}()))}t=t||f,rt>0||!Wt&&(function(){if(A.length){if(!y)return it(),void A.reduce((function(t,e){return t.then((function(){return Pt(e,{loadAsync:!0,global:!0,nodelete:!0,allowUndefined:!0})}))}),Promise.resolve()).then((function(){ot(),kt()}));A.forEach((function(t){Pt(t,{global:!0,nodelete:!0,allowUndefined:!0})})),kt()}else kt()}(),Wt=!0,rt>0)||(function(){if(n.preRun)for("function"==typeof n.preRun&&(n.preRun=[n.preRun]);n.preRun.length;)t=n.preRun.shift(),Y.unshift(t);var t;mt(Y)}(),rt>0||(n.setStatus?(n.setStatus("Running..."),setTimeout((function(){setTimeout((function(){n.setStatus("")}),1),e()}),1)):e()))}function Kt(t,e){e&&vt()&&0===t||(vt()||(n.onExit&&n.onExit(t),M=!0),_(t,new Ut(t)))}if(n.run=Zt,n.preInit)for("function"==typeof n.preInit&&(n.preInit=[n.preInit]);n.preInit.length>0;)n.preInit.pop()();var Ht=!0;n.noInitialRun&&(Ht=!1),Zt();const Qt=n,Yt={},Jt=4,Xt=5*Jt,te=2*Jt,ee=2*Jt+2*te,re={row:0,column:0},ne=/[\w-.]*/g,se=/^_?tree_sitter_\w+/;var ie,oe,ae,ce,ue;class le{static init(){ae=Qt._ts_init(),ie=I(ae,"i32"),oe=I(ae+Jt,"i32")}initialize(){Qt._ts_parser_new_wasm(),this[0]=I(ae,"i32"),this[1]=I(ae+Jt,"i32")}delete(){Qt._ts_parser_delete(this[0]),Qt._free(this[1]),this[0]=0,this[1]=0}setLanguage(t){let e;if(t){if(t.constructor!==_e)throw new Error("Argument must be a Language");{e=t[0];const r=Qt._ts_language_version(e);if(r<oe||ie<r)throw new Error(`Incompatible language version ${r}. Compatibility range ${oe} through ${ie}.`)}}else e=0,t=null;return this.language=t,Qt._ts_parser_set_language(this[0],e),this}getLanguage(){return this.language}parse(t,e,r){if("string"==typeof t)ce=(e,r,n)=>t.slice(e,n);else{if("function"!=typeof t)throw new Error("Argument must be a string or a function");ce=t}this.logCallback?(ue=this.logCallback,Qt._ts_parser_enable_logger_wasm(this[0],1)):(ue=null,Qt._ts_parser_enable_logger_wasm(this[0],0));let n=0,s=0;if(r&&r.includedRanges){n=r.includedRanges.length;let t=s=Qt._calloc(n,ee);for(let e=0;e<n;e++)Se(t,r.includedRanges[e]),t+=ee}const i=Qt._ts_parser_parse_wasm(this[0],this[1],e?e[0]:0,s,n);if(!i)throw ce=null,ue=null,new Error("Parsing failed");const o=new pe(Yt,i,this.language,ce);return ce=null,ue=null,o}reset(){Qt._ts_parser_reset(this[0])}setTimeoutMicros(t){Qt._ts_parser_set_timeout_micros(this[0],t)}getTimeoutMicros(){return Qt._ts_parser_timeout_micros(this[0])}setLogger(t){if(t){if("function"!=typeof t)throw new Error("Logger callback must be a function")}else t=null;return this.logCallback=t,this}getLogger(){return this.logCallback}}class pe{constructor(t,e,r,n){ge(t),this[0]=e,this.language=r,this.textCallback=n}copy(){const t=Qt._ts_tree_copy(this[0]);return new pe(Yt,t,this.language,this.textCallback)}delete(){Qt._ts_tree_delete(this[0]),this[0]=0}edit(t){!function(t){let e=ae;Oe(e,t.startPosition),Oe(e+=te,t.oldEndPosition),Oe(e+=te,t.newEndPosition),N(e+=te,t.startIndex,"i32"),N(e+=Jt,t.oldEndIndex,"i32"),N(e+=Jt,t.newEndIndex,"i32"),e+=Jt}(t),Qt._ts_tree_edit_wasm(this[0])}get rootNode(){return Qt._ts_tree_root_node_wasm(this[0]),we(this)}getLanguage(){return this.language}walk(){return this.rootNode.walk()}getChangedRanges(t){if(t.constructor!==pe)throw new TypeError("Argument must be a Tree");Qt._ts_tree_get_changed_ranges_wasm(this[0],t[0]);const e=I(ae,"i32"),r=I(ae+Jt,"i32"),n=new Array(e);if(e>0){let t=r;for(let r=0;r<e;r++)n[r]=Ae(t),t+=ee;Qt._free(r)}return n}}class fe{constructor(t,e){ge(t),this.tree=e}get typeId(){return be(this),Qt._ts_node_symbol_wasm(this.tree[0])}get type(){return this.tree.language.types[this.typeId]||"ERROR"}get endPosition(){return be(this),Qt._ts_node_end_point_wasm(this.tree[0]),je(ae)}get endIndex(){return be(this),Qt._ts_node_end_index_wasm(this.tree[0])}get text(){return me(this.tree,this.startIndex,this.endIndex)}isNamed(){return be(this),1===Qt._ts_node_is_named_wasm(this.tree[0])}hasError(){return be(this),1===Qt._ts_node_has_error_wasm(this.tree[0])}hasChanges(){return be(this),1===Qt._ts_node_has_changes_wasm(this.tree[0])}isMissing(){return be(this),1===Qt._ts_node_is_missing_wasm(this.tree[0])}equals(t){return this.id===t.id}child(t){return be(this),Qt._ts_node_child_wasm(this.tree[0],t),we(this.tree)}namedChild(t){return be(this),Qt._ts_node_named_child_wasm(this.tree[0],t),we(this.tree)}childForFieldId(t){return be(this),Qt._ts_node_child_by_field_id_wasm(this.tree[0],t),we(this.tree)}childForFieldName(t){const e=this.tree.language.fields.indexOf(t);if(-1!==e)return this.childForFieldId(e)}get childCount(){return be(this),Qt._ts_node_child_count_wasm(this.tree[0])}get namedChildCount(){return be(this),Qt._ts_node_named_child_count_wasm(this.tree[0])}get firstChild(){return this.child(0)}get firstNamedChild(){return this.namedChild(0)}get lastChild(){return this.child(this.childCount-1)}get lastNamedChild(){return this.namedChild(this.namedChildCount-1)}get children(){if(!this._children){be(this),Qt._ts_node_children_wasm(this.tree[0]);const t=I(ae,"i32"),e=I(ae+Jt,"i32");if(this._children=new Array(t),t>0){let r=e;for(let e=0;e<t;e++)this._children[e]=we(this.tree,r),r+=Xt;Qt._free(e)}}return this._children}get namedChildren(){if(!this._namedChildren){be(this),Qt._ts_node_named_children_wasm(this.tree[0]);const t=I(ae,"i32"),e=I(ae+Jt,"i32");if(this._namedChildren=new Array(t),t>0){let r=e;for(let e=0;e<t;e++)this._namedChildren[e]=we(this.tree,r),r+=Xt;Qt._free(e)}}return this._namedChildren}descendantsOfType(t,e,r){Array.isArray(t)||(t=[t]),e||(e=re),r||(r=re);const n=[],s=this.tree.language.types;for(let e=0,r=s.length;e<r;e++)t.includes(s[e])&&n.push(e);const i=Qt._malloc(Jt*n.length);for(let t=0,e=n.length;t<e;t++)N(i+t*Jt,n[t],"i32");be(this),Qt._ts_node_descendants_of_type_wasm(this.tree[0],i,n.length,e.row,e.column,r.row,r.column);const o=I(ae,"i32"),a=I(ae+Jt,"i32"),c=new Array(o);if(o>0){let t=a;for(let e=0;e<o;e++)c[e]=we(this.tree,t),t+=Xt}return Qt._free(a),Qt._free(i),c}get nextSibling(){return be(this),Qt._ts_node_next_sibling_wasm(this.tree[0]),we(this.tree)}get previousSibling(){return be(this),Qt._ts_node_prev_sibling_wasm(this.tree[0]),we(this.tree)}get nextNamedSibling(){return be(this),Qt._ts_node_next_named_sibling_wasm(this.tree[0]),we(this.tree)}get previousNamedSibling(){return be(this),Qt._ts_node_prev_named_sibling_wasm(this.tree[0]),we(this.tree)}get parent(){return be(this),Qt._ts_node_parent_wasm(this.tree[0]),we(this.tree)}descendantForIndex(t,e=t){if("number"!=typeof t||"number"!=typeof e)throw new Error("Arguments must be numbers");be(this);let r=ae+Xt;return N(r,t,"i32"),N(r+Jt,e,"i32"),Qt._ts_node_descendant_for_index_wasm(this.tree[0]),we(this.tree)}namedDescendantForIndex(t,e=t){if("number"!=typeof t||"number"!=typeof e)throw new Error("Arguments must be numbers");be(this);let r=ae+Xt;return N(r,t,"i32"),N(r+Jt,e,"i32"),Qt._ts_node_named_descendant_for_index_wasm(this.tree[0]),we(this.tree)}descendantForPosition(t,e=t){if(!ve(t)||!ve(e))throw new Error("Arguments must be {row, column} objects");be(this);let r=ae+Xt;return Oe(r,t),Oe(r+te,e),Qt._ts_node_descendant_for_position_wasm(this.tree[0]),we(this.tree)}namedDescendantForPosition(t,e=t){if(!ve(t)||!ve(e))throw new Error("Arguments must be {row, column} objects");be(this);let r=ae+Xt;return Oe(r,t),Oe(r+te,e),Qt._ts_node_named_descendant_for_position_wasm(this.tree[0]),we(this.tree)}walk(){return be(this),Qt._ts_tree_cursor_new_wasm(this.tree[0]),new he(Yt,this.tree)}toString(){be(this);const t=Qt._ts_node_to_string_wasm(this.tree[0]),e=function(t){for(var e="";;){var r=R[t++>>0];if(!r)return e;e+=String.fromCharCode(r)}}(t);return Qt._free(t),e}}class he{constructor(t,e){ge(t),this.tree=e,xe(this)}delete(){Ee(this),Qt._ts_tree_cursor_delete_wasm(this.tree[0]),this[0]=this[1]=this[2]=0}reset(t){be(t),Ee(this,ae+Xt),Qt._ts_tree_cursor_reset_wasm(this.tree[0]),xe(this)}get nodeType(){return this.tree.language.types[this.nodeTypeId]||"ERROR"}get nodeTypeId(){return Ee(this),Qt._ts_tree_cursor_current_node_type_id_wasm(this.tree[0])}get nodeId(){return Ee(this),Qt._ts_tree_cursor_current_node_id_wasm(this.tree[0])}get nodeIsNamed(){return Ee(this),1===Qt._ts_tree_cursor_current_node_is_named_wasm(this.tree[0])}get nodeIsMissing(){return Ee(this),1===Qt._ts_tree_cursor_current_node_is_missing_wasm(this.tree[0])}get nodeText(){Ee(this);const t=Qt._ts_tree_cursor_start_index_wasm(this.tree[0]),e=Qt._ts_tree_cursor_end_index_wasm(this.tree[0]);return me(this.tree,t,e)}get startPosition(){return Ee(this),Qt._ts_tree_cursor_start_position_wasm(this.tree[0]),je(ae)}get endPosition(){return Ee(this),Qt._ts_tree_cursor_end_position_wasm(this.tree[0]),je(ae)}get startIndex(){return Ee(this),Qt._ts_tree_cursor_start_index_wasm(this.tree[0])}get endIndex(){return Ee(this),Qt._ts_tree_cursor_end_index_wasm(this.tree[0])}currentNode(){return Ee(this),Qt._ts_tree_cursor_current_node_wasm(this.tree[0]),we(this.tree)}currentFieldId(){return Ee(this),Qt._ts_tree_cursor_current_field_id_wasm(this.tree[0])}currentFieldName(){return this.tree.language.fields[this.currentFieldId()]}gotoFirstChild(){Ee(this);const t=Qt._ts_tree_cursor_goto_first_child_wasm(this.tree[0]);return xe(this),1===t}gotoNextSibling(){Ee(this);const t=Qt._ts_tree_cursor_goto_next_sibling_wasm(this.tree[0]);return xe(this),1===t}gotoParent(){Ee(this);const t=Qt._ts_tree_cursor_goto_parent_wasm(this.tree[0]);return xe(this),1===t}}class _e{constructor(t,e){ge(t),this[0]=e,this.types=new Array(Qt._ts_language_symbol_count(this[0]));for(let t=0,e=this.types.length;t<e;t++)Qt._ts_language_symbol_type(this[0],t)<2&&(this.types[t]=z(Qt._ts_language_symbol_name(this[0],t)));this.fields=new Array(Qt._ts_language_field_count(this[0])+1);for(let t=0,e=this.fields.length;t<e;t++){const e=Qt._ts_language_field_name_for_id(this[0],t);this.fields[t]=0!==e?z(e):null}}get version(){return Qt._ts_language_version(this[0])}get fieldCount(){return this.fields.length-1}fieldIdForName(t){const e=this.fields.indexOf(t);return-1!==e?e:null}fieldNameForId(t){return this.fields[t]||null}idForNodeType(t,e){const r=W(t),n=Qt._malloc(r+1);U(t,n,r+1);const s=Qt._ts_language_symbol_for_name(this[0],n,r,e);return Qt._free(n),s||null}get nodeTypeCount(){return Qt._ts_language_symbol_count(this[0])}nodeTypeForId(t){const e=Qt._ts_language_symbol_name(this[0],t);return e?z(e):null}nodeTypeIsNamed(t){return!!Qt._ts_language_type_is_named_wasm(this[0],t)}nodeTypeIsVisible(t){return!!Qt._ts_language_type_is_visible_wasm(this[0],t)}query(t){const e=W(t),r=Qt._malloc(e+1);U(t,r,e+1);const n=Qt._ts_query_new(this[0],r,e,ae,ae+Jt);if(!n){const e=I(ae+Jt,"i32"),n=z(r,I(ae,"i32")).length,s=t.substr(n,100).split("\n")[0];let i,o=s.match(ne)[0];switch(e){case 2:i=new RangeError(`Bad node name '${o}'`);break;case 3:i=new RangeError(`Bad field name '${o}'`);break;case 4:i=new RangeError(`Bad capture name @${o}`);break;case 5:i=new TypeError(`Bad pattern structure at offset ${n}: '${s}'...`),o="";break;default:i=new SyntaxError(`Bad syntax at offset ${n}: '${s}'...`),o=""}throw i.index=n,i.length=o.length,Qt._free(r),i}const s=Qt._ts_query_string_count(n),i=Qt._ts_query_capture_count(n),o=Qt._ts_query_pattern_count(n),a=new Array(i),c=new Array(s);for(let t=0;t<i;t++){const e=Qt._ts_query_capture_name_for_id(n,t,ae),r=I(ae,"i32");a[t]=z(e,r)}for(let t=0;t<s;t++){const e=Qt._ts_query_string_value_for_id(n,t,ae),r=I(ae,"i32");c[t]=z(e,r)}const u=new Array(o),l=new Array(o),p=new Array(o),f=new Array(o),h=new Array(o);for(let t=0;t<o;t++){const e=Qt._ts_query_predicates_for_pattern(n,t,ae),r=I(ae,"i32");f[t]=[],h[t]=[];const s=[];let i=e;for(let e=0;e<r;e++){const e=I(i,"i32"),r=I(i+=Jt,"i32");if(i+=Jt,1===e)s.push({type:"capture",name:a[r]});else if(2===e)s.push({type:"string",value:c[r]});else if(s.length>0){if("string"!==s[0].type)throw new Error("Predicates must begin with a literal value");const e=s[0].value;let r=!0;switch(e){case"not-eq?":r=!1;case"eq?":if(3!==s.length)throw new Error("Wrong number of arguments to `#eq?` predicate. Expected 2, got "+(s.length-1));if("capture"!==s[1].type)throw new Error(`First argument of \`#eq?\` predicate must be a capture. Got "${s[1].value}"`);if("capture"===s[2].type){const e=s[1].name,n=s[2].name;h[t].push((function(t){let s,i;for(const r of t)r.name===e&&(s=r.node),r.name===n&&(i=r.node);return void 0===s||void 0===i||s.text===i.text===r}))}else{const e=s[1].name,n=s[2].value;h[t].push((function(t){for(const s of t)if(s.name===e)return s.node.text===n===r;return!0}))}break;case"not-match?":r=!1;case"match?":if(3!==s.length)throw new Error(`Wrong number of arguments to \`#match?\` predicate. Expected 2, got ${s.length-1}.`);if("capture"!==s[1].type)throw new Error(`First argument of \`#match?\` predicate must be a capture. Got "${s[1].value}".`);if("string"!==s[2].type)throw new Error(`Second argument of \`#match?\` predicate must be a string. Got @${s[2].value}.`);const n=s[1].name,i=new RegExp(s[2].value);h[t].push((function(t){for(const e of t)if(e.name===n)return i.test(e.node.text)===r;return!0}));break;case"set!":if(s.length<2||s.length>3)throw new Error(`Wrong number of arguments to \`#set!\` predicate. Expected 1 or 2. Got ${s.length-1}.`);if(s.some((t=>"string"!==t.type)))throw new Error('Arguments to `#set!` predicate must be a strings.".');u[t]||(u[t]={}),u[t][s[1].value]=s[2]?s[2].value:null;break;case"is?":case"is-not?":if(s.length<2||s.length>3)throw new Error(`Wrong number of arguments to \`#${e}\` predicate. Expected 1 or 2. Got ${s.length-1}.`);if(s.some((t=>"string"!==t.type)))throw new Error(`Arguments to \`#${e}\` predicate must be a strings.".`);const o="is?"===e?l:p;o[t]||(o[t]={}),o[t][s[1].value]=s[2]?s[2].value:null;break;default:f[t].push({operator:e,operands:s.slice(1)})}s.length=0}}Object.freeze(u[t]),Object.freeze(l[t]),Object.freeze(p[t])}return Qt._free(r),new de(Yt,n,a,h,f,Object.freeze(u),Object.freeze(l),Object.freeze(p))}static load(t){let e;if(t instanceof Uint8Array)e=Promise.resolve(t);else{const n=t;if("undefined"!=typeof process&&process.versions&&process.versions.node){const t=r(5530);e=Promise.resolve(t.readFileSync(n))}else e=fetch(n).then((t=>t.arrayBuffer().then((e=>{if(t.ok)return new Uint8Array(e);{const r=new TextDecoder("utf-8").decode(e);throw new Error(`Language.load failed with status ${t.status}.\n\n${r}`)}}))))}const n="function"==typeof loadSideModule?loadSideModule:At;return e.then((t=>n(t,{loadAsync:!0}))).then((t=>{const e=Object.keys(t),r=e.find((t=>se.test(t)&&!t.includes("external_scanner_")));r||console.log(`Couldn't find language function in WASM file. Symbols:\n${JSON.stringify(e,null,2)}`);const n=t[r]();return new _e(Yt,n)}))}}class de{constructor(t,e,r,n,s,i,o,a){ge(t),this[0]=e,this.captureNames=r,this.textPredicates=n,this.predicates=s,this.setProperties=i,this.assertedProperties=o,this.refutedProperties=a,this.exceededMatchLimit=!1}delete(){Qt._ts_query_delete(this[0]),this[0]=0}matches(t,e,r,n){e||(e=re),r||(r=re),n||(n={});let s=n.matchLimit;if(void 0===s)s=0;else if("number"!=typeof s)throw new Error("Arguments must be numbers");be(t),Qt._ts_query_matches_wasm(this[0],t.tree[0],e.row,e.column,r.row,r.column,s);const i=I(ae,"i32"),o=I(ae+Jt,"i32"),a=I(ae+2*Jt,"i32"),c=new Array(i);this.exceededMatchLimit=!!a;let u=0,l=o;for(let e=0;e<i;e++){const r=I(l,"i32"),n=I(l+=Jt,"i32");l+=Jt;const s=new Array(n);if(l=ye(this,t.tree,l,s),this.textPredicates[r].every((t=>t(s)))){c[u++]={pattern:r,captures:s};const t=this.setProperties[r];t&&(c[e].setProperties=t);const n=this.assertedProperties[r];n&&(c[e].assertedProperties=n);const i=this.refutedProperties[r];i&&(c[e].refutedProperties=i)}}return c.length=u,Qt._free(o),c}captures(t,e,r,n){e||(e=re),r||(r=re),n||(n={});let s=n.matchLimit;if(void 0===s)s=0;else if("number"!=typeof s)throw new Error("Arguments must be numbers");be(t),Qt._ts_query_captures_wasm(this[0],t.tree[0],e.row,e.column,r.row,r.column,s);const i=I(ae,"i32"),o=I(ae+Jt,"i32"),a=I(ae+2*Jt,"i32"),c=[];this.exceededMatchLimit=!!a;const u=[];let l=o;for(let e=0;e<i;e++){const e=I(l,"i32"),r=I(l+=Jt,"i32"),n=I(l+=Jt,"i32");if(l+=Jt,u.length=r,l=ye(this,t.tree,l,u),this.textPredicates[e].every((t=>t(u)))){const t=u[n],r=this.setProperties[e];r&&(t.setProperties=r);const s=this.assertedProperties[e];s&&(t.assertedProperties=s);const i=this.refutedProperties[e];i&&(t.refutedProperties=i),c.push(t)}}return Qt._free(o),c}predicatesForPattern(t){return this.predicates[t]}didExceedMatchLimit(){return this.exceededMatchLimit}}function me(t,e,r){const n=r-e;let s=t.textCallback(e,null,r);for(e+=s.length;e<r;){const n=t.textCallback(e,null,r);if(!(n&&n.length>0))break;e+=n.length,s+=n}return e>r&&(s=s.slice(0,n)),s}function ye(t,e,r,n){for(let s=0,i=n.length;s<i;s++){const i=I(r,"i32"),o=we(e,r+=Jt);r+=Xt,n[s]={name:t.captureNames[i],node:o}}return r}function ge(t){if(t!==Yt)throw new Error("Illegal constructor")}function ve(t){return t&&"number"==typeof t.row&&"number"==typeof t.column}function be(t){let e=ae;N(e,t.id,"i32"),N(e+=Jt,t.startIndex,"i32"),N(e+=Jt,t.startPosition.row,"i32"),N(e+=Jt,t.startPosition.column,"i32"),N(e+=Jt,t[0],"i32")}function we(t,e=ae){const r=I(e,"i32");if(0===r)return null;const n=I(e+=Jt,"i32"),s=I(e+=Jt,"i32"),i=I(e+=Jt,"i32"),o=I(e+=Jt,"i32"),a=new fe(Yt,t);return a.id=r,a.startIndex=n,a.startPosition={row:s,column:i},a[0]=o,a}function Ee(t,e=ae){N(e+0*Jt,t[0],"i32"),N(e+1*Jt,t[1],"i32"),N(e+2*Jt,t[2],"i32")}function xe(t){t[0]=I(ae+0*Jt,"i32"),t[1]=I(ae+1*Jt,"i32"),t[2]=I(ae+2*Jt,"i32")}function Oe(t,e){N(t,e.row,"i32"),N(t+Jt,e.column,"i32")}function je(t){return{row:I(t,"i32"),column:I(t+Jt,"i32")}}function Se(t,e){Oe(t,e.startPosition),Oe(t+=te,e.endPosition),N(t+=te,e.startIndex,"i32"),N(t+=Jt,e.endIndex,"i32"),t+=Jt}function Ae(t){const e={};return e.startPosition=je(t),t+=te,e.endPosition=je(t),t+=te,e.startIndex=I(t,"i32"),t+=Jt,e.endIndex=I(t,"i32"),e}for(const t of Object.getOwnPropertyNames(le.prototype))Object.defineProperty(i.prototype,t,{value:le.prototype[t],enumerable:!1,writable:!1});i.Language=_e,n.onRuntimeInitialized=()=>{le.init(),e()}})))}}return i}();t.exports=s},5530:()=>{},6287:()=>{}},e={};function r(n){var s=e[n];if(void 0!==s)return s.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 t;r.g.importScripts&&(t=r.g.location+"");var e=r.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var n=e.getElementsByTagName("script");if(n.length)for(var s=n.length-1;s>-1&&!t;)t=n[s--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=t})();var n={};return(()=>{"use strict";r.r(n),r.d(n,{detect:()=>Yi,detectionRegExp:()=>Qi,mediaTypes:()=>Hi,namespace:()=>Xi,parse:()=>Ji});var t={};r.r(t),r.d(t,{hasElementSourceMap:()=>ps,includesClasses:()=>hs,includesSymbols:()=>fs,isAnnotationElement:()=>os,isArrayElement:()=>rs,isBooleanElement:()=>ts,isCommentElement:()=>as,isElement:()=>Qn,isLinkElement:()=>ss,isMemberElement:()=>ns,isNullElement:()=>Xn,isNumberElement:()=>Jn,isObjectElement:()=>es,isParseResultElement:()=>cs,isPrimitiveElement:()=>ls,isRefElement:()=>is,isSourceMapElement:()=>us,isStringElement:()=>Yn});var e={};r.r(e),r.d(e,{isInfoElement:()=>Ii,isMainElement:()=>Ni,isPrincipleElement:()=>Mi,isRequirementElement:()=>Ti,isRequirementLevelElement:()=>Fi,isScenarioElement:()=>Ci,isStandardElement:()=>Ri,isStandardIdentifierElement:()=>qi});const s=function(){return!1};function i(t){return null!=t&&"object"==typeof t&&!0===t["@@functional/placeholder"]}function o(t){return function e(r){return 0===arguments.length||i(r)?e:t.apply(this,arguments)}}function a(t){return function e(r,n){switch(arguments.length){case 0:return e;case 1:return i(r)?e:o((function(e){return t(r,e)}));default:return i(r)&&i(n)?e:i(r)?o((function(e){return t(e,n)})):i(n)?o((function(e){return t(r,e)})):t(r,n)}}}const c=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)};function u(t,e,r){return function(){if(0===arguments.length)return r();var n=arguments[arguments.length-1];if(!c(n)){for(var s=0;s<t.length;){if("function"==typeof n[t[s]])return n[t[s]].apply(n,Array.prototype.slice.call(arguments,0,-1));s+=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)}}const l=function(){return this.xf["@@transducer/init"]()},p=function(t){return this.xf["@@transducer/result"](t)};var f=function(){function t(t,e){this.xf=e,this.f=t,this.all=!0}return t.prototype["@@transducer/init"]=l,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){var r;return this.f(e)||(this.all=!1,t=(r=this.xf["@@transducer/step"](t,!1))&&r["@@transducer/reduced"]?r:{"@@transducer/value":r,"@@transducer/reduced":!0}),t},t}();function h(t){return function(e){return new f(t,e)}}const _=a(u(["all"],h,(function(t,e){for(var r=0;r<e.length;){if(!t(e[r]))return!1;r+=1}return!0})));function d(t){for(var e,r=[];!(e=t.next()).done;)r.push(e.value);return r}function m(t,e,r){for(var n=0,s=r.length;n<s;){if(t(e,r[n]))return!0;n+=1}return!1}function y(t,e){return Object.prototype.hasOwnProperty.call(e,t)}const g="function"==typeof Object.is?Object.is:function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};var v=Object.prototype.toString;const b=function(){return"[object Arguments]"===v.call(arguments)?function(t){return"[object Arguments]"===v.call(t)}:function(t){return y("callee",t)}}();var w=!{toString:null}.propertyIsEnumerable("toString"),E=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],x=function(){return arguments.propertyIsEnumerable("length")}(),O=function(t,e){for(var r=0;r<t.length;){if(t[r]===e)return!0;r+=1}return!1};const j="function"!=typeof Object.keys||x?o((function(t){if(Object(t)!==t)return[];var e,r,n=[],s=x&&b(t);for(e in t)!y(e,t)||s&&"length"===e||(n[n.length]=e);if(w)for(r=E.length-1;r>=0;)y(e=E[r],t)&&!O(n,e)&&(n[n.length]=e),r-=1;return n})):o((function(t){return Object(t)!==t?[]:Object.keys(t)}));const S=o((function(t){return null===t?"Null":void 0===t?"Undefined":Object.prototype.toString.call(t).slice(8,-1)}));function A(t,e,r,n){var s=d(t);function i(t,e){return P(t,e,r.slice(),n.slice())}return!m((function(t,e){return!m(i,e,t)}),d(e),s)}function P(t,e,r,n){if(g(t,e))return!0;var s,i,o=S(t);if(o!==S(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(o){case"Arguments":case"Array":case"Object":if("function"==typeof t.constructor&&"Promise"===(s=t.constructor,null==(i=String(s).match(/^function (\w*)/))?"":i[1]))return t===e;break;case"Boolean":case"Number":case"String":if(typeof t!=typeof e||!g(t.valueOf(),e.valueOf()))return!1;break;case"Date":if(!g(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(o){case"Map":return t.size===e.size&&A(t.entries(),e.entries(),r.concat([t]),n.concat([e]));case"Set":return t.size===e.size&&A(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=j(t);if(c.length!==j(e).length)return!1;var u=r.concat([t]),l=n.concat([e]);for(a=c.length-1;a>=0;){var p=c[a];if(!y(p,e)||!P(e[p],t[p],u,l))return!1;a-=1}return!0}const k=a((function(t,e){return P(t,e,[],[])}));function N(t,e){return function(t,e,r){var n,s;if("function"==typeof t.indexOf)switch(typeof e){case"number":if(0===e){for(n=1/e;r<t.length;){if(0===(s=t[r])&&1/s===n)return r;r+=1}return-1}if(e!=e){for(;r<t.length;){if("number"==typeof(s=t[r])&&s!=s)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 I(t,e){for(var r=0,n=e.length,s=Array(n);r<n;)s[r]=t(e[r]),r+=1;return s}function M(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 T=function(t){return(t<10?"0":"")+t};const F="function"==typeof Date.prototype.toISOString?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+T(t.getUTCMonth()+1)+"-"+T(t.getUTCDate())+"T"+T(t.getUTCHours())+":"+T(t.getUTCMinutes())+":"+T(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function C(t,e,r){for(var n=0,s=r.length;n<s;)e=t(e,r[n]),n+=1;return e}function R(t){return"[object Object]"===Object.prototype.toString.call(t)}var q=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=l,t.prototype["@@transducer/result"]=p,t.prototype["@@transducer/step"]=function(t,e){return this.f(e)?this.xf["@@transducer/step"](t,e):t},t}();function D(t){return function(e){return new q(t,e)}}const L=a(u(["fantasy-land/filter","filter"],D,(function(t,e){return R(e)?C((function(r,n){return t(e[n])&&(r[n]=e[n]),r}),{},j(e)):function(t,e){for(var r=0,n=e.length,s=[];r<n;)t(e[r])&&(s[s.length]=e[r]),r+=1;return s}(t,e)})));const $=a((function(t,e){return L((r=t,function(){return!r.apply(this,arguments)}),e);var r}));function B(t,e){var r=function(r){var n=e.concat([t]);return N(r,n)?"<Circular>":B(r,n)},n=function(t,e){return I((function(e){return M(e)+": "+r(t[e])}),e.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+I(r,t).join(", ")+"))";case"[object Array]":return"["+I(r,t).concat(n(t,$((function(t){return/^\d+$/.test(t)}),j(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):M(F(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())+")":M(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var s=t.toString();if("[object Object]"!==s)return s}return"{"+n(t,j(t)).join(", ")+"}"}}const V=o((function(t){return B(t,[])}));const z=a((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 s=r(typeof t,typeof e);if(void 0!==s)return s===typeof t?t:e;var i=V(t),o=r(i,V(e));return void 0!==o&&o===i?t:e}));var G=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=l,t.prototype["@@transducer/result"]=p,t.prototype["@@transducer/step"]=function(t,e){return this.xf["@@transducer/step"](t,this.f(e))},t}();const U=function(t){return function(e){return new G(t,e)}};function W(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,s){return e.apply(this,arguments)};case 5:return function(t,r,n,s,i){return e.apply(this,arguments)};case 6:return function(t,r,n,s,i,o){return e.apply(this,arguments)};case 7:return function(t,r,n,s,i,o,a){return e.apply(this,arguments)};case 8:return function(t,r,n,s,i,o,a,c){return e.apply(this,arguments)};case 9:return function(t,r,n,s,i,o,a,c,u){return e.apply(this,arguments)};case 10:return function(t,r,n,s,i,o,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 Z(t,e,r){return function(){for(var n=[],s=0,o=t,a=0;a<e.length||s<arguments.length;){var c;a<e.length&&(!i(e[a])||s>=arguments.length)?c=e[a]:(c=arguments[s],s+=1),n[a]=c,i(c)||(o-=1),a+=1}return o<=0?r.apply(this,n):W(o,Z(t,n,r))}}const K=a((function(t,e){return 1===t?o(e):W(t,Z(t,[],e))}));const H=a(u(["fantasy-land/map","map"],U,(function(t,e){switch(Object.prototype.toString.call(e)){case"[object Function]":return K(e.length,(function(){return t.call(this,e.apply(this,arguments))}));case"[object Object]":return C((function(r,n){return r[n]=t(e[n]),r}),{},j(e));default:return I(t,e)}}))),Q=Number.isInteger||function(t){return t<<0===t};function Y(t){return"[object String]"===Object.prototype.toString.call(t)}const J=a((function(t,e){var r=t<0?e.length+t:t;return Y(e)?e.charAt(r):e[r]}));const X=a((function(t,e){if(null!=e)return Q(t)?J(t,e):e[t]}));const tt=a((function(t,e){return H(X(t),e)}));function et(t){return function e(r,n,s){switch(arguments.length){case 0:return e;case 1:return i(r)?e:a((function(e,n){return t(r,e,n)}));case 2:return i(r)&&i(n)?e:i(r)?a((function(e,r){return t(e,n,r)})):i(n)?a((function(e,n){return t(r,e,n)})):o((function(e){return t(r,n,e)}));default:return i(r)&&i(n)&&i(s)?e:i(r)&&i(n)?a((function(e,r){return t(e,r,s)})):i(r)&&i(s)?a((function(e,r){return t(e,n,r)})):i(n)&&i(s)?a((function(e,n){return t(r,e,n)})):i(r)?o((function(e){return t(e,n,s)})):i(n)?o((function(e){return t(r,e,s)})):i(s)?o((function(e){return t(r,n,e)})):t(r,n,s)}}}const rt=o((function(t){return!!c(t)||!!t&&("object"==typeof t&&(!Y(t)&&(0===t.length||t.length>0&&(t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1)))))}));var nt="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function st(t,e,r){return function(n,s,i){if(rt(i))return t(n,s,i);if(null==i)return s;if("function"==typeof i["fantasy-land/reduce"])return e(n,s,i,"fantasy-land/reduce");if(null!=i[nt])return r(n,s,i[nt]());if("function"==typeof i.next)return r(n,s,i);if("function"==typeof i.reduce)return e(n,s,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function it(t,e,r){for(var n=0,s=r.length;n<s;){if((e=t["@@transducer/step"](e,r[n]))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n+=1}return t["@@transducer/result"](e)}const ot=a((function(t,e){return W(t.length,(function(){return t.apply(e,arguments)}))}));function at(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 ct(t,e,r,n){return t["@@transducer/result"](r[n](ot(t["@@transducer/step"],t),e))}const ut=st(it,ct,at);var lt=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}();function pt(t){return new lt(t)}const ft=et((function(t,e,r){return ut("function"==typeof t?pt(t):t,e,r)}));const ht=o((function(t){return function(){return t}}));const _t=o((function(t){return K(ft(z,0,tt("length",t)),(function(){for(var e=0,r=t.length;e<r;){if(t[e].apply(this,arguments))return!0;e+=1}return!1}))}));function dt(t,e,r){for(var n=r.next();!n.done;)e=t(e,n.value),n=r.next();return e}function mt(t,e,r,n){return r[n](t,e)}const yt=st(C,mt,dt);const gt=a((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))}:yt((function(t,r){return function(t,e){var r;e=e||[];var n=(t=t||[]).length,s=e.length,i=[];for(r=0;r<n;)i[i.length]=t[r],r+=1;for(r=0;r<s;)i[i.length]=e[r],r+=1;return i}(t,H(r,e))}),[],t)}));const vt=a((function(t,e){return t.apply(this,e)}));function bt(t){var e=Object.prototype.toString.call(t);return"[object Function]"===e||"[object AsyncFunction]"===e||"[object GeneratorFunction]"===e||"[object AsyncGeneratorFunction]"===e}const wt=a((function(t,e){return t&&e}));const Et=a((function(t,e){var r=K(t,e);return K(t,(function(){return C(gt,H(r,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const xt=o((function(t){return Et(t.length,t)}));const Ot=a((function(t,e){return bt(t)?function(){return t.apply(this,arguments)&&e.apply(this,arguments)}:xt(wt)(t,e)}));const jt=xt(o((function(t){return!t})));function St(t,e){return function(){return e.call(this,t.apply(this,arguments))}}function At(t,e){return function(){var r=arguments.length;if(0===r)return e();var n=arguments[r-1];return c(n)||"function"!=typeof n[t]?e.apply(this,arguments):n[t].apply(n,Array.prototype.slice.call(arguments,0,r-1))}}const Pt=et(At("slice",(function(t,e,r){return Array.prototype.slice.call(r,t,e)})));const kt=o(At("tail",Pt(1,1/0)));function Nt(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return W(arguments[0].length,ft(St,arguments[0],kt(arguments)))}const It=o((function(t){return Y(t)?t.split("").reverse().join(""):Array.prototype.slice.call(t,0).reverse()}));function Mt(){if(0===arguments.length)throw new Error("compose requires at least one argument");return Nt.apply(this,It(arguments))}const Tt=a((function(t,e){if(c(t)){if(c(e))return t.concat(e);throw new TypeError(V(e)+" is not an array")}if(Y(t)){if(Y(e))return t+e;throw new TypeError(V(e)+" is not a string")}if(null!=t&&bt(t["fantasy-land/concat"]))return t["fantasy-land/concat"](e);if(null!=t&&bt(t.concat))return t.concat(e);throw new TypeError(V(t)+' does not have a method named "concat" or "fantasy-land/concat"')}));const Ft=a((function(t,e){return K(ft(z,0,tt("length",e)),(function(){var r=arguments,n=this;return t.apply(n,I((function(t){return t.apply(n,r)}),e))}))}));const Ct=o((function(t){return K(t.length,t)}));const Rt=a((function(t,e){return null==e||e!=e?t:e}));var qt=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=l,t.prototype["@@transducer/result"]=p,t.prototype["@@transducer/step"]=function(t,e){if(this.f){if(this.f(e))return t;this.f=null}return this.xf["@@transducer/step"](t,e)},t}();function Dt(t){return function(e){return new qt(t,e)}}const Lt=a(u(["dropWhile"],Dt,(function(t,e){for(var r=0,n=e.length;r<n&&t(e[r]);)r+=1;return Pt(r,1/0,e)})));var $t=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():c(t)?[]:Y(t)?"":R(t)?{}:b(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 Bt=$t;const Vt=o((function(t){return K(t.length,(function(e,r){var n=Array.prototype.slice.call(arguments,0);return n[0]=r,n[1]=e,t.apply(this,n)}))}));const zt=a((function(t,e){return t>e}));const Gt=o((function(t){return null==t}));const Ut=a((function(t,e){if(0===t.length||Gt(e))return!1;for(var r=e,n=0;n<t.length;){if(Gt(r)||!y(t[n],r))return!1;r=r[t[n]],n+=1}return!0}));const Wt=a((function(t,e){return Ut([t],e)}));const Zt=J(0);var Kt=function(t,e){switch(arguments.length){case 0:return Kt;case 1:return function e(r){return 0===arguments.length?e:g(t,r)};default:return g(t,e)}};const Ht=Kt;function Qt(t){return t}const Yt=o(Qt);const Jt=a(N);const Xt=Pt(0,-1);const te="function"==typeof Object.assign?Object.assign:function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),r=1,n=arguments.length;r<n;){var s=arguments[r];if(null!=s)for(var i in s)y(i,s)&&(e[i]=s[i]);r+=1}return e};const ee=a((function(t,e){return K(t+1,(function(){var r=arguments[t];if(null!=r&&bt(r[e]))return r[e].apply(r,Array.prototype.slice.call(arguments,0,t));throw new TypeError(V(r)+' does not have a method named "'+e+'"')}))}));const re=o((function(t){return null!=t&&k(t,Bt(t))}));const ne=ee(1,"join");const se=J(-1);const ie=a((function(t,e){return t.map((function(t){for(var r,n=e,s=0;s<t.length;){if(null==n)return;r=t[s],n=Q(r)?J(r,n):n[r],s+=1}return n}))}));const oe=a((function(t,e){return ie([t],e)[0]}));const ae=a((function(t,e){return C((function(r,n){return r[n]=t(e[n],n,e),r}),{},j(e))}));const ce=a((function(t,e){return te({},t,e)}));const ue=a((function(t,e){for(var r={},n={},s=0,i=t.length;s<i;)n[t[s]]=1,s+=1;for(var o in e)n.hasOwnProperty(o)||(r[o]=e[o]);return r}));const le=et((function(t,e,r){return Rt(t,oe(e,r))}));const pe=et((function(t,e,r){return t(oe(e,r))}));const fe=a((function(t,e){for(var r={},n=0;n<t.length;)t[n]in e&&(r[t[n]]=e[t[n]]),n+=1;return r}));const he=et((function(t,e,r){return Rt(t,X(e,r))}));const _e=et((function(t,e,r){return t(X(e,r))}));const de=et((function(t,e,r){return r.replace(t,e)}));const me=ee(1,"split");const ye=K(4,(function(t,e,r,n){return ut(t("function"==typeof e?pt(e):e),r,n)}));var ge="\t\n\v\f\r                 \u2028\u2029\ufeff";const ve=o("function"==typeof String.prototype.trim&&!ge.trim()&&"​".trim()?function(t){return t.trim()}:function(t){var e=new RegExp("^["+ge+"]["+ge+"]*"),r=new RegExp("["+ge+"]["+ge+"]*$");return t.replace(e,"").replace(r,"")});const be=ht(void 0);const we=k(be());const Ee=jt(we);var xe=r(7952);const Oe=k(null);var je=jt(Oe);function Se(t){return Se="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},Se(t)}const Ae=K(1,Ot(je,(function(t){return"object"===Se(t)})));const Pe=K(1,Nt(S,Ht("GeneratorFunction")));const ke=K(1,Nt(S,Ht("AsyncFunction")));const Ne=_t([Nt(S,Ht("Function")),Pe,ke]);var Ie=Nt(S,Ht("Object")),Me=Nt(V,k(V(Object))),Te=pe(Ot(Ne,Me),["constructor"]);const Fe=K(1,(function(t){if(!Ae(t)||!Ie(t))return!1;var e=Object.getPrototypeOf(t);return!!Oe(e)||Te(e)}));class Ce extends xe.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 Re=Ce;class qe extends xe.RP{constructor(t,e,r){super(t,e,r),this.element="comment"}}const De=qe;class Le extends xe.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(we(e))return!1;const r=this.content.findIndex((t=>t===e));return-1!==r&&(this.content[r]=t,!0)}}const $e=Le;class Be extends xe.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 xe.ON([t.start.row,t.start.column,t.start.char]),r=new xe.ON([t.end.row,t.end.column,t.end.char]);e.classes.push("position"),r.classes.push("position"),this.push(e).push(r)}}const Ve=Be;class ze extends xe.lS{constructor(){super(),this.register("annotation",Re),this.register("comment",De),this.register("parseResult",$e),this.register("sourceMap",Ve)}}const Ge=new ze,Ue=t=>{const e=new ze;return Fe(t)&&e.use(t),e},We=Ge;const Ze=K(1,Nt(S,Ht("String"))),Ke=r.p+"23aac571c96605dc25219087ad291441.wasm",He=globalThis.fetch;Ne(He)&&(globalThis.fetch=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return Ze(e[0])&&e[0].endsWith("tree-sitter.wasm")?He.apply(globalThis,[Ke,kt(e)]):He.apply(globalThis,e)});var Qe=r(9794);const Ye=r.p+"d396281e11774e0afa7a40d620779b6d.wasm";let Je=null,Xe=null;const tr=async t=>{if(null===Je&&null===Xe)Xe=Qe.init().then((()=>Qe.Language.load(Ye))).then((t=>{const e=new Qe;return e.setLanguage(t),e})).finally((()=>{Xe=null})),Je=await Xe;else if(null===Je&&null!==Xe)Je=await Xe;else if(null===Je)throw new Error("Error while initializing web-tree-sitter");return Je.parse(t)};var er=r(6591);const rr=er({props:{type:null,position:null,children:[]},init(){let{children:t=[],position:e=null,isMissing:r=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{stamp:n={}}=arguments.length>1?arguments[1]:void 0;this.type=n.type,this.isMissing=r,this.children=t,this.position=e},methods:{clone(){const t=Object.create(Object.getPrototypeOf(this));return Object.getOwnPropertyNames(this).forEach((e=>{const r=Object.getOwnPropertyDescriptor(this,e);Object.defineProperty(t,e,r)})),t}}});let nr=function(t){return t.Scalar="Scalar",t.Sequence="Sequence",t.Mapping="Mapping",t}({});const sr=er(rr,{statics:{type:"tag"},props:{explicitName:"",kind:null},init(){let{explicitName:t,kind:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.explicitName=t,this.kind=e}});const ir=k("");const or=K(1,Nt(S,Ht("Number")));var ar=Ot(or,isFinite);var cr=K(1,ar);const ur=Ne(Number.isFinite)?K(1,ot(Number.isFinite,Number)):cr;var lr=Ot(ur,Ft(k,[Math.floor,Yt]));var pr=K(1,lr);const fr=Ne(Number.isInteger)?K(1,ot(Number.isInteger,Number)):pr;const hr=jt(ur);const _r=K(1,Ot(or,zt(0)));const dr=function(t,e){var r=Number(e);if(r!==e&&(r=0),_r(r))throw new RangeError("repeat count must be non-negative");if(hr(r))throw new RangeError("repeat count must be less than infinity");if(r=Math.floor(r),0===t.length||0===r)return"";if(t.length*r>=1<<28)throw new RangeError("repeat count must not overflow maximum string size");var n=t.length*r;r=Math.floor(Math.log(r)/Math.log(2));for(var s=t;r;)s+=t,r-=1;return s+=s.substring(0,n-s.length)};var mr=Ct(dr),yr=Vt(ee(1,"repeat"));const gr=Ne(String.prototype.repeat)?yr:mr;var vr=de(/[\s\uFEFF\xA0]+$/,""),br=ee(0,"trimEnd");const wr=Ne(String.prototype.trimEnd)?br:vr;var Er=de(/^[\s\uFEFF\xA0]+/,""),xr=ee(0,"trimStart");const Or=Ne(String.prototype.trimStart)?xr:Er;const jr=Vt(Jt);const Sr=Ct((function(t,e){return Nt(me(""),Lt(jr(t)),ne(""))(e)}));const Ar=Vt(Tt);var Pr=r(2770);const kr=/^(?<style>[|>])(?<chomping>[+-]?)(?<indentation>[0-9]*)\s/,Nr=t=>{const e=(t=>{const e=t.match(kr),r=le("",["groups","indentation"],e);return ir(r)?void 0:parseInt(r,10)})(t);if(fr(e))return gr(" ",e);const r=le("",[1],t.split("\n")),n=le(0,["groups","indentation","length"],r.match(/^(?<indentation>[ ]*)/));return gr(" ",n)},Ir=t=>{const e=t.match(kr),r=le("",["groups","chomping"],e);return ir(r)?void 0:r},Mr=(t,e)=>we(t)?`${wr(e)}\n`:"-"===t?wr(e):e,Tr=t=>t.replace(/\r\n/g,"\n"),Fr=t=>t.replace(/(\n)?\n([^\n]+)/g,((t,e,r)=>e?t:` ${r.trimStart()}`)).replace(/[\n]{2}/g,"\n"),Cr=Ct(((t,e)=>e.replace(new RegExp(`^${t}`),"").replace(new RegExp(`${t}$`),""))),Rr=Nt(Tr,ve,Fr,me("\n"),H(Or),ne("\n")),qr=Nt(Tr,ve,Cr("'"),Fr,me("\n"),H(Or),ne("\n")),Dr=Nt(Tr,ve,Cr('"'),(t=>t.replace(/\\\n\s*/g,"")),Fr,Pr.S6,me("\n"),H(Or),ne("\n"));let Lr=function(t){return t.Plain="Plain",t.SingleQuoted="SingleQuoted",t.DoubleQuoted="DoubleQuoted",t.Literal="Literal",t.Folded="Folded",t.Explicit="Explicit",t.SinglePair="SinglePair",t.NextLine="NextLine",t.InLine="InLine",t}({}),$r=function(t){return t.Flow="Flow",t.Block="Block",t}({});const Br=er({props:{styleGroup:null,style:null}}),Vr=er({methods:{test:t=>t.tag.kind===nr.Scalar&&"string"==typeof t.content,canonicalFormat(t){let e=t.content;const r=t.clone();return t.style===Lr.Plain?e=Rr(t.content):t.style===Lr.SingleQuoted?e=qr(t.content):t.style===Lr.DoubleQuoted?e=Dr(t.content):t.style===Lr.Literal?e=(t=>{const e=Nr(t),r=Ir(t),n=Tr(t),s=kt(n.split("\n")),i=Mt(H(Sr(e)),H(Ar("\n"))),o=ye(i,Tt,"",s);return Mr(r,o)})(t.content):t.style===Lr.Folded&&(e=(t=>{const e=Nr(t),r=Ir(t),n=Tr(t),s=kt(n.split("\n")),i=Mt(H(Sr(e)),H(Ar("\n"))),o=ye(i,Tt,"",s),a=Fr(o);return Mr(r,a)})(t.content)),r.content=e,r},resolve:t=>t}}),zr=er(Vr,{props:{tag:""}}),Gr=er(zr,{statics:{uri:"tag:yaml.org,2002:map"},init(t,e){let{stamp:r}=e;this.tag=r.uri},methods:{test:t=>t.tag.kind===nr.Mapping,resolve:t=>t}}),Ur=er(zr,{statics:{uri:"tag:yaml.org,2002:seq"},init(t,e){let{stamp:r}=e;this.tag=r.uri},methods:{test:t=>t.tag.kind===nr.Sequence,resolve:t=>t}}),Wr=er(zr,{statics:{uri:"tag:yaml.org,2002:str"},init(t,e){let{stamp:r}=e;this.tag=r.uri},methods:{resolve:t=>t}}),Zr=er({props:{tags:[],tagDirectives:[]},init(){this.tags=[],this.tagDirectives=[],this.registerTag(Gr()),this.registerTag(Ur()),this.registerTag(Wr())},methods:{toSpecificTagName(t){let e=t.tag.explicitName;return"!"===t.tag.explicitName?t.tag.kind===nr.Scalar?e=Wr.uri:t.tag.kind===nr.Sequence?e=Ur.uri:t.tag.kind===nr.Mapping&&(e=Gr.uri):t.tag.explicitName.startsWith("!<")?e=t.tag.explicitName.replace(/^!</,"").replace(/>$/,""):t.tag.explicitName.startsWith("!!")&&(e=`tag:yaml.org,2002:${t.tag.explicitName.replace(/^!!/,"")}`),e},registerTagDirective(t){this.tagDirectives.push({handle:t.parameters.handle,prefix:t.parameters.prefix})},registerTag(t){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?this.tags.unshift(t):this.tags.push(t),this},overrideTag(t){return this.tags=this.tags.filter((e=>e.tag===t.tag)),this.tags.push(t),this},resolve(t){const e=this.toSpecificTagName(t);if("?"===e)return t;let r=t;t.tag.kind===nr.Scalar&&(r=Vr().canonicalFormat(t));const n=this.tags.find((t=>(null==t?void 0:t.tag)===e));if(void 0===n)throw new Error(`Tag "${e}" couldn't be resolved`);if(!n.test(r))throw new Error(`Node couldn't be resolved against tag "${e}"`);return n.resolve(r)}}}),Kr=er(zr,{statics:{uri:"tag:yaml.org,2002:bool"},init(t,e){let{stamp:r}=e;this.tag=r.uri},methods:{test:t=>/^(true|false)$/.test(t.content),resolve(t){const e="true"===t.content,r=t.clone();return r.content=e,r}}}),Hr=er(zr,{statics:{uri:"tag:yaml.org,2002:float"},init(t,e){let{stamp:r}=e;this.tag=r.uri},methods:{test:t=>/^-?(0|[1-9][0-9]*)(\.[0-9]*)?([eE][-+]?[0-9]+)?$/.test(t.content),resolve(t){const e=parseFloat(t.content),r=t.clone();return r.content=e,r}}}),Qr=er(zr,{statics:{uri:"tag:yaml.org,2002:int"},init(t,e){let{stamp:r}=e;this.tag=r.uri},methods:{test:t=>/^-?(0|[1-9][0-9]*)$/.test(t.content),resolve(t){const e=parseInt(t.content,10),r=t.clone();return r.content=e,r}}}),Yr=er(zr,{statics:{uri:"tag:yaml.org,2002:null"},init(t,e){let{stamp:r}=e;this.tag=r.uri},methods:{test:t=>/^null$/.test(t.content),resolve(t){const e=t.clone();return e.content=null,e}}}),Jr=er(Zr,{init(){this.registerTag(Kr(),!0),this.registerTag(Hr(),!0),this.registerTag(Qr(),!0),this.registerTag(Yr(),!0)},methods:{toSpecificTagName(t){let e=Zr.compose.methods.toSpecificTagName.call(this,t);if("?"===e)if(t.tag.vkind===nr.Sequence)e=Ur.uri;else if(t.tag.kind===nr.Mapping)e=Gr.uri;else if(t.tag.kind===nr.Scalar){const r=this.tags.find((e=>e.test(t)));e=(null==r?void 0:r.tag)||"?"}return e}}}),Xr=(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},tn={},en=t=>null==t?void 0:t.type,rn=t=>"string"==typeof en(t),nn=function(t,e){let{keyMap:r=null,state:n={},breakSymbol:s=tn,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=Xr,nodeTypeGetter:c=en,nodePredicate:u=rn,detectCycles:l=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const p=r||{};let f,h,_=Array.isArray(t),d=[t],m=-1,y=[];const g=[],v=[];let b=t;do{m+=1;const t=m===d.length;let r,w;const E=t&&0!==y.length;if(t){if(r=0===v.length?void 0:g.pop(),w=h,h=v.pop(),E){w=_?w.slice():Object.create(Object.getPrototypeOf(w),Object.getOwnPropertyDescriptors(w));let t=0;for(let e=0;e<y.length;e+=1){let r=y[e][0];const n=y[e][1];_&&(r-=t),_&&n===i?(w.splice(r,1),t+=1):w[r]=n}}m=f.index,d=f.keys,y=f.edits,_=f.inArray,f=f.prev}else{if(r=h?_?m:d[m]:void 0,w=h?h[r]:b,w===i||void 0===w)continue;h&&g.push(r)}if(v.includes(w))continue;let x;if(!Array.isArray(w)){if(!u(w))throw new Error(`Invalid AST Node: ${JSON.stringify(w)}`);if(l&&v.includes(w)){g.pop();continue}const i=a(e,c(w),t);if(i){for(const[t,r]of Object.entries(n))e[t]=r;if(x=i.call(e,w,r,h,g,v),x===s)break;if(x===o){if(!t){g.pop();continue}}else if(void 0!==x&&(y.push([r,x]),!t)){if(!u(x)){g.pop();continue}w=x}}}void 0===x&&E&&y.push([r,w]),t||(f={inArray:_,index:m,keys:d,edits:y,prev:f},_=Array.isArray(w),d=_?w:p[c(w)]||[],m=-1,y=[],h&&v.push(h),h=w)}while(void 0!==f);return 0!==y.length&&([,b]=y[y.length-1]),b};nn[Symbol.for("nodejs.util.promisify.custom")]=async function(t,e){let{keyMap:r=null,state:n={},breakSymbol:s=tn,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=Xr,nodeTypeGetter:c=en,nodePredicate:u=rn,detectCycles:l=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const p=r||{};let f,h,_=Array.isArray(t),d=[t],m=-1,y=[];const g=[],v=[];let b=t;do{m+=1;const t=m===d.length;let r,w;const E=t&&0!==y.length;if(t){if(r=0===v.length?void 0:g.pop(),w=h,h=v.pop(),E){w=_?w.slice():Object.create(Object.getPrototypeOf(w),Object.getOwnPropertyDescriptors(w));let t=0;for(let e=0;e<y.length;e+=1){let r=y[e][0];const n=y[e][1];_&&(r-=t),_&&n===i?(w.splice(r,1),t+=1):w[r]=n}}m=f.index,d=f.keys,y=f.edits,_=f.inArray,f=f.prev}else{if(r=h?_?m:d[m]:void 0,w=h?h[r]:b,w===i||void 0===w)continue;h&&g.push(r)}let x;if(!Array.isArray(w)){if(!u(w))throw new Error(`Invalid AST Node: ${JSON.stringify(w)}`);if(l&&v.includes(w)){g.pop();continue}const i=a(e,c(w),t);if(i){for(const[t,r]of Object.entries(n))e[t]=r;if(x=await i.call(e,w,r,h,g,v),x===s)break;if(x===o){if(!t){g.pop();continue}}else if(void 0!==x&&(y.push([r,x]),!t)){if(!u(x)){g.pop();continue}w=x}}}void 0===x&&E&&y.push([r,w]),t||(f={inArray:_,index:m,keys:d,edits:y,prev:f},_=Array.isArray(w),d=_?w:p[c(w)]||[],m=-1,y=[],h&&v.push(h),h=w)}while(void 0!==f);return 0!==y.length&&([,b]=y[y.length-1]),b};const sn=er({statics:{type:"point"},props:{type:"point",row:null,column:null,char:null},init(){let{row:t=null,column:e=null,char:r=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.row=t,this.column=e,this.char=r}}),on=er({statics:{type:"position"},props:{type:"position",start:null,end:null},init(){let{start:t=null,end:e=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.start=t,this.end=e}}),an=er(rr,{statics:{type:"anchor"},props:{name:null},init(){let{name:t=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.name=t}}),cn=er(rr,{props:{anchor:null,tag:null,style:null,styleGroup:null},init(){let{anchor:t=null,tag:e=null,style:r=null,styleGroup:n=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.anchor=t,this.tag=e,this.style=r,this.styleGroup=n}}),un=er(cn,{statics:{type:"scalar"},props:{content:""},init(){let{content:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.content=t}}),ln=er(rr,{statics:{type:"literal"},props:{value:null},init(){let{value:t=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.value=t}}),pn=(t,e)=>(null==e?void 0:e.type)===t,fn=(pn.bind(void 0,"literal"),pn.bind(void 0,"position"),pn.bind(void 0,"point"),pn.bind(void 0,"parseResult"),pn.bind(void 0,"stream"),pn.bind(void 0,"document")),hn=pn.bind(void 0,"mapping"),_n=pn.bind(void 0,"sequence"),dn=pn.bind(void 0,"keyValuePair"),mn=(pn.bind(void 0,"tag"),pn.bind(void 0,"scalar")),yn=pn.bind(void 0,"alias"),gn=(pn.bind(void 0,"directive"),pn.bind(void 0,"comment")),vn=er(rr,{statics:{type:"stream"},propertyDescriptors:{content:{get(){return Array.isArray(this.children)?this.children.filter((t=>fn(t)||gn(t))):[]},enumerable:!0}}}),bn=er(rr,{statics:{type:"parseResult"},methods:{get rootNode(){return Zt(this.children)}}}),wn=er(rr,{statics:{type:"directive"},props:{name:null,parameters:null},init(){let{name:t=null,parameters:e={}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.name=t,this.parameters=ce({version:null,handle:null,prefix:null},e)}}),En=er(rr,{statics:{type:"document"}}),xn=er(cn,{}),On=er(xn,{statics:{type:"mapping"},propertyDescriptors:{content:{get(){return Array.isArray(this.children)?this.children.filter(dn):[]},enumerable:!0}}}),jn=er(rr,Br,{statics:{type:"keyValuePair"},propertyDescriptors:{key:{get(){return this.children.filter((t=>mn(t)||hn(t)||_n(t)))[0]},enumerable:!0},value:{get(){const{key:t,children:e}=this;return e.filter((e=>(e=>e!==t)(e)&&(t=>mn(t)||hn(t)||_n(t)||yn(t))(e)))[0]},enumerable:!0}}}),Sn=er(xn,{statics:{type:"sequence"},propertyDescriptors:{content:{get(){const{children:t}=this;return Array.isArray(t)?t.filter((t=>_n(t)||hn(t)||mn(t)||yn(t))):[]},enumerable:!0}}}),An=er(rr,{statics:{type:"comment"},props:{content:null},init(){let{content:t=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.content=t}}),Pn=er(rr,{statics:{type:"error"},props:{value:null,isUnexpected:!1},init(){let{value:t=null,isUnexpected:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.value=t,this.isUnexpected=e}}),kn={stream:["children"],document:["children"],mapping:["children"],keyValuePair:["children"],sequence:["children"],error:["children"]},Nn=t=>Array.isArray(t)||rn(t),In=er({props:{schema:null},init(){const t=t=>{if(null===t)return null;const e=sn({row:t.startPosition.row,column:t.startPosition.column,char:t.startIndex}),r=sn({row:t.endPosition.row,column:t.endPosition.column,char:t.endIndex});return on({start:e,end:r})},e=e=>{var r;let{previousSibling:n}=e;for(;null!==n&&"tag"!==n.type;)({previousSibling:n}=n);const s=null!==(r=n)&&void 0!==r&&r.text||"plain_scalar"===e.type?"?":"!",i=e.type.endsWith("mapping")?nr.Mapping:e.type.endsWith("sequence")?nr.Sequence:nr.Scalar,o=t(n);return sr({explicitName:s,kind:i,position:o})},r=e=>{let{previousSibling:r}=e;for(;null!==r&&"anchor"!==r.type;)({previousSibling:r}=r);return null===r?null:an({name:r.text,position:t(r)})},n=t=>e=>"string"==typeof(null==e?void 0:e.type)&&e.type.endsWith(t),s=n("scalar"),i=n("mapping"),o=n("sequence"),a=(t,e)=>{var r;return`${t}Node`in e?e[`${t}Node`]:"childForFieldName"in e?null===(r=e.childForFieldName)||void 0===r?void 0:r.call(e,t):null},c=t=>{if("block_mapping_pair"!==t.type&&"flow_pair"!==t.type)return!1;return null===a("key",t)},u=t=>{if("block_mapping_pair"!==t.type&&"flow_pair"!==t.type)return!1;return null===a("value",t)},l=e=>{const r=sn({row:e.startPosition.row,column:e.startPosition.column,char:e.startIndex}),s=a("key",e),i=(null==s?void 0:s.children)||[],o=i.find(n("tag")),c=i.find(n("anchor")),u=sr(void 0!==o?{explicitName:o.text,kind:nr.Scalar,position:t(o)}:{explicitName:"?",kind:nr.Scalar}),l=void 0!==c?an({name:c.text,position:t(c)}):null;return un({content:"",position:on({start:r,end:r}),tag:u,anchor:l,styleGroup:$r.Flow,style:Lr.Plain})},p=e=>{const r=sn({row:e.endPosition.row,column:e.endPosition.column,char:e.endIndex}),s=a("value",e),i=(null==s?void 0:s.children)||[],o=i.find(n("tag")),c=i.find(n("anchor")),u=sr(void 0!==o?{explicitName:o.text,kind:nr.Scalar,position:t(o)}:{explicitName:"?",kind:nr.Scalar}),l=void 0!==c?an({name:c.text,position:t(c)}):null;return un({content:"",position:on({start:r,end:r}),tag:u,anchor:l,styleGroup:$r.Flow,style:Lr.Plain})};this.enter=function(e){if("function"==typeof e.isNamed&&!e.isNamed()||!1===e.isNamed){const r=t(e),n=e.type||e.text,s=e.isMissing();return ln({value:n,position:r,isMissing:s})}},this.stream={enter(e){const r=t(e);return vn({children:e.children,position:r,isMissing:e.isMissing()})},leave:t=>bn({children:[t]})},this.yaml_directive={enter(e){var r;const n=t(e),s=(null==e||null===(r=e.firstNamedChild)||void 0===r?void 0:r.text)||null;return wn({position:n,name:"%YAML",parameters:{version:s}})}},this.tag_directive={enter(e){const r=t(e),n=e.child(0),s=e.child(1),i=wn({position:r,name:"%TAG",parameters:{handle:(null==n?void 0:n.text)||null,prefix:(null==s?void 0:s.text)||null}});return this.schema.registerTagDirective(i),i}},this.reserved_directive={enter(e){const r=t(e),n=e.child(0),s=e.child(1),i=e.child(2);return wn({position:r,name:(null==n?void 0:n.text)||null,parameters:{handle:(null==s?void 0:s.text)||null,prefix:(null==i?void 0:i.text)||null}})}},this.document={enter(e){const r=t(e);return En({children:e.children,position:r,isMissing:e.isMissing()})},leave(t){t.children=t.children.flat()}},this.block_node={enter:t=>t.children},this.flow_node={enter(t){const[n]=t.children.slice(-1);if(s(n)||i(n)||o(n))return t.children;const a=sn({row:n.endPosition.row,column:n.endPosition.column,char:n.endIndex}),c=un({content:"",anchor:r(n),tag:e(n),position:on({start:a,end:a}),styleGroup:$r.Flow,style:Lr.Plain});return[...t.children,c]}},this.tag={enter:()=>null},this.anchor={enter:()=>null},this.block_mapping={enter(n){const s=t(n),i=e(n),o=r(n),a=On({children:n.children,position:s,anchor:o,tag:i,styleGroup:$r.Block,style:Lr.NextLine,isMissing:n.isMissing()});return this.schema.resolve(a)}},this.block_mapping_pair={enter(e){const r=t(e),n=[...e.children];if(c(e)){const t=l(e);n.unshift(t)}if(u(e)){const t=p(e);n.push(t)}return jn({children:n,position:r,styleGroup:$r.Block,isMissing:e.isMissing()})}},this.flow_mapping={enter(n){const s=t(n),i=e(n),o=r(n),a=On({children:n.children,position:s,anchor:o,tag:i,styleGroup:$r.Flow,style:Lr.Explicit,isMissing:n.isMissing()});return this.schema.resolve(a)}},this.flow_pair={enter(e){const r=t(e),n=[...e.children];if(c(e)){const t=l(e);n.unshift(t)}if(u(e)){const t=p(e);n.push(t)}return jn({children:n,position:r,styleGroup:$r.Flow,isMissing:e.isMissing()})}},this.keyValuePair={leave(t){t.children=t.children.flat()}},this.block_sequence={enter(n){const s=t(n),i=e(n),o=r(n),a=Sn({children:n.children,position:s,anchor:o,tag:i,styleGroup:$r.Block,style:Lr.NextLine});return this.schema.resolve(a)}},this.block_sequence_item={enter(t){if(t.children.length>1)return t.children;const e=sn({row:t.endPosition.row,column:t.endPosition.column,char:t.endIndex});return[un({content:"",anchor:null,tag:sr({explicitName:"?",kind:nr.Scalar}),position:on({start:e,end:e}),styleGroup:$r.Flow,style:Lr.Plain})]}},this.flow_sequence={enter(n){const s=t(n),i=e(n),o=r(n),a=Sn({children:n.children.flat(),position:s,anchor:o,tag:i,styleGroup:$r.Flow,style:Lr.Explicit});return this.schema.resolve(a)}},this.sequence={leave(t){t.children=t.children.flat(1/0)}},this.plain_scalar={enter(n){const s=t(n),i=e(n),o=r(n),a=un({content:n.text,anchor:o,tag:i,position:s,styleGroup:$r.Flow,style:Lr.Plain});return this.schema.resolve(a)}},this.single_quote_scalar={enter(n){const s=t(n),i=e(n),o=r(n),a=un({content:n.text,anchor:o,tag:i,position:s,styleGroup:$r.Flow,style:Lr.SingleQuoted});return this.schema.resolve(a)}},this.double_quote_scalar={enter(n){const s=t(n),i=e(n),o=r(n),a=un({content:n.text,anchor:o,tag:i,position:s,styleGroup:$r.Flow,style:Lr.DoubleQuoted});return this.schema.resolve(a)}},this.block_scalar={enter(n){const s=t(n),i=e(n),o=r(n),a=n.text.startsWith("|")?Lr.Literal:n.text.startsWith(">")?Lr.Folded:null,c=un({content:n.text,anchor:o,tag:i,position:s,styleGroup:$r.Block,style:a});return this.schema.resolve(c)}},this.comment={enter:t=>An({content:t.text})},this.ERROR=function(e,r,n,s){const i=t(e),o=Pn({children:e.children,position:i,isUnexpected:!e.hasError(),isMissing:e.isMissing(),value:e.text});return 0===s.length?bn({children:[o]}):o}}}),Mn=In;var Tn=r(229),Fn=r(2185),Cn=r(9982);function Rn(t){return Rn="function"==typeof Fn&&"symbol"==typeof Cn?function(t){return typeof t}:function(t){return t&&"function"==typeof Fn&&t.constructor===Fn&&t!==Fn.prototype?"symbol":typeof t},Rn(t)}var qn=r(8241);function Dn(t){var e=function(t,e){if("object"!==Rn(t)||null===t)return t;var r=t[qn];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==Rn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Rn(e)?e:String(e)}function Ln(t,e,r){return(e=Dn(e))in t?Tn(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var $n=r(5090),Bn=r(2747),Vn=r(5483);function zn(t,e){if(null==t)return{};var r,n,s=function(t,e){if(null==t)return{};var r,n,s={},i=Vn(t);for(n=0;n<i.length;n++)r=i[n],Bn(e).call(e,r)>=0||(s[r]=t[r]);return s}(t,e);if($n){var i=$n(t);for(n=0;n<i.length;n++)r=i[n],Bn(e).call(e,r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(s[r]=t[r])}return s}const Gn=(t,e)=>"function"==typeof(null==e?void 0:e[t]),Un=t=>null!=t&&Object.prototype.hasOwnProperty.call(t,"_storedElement")&&Object.prototype.hasOwnProperty.call(t,"_content"),Wn=(t,e)=>{var r;return(null==e||null===(r=e.primitive)||void 0===r?void 0:r.call(e))===t},Zn=(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},Kn=(t,e)=>(null==e?void 0:e.element)===t,Hn=t=>t({hasMethod:Gn,hasBasicElementProps:Un,primitiveEq:Wn,isElementType:Kn,hasClass:Zn}),Qn=Hn((t=>{let{hasBasicElementProps:e,primitiveEq:r}=t;return t=>t instanceof xe.W_||e(t)&&r(void 0,t)})),Yn=Hn((t=>{let{hasBasicElementProps:e,primitiveEq:r}=t;return t=>t instanceof xe.RP||e(t)&&r("string",t)})),Jn=Hn((t=>{let{hasBasicElementProps:e,primitiveEq:r}=t;return t=>t instanceof xe.VL||e(t)&&r("number",t)})),Xn=Hn((t=>{let{hasBasicElementProps:e,primitiveEq:r}=t;return t=>t instanceof xe.zr||e(t)&&r("null",t)})),ts=Hn((t=>{let{hasBasicElementProps:e,primitiveEq:r}=t;return t=>t instanceof xe.hh||e(t)&&r("boolean",t)})),es=Hn((t=>{let{hasBasicElementProps:e,primitiveEq:r,hasMethod:n}=t;return t=>t instanceof xe.Sb||e(t)&&r("object",t)&&n("keys",t)&&n("values",t)&&n("items",t)})),rs=Hn((t=>{let{hasBasicElementProps:e,primitiveEq:r,hasMethod:n}=t;return t=>t instanceof xe.ON&&!(t instanceof xe.Sb)||e(t)&&r("array",t)&&n("push",t)&&n("unshift",t)&&n("map",t)&&n("reduce",t)})),ns=Hn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof xe.c6||e(t)&&r("member",t)&&n(void 0,t)})),ss=Hn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof xe.EA||e(t)&&r("link",t)&&n(void 0,t)})),is=Hn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof xe.tK||e(t)&&r("ref",t)&&n(void 0,t)})),os=Hn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof Re||e(t)&&r("annotation",t)&&n("array",t)})),as=Hn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof De||e(t)&&r("comment",t)&&n("string",t)})),cs=Hn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof $e||e(t)&&r("parseResult",t)&&n("array",t)})),us=Hn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof Ve||e(t)&&r("sourceMap",t)&&n("array",t)})),ls=t=>Kn("object",t)||Kn("array",t)||Kn("boolean",t)||Kn("number",t)||Kn("string",t)||Kn("null",t)||Kn("member",t),ps=t=>{var e,r;return us(null==t||null===(e=t.meta)||void 0===e||null===(r=e.get)||void 0===r?void 0:r.call(e,"sourceMap"))},fs=(t,e)=>{if(0===t.length)return!0;const r=e.attributes.get("symbols");return!!rs(r)&&_(jr(r.toValue()),t)},hs=(t,e)=>0===t.length||_(jr(e.classes.toValue()),t),_s=["keyMap"],ds=["keyMap"];function ms(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ys(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ms(Object(r),!0).forEach((function(e){Ln(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ms(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}const gs=t=>es(t)?"ObjectElement":rs(t)?"ArrayElement":ns(t)?"MemberElement":Yn(t)?"StringElement":ts(t)?"BooleanElement":Jn(t)?"NumberElement":Xn(t)?"NullElement":ss(t)?"LinkElement":is(t)?"RefElement":void 0,vs=Nt(gs,Ze),bs={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]},ws=(er({props:{result:[],predicate:s,returnOnTrue:void 0,returnOnFalse:void 0},init(){let{predicate:t=this.predicate,returnOnTrue:e=this.returnOnTrue,returnOnFalse:r=this.returnOnFalse}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};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}}}),function(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{keyMap:n=bs}=r,s=zn(r,_s);return nn(t,e,ys({keyMap:n,nodeTypeGetter:gs,nodePredicate:vs},s))});ws[Symbol.for("nodejs.util.promisify.custom")]=async function(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{keyMap:n=bs}=r,s=zn(r,ds);return nn[Symbol.for("nodejs.util.promisify.custom")](t,e,ys({keyMap:n,nodeTypeGetter:gs,nodePredicate:vs},s))};const Es=jt(Ne);const xs=Ot(K(1,Ne(Array.isArray)?Array.isArray:Nt(S,Ht("Array"))),re);const Os=K(3,(function(t,e,r){var n=oe(t,r),s=oe(Xt(t),r);if(!Es(n)&&!xs(t)){var i=ot(n,s);return vt(i,e)}}));function js(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}const Ss=()=>({predicates:function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?js(Object(r),!0).forEach((function(e){Ln(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):js(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},t),namespace:We}),As=function(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(0===e.length)return t;const n=he(Ss,"toolboxCreator",r),s=he({},"visitorOptions",r),i=he(gs,"nodeTypeGetter",s),o=n(),a=e.map((t=>t(o))),c=function(t){let{visitFnGetter:e=Xr,nodeTypeGetter:r=en}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=new Array(t.length);return{enter(s){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];for(let i=0;i<t.length;i+=1)if(null==n[i]){const a=e(t[i],r(s),!1);if("function"==typeof a){const e=a.call(t[i],s,...o);if(!1===e)n[i]=s;else if(e===tn)n[i]=tn;else if(void 0!==e)return e}}},leave(s){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];for(let i=0;i<t.length;i+=1)if(null==n[i]){const a=e(t[i],r(s),!0);if("function"==typeof a){const e=a.call(t[i],s,...o);if(e===tn)n[i]=tn;else if(void 0!==e&&!1!==e)return e}}else n[i]===s&&(n[i]=null)}}}(a.map(he({},"visitor")),{nodeTypeGetter:i});a.forEach(Os(["pre"],[]));const u=ws(t,c,s);return a.forEach(Os(["post"],[])),u};function Ps(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ks(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ps(Object(r),!0).forEach((function(e){Ln(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ps(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}const Ns=(t,e)=>{let{Type:r,plugins:n=[]}=e;const s=new r(t);return As(s,n,{toolboxCreator:Ss,visitorOptions:{nodeTypeGetter:gs}})},Is=t=>function(e){return Ns(e,ks(ks({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),{},{Type:t}))};function Ms(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}xe.Sb.refract=Is(xe.Sb),xe.ON.refract=Is(xe.ON),xe.RP.refract=Is(xe.RP),xe.hh.refract=Is(xe.hh),xe.zr.refract=Is(xe.zr),xe.VL.refract=Is(xe.VL),xe.EA.refract=Is(xe.EA),xe.tK.refract=Is(xe.tK),Re.refract=Is(Re),De.refract=Is(De),$e.refract=Is($e),Ve.refract=Is(Ve);const Ts=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ms(Object(r),!0).forEach((function(e){Ln(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ms(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({stream:["children"],document:["children"],mapping:["children"],keyValuePair:["children"],sequence:["children"],error:["children"]},bs),Fs=t=>Qn(t)?gs(t):en(t),Cs=t=>Qn(t)||rn(t)||Array.isArray(t),Rs=er({props:{sourceMap:!1,processedDocumentCount:0,annotations:[],namespace:null},init(){const t=(t,e)=>{if(!this.sourceMap)return;const r=new Ve;r.position=t.position,r.astNode=t,e.meta.set("sourceMap",r)};this.namespace=Ue(),this.annotations=[],this.stream={leave(t){const e=new $e;e._content=t.children.flat(1);const r=e.findElements(ls);if(r.length>0){r[0].classes.push("result")}return this.annotations.forEach((t=>{e.push(t)})),this.annotations=[],e}},this.comment=function(e){if(0===this.processedDocumentCount){const r=new De(e.content);return t(e,r),r}return null},this.document=function(e){const r=1===this.processedDocumentCount,n=this.processedDocumentCount>=1;if(r){const r=new Re("Only first document within YAML stream will be used. Rest will be discarded.");r.classes.push("warning"),t(e,r),this.annotations.push(r)}return n?null:(this.processedDocumentCount+=1,e.children)},this.mapping=function(e){const r=new xe.Sb;return r._content=e.children,t(e,r),r},this.keyValuePair=function(e){const r=new xe.c6;return r.content.key=e.key,r.content.value=e.value,t(e,r),e.children.filter((t=>"error"===t.type)).forEach((t=>{this.error(t,e,[],[e])})),r},this.sequence=function(e){const r=new xe.ON;return r._content=e.children,t(e,r),r},this.scalar=function(e){const r=this.namespace.toElement(e.content);return""===e.content&&e.style===Lr.Plain&&(r.classes.push("yaml-e-node"),r.classes.push("yaml-e-scalar")),t(e,r),r},this.literal=function(e){if(e.isMissing){const r=`(Missing ${e.value})`,n=new Re(r);n.classes.push("warning"),t(e,n),this.annotations.push(n)}return null},this.error=function(e,r,n,s){const i=e.isUnexpected?`(Unexpected ${e.value})`:`(Error ${e.value})`,o=new Re(i);if(o.classes.push("error"),t(e,o),0===s.length){const t=new $e;return t.push(o),t}return this.annotations.push(o),null}}}),qs=function(t){let{sourceMap:e=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=Mn(),n=Rs(),s=Jr(),i=nn(t.rootNode,r,{keyMap:kn,nodePredicate:Nn,state:{schema:s,sourceMap:e}});return nn(i.rootNode,n,{keyMap:Ts,nodeTypeGetter:Fs,nodePredicate:Cs,state:{sourceMap:e}})},Ds=(t,e)=>{const r=Rt(t,e);return ae((t=>{if(Fe(t)&&Wt("$ref",t)&&_e(Ze,"$ref",t)){const e=oe(["$ref"],t),n=Sr("#/",e);return oe(n.split("/"),r)}return Fe(t)?Ds(t,r):t}),t)},Ls=er({props:{element:null},methods:{copyMetaAndAttributes(t,e){ps(t)&&e.meta.set("sourceMap",t.meta.get("sourceMap"))}}}),$s=er(Ls,{methods:{enter(t){return this.element=t.clone(),tn}}});function Bs(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}const Vs=t=>{if(Qn(t))return`${t.element.charAt(0).toUpperCase()+t.element.slice(1)}Element`},zs=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Bs(Object(r),!0).forEach((function(e){Ln(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Bs(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({MainElement:["content"],InfoElement:["content"],PrincipleElement:["content"],StandardElement:["content"],ScenarioElement:["content"],RequirementElement:["content"],StandardIdentifierElement:["content"],RequirementLevelElement:[]},bs);function Gs(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Us(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Gs(Object(r),!0).forEach((function(e){Ln(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Gs(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}const Ws=er(Ls,{props:{specObj:null},init(t){let{specObj:e=this.specObj}=t;this.specObj=e},methods:{retrievePassingOptions(){return fe(["namespace","specObj"],this)},retrieveFixedFields(t){return Nt(oe(["visitors",...t,"fixedFields"]),j)(this.specObj)},retrieveVisitor(t){return pe(Ne,["visitors",...t],this.specObj)?oe(["visitors",...t],this.specObj):oe(["visitors",...t,"$visitor"],this.specObj)},retrieveVisitorInstance(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=this.retrievePassingOptions();return this.retrieveVisitor(t)(Us(Us({},r),e))},toRefractedElement(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=this.retrieveVisitorInstance(t,r),s=Object.getPrototypeOf(n);return we(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===s?e.clone():(ws(e,n,Us(Us({keyMap:zs},r),{},{nodeTypeGetter:Vs})),n.element)}}});class Zs extends xe.RP{constructor(t,e,r){super(t,e,r),this.element="requirementLevel"}}const Ks=Zs,Hs=er(Ws,$s,{methods:{StringElement(t){const e=new Ks(t.toValue());return this.copyMetaAndAttributes(t,e),this.element=e,tn}}});class Qs extends xe.ON{constructor(t,e,r){super(t,e,r),this.element="standardIdentifier"}}const Ys=Qs,Js=er(Ws,$s,{init(){this.element=new Ys},methods:{ArrayElement(t){return t.forEach((t=>{const e=this.toRefractedElement(["document","objects","StandardIdentifier"],t);this.element.push(e)})),this.copyMetaAndAttributes(t,this.element),tn}}});class Xs extends xe.Sb{constructor(t,e,r){super(t,e,r),this.element="requirement"}get subject(){return this.get("subject")}set subject(t){this.set("subject",t)}get level(){return this.get("level")}set level(t){this.set("level",t)}get values(){return this.get("values")}set values(t){this.set("values",t)}get follows(){return this.get("follows")}set follows(t){this.set("follows",t)}}const ti=Xs;const ei=er(Ws,{props:{specPath:ht(be()),ignoredFields:[]},init(){let{specPath:t=this.specPath,ignoredFields:e=this.ignoredFields}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.specPath=t,this.ignoredFields=e},methods:{ObjectElement(t){const e=this.specPath(t),r=this.retrieveFixedFields(e);return t.forEach(((t,n,s)=>{if(Yn(n)&&r.includes(n.toValue())&&!this.ignoredFields.includes(n.toValue())){const r=this.toRefractedElement([...e,"fixedFields",n.toValue()],t),i=new xe.c6(n.clone(),r);i.classes.push("fixed-field"),this.copyMetaAndAttributes(s,i),this.element.content.push(i)}else this.ignoredFields.includes(n.toValue())||this.element.content.push(s.clone())})),this.copyMetaAndAttributes(t,this.element),tn}}}),ri=er(ei,$s,{props:{specPath:ht(["document","objects","Requirement"])},init(){this.element=new ti}}),ni=$s,si=$s;class ii extends xe.Sb{constructor(t,e,r){super(t,e,r),this.element="scenario"}get description(){return this.get("description")}set description(t){this.set("description",t)}get when(){return this.get("when")}set when(t){this.set("when",t)}get then(){return this.get("then")}set then(t){this.set("then",t)}}const oi=ii,ai=er(ei,$s,{props:{specPath:ht(["document","objects","Scenario"])},init(){this.element=new oi}}),ci=$s,ui=er(Ws,$s,{init(){this.element=new xe.ON,this.element.classes.push("scenario-then")},methods:{ArrayElement(t){return t.forEach((t=>{const e=this.toRefractedElement(["document","objects","Requirement"],t);this.element.push(e)})),this.copyMetaAndAttributes(t,this.element),tn}}});class li extends xe.Sb{constructor(t,e,r){super(t,e,r),this.element="standard"}get name(){return this.get("name")}set name(t){this.set("name",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get iri(){return this.get("iri")}set iri(t){this.set("iri",t)}get level(){return this.get("level")}set level(t){this.set("level",t)}}const pi=li,fi=er(ei,$s,{props:{specPath:ht(["document","objects","Standard"])},init(){this.element=new pi}}),hi=$s,_i=$s,di=$s;class mi extends xe.Sb{constructor(t,e,r){super(t,e,r),this.element="principle"}get name(){return this.get("name")}set name(t){this.set("name",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get iri(){return this.get("iri")}set iri(t){this.set("iri",t)}get level(){return this.get("level")}set level(t){this.set("level",t)}}const yi=mi,gi=er(ei,$s,{props:{specPath:ht(["document","objects","Principle"])},init(){this.element=new yi}}),vi=$s,bi=$s,wi=$s;class Ei extends xe.Sb{constructor(t,e,r){super(t,e,r),this.element="info"}get title(){return this.get("title")}set title(t){this.set("title",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}}const xi=Ei,Oi=er(ei,$s,{props:{specPath:ht(["document","objects","Info"])},init(){this.element=new xi}}),ji=$s,Si=$s;class Ai extends xe.Sb{constructor(t,e,r){super(t,e,r),this.element="main",this.classes.push("api")}get version(){return this.get("version")}set version(t){this.set("version",t)}get info(){return this.get("info")}set info(t){this.set("info",t)}get principles(){return this.get("principles")}set principles(t){this.set("principles",t)}get standards(){return this.get("standards")}set standards(t){this.set("standards",t)}get scenarios(){return this.get("scenarios")}set scenarios(t){this.set("scenarios",t)}}const Pi=Ai,ki={visitors:{value:$s,document:{objects:{Main:{$visitor:er(ei,$s,{props:{specPath:ht(["document","objects","Main"])},init(){this.element=new Pi}}),fixedFields:{version:$s,info:{$ref:"#/visitors/document/objects/Info"},principles:er(Ws,$s,{init(){this.element=new xe.ON,this.element.classes.push("main-principles")},methods:{ArrayElement(t){return t.forEach((t=>{const e=this.toRefractedElement(["document","objects","Principle"],t);this.element.push(e)})),this.copyMetaAndAttributes(t,this.element),tn}}}),standards:er(Ws,$s,{init(){this.element=new xe.ON,this.element.classes.push("main-standards")},methods:{ArrayElement(t){return t.forEach((t=>{const e=this.toRefractedElement(["document","objects","Standard"],t);this.element.push(e)})),this.copyMetaAndAttributes(t,this.element),tn}}}),scenarios:er(Ws,$s,{init(){this.element=new xe.ON,this.element.classes.push("main-scenarios")},methods:{ArrayElement(t){return t.forEach((t=>{const e=this.toRefractedElement(["document","objects","Scenario"],t);this.element.push(e)})),this.copyMetaAndAttributes(t,this.element),tn}}})}},Info:{$visitor:Oi,fixedFields:{title:ji,description:Si}},Principle:{$visitor:gi,fixedFields:{name:vi,description:bi,iri:wi,level:{$ref:"#/visitors/document/objects/RequirementLevel"}}},Standard:{$visitor:fi,fixedFields:{name:hi,description:_i,level:{$ref:"#/visitors/document/objects/RequirementLevel"},iri:di}},Scenario:{$visitor:ai,fixedFields:{description:ci,when:{$ref:"#/visitors/document/objects/StandardIdentifier"},then:ui}},Requirement:{$visitor:ri,fixedFields:{subject:{$ref:"#/visitors/document/objects/StandardIdentifier"},level:{$ref:"#/visitors/document/objects/RequirementLevel"},values:ni,follows:si}},StandardIdentifier:Js,RequirementLevel:Hs}}}},Ni=Hn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof Pi||e(t)&&r("main",t)&&n("object",t)})),Ii=Hn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof xi||e(t)&&r("info",t)&&n("object",t)})),Mi=Hn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof yi||e(t)&&r("principle",t)&&n("object",t)})),Ti=Hn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof ti||e(t)&&r("requirement",t)&&n("object",t)})),Fi=Hn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof Ks||e(t)&&r("requirementLevel",t)&&n("string",t)})),Ci=Hn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof oi||e(t)&&r("scenario",t)&&n("object",t)})),Ri=Hn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof pi||e(t)&&r("standard",t)&&n("object",t)})),qi=Hn((t=>{let{hasBasicElementProps:e,isElementType:r,primitiveEq:n}=t;return t=>t instanceof Ys||e(t)&&r("standardIdentifier",t)&&n("array",t)})),Di={namespace:t=>{const{base:e}=t;return e.register("info",xi),e.register("main",Pi),e.register("principle",yi),e.register("requirement",ti),e.register("requirementLevel",Ks),e.register("scenario",oi),e.register("standard",pi),e.register("standardIdentifier",Ys),e}};function Li(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function $i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Li(Object(r),!0).forEach((function(e){Ln(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Li(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}const Bi=()=>{const t=Ue(Di);return{predicates:$i($i({},e),{},{isStringElement:Yn}),namespace:t}};function Vi(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function zi(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Vi(Object(r),!0).forEach((function(e){Ln(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Vi(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}const Gi=function(t){let{specPath:e=["visitors","document","objects","Main","$visitor"],plugins:r=[]}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(0,xe.Qc)(t),s=Ds(ki),i=Os(e,[],s);return ws(n,i,{state:{specObj:s}}),As(i.element,r,{toolboxCreator:Bi,visitorOptions:{keyMap:zs,nodeTypeGetter:Vs}})},Ui=t=>function(e){return Gi(e,zi(zi({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),{},{specPath:t}))};Pi.refract=Ui(["visitors","document","objects","Main","$visitor"]),xi.refract=Ui(["visitors","document","objects","Info","$visitor"]),yi.refract=Ui(["visitors","document","objects","Principle","$visitor"]),ti.refract=Ui(["visitors","document","objects","Requirement","$visitor"]),Ks.refract=Ui(["visitors","document","objects","RequirementLevel","$visitor"]),oi.refract=Ui(["visitors","document","objects","Scenario","$visitor"]),pi.refract=Ui(["visitors","document","objects","Standards","$visitor"]),Ys.refract=Ui(["visitors","document","objects","StandardIdentifier","$visitor"]);const Wi=class extends Array{constructor(){super(...arguments),Ln(this,"unknownMediaType","application/octet-stream")}filterByFormat(){throw new Error("Not implemented!")}findBy(){throw new Error("Not implemented")}latest(){throw new Error("Not implemented!")}};class Zi extends Wi{filterByFormat(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"generic";const e="generic"===t?"apidesignsystems;version":t;return this.filter((t=>t.includes(e)))}findBy(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"2021-05-07",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"generic";const r="generic"===e?`apidesignsystems;version=${t}`:`apidesignsystems+${e};version=${t}`;return this.find((t=>t.includes(r)))||this.unknownMediaType}latest(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"generic";return se(this.filterByFormat(t))}}const Ki=new Zi("application/vnd.aai.apidesignsystems;version=2021-05-07","application/vnd.aai.apidesignsystems+json;version=2021-05-07","application/vnd.aai.apidesignsystems+yaml;version=2021-05-07"),Hi=new Zi(...Ki.filterByFormat("generic"),...Ki.filterByFormat("yaml")),Qi=/(?<YAML>^(["']?)version\2\s*:\s*(["']?)(?<version_yaml>2021-05-07)\3)|(?<JSON>"version"\s*:\s*"(?<version_json>2021-05-07)")/m,Yi=async t=>Qi.test(t)&&await(async t=>{try{return"ERROR"!==(await tr(t)).rootNode.type}catch{return!1}})(t),Ji=async function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=he({},"refractorOpts",e),n=ue(["refractorOpts"],e),s=await async function(t){let{sourceMap:e=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=await tr(t);return qs(r,{sourceMap:e})}(t,n),{result:i}=s;if(Ee(i)){const t=Pi.refract(i,r);t.classes.push("result"),s.replaceResult(t)}return s},Xi=Ue(Di)})(),n})()));