@sourcegraph/code-host-integration 0.0.90 → 0.0.91
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/inject.bundle.css +2 -2
- package/css/style.bundle.css +2 -2
- package/extensions/revision.txt +1 -1
- package/extensions/sourcegraph-apex/extension.js +5 -5
- package/extensions/sourcegraph-apex/package.json +3 -6
- package/extensions/sourcegraph-clojure/extension.js +5 -5
- package/extensions/sourcegraph-clojure/package.json +3 -6
- package/extensions/sourcegraph-cobol/extension.js +5 -5
- package/extensions/sourcegraph-cobol/package.json +3 -6
- package/extensions/sourcegraph-cpp/extension.js +5 -5
- package/extensions/sourcegraph-cpp/package.json +3 -6
- package/extensions/sourcegraph-csharp/extension.js +5 -5
- package/extensions/sourcegraph-csharp/package.json +3 -6
- package/extensions/sourcegraph-cuda/extension.js +5 -5
- package/extensions/sourcegraph-cuda/package.json +3 -6
- package/extensions/sourcegraph-dart/extension.js +5 -5
- package/extensions/sourcegraph-dart/package.json +3 -6
- package/extensions/sourcegraph-elixir/extension.js +5 -5
- package/extensions/sourcegraph-elixir/package.json +3 -6
- package/extensions/sourcegraph-erlang/extension.js +5 -5
- package/extensions/sourcegraph-erlang/package.json +3 -6
- package/extensions/sourcegraph-go/extension.js +5 -5
- package/extensions/sourcegraph-go/package.json +3 -6
- package/extensions/sourcegraph-graphql/extension.js +5 -5
- package/extensions/sourcegraph-graphql/package.json +3 -6
- package/extensions/sourcegraph-groovy/extension.js +5 -5
- package/extensions/sourcegraph-groovy/package.json +3 -6
- package/extensions/sourcegraph-haskell/extension.js +5 -5
- package/extensions/sourcegraph-haskell/package.json +3 -6
- package/extensions/sourcegraph-java/extension.js +5 -5
- package/extensions/sourcegraph-java/package.json +3 -6
- package/extensions/sourcegraph-jsonnet/extension.js +5 -5
- package/extensions/sourcegraph-jsonnet/package.json +3 -6
- package/extensions/sourcegraph-kotlin/extension.js +5 -5
- package/extensions/sourcegraph-kotlin/package.json +3 -6
- package/extensions/sourcegraph-lisp/extension.js +5 -5
- package/extensions/sourcegraph-lisp/package.json +3 -6
- package/extensions/sourcegraph-lua/extension.js +5 -5
- package/extensions/sourcegraph-lua/package.json +3 -6
- package/extensions/sourcegraph-ocaml/extension.js +5 -5
- package/extensions/sourcegraph-ocaml/package.json +3 -6
- package/extensions/sourcegraph-pascal/extension.js +5 -5
- package/extensions/sourcegraph-pascal/package.json +3 -6
- package/extensions/sourcegraph-perl/extension.js +5 -5
- package/extensions/sourcegraph-perl/package.json +3 -6
- package/extensions/sourcegraph-php/extension.js +5 -5
- package/extensions/sourcegraph-php/package.json +3 -6
- package/extensions/sourcegraph-powershell/extension.js +5 -5
- package/extensions/sourcegraph-powershell/package.json +3 -6
- package/extensions/sourcegraph-protobuf/extension.js +5 -5
- package/extensions/sourcegraph-protobuf/package.json +3 -6
- package/extensions/sourcegraph-python/extension.js +5 -5
- package/extensions/sourcegraph-python/package.json +3 -6
- package/extensions/sourcegraph-r/extension.js +5 -5
- package/extensions/sourcegraph-r/package.json +3 -6
- package/extensions/sourcegraph-ruby/extension.js +5 -5
- package/extensions/sourcegraph-ruby/package.json +3 -6
- package/extensions/sourcegraph-rust/extension.js +5 -5
- package/extensions/sourcegraph-rust/package.json +3 -6
- package/extensions/sourcegraph-scala/extension.js +5 -5
- package/extensions/sourcegraph-scala/package.json +3 -6
- package/extensions/sourcegraph-shell/extension.js +5 -5
- package/extensions/sourcegraph-shell/package.json +3 -6
- package/extensions/sourcegraph-starlark/extension.js +5 -5
- package/extensions/sourcegraph-starlark/package.json +3 -6
- package/extensions/sourcegraph-strato/extension.js +5 -5
- package/extensions/sourcegraph-strato/package.json +3 -6
- package/extensions/sourcegraph-swift/extension.js +5 -5
- package/extensions/sourcegraph-swift/package.json +3 -6
- package/extensions/sourcegraph-tcl/extension.js +5 -5
- package/extensions/sourcegraph-tcl/package.json +3 -6
- package/extensions/sourcegraph-thrift/extension.js +5 -5
- package/extensions/sourcegraph-thrift/package.json +3 -6
- package/extensions/sourcegraph-typescript/extension.js +5 -5
- package/extensions/sourcegraph-typescript/package.json +3 -6
- package/extensions/sourcegraph-verilog/extension.js +5 -5
- package/extensions/sourcegraph-verilog/package.json +3 -6
- package/extensions/sourcegraph-vhdl/extension.js +5 -5
- package/extensions/sourcegraph-vhdl/package.json +3 -6
- package/package.json +1 -1
- package/scripts/extensionHostWorker.bundle.js +1 -1
- package/scripts/integration.bundle.js +20 -19
- package/scripts/phabricator.bundle.js +20 -19
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see extensionHostWorker.bundle.js.LICENSE.txt */
|
|
2
|
-
(()=>{var e={6953:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MarkupKind={PlainText:"plaintext",Markdown:"markdown"},t.NotificationType={Error:1,Warning:2,Info:3,Log:4,Success:5},t.DocumentHighlightKind={Text:"text",Read:"read",Write:"write"}},9382:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.illegalArgument=function(e){return e?new Error(`Illegal argument: ${e}`):new Error("Illegal argument")}},1337:(e,t,r)=>{"use strict";function n(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}Object.defineProperty(t,"__esModule",{value:!0}),n(r(9477)),n(r(2030)),n(r(3374)),n(r(9404)),n(r(6953))},9477:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(2030),i=r(3374),o=r(6921);class s{constructor(e,t){if(this.uri=e,t)if(t instanceof i.Range)this.range=t;else{if(!(t instanceof n.Position))throw new Error("Illegal argument");this.range=new i.Range(t,t)}else;}static isLocation(e){return e instanceof s||!!e&&(i.Range.isRange(e.range)&&o.isURL(e.uri))}toJSON(){return{uri:this.uri,range:this.range}}}t.Location=s},2030:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(9382);class i{static min(...e){let t=e.pop();if(void 0!==t){for(const r of e)r.isBefore(t)&&(t=r);return t}}static max(...e){let t=e.pop();if(void 0!==t){for(const r of e)r.isAfter(t)&&(t=r);return t}}static isPosition(e){if(!e)return!1;if(e instanceof i)return!0;const{line:t,character:r}=e;return"number"==typeof t&&"number"==typeof r}get line(){return this._line}get character(){return this._character}constructor(e,t){if(e<0)throw n.illegalArgument("line must be non-negative");if(t<0)throw n.illegalArgument("character must be non-negative");this._line=e,this._character=t}isBefore(e){return this._line<e.line||!(e.line<this._line)&&this._character<e.character}isBeforeOrEqual(e){return this._line<e.line||!(e.line<this._line)&&this._character<=e.character}isAfter(e){return!this.isBeforeOrEqual(e)}isAfterOrEqual(e){return!this.isBefore(e)}isEqual(e){return this._line===e.line&&this._character===e.character}compareTo(e){return this._line<e.line?-1:this._line>e.line?1:this._character<e.character?-1:this._character>e.character?1:0}translate(e,t=0){if(null===e||null===t)throw n.illegalArgument();let r;return void 0===e?r=0:"number"==typeof e?r=e:(r="number"==typeof e.lineDelta?e.lineDelta:0,t="number"==typeof e.characterDelta?e.characterDelta:0),0===r&&0===t?this:new i(this.line+r,this.character+t)}with(e,t=this.character){if(null===e||null===t)throw n.illegalArgument();let r;return void 0===e?r=this.line:"number"==typeof e?r=e:(r="number"==typeof e.line?e.line:this.line,t="number"==typeof e.character?e.character:this.character),r===this.line&&t===this.character?this:new i(r,t)}toJSON(){return{line:this.line,character:this.character}}}t.Position=i},3374:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(9382),i=r(2030);class o{static isRange(e){return e instanceof o||!!e&&(i.Position.isPosition(e.start)&&i.Position.isPosition(e.end))}get start(){return this._start}get end(){return this._end}constructor(e,t,r,n){let o,s;if("number"==typeof e&&"number"==typeof t&&"number"==typeof r&&"number"==typeof n?(o=new i.Position(e,t),s=new i.Position(r,n)):e instanceof i.Position&&t instanceof i.Position&&(o=e,s=t),!o||!s)throw new Error("Invalid arguments");o.isBefore(s)?(this._start=o,this._end=s):(this._start=s,this._end=o)}contains(e){return e instanceof o?this.contains(e._start)&&this.contains(e._end):e instanceof i.Position&&(!e.isBefore(this._start)&&!this._end.isBefore(e))}isEqual(e){return this._start.isEqual(e.start)&&this._end.isEqual(e.end)}intersection(e){const t=i.Position.max(e.start,this._start),r=i.Position.min(e.end,this._end);if(!t.isAfter(r))return new o(t,r)}union(e){if(this.contains(e))return this;if(e.contains(this))return e;const t=i.Position.min(e.start,this._start),r=i.Position.max(e.end,this.end);return new o(t,r)}get isEmpty(){return this._start.isEqual(this._end)}get isSingleLine(){return this._start.line===this._end.line}with(e,t=this.end){if(null===e||null===t)throw n.illegalArgument();let r;return e?i.Position.isPosition(e)?r=e:(r=e.start||this.start,t=e.end||this.end):r=this.start,r.isEqual(this._start)&&t.isEqual(this.end)?this:new o(r,t)}toJSON(){return{start:this._start.toJSON(),end:this._end.toJSON()}}toPlain(){return{start:{line:this._start.line,character:this._start.character},end:{line:this._end.line,character:this._end.character}}}static fromPlain(e){return new o(e.start.line,e.start.character,e.end.line,e.end.character)}}t.Range=o},9404:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(2030),i=r(3374);class o extends i.Range{static isSelection(e){return e instanceof o||!!e&&(i.Range.isRange(e)&&n.Position.isPosition(e.anchor)&&n.Position.isPosition(e.active)&&"boolean"==typeof e.isReversed)}get anchor(){return this._anchor}get active(){return this._active}constructor(e,t,r,i){let o,s;if("number"==typeof e&&"number"==typeof t&&"number"==typeof r&&"number"==typeof i?(o=new n.Position(e,t),s=new n.Position(r,i)):e instanceof n.Position&&t instanceof n.Position&&(o=e,s=t),!o||!s)throw new Error("Invalid arguments");super(o,s),this._anchor=o,this._active=s}get isReversed(){return this._anchor===this._end}toJSON(){return{start:this.start,end:this.end,active:this.active,anchor:this.anchor}}toPlain(){return Object.assign({},super.toPlain(),{anchor:this.anchor.toJSON(),active:this.active.toJSON(),isReversed:this.isReversed})}static fromPlain(e){return e.isReversed?new o(e.end.line,e.end.character,e.start.line,e.start.character):new o(e.start.line,e.start.character,e.end.line,e.end.character)}}t.Selection=o},6921:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isURL=e=>!!e&&"function"==typeof e.toString&&e.href===e.toString()},4611:e=>{"use strict";function t(e,t,i){e instanceof RegExp&&(e=r(e,i)),t instanceof RegExp&&(t=r(t,i));var o=n(e,t,i);return o&&{start:o[0],end:o[1],pre:i.slice(0,o[0]),body:i.slice(o[0]+e.length,o[1]),post:i.slice(o[1]+t.length)}}function r(e,t){var r=t.match(e);return r?r[0]:null}function n(e,t,r){var n,i,o,s,a,c=r.indexOf(e),u=r.indexOf(t,c+1),l=c;if(c>=0&&u>0){for(n=[],o=r.length;l>=0&&!a;)l==c?(n.push(l),c=r.indexOf(e,l+1)):1==n.length?a=[n.pop(),u]:((i=n.pop())<o&&(o=i,s=u),u=r.indexOf(t,l+1)),l=c<u&&c>=0?c:u;n.length&&(a=[o,s])}return a}e.exports=t,t.range=n},2238:(e,t,r)=>{var n=r(5889),i=r(4611);e.exports=function(e){if(!e)return[];"{}"===e.substr(0,2)&&(e="\\{\\}"+e.substr(2));return E(function(e){return e.split("\\\\").join(o).split("\\{").join(s).split("\\}").join(a).split("\\,").join(c).split("\\.").join(u)}(e),!0).map(f)};var o="\0SLASH"+Math.random()+"\0",s="\0OPEN"+Math.random()+"\0",a="\0CLOSE"+Math.random()+"\0",c="\0COMMA"+Math.random()+"\0",u="\0PERIOD"+Math.random()+"\0";function l(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function f(e){return e.split(o).join("\\").split(s).join("{").split(a).join("}").split(c).join(",").split(u).join(".")}function p(e){if(!e)return[""];var t=[],r=i("{","}",e);if(!r)return e.split(",");var n=r.pre,o=r.body,s=r.post,a=n.split(",");a[a.length-1]+="{"+o+"}";var c=p(s);return s.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),t.push.apply(t,a),t}function h(e){return"{"+e+"}"}function d(e){return/^-?0\d/.test(e)}function v(e,t){return e<=t}function y(e,t){return e>=t}function E(e,t){var r=[],o=i("{","}",e);if(!o||/\$$/.test(o.pre))return[e];var s,c=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(o.body),u=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(o.body),f=c||u,b=o.body.indexOf(",")>=0;if(!f&&!b)return o.post.match(/,.*\}/)?E(e=o.pre+"{"+o.body+a+o.post):[e];if(f)s=o.body.split(/\.\./);else if(1===(s=p(o.body)).length&&1===(s=E(s[0],!1).map(h)).length)return(S=o.post.length?E(o.post,!1):[""]).map((function(e){return o.pre+s[0]+e}));var g,m=o.pre,S=o.post.length?E(o.post,!1):[""];if(f){var x=l(s[0]),_=l(s[1]),O=Math.max(s[0].length,s[1].length),w=3==s.length?Math.abs(l(s[2])):1,A=v;_<x&&(w*=-1,A=y);var T=s.some(d);g=[];for(var R=x;A(R,_);R+=w){var P;if(u)"\\"===(P=String.fromCharCode(R))&&(P="");else if(P=String(R),T){var C=O-P.length;if(C>0){var I=new Array(C+1).join("0");P=R<0?"-"+I+P.slice(1):I+P}}g.push(P)}}else g=n(s,(function(e){return E(e,!1)}));for(var N=0;N<g.length;N++)for(var D=0;D<S.length;D++){var L=m+g[N]+S[D];(!t||f||L)&&r.push(L)}return r}},5889:e=>{e.exports=function(e,r){for(var n=[],i=0;i<e.length;i++){var o=r(e[i],i);t(o)?n.push.apply(n,o):n.push(o)}return n};var t=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},6913:(e,t,r)=>{var n=r(7005),i=r(9501),o=r(4220),s=r(3364),a=o.data,c=o.normalize,u="USE_FUNCTION_CONSTRUCTOR",l="AsyncIteratorPrototype",f=function(e,t){if(i(e))for(var r=0;r<e.length;r++)a[c(e[r])]=t};e.exports=function(e){"object"==typeof e&&(f(e.useNative,o.NATIVE),f(e.usePolyfill,o.POLYFILL),f(e.useFeatureDetection,null),n(e,u)&&(s[u]=!!e[u]),n(e,l)&&(s[u]=e[l]))}},1857:(e,t,r)=>{var n=r(2666),i=r(5365),o=TypeError;e.exports=function(e){if(n(e))return e;throw o(i(e)+" is not a function")}},5191:(e,t,r)=>{var n=r(2666),i=String,o=TypeError;e.exports=function(e){if("object"==typeof e||n(e))return e;throw o("Can't set "+i(e)+" as a prototype")}},7525:(e,t,r)=>{var n=r(8803),i=r(7585),o=r(6120).f,s=n("unscopables"),a=Array.prototype;null==a[s]&&o(a,s,{configurable:!0,value:i(null)}),e.exports=function(e){a[s][e]=!0}},6754:(e,t,r)=>{var n=r(2885),i=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw i("Incorrect invocation")}},4999:(e,t,r)=>{var n=r(6178),i=String,o=TypeError;e.exports=function(e){if(n(e))return e;throw o(i(e)+" is not an object")}},9600:(e,t,r)=>{"use strict";var n=r(163),i=r(933),o=r(9540),s=r(4459),a=r(99),c=r(5028),u=r(7535),l=r(6160),f=r(4633),p=r(5968),h=Array;e.exports=function(e){var t=o(e),r=c(this),d=arguments.length,v=d>1?arguments[1]:void 0,y=void 0!==v;y&&(v=n(v,d>2?arguments[2]:void 0));var E,b,g,m,S,x,_=p(t),O=0;if(!_||this===h&&a(_))for(E=u(t),b=r?new this(E):h(E);E>O;O++)x=y?v(t[O],O):t[O],l(b,O,x);else for(S=(m=f(t,_)).next,b=r?new this:[];!(g=i(S,m)).done;O++)x=y?s(m,v,[g.value,O],!0):g.value,l(b,O,x);return b.length=O,b}},1692:(e,t,r)=>{var n=r(2379),i=r(2362),o=r(7535),s=function(e){return function(t,r,s){var a,c=n(t),u=o(c),l=i(s,u);if(e&&r!=r){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},7129:(e,t,r)=>{var n=r(2362),i=r(7535),o=r(6160),s=Array,a=Math.max;e.exports=function(e,t,r){for(var c=i(e),u=n(t,c),l=n(void 0===r?c:r,c),f=s(a(l-u,0)),p=0;u<l;u++,p++)o(f,p,e[u]);return f.length=p,f}},5410:(e,t,r)=>{var n=r(287);e.exports=n([].slice)},7510:(e,t,r)=>{var n=r(7129),i=Math.floor,o=function(e,t){var r=e.length,c=i(r/2);return r<8?s(e,t):a(e,o(n(e,0,c),t),o(n(e,c),t),t)},s=function(e,t){for(var r,n,i=e.length,o=1;o<i;){for(n=o,r=e[o];n&&t(e[n-1],r)>0;)e[n]=e[--n];n!==o++&&(e[n]=r)}return e},a=function(e,t,r,n){for(var i=t.length,o=r.length,s=0,a=0;s<i||a<o;)e[s+a]=s<i&&a<o?n(t[s],r[a])<=0?t[s++]:r[a++]:s<i?t[s++]:r[a++];return e};e.exports=o},4459:(e,t,r)=>{var n=r(4999),i=r(1762);e.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(t){i(e,"throw",t)}}},7738:(e,t,r)=>{var n=r(287),i=n({}.toString),o=n("".slice);e.exports=function(e){return o(i(e),8,-1)}},3223:(e,t,r)=>{var n=r(1078),i=r(2666),o=r(7738),s=r(8803)("toStringTag"),a=Object,c="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),s))?r:c?o(t):"Object"==(n=o(t))&&i(t.callee)?"Arguments":n}},7695:(e,t,r)=>{var n=r(7005),i=r(4552),o=r(1808),s=r(6120);e.exports=function(e,t,r){for(var a=i(t),c=s.f,u=o.f,l=0;l<a.length;l++){var f=a[l];n(e,f)||r&&n(r,f)||c(e,f,u(t,f))}}},2907:(e,t,r)=>{var n=r(8272);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},80:(e,t,r)=>{"use strict";var n=r(5617).IteratorPrototype,i=r(7585),o=r(1848),s=r(640),a=r(3740),c=function(){return this};e.exports=function(e,t,r,u){var l=t+" Iterator";return e.prototype=i(n,{next:o(+!u,r)}),s(e,l,!1,!0),a[l]=c,e}},7148:(e,t,r)=>{var n=r(4266),i=r(6120),o=r(1848);e.exports=n?function(e,t,r){return i.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},1848:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},6160:(e,t,r)=>{"use strict";var n=r(4270),i=r(6120),o=r(1848);e.exports=function(e,t,r){var s=n(t);s in e?i.f(e,s,o(0,r)):e[s]=r}},3416:(e,t,r)=>{var n=r(543),i=r(6120);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),i.f(e,t,r)}},8337:(e,t,r)=>{var n=r(2666),i=r(7148),o=r(543),s=r(6495);e.exports=function(e,t,r,a){a||(a={});var c=a.enumerable,u=void 0!==a.name?a.name:t;return n(r)&&o(r,u,a),a.global?c?e[t]=r:s(t,r):(a.unsafe?e[t]&&(c=!0):delete e[t],c?e[t]=r:i(e,t,r)),e}},625:(e,t,r)=>{var n=r(8337);e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},6495:(e,t,r)=>{var n=r(1045),i=Object.defineProperty;e.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},2371:(e,t,r)=>{"use strict";var n=r(1680),i=r(933),o=r(2426),s=r(8940),a=r(2666),c=r(80),u=r(1811),l=r(1684),f=r(640),p=r(7148),h=r(8337),d=r(8803),v=r(3740),y=r(5617),E=s.PROPER,b=s.CONFIGURABLE,g=y.IteratorPrototype,m=y.BUGGY_SAFARI_ITERATORS,S=d("iterator"),x="keys",_="values",O="entries",w=function(){return this};e.exports=function(e,t,r,s,d,y,A){c(r,t,s);var T,R,P,C=function(e){if(e===d&&U)return U;if(!m&&e in D)return D[e];switch(e){case x:case _:case O:return function(){return new r(this,e)}}return function(){return new r(this)}},I=t+" Iterator",N=!1,D=e.prototype,L=D[S]||D["@@iterator"]||d&&D[d],U=!m&&L||C(d),M="Array"==t&&D.entries||L;if(M&&(T=u(M.call(new e)))!==Object.prototype&&T.next&&(o||u(T)===g||(l?l(T,g):a(T[S])||h(T,S,w)),f(T,I,!0,!0),o&&(v[I]=w)),E&&d==_&&L&&L.name!==_&&(!o&&b?p(D,"name",_):(N=!0,U=function(){return i(L,this)})),d)if(R={values:C(_),keys:y?U:C(x),entries:C(O)},A)for(P in R)(m||N||!(P in D))&&h(D,P,R[P]);else n({target:t,proto:!0,forced:m||N},R);return o&&!A||D[S]===U||h(D,S,U,{name:d}),v[t]=U,R}},309:(e,t,r)=>{var n=r(9437),i=r(7005),o=r(7108),s=r(6120).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});i(t,e)||s(t,e,{value:o.f(e)})}},4266:(e,t,r)=>{var n=r(8272);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},347:(e,t,r)=>{var n=r(1045),i=r(6178),o=n.document,s=i(o)&&i(o.createElement);e.exports=function(e){return s?o.createElement(e):{}}},6143:(e,t,r)=>{var n=r(1769);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},5649:(e,t,r)=>{var n=r(7738),i=r(1045);e.exports="process"==n(i.process)},1769:(e,t,r)=>{var n=r(5811);e.exports=n("navigator","userAgent")||""},2563:(e,t,r)=>{var n,i,o=r(1045),s=r(1769),a=o.process,c=o.Deno,u=a&&a.versions||c&&c.version,l=u&&u.v8;l&&(i=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(i=+n[1]),e.exports=i},1290:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},1680:(e,t,r)=>{var n=r(1045),i=r(1808).f,o=r(7148),s=r(8337),a=r(6495),c=r(7695),u=r(4220);e.exports=function(e,t){var r,l,f,p,h,d=e.target,v=e.global,y=e.stat;if(r=v?n:y?n[d]||a(d,{}):(n[d]||{}).prototype)for(l in t){if(p=t[l],f=e.dontCallGetSet?(h=i(r,l))&&h.value:r[l],!u(v?l:d+(y?".":"#")+l,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(e.sham||f&&f.sham)&&o(p,"sham",!0),s(r,l,p,e)}}},8272:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},5158:(e,t,r)=>{var n=r(5162),i=Function.prototype,o=i.apply,s=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?s.bind(o):function(){return s.apply(o,arguments)})},163:(e,t,r)=>{var n=r(287),i=r(1857),o=r(5162),s=n(n.bind);e.exports=function(e,t){return i(e),void 0===t?e:o?s(e,t):function(){return e.apply(t,arguments)}}},5162:(e,t,r)=>{var n=r(8272);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},933:(e,t,r)=>{var n=r(5162),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},8940:(e,t,r)=>{var n=r(4266),i=r(7005),o=Function.prototype,s=n&&Object.getOwnPropertyDescriptor,a=i(o,"name"),c=a&&"something"===function(){}.name,u=a&&(!n||n&&s(o,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},287:(e,t,r)=>{var n=r(5162),i=Function.prototype,o=i.bind,s=i.call,a=n&&o.bind(s,s);e.exports=n?function(e){return e&&a(e)}:function(e){return e&&function(){return s.apply(e,arguments)}}},5811:(e,t,r)=>{var n=r(1045),i=r(2666),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e]):n[e]&&n[e][t]}},5968:(e,t,r)=>{var n=r(3223),i=r(4503),o=r(3740),s=r(8803)("iterator");e.exports=function(e){if(null!=e)return i(e,s)||i(e,"@@iterator")||o[n(e)]}},4633:(e,t,r)=>{var n=r(933),i=r(1857),o=r(4999),s=r(5365),a=r(5968),c=TypeError;e.exports=function(e,t){var r=arguments.length<2?a(e):t;if(i(r))return o(n(r,e));throw c(s(e)+" is not iterable")}},4503:(e,t,r)=>{var n=r(1857);e.exports=function(e,t){var r=e[t];return null==r?void 0:n(r)}},1045:(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}()||Function("return this")()},7005:(e,t,r)=>{var n=r(287),i=r(9540),o=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},8222:e=>{e.exports={}},2486:(e,t,r)=>{var n=r(5811);e.exports=n("document","documentElement")},2643:(e,t,r)=>{var n=r(4266),i=r(8272),o=r(347);e.exports=!n&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},1100:(e,t,r)=>{var n=r(287),i=r(8272),o=r(7738),s=Object,a=n("".split);e.exports=i((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?a(e,""):s(e)}:s},8496:(e,t,r)=>{var n=r(287),i=r(2666),o=r(3364),s=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return s(e)}),e.exports=o.inspectSource},6351:(e,t,r)=>{var n,i,o,s=r(7429),a=r(1045),c=r(287),u=r(6178),l=r(7148),f=r(7005),p=r(3364),h=r(7427),d=r(8222),v="Object already initialized",y=a.TypeError,E=a.WeakMap;if(s||p.state){var b=p.state||(p.state=new E),g=c(b.get),m=c(b.has),S=c(b.set);n=function(e,t){if(m(b,e))throw new y(v);return t.facade=e,S(b,e,t),t},i=function(e){return g(b,e)||{}},o=function(e){return m(b,e)}}else{var x=h("state");d[x]=!0,n=function(e,t){if(f(e,x))throw new y(v);return t.facade=e,l(e,x,t),t},i=function(e){return f(e,x)?e[x]:{}},o=function(e){return f(e,x)}}e.exports={set:n,get:i,has:o,enforce:function(e){return o(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!u(t)||(r=i(t)).type!==e)throw y("Incompatible receiver, "+e+" required");return r}}}},99:(e,t,r)=>{var n=r(8803),i=r(3740),o=n("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||s[o]===e)}},9501:(e,t,r)=>{var n=r(7738);e.exports=Array.isArray||function(e){return"Array"==n(e)}},2666:e=>{e.exports=function(e){return"function"==typeof e}},5028:(e,t,r)=>{var n=r(287),i=r(8272),o=r(2666),s=r(3223),a=r(5811),c=r(8496),u=function(){},l=[],f=a("Reflect","construct"),p=/^\s*(?:class|function)\b/,h=n(p.exec),d=!p.exec(u),v=function(e){if(!o(e))return!1;try{return f(u,l,e),!0}catch(e){return!1}},y=function(e){if(!o(e))return!1;switch(s(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!h(p,c(e))}catch(e){return!0}};y.sham=!0,e.exports=!f||i((function(){var e;return v(v.call)||!v(Object)||!v((function(){e=!0}))||e}))?y:v},4220:(e,t,r)=>{var n=r(8272),i=r(2666),o=/#|\.prototype\./,s=function(e,t){var r=c[a(e)];return r==l||r!=u&&(i(t)?n(t):!!t)},a=s.normalize=function(e){return String(e).replace(o,".").toLowerCase()},c=s.data={},u=s.NATIVE="N",l=s.POLYFILL="P";e.exports=s},6178:(e,t,r)=>{var n=r(2666);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},2426:e=>{e.exports=!1},4025:(e,t,r)=>{var n=r(5811),i=r(2666),o=r(2885),s=r(6084),a=Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return i(t)&&o(t.prototype,a(e))}},1762:(e,t,r)=>{var n=r(933),i=r(4999),o=r(4503);e.exports=function(e,t,r){var s,a;i(e);try{if(!(s=o(e,"return"))){if("throw"===t)throw r;return r}s=n(s,e)}catch(e){a=!0,s=e}if("throw"===t)throw r;if(a)throw s;return i(s),r}},5617:(e,t,r)=>{"use strict";var n,i,o,s=r(8272),a=r(2666),c=r(7585),u=r(1811),l=r(8337),f=r(8803),p=r(2426),h=f("iterator"),d=!1;[].keys&&("next"in(o=[].keys())?(i=u(u(o)))!==Object.prototype&&(n=i):d=!0),null==n||s((function(){var e={};return n[h].call(e)!==e}))?n={}:p&&(n=c(n)),a(n[h])||l(n,h,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:d}},3740:e=>{e.exports={}},7535:(e,t,r)=>{var n=r(4039);e.exports=function(e){return n(e.length)}},543:(e,t,r)=>{var n=r(8272),i=r(2666),o=r(7005),s=r(4266),a=r(8940).CONFIGURABLE,c=r(8496),u=r(6351),l=u.enforce,f=u.get,p=Object.defineProperty,h=s&&!n((function(){return 8!==p((function(){}),"length",{value:8}).length})),d=String(String).split("String"),v=e.exports=function(e,t,r){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!o(e,"name")||a&&e.name!==t)&&p(e,"name",{value:t,configurable:!0}),h&&r&&o(r,"arity")&&e.length!==r.arity&&p(e,"length",{value:r.arity});try{r&&o(r,"constructor")&&r.constructor?s&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=l(e);return o(n,"source")||(n.source=d.join("string"==typeof t?t:"")),e};Function.prototype.toString=v((function(){return i(this)&&f(this).source||c(this)}),"toString")},5769:e=>{var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},7299:(e,t,r)=>{var n=r(2563),i=r(8272);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},7812:(e,t,r)=>{var n=r(8272),i=r(8803),o=r(2426),s=i("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),o&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://\u0442\u0435\u0441\u0442").host||"#%D0%B1"!==new URL("http://a#\u0431").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}))},7429:(e,t,r)=>{var n=r(1045),i=r(2666),o=r(8496),s=n.WeakMap;e.exports=i(s)&&/native code/.test(o(s))},6944:(e,t,r)=>{"use strict";var n=r(4266),i=r(287),o=r(933),s=r(8272),a=r(8802),c=r(6854),u=r(1049),l=r(9540),f=r(1100),p=Object.assign,h=Object.defineProperty,d=i([].concat);e.exports=!p||s((function(){if(n&&1!==p({b:1},p(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),i="abcdefghijklmnopqrst";return e[r]=7,i.split("").forEach((function(e){t[e]=e})),7!=p({},e)[r]||a(p({},t)).join("")!=i}))?function(e,t){for(var r=l(e),i=arguments.length,s=1,p=c.f,h=u.f;i>s;)for(var v,y=f(arguments[s++]),E=p?d(a(y),p(y)):a(y),b=E.length,g=0;b>g;)v=E[g++],n&&!o(h,y,v)||(r[v]=y[v]);return r}:p},7585:(e,t,r)=>{var n,i=r(4999),o=r(1881),s=r(1290),a=r(8222),c=r(2486),u=r(347),l=r(7427),f="prototype",p="script",h=l("IE_PROTO"),d=function(){},v=function(e){return"<"+p+">"+e+"</"+p+">"},y=function(e){e.write(v("")),e.close();var t=e.parentWindow.Object;return e=null,t},E=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;E="undefined"!=typeof document?document.domain&&n?y(n):(t=u("iframe"),r="java"+p+":",t.style.display="none",c.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(v("document.F=Object")),e.close(),e.F):y(n);for(var i=s.length;i--;)delete E[f][s[i]];return E()};a[h]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(d[f]=i(e),r=new d,d[f]=null,r[h]=e):r=E(),void 0===t?r:o.f(r,t)}},1881:(e,t,r)=>{var n=r(4266),i=r(2619),o=r(6120),s=r(4999),a=r(2379),c=r(8802);t.f=n&&!i?Object.defineProperties:function(e,t){s(e);for(var r,n=a(t),i=c(t),u=i.length,l=0;u>l;)o.f(e,r=i[l++],n[r]);return e}},6120:(e,t,r)=>{var n=r(4266),i=r(2643),o=r(2619),s=r(4999),a=r(4270),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",h="writable";t.f=n?o?function(e,t,r){if(s(e),t=a(t),s(r),"function"==typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=l(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:f in r?r[f]:n[f],writable:!1})}return u(e,t,r)}:u:function(e,t,r){if(s(e),t=a(t),s(r),i)try{return u(e,t,r)}catch(e){}if("get"in r||"set"in r)throw c("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},1808:(e,t,r)=>{var n=r(4266),i=r(933),o=r(1049),s=r(1848),a=r(2379),c=r(4270),u=r(7005),l=r(2643),f=Object.getOwnPropertyDescriptor;t.f=n?f:function(e,t){if(e=a(e),t=c(t),l)try{return f(e,t)}catch(e){}if(u(e,t))return s(!i(o.f,e,t),e[t])}},9725:(e,t,r)=>{var n=r(2154),i=r(1290).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},6854:(e,t)=>{t.f=Object.getOwnPropertySymbols},1811:(e,t,r)=>{var n=r(7005),i=r(2666),o=r(9540),s=r(7427),a=r(2907),c=s("IE_PROTO"),u=Object,l=u.prototype;e.exports=a?u.getPrototypeOf:function(e){var t=o(e);if(n(t,c))return t[c];var r=t.constructor;return i(r)&&t instanceof r?r.prototype:t instanceof u?l:null}},2885:(e,t,r)=>{var n=r(287);e.exports=n({}.isPrototypeOf)},2154:(e,t,r)=>{var n=r(287),i=r(7005),o=r(2379),s=r(1692).indexOf,a=r(8222),c=n([].push);e.exports=function(e,t){var r,n=o(e),u=0,l=[];for(r in n)!i(a,r)&&i(n,r)&&c(l,r);for(;t.length>u;)i(n,r=t[u++])&&(~s(l,r)||c(l,r));return l}},8802:(e,t,r)=>{var n=r(2154),i=r(1290);e.exports=Object.keys||function(e){return n(e,i)}},1049:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);t.f=i?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},1684:(e,t,r)=>{var n=r(287),i=r(4999),o=r(5191);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return i(r),o(n),t?e(r,n):r.__proto__=n,r}}():void 0)},6863:(e,t,r)=>{var n=r(933),i=r(2666),o=r(6178),s=TypeError;e.exports=function(e,t){var r,a;if("string"===t&&i(r=e.toString)&&!o(a=n(r,e)))return a;if(i(r=e.valueOf)&&!o(a=n(r,e)))return a;if("string"!==t&&i(r=e.toString)&&!o(a=n(r,e)))return a;throw s("Can't convert object to primitive value")}},4552:(e,t,r)=>{var n=r(5811),i=r(287),o=r(9725),s=r(6854),a=r(4999),c=i([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(a(e)),r=s.f;return r?c(t,r(e)):t}},9437:(e,t,r)=>{var n=r(1045);e.exports=n},6680:(e,t,r)=>{"use strict";var n=r(4999);e.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},2973:e=>{var t=TypeError;e.exports=function(e){if(null==e)throw t("Can't call method on "+e);return e}},640:(e,t,r)=>{var n=r(6120).f,i=r(7005),o=r(8803)("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!i(e,o)&&n(e,o,{configurable:!0,value:t})}},7427:(e,t,r)=>{var n=r(8421),i=r(4602),o=n("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},3364:(e,t,r)=>{var n=r(1045),i=r(6495),o="__core-js_shared__",s=n[o]||i(o,{});e.exports=s},8421:(e,t,r)=>{var n=r(2426),i=r(3364);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.22.8",mode:n?"pure":"global",copyright:"\xa9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.8/LICENSE",source:"https://github.com/zloirock/core-js"})},788:(e,t,r)=>{var n=r(287),i=r(3191),o=r(7732),s=r(2973),a=n("".charAt),c=n("".charCodeAt),u=n("".slice),l=function(e){return function(t,r){var n,l,f=o(s(t)),p=i(r),h=f.length;return p<0||p>=h?e?"":void 0:(n=c(f,p))<55296||n>56319||p+1===h||(l=c(f,p+1))<56320||l>57343?e?a(f,p):n:e?u(f,p,p+2):l-56320+(n-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},8393:(e,t,r)=>{"use strict";var n=r(287),i=2147483647,o=/[^\0-\u007E]/,s=/[.\u3002\uFF0E\uFF61]/g,a="Overflow: input needs wider integers to process",c=RangeError,u=n(s.exec),l=Math.floor,f=String.fromCharCode,p=n("".charCodeAt),h=n([].join),d=n([].push),v=n("".replace),y=n("".split),E=n("".toLowerCase),b=function(e){return e+22+75*(e<26)},g=function(e,t,r){var n=0;for(e=r?l(e/700):e>>1,e+=l(e/t);e>455;)e=l(e/35),n+=36;return l(n+36*e/(e+38))},m=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var i=p(e,r++);if(i>=55296&&i<=56319&&r<n){var o=p(e,r++);56320==(64512&o)?d(t,((1023&i)<<10)+(1023&o)+65536):(d(t,i),r--)}else d(t,i)}return t}(e);var r,n,o=e.length,s=128,u=0,v=72;for(r=0;r<e.length;r++)(n=e[r])<128&&d(t,f(n));var y=t.length,E=y;for(y&&d(t,"-");E<o;){var m=i;for(r=0;r<e.length;r++)(n=e[r])>=s&&n<m&&(m=n);var S=E+1;if(m-s>l((i-u)/S))throw c(a);for(u+=(m-s)*S,s=m,r=0;r<e.length;r++){if((n=e[r])<s&&++u>i)throw c(a);if(n==s){for(var x=u,_=36;;){var O=_<=v?1:_>=v+26?26:_-v;if(x<O)break;var w=x-O,A=36-O;d(t,f(b(O+w%A))),x=l(w/A),_+=36}d(t,f(b(x))),v=g(u,S,E==y),u=0,E++}}u++,s++}return h(t,"")};e.exports=function(e){var t,r,n=[],i=y(v(E(e),s,"."),".");for(t=0;t<i.length;t++)r=i[t],d(n,u(o,r)?"xn--"+m(r):r);return h(n,".")}},3595:(e,t,r)=>{var n,i,o,s,a=r(1045),c=r(5158),u=r(163),l=r(2666),f=r(7005),p=r(8272),h=r(2486),d=r(5410),v=r(347),y=r(4888),E=r(6143),b=r(5649),g=a.setImmediate,m=a.clearImmediate,S=a.process,x=a.Dispatch,_=a.Function,O=a.MessageChannel,w=a.String,A=0,T={},R="onreadystatechange";try{n=a.location}catch(e){}var P=function(e){if(f(T,e)){var t=T[e];delete T[e],t()}},C=function(e){return function(){P(e)}},I=function(e){P(e.data)},N=function(e){a.postMessage(w(e),n.protocol+"//"+n.host)};g&&m||(g=function(e){y(arguments.length,1);var t=l(e)?e:_(e),r=d(arguments,1);return T[++A]=function(){c(t,void 0,r)},i(A),A},m=function(e){delete T[e]},b?i=function(e){S.nextTick(C(e))}:x&&x.now?i=function(e){x.now(C(e))}:O&&!E?(s=(o=new O).port2,o.port1.onmessage=I,i=u(s.postMessage,s)):a.addEventListener&&l(a.postMessage)&&!a.importScripts&&n&&"file:"!==n.protocol&&!p(N)?(i=N,a.addEventListener("message",I,!1)):i=R in v("script")?function(e){h.appendChild(v("script"))[R]=function(){h.removeChild(this),P(e)}}:function(e){setTimeout(C(e),0)}),e.exports={set:g,clear:m}},2362:(e,t,r)=>{var n=r(3191),i=Math.max,o=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):o(r,t)}},2379:(e,t,r)=>{var n=r(1100),i=r(2973);e.exports=function(e){return n(i(e))}},3191:(e,t,r)=>{var n=r(5769);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},4039:(e,t,r)=>{var n=r(3191),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},9540:(e,t,r)=>{var n=r(2973),i=Object;e.exports=function(e){return i(n(e))}},2491:(e,t,r)=>{var n=r(933),i=r(6178),o=r(4025),s=r(4503),a=r(6863),c=r(8803),u=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!i(e)||o(e))return e;var r,c=s(e,l);if(c){if(void 0===t&&(t="default"),r=n(c,e,t),!i(r)||o(r))return r;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},4270:(e,t,r)=>{var n=r(2491),i=r(4025);e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},1078:(e,t,r)=>{var n={};n[r(8803)("toStringTag")]="z",e.exports="[object z]"===String(n)},7732:(e,t,r)=>{var n=r(3223),i=String;e.exports=function(e){if("Symbol"===n(e))throw TypeError("Cannot convert a Symbol value to a string");return i(e)}},5365:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},4602:(e,t,r)=>{var n=r(287),i=0,o=Math.random(),s=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++i+o,36)}},6084:(e,t,r)=>{var n=r(7299);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},2619:(e,t,r)=>{var n=r(4266),i=r(8272);e.exports=n&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},4888:e=>{var t=TypeError;e.exports=function(e,r){if(e<r)throw t("Not enough arguments");return e}},7108:(e,t,r)=>{var n=r(8803);t.f=n},8803:(e,t,r)=>{var n=r(1045),i=r(8421),o=r(7005),s=r(4602),a=r(7299),c=r(6084),u=i("wks"),l=n.Symbol,f=l&&l.for,p=c?l:l&&l.withoutSetter||s;e.exports=function(e){if(!o(u,e)||!a&&"string"!=typeof u[e]){var t="Symbol."+e;a&&o(l,e)?u[e]=l[e]:u[e]=c&&f?f(t):p(t)}return u[e]}},9395:(e,t,r)=>{"use strict";var n=r(2379),i=r(7525),o=r(3740),s=r(6351),a=r(6120).f,c=r(2371),u=r(2426),l=r(4266),f="Array Iterator",p=s.set,h=s.getterFor(f);e.exports=c(Array,"Array",(function(e,t){p(this,{type:f,target:n(e),index:0,kind:t})}),(function(){var e=h(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values");var d=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!u&&l&&"values"!==d.name)try{a(d,"name",{value:"values"})}catch(e){}},6207:(e,t,r)=>{var n=r(4266),i=r(3416),o=r(6680),s=r(8272),a=RegExp.prototype;n&&s((function(){return"sy"!==Object.getOwnPropertyDescriptor(a,"flags").get.call({dotAll:!0,sticky:!0})}))&&i(a,"flags",{configurable:!0,get:o})},1419:(e,t,r)=>{"use strict";var n=r(788).charAt,i=r(7732),o=r(6351),s=r(2371),a="String Iterator",c=o.set,u=o.getterFor(a);s(String,"String",(function(e){c(this,{type:a,string:i(e),index:0})}),(function(){var e,t=u(this),r=t.string,i=t.index;return i>=r.length?{value:void 0,done:!0}:(e=n(r,i),t.index+=e.length,{value:e,done:!1})}))},1402:(e,t,r)=>{r(309)("observable")},2660:(e,t,r)=>{var n=r(1680),i=r(1045),o=r(3595).clear;n({global:!0,bind:!0,enumerable:!0,forced:i.clearImmediate!==o},{clearImmediate:o})},7790:(e,t,r)=>{r(2660),r(1163)},1163:(e,t,r)=>{var n=r(1680),i=r(1045),o=r(3595).set;n({global:!0,bind:!0,enumerable:!0,forced:i.setImmediate!==o},{setImmediate:o})},6704:(e,t,r)=>{"use strict";r(9395);var n=r(1680),i=r(1045),o=r(933),s=r(287),a=r(4266),c=r(7812),u=r(8337),l=r(625),f=r(640),p=r(80),h=r(6351),d=r(6754),v=r(2666),y=r(7005),E=r(163),b=r(3223),g=r(4999),m=r(6178),S=r(7732),x=r(7585),_=r(1848),O=r(4633),w=r(5968),A=r(4888),T=r(8803),R=r(7510),P=T("iterator"),C="URLSearchParams",I=C+"Iterator",N=h.set,D=h.getterFor(C),L=h.getterFor(I),U=Object.getOwnPropertyDescriptor,M=function(e){if(!a)return i[e];var t=U(i,e);return t&&t.value},j=M("fetch"),k=M("Request"),G=M("Headers"),V=k&&k.prototype,H=G&&G.prototype,B=i.RegExp,F=i.TypeError,$=i.decodeURIComponent,W=i.encodeURIComponent,Y=s("".charAt),z=s([].join),J=s([].push),K=s("".replace),q=s([].shift),Q=s([].splice),X=s("".split),Z=s("".slice),ee=/\+/g,te=Array(4),re=function(e){return te[e-1]||(te[e-1]=B("((?:%[\\da-f]{2}){"+e+"})","gi"))},ne=function(e){try{return $(e)}catch(t){return e}},ie=function(e){var t=K(e,ee," "),r=4;try{return $(t)}catch(e){for(;r;)t=K(t,re(r--),ne);return t}},oe=/[!'()~]|%20/g,se={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ae=function(e){return se[e]},ce=function(e){return K(W(e),oe,ae)},ue=p((function(e,t){N(this,{type:I,iterator:O(D(e).entries),kind:t})}),"Iterator",(function(){var e=L(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r}),!0),le=function(e){this.entries=[],this.url=null,void 0!==e&&(m(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===Y(e,0)?Z(e,1):e:S(e)))};le.prototype={type:C,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,i,s,a,c,u=w(e);if(u)for(r=(t=O(e,u)).next;!(n=o(r,t)).done;){if(s=(i=O(g(n.value))).next,(a=o(s,i)).done||(c=o(s,i)).done||!o(s,i).done)throw F("Expected sequence with length 2");J(this.entries,{key:S(a.value),value:S(c.value)})}else for(var l in e)y(e,l)&&J(this.entries,{key:l,value:S(e[l])})},parseQuery:function(e){if(e)for(var t,r,n=X(e,"&"),i=0;i<n.length;)(t=n[i++]).length&&(r=X(t,"="),J(this.entries,{key:ie(q(r)),value:ie(z(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],J(r,ce(e.key)+"="+ce(e.value));return z(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var fe=function(){d(this,pe);var e=arguments.length>0?arguments[0]:void 0;N(this,new le(e))},pe=fe.prototype;if(l(pe,{append:function(e,t){A(arguments.length,2);var r=D(this);J(r.entries,{key:S(e),value:S(t)}),r.updateURL()},delete:function(e){A(arguments.length,1);for(var t=D(this),r=t.entries,n=S(e),i=0;i<r.length;)r[i].key===n?Q(r,i,1):i++;t.updateURL()},get:function(e){A(arguments.length,1);for(var t=D(this).entries,r=S(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){A(arguments.length,1);for(var t=D(this).entries,r=S(e),n=[],i=0;i<t.length;i++)t[i].key===r&&J(n,t[i].value);return n},has:function(e){A(arguments.length,1);for(var t=D(this).entries,r=S(e),n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){A(arguments.length,1);for(var r,n=D(this),i=n.entries,o=!1,s=S(e),a=S(t),c=0;c<i.length;c++)(r=i[c]).key===s&&(o?Q(i,c--,1):(o=!0,r.value=a));o||J(i,{key:s,value:a}),n.updateURL()},sort:function(){var e=D(this);R(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=D(this).entries,n=E(e,arguments.length>1?arguments[1]:void 0),i=0;i<r.length;)n((t=r[i++]).value,t.key,this)},keys:function(){return new ue(this,"keys")},values:function(){return new ue(this,"values")},entries:function(){return new ue(this,"entries")}},{enumerable:!0}),u(pe,P,pe.entries,{name:"entries"}),u(pe,"toString",(function(){return D(this).serialize()}),{enumerable:!0}),f(fe,C),n({global:!0,constructor:!0,forced:!c},{URLSearchParams:fe}),!c&&v(G)){var he=s(H.has),de=s(H.set),ve=function(e){if(m(e)){var t,r=e.body;if(b(r)===C)return t=e.headers?new G(e.headers):new G,he(t,"content-type")||de(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),x(e,{body:_(0,S(r)),headers:_(0,t)})}return e};if(v(j)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return j(e,arguments.length>1?ve(arguments[1]):{})}}),v(k)){var ye=function(e){return d(this,V),new k(e,arguments.length>1?ve(arguments[1]):{})};V.constructor=ye,ye.prototype=V,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:ye})}}e.exports={URLSearchParams:fe,getState:D}},7681:(e,t,r)=>{r(6704)},2539:(e,t,r)=>{"use strict";r(1419);var n,i=r(1680),o=r(4266),s=r(7812),a=r(1045),c=r(163),u=r(287),l=r(8337),f=r(3416),p=r(6754),h=r(7005),d=r(6944),v=r(9600),y=r(7129),E=r(788).codeAt,b=r(8393),g=r(7732),m=r(640),S=r(4888),x=r(6704),_=r(6351),O=_.set,w=_.getterFor("URL"),A=x.URLSearchParams,T=x.getState,R=a.URL,P=a.TypeError,C=a.parseInt,I=Math.floor,N=Math.pow,D=u("".charAt),L=u(/./.exec),U=u([].join),M=u(1..toString),j=u([].pop),k=u([].push),G=u("".replace),V=u([].shift),H=u("".split),B=u("".slice),F=u("".toLowerCase),$=u([].unshift),W="Invalid scheme",Y="Invalid host",z="Invalid port",J=/[a-z]/i,K=/[\d+-.a-z]/i,q=/\d/,Q=/^0x/i,X=/^[0-7]+$/,Z=/^\d+$/,ee=/^[\da-f]+$/i,te=/[\0\t\n\r #%/:<>?@[\\\]^|]/,re=/[\0\t\n\r #/:<>?@[\\\]^|]/,ne=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,ie=/[\t\n\r]/g,oe=function(e){var t,r,n,i;if("number"==typeof e){for(t=[],r=0;r<4;r++)$(t,e%256),e=I(e/256);return U(t,".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,i=0,o=0;o<8;o++)0!==e[o]?(i>r&&(t=n,r=i),n=null,i=0):(null===n&&(n=o),++i);return i>r&&(t=n,r=i),t}(e),r=0;r<8;r++)i&&0===e[r]||(i&&(i=!1),n===r?(t+=r?":":"::",i=!0):(t+=M(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},se={},ae=d({},se,{" ":1,'"':1,"<":1,">":1,"`":1}),ce=d({},ae,{"#":1,"?":1,"{":1,"}":1}),ue=d({},ce,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),le=function(e,t){var r=E(e,0);return r>32&&r<127&&!h(t,e)?e:encodeURIComponent(e)},fe={ftp:21,file:null,http:80,https:443,ws:80,wss:443},pe=function(e,t){var r;return 2==e.length&&L(J,D(e,0))&&(":"==(r=D(e,1))||!t&&"|"==r)},he=function(e){var t;return e.length>1&&pe(B(e,0,2))&&(2==e.length||"/"===(t=D(e,2))||"\\"===t||"?"===t||"#"===t)},de=function(e){return"."===e||"%2e"===F(e)},ve={},ye={},Ee={},be={},ge={},me={},Se={},xe={},_e={},Oe={},we={},Ae={},Te={},Re={},Pe={},Ce={},Ie={},Ne={},De={},Le={},Ue={},Me=function(e,t,r){var n,i,o,s=g(e);if(t){if(i=this.parse(s))throw P(i);this.searchParams=null}else{if(void 0!==r&&(n=new Me(r,!0)),i=this.parse(s,null,n))throw P(i);(o=T(new A)).bindURL(this),this.searchParams=o}};Me.prototype={type:"URL",parse:function(e,t,r){var i,o,s,a,c,u=this,l=t||ve,f=0,p="",d=!1,E=!1,b=!1;for(e=g(e),t||(u.scheme="",u.username="",u.password="",u.host=null,u.port=null,u.path=[],u.query=null,u.fragment=null,u.cannotBeABaseURL=!1,e=G(e,ne,"")),e=G(e,ie,""),i=v(e);f<=i.length;){switch(o=i[f],l){case ve:if(!o||!L(J,o)){if(t)return W;l=Ee;continue}p+=F(o),l=ye;break;case ye:if(o&&(L(K,o)||"+"==o||"-"==o||"."==o))p+=F(o);else{if(":"!=o){if(t)return W;p="",l=Ee,f=0;continue}if(t&&(u.isSpecial()!=h(fe,p)||"file"==p&&(u.includesCredentials()||null!==u.port)||"file"==u.scheme&&!u.host))return;if(u.scheme=p,t)return void(u.isSpecial()&&fe[u.scheme]==u.port&&(u.port=null));p="","file"==u.scheme?l=Re:u.isSpecial()&&r&&r.scheme==u.scheme?l=be:u.isSpecial()?l=xe:"/"==i[f+1]?(l=ge,f++):(u.cannotBeABaseURL=!0,k(u.path,""),l=De)}break;case Ee:if(!r||r.cannotBeABaseURL&&"#"!=o)return W;if(r.cannotBeABaseURL&&"#"==o){u.scheme=r.scheme,u.path=y(r.path),u.query=r.query,u.fragment="",u.cannotBeABaseURL=!0,l=Ue;break}l="file"==r.scheme?Re:me;continue;case be:if("/"!=o||"/"!=i[f+1]){l=me;continue}l=_e,f++;break;case ge:if("/"==o){l=Oe;break}l=Ne;continue;case me:if(u.scheme=r.scheme,o==n)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=y(r.path),u.query=r.query;else if("/"==o||"\\"==o&&u.isSpecial())l=Se;else if("?"==o)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=y(r.path),u.query="",l=Le;else{if("#"!=o){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=y(r.path),u.path.length--,l=Ne;continue}u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=y(r.path),u.query=r.query,u.fragment="",l=Ue}break;case Se:if(!u.isSpecial()||"/"!=o&&"\\"!=o){if("/"!=o){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,l=Ne;continue}l=Oe}else l=_e;break;case xe:if(l=_e,"/"!=o||"/"!=D(p,f+1))continue;f++;break;case _e:if("/"!=o&&"\\"!=o){l=Oe;continue}break;case Oe:if("@"==o){d&&(p="%40"+p),d=!0,s=v(p);for(var m=0;m<s.length;m++){var S=s[m];if(":"!=S||b){var x=le(S,ue);b?u.password+=x:u.username+=x}else b=!0}p=""}else if(o==n||"/"==o||"?"==o||"#"==o||"\\"==o&&u.isSpecial()){if(d&&""==p)return"Invalid authority";f-=v(p).length+1,p="",l=we}else p+=o;break;case we:case Ae:if(t&&"file"==u.scheme){l=Ce;continue}if(":"!=o||E){if(o==n||"/"==o||"?"==o||"#"==o||"\\"==o&&u.isSpecial()){if(u.isSpecial()&&""==p)return Y;if(t&&""==p&&(u.includesCredentials()||null!==u.port))return;if(a=u.parseHost(p))return a;if(p="",l=Ie,t)return;continue}"["==o?E=!0:"]"==o&&(E=!1),p+=o}else{if(""==p)return Y;if(a=u.parseHost(p))return a;if(p="",l=Te,t==Ae)return}break;case Te:if(!L(q,o)){if(o==n||"/"==o||"?"==o||"#"==o||"\\"==o&&u.isSpecial()||t){if(""!=p){var _=C(p,10);if(_>65535)return z;u.port=u.isSpecial()&&_===fe[u.scheme]?null:_,p=""}if(t)return;l=Ie;continue}return z}p+=o;break;case Re:if(u.scheme="file","/"==o||"\\"==o)l=Pe;else{if(!r||"file"!=r.scheme){l=Ne;continue}if(o==n)u.host=r.host,u.path=y(r.path),u.query=r.query;else if("?"==o)u.host=r.host,u.path=y(r.path),u.query="",l=Le;else{if("#"!=o){he(U(y(i,f),""))||(u.host=r.host,u.path=y(r.path),u.shortenPath()),l=Ne;continue}u.host=r.host,u.path=y(r.path),u.query=r.query,u.fragment="",l=Ue}}break;case Pe:if("/"==o||"\\"==o){l=Ce;break}r&&"file"==r.scheme&&!he(U(y(i,f),""))&&(pe(r.path[0],!0)?k(u.path,r.path[0]):u.host=r.host),l=Ne;continue;case Ce:if(o==n||"/"==o||"\\"==o||"?"==o||"#"==o){if(!t&&pe(p))l=Ne;else if(""==p){if(u.host="",t)return;l=Ie}else{if(a=u.parseHost(p))return a;if("localhost"==u.host&&(u.host=""),t)return;p="",l=Ie}continue}p+=o;break;case Ie:if(u.isSpecial()){if(l=Ne,"/"!=o&&"\\"!=o)continue}else if(t||"?"!=o)if(t||"#"!=o){if(o!=n&&(l=Ne,"/"!=o))continue}else u.fragment="",l=Ue;else u.query="",l=Le;break;case Ne:if(o==n||"/"==o||"\\"==o&&u.isSpecial()||!t&&("?"==o||"#"==o)){if(".."===(c=F(c=p))||"%2e."===c||".%2e"===c||"%2e%2e"===c?(u.shortenPath(),"/"==o||"\\"==o&&u.isSpecial()||k(u.path,"")):de(p)?"/"==o||"\\"==o&&u.isSpecial()||k(u.path,""):("file"==u.scheme&&!u.path.length&&pe(p)&&(u.host&&(u.host=""),p=D(p,0)+":"),k(u.path,p)),p="","file"==u.scheme&&(o==n||"?"==o||"#"==o))for(;u.path.length>1&&""===u.path[0];)V(u.path);"?"==o?(u.query="",l=Le):"#"==o&&(u.fragment="",l=Ue)}else p+=le(o,ce);break;case De:"?"==o?(u.query="",l=Le):"#"==o?(u.fragment="",l=Ue):o!=n&&(u.path[0]+=le(o,se));break;case Le:t||"#"!=o?o!=n&&("'"==o&&u.isSpecial()?u.query+="%27":u.query+="#"==o?"%23":le(o,se)):(u.fragment="",l=Ue);break;case Ue:o!=n&&(u.fragment+=le(o,ae))}f++}},parseHost:function(e){var t,r,n;if("["==D(e,0)){if("]"!=D(e,e.length-1))return Y;if(t=function(e){var t,r,n,i,o,s,a,c=[0,0,0,0,0,0,0,0],u=0,l=null,f=0,p=function(){return D(e,f)};if(":"==p()){if(":"!=D(e,1))return;f+=2,l=++u}for(;p();){if(8==u)return;if(":"!=p()){for(t=r=0;r<4&&L(ee,p());)t=16*t+C(p(),16),f++,r++;if("."==p()){if(0==r)return;if(f-=r,u>6)return;for(n=0;p();){if(i=null,n>0){if(!("."==p()&&n<4))return;f++}if(!L(q,p()))return;for(;L(q,p());){if(o=C(p(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;f++}c[u]=256*c[u]+i,2!=++n&&4!=n||u++}if(4!=n)return;break}if(":"==p()){if(f++,!p())return}else if(p())return;c[u++]=t}else{if(null!==l)return;f++,l=++u}}if(null!==l)for(s=u-l,u=7;0!=u&&s>0;)a=c[u],c[u--]=c[l+s-1],c[l+--s]=a;else if(8!=u)return;return c}(B(e,1,-1)),!t)return Y;this.host=t}else if(this.isSpecial()){if(e=b(e),L(te,e))return Y;if(t=function(e){var t,r,n,i,o,s,a,c=H(e,".");if(c.length&&""==c[c.length-1]&&c.length--,(t=c.length)>4)return e;for(r=[],n=0;n<t;n++){if(""==(i=c[n]))return e;if(o=10,i.length>1&&"0"==D(i,0)&&(o=L(Q,i)?16:8,i=B(i,8==o?1:2)),""===i)s=0;else{if(!L(10==o?Z:8==o?X:ee,i))return e;s=C(i,o)}k(r,s)}for(n=0;n<t;n++)if(s=r[n],n==t-1){if(s>=N(256,5-t))return null}else if(s>255)return null;for(a=j(r),n=0;n<r.length;n++)a+=r[n]*N(256,3-n);return a}(e),null===t)return Y;this.host=t}else{if(L(re,e))return Y;for(t="",r=v(e),n=0;n<r.length;n++)t+=le(r[n],se);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return h(fe,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&pe(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,i=e.host,o=e.port,s=e.path,a=e.query,c=e.fragment,u=t+":";return null!==i?(u+="//",e.includesCredentials()&&(u+=r+(n?":"+n:"")+"@"),u+=oe(i),null!==o&&(u+=":"+o)):"file"==t&&(u+="//"),u+=e.cannotBeABaseURL?s[0]:s.length?"/"+U(s,"/"):"",null!==a&&(u+="?"+a),null!==c&&(u+="#"+c),u},setHref:function(e){var t=this.parse(e);if(t)throw P(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new je(e.path[0]).origin}catch(e){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+oe(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(g(e)+":",ve)},getUsername:function(){return this.username},setUsername:function(e){var t=v(g(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=le(t[r],ue)}},getPassword:function(){return this.password},setPassword:function(e){var t=v(g(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=le(t[r],ue)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?oe(e):oe(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,we)},getHostname:function(){var e=this.host;return null===e?"":oe(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Ae)},getPort:function(){var e=this.port;return null===e?"":g(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=g(e))?this.port=null:this.parse(e,Te))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+U(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Ie))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=g(e))?this.query=null:("?"==D(e,0)&&(e=B(e,1)),this.query="",this.parse(e,Le)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=g(e))?("#"==D(e,0)&&(e=B(e,1)),this.fragment="",this.parse(e,Ue)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var je=function(e){var t=p(this,ke),r=S(arguments.length,1)>1?arguments[1]:void 0,n=O(t,new Me(e,!1,r));o||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},ke=je.prototype,Ge=function(e,t){return{get:function(){return w(this)[e]()},set:t&&function(e){return w(this)[t](e)},configurable:!0,enumerable:!0}};if(o&&(f(ke,"href",Ge("serialize","setHref")),f(ke,"origin",Ge("getOrigin")),f(ke,"protocol",Ge("getProtocol","setProtocol")),f(ke,"username",Ge("getUsername","setUsername")),f(ke,"password",Ge("getPassword","setPassword")),f(ke,"host",Ge("getHost","setHost")),f(ke,"hostname",Ge("getHostname","setHostname")),f(ke,"port",Ge("getPort","setPort")),f(ke,"pathname",Ge("getPathname","setPathname")),f(ke,"search",Ge("getSearch","setSearch")),f(ke,"searchParams",Ge("getSearchParams")),f(ke,"hash",Ge("getHash","setHash"))),l(ke,"toJSON",(function(){return w(this).serialize()}),{enumerable:!0}),l(ke,"toString",(function(){return w(this).serialize()}),{enumerable:!0}),R){var Ve=R.createObjectURL,He=R.revokeObjectURL;Ve&&l(je,"createObjectURL",c(Ve,R)),He&&l(je,"revokeObjectURL",c(He,R))}m(je,"URL"),i({global:!0,constructor:!0,forced:!s,sham:!o},{URL:je})},798:(e,t,r)=>{r(2539)},1344:(e,t,r)=>{var n=r(7733)(r(1642),"DataView");e.exports=n},7160:(e,t,r)=>{var n=r(2757),i=r(1667),o=r(1085),s=r(5340),a=r(6726);function c(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])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=s,c.prototype.set=a,e.exports=c},6673:(e,t,r)=>{var n=r(3413),i=r(5441),o=r(5186),s=r(4062),a=r(8356);function c(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])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=s,c.prototype.set=a,e.exports=c},6522:(e,t,r)=>{var n=r(7733)(r(1642),"Map");e.exports=n},8687:(e,t,r)=>{var n=r(2890),i=r(9277),o=r(4312),s=r(5654),a=r(6292);function c(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])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=s,c.prototype.set=a,e.exports=c},4092:(e,t,r)=>{var n=r(7733)(r(1642),"Promise");e.exports=n},3066:(e,t,r)=>{var n=r(7733)(r(1642),"Set");e.exports=n},6740:(e,t,r)=>{var n=r(8687),i=r(3105),o=r(1329);function s(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}s.prototype.add=s.prototype.push=i,s.prototype.has=o,e.exports=s},857:(e,t,r)=>{var n=r(6673),i=r(3730),o=r(9559),s=r(385),a=r(2124),c=r(9238);function u(e){var t=this.__data__=new n(e);this.size=t.size}u.prototype.clear=i,u.prototype.delete=o,u.prototype.get=s,u.prototype.has=a,u.prototype.set=c,e.exports=u},9605:(e,t,r)=>{var n=r(1642).Symbol;e.exports=n},5086:(e,t,r)=>{var n=r(1642).Uint8Array;e.exports=n},7885:(e,t,r)=>{var n=r(7733)(r(1642),"WeakMap");e.exports=n},5875:e=>{e.exports=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}},9409:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}},5519:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=0,o=[];++r<n;){var s=e[r];t(s,r,e)&&(o[i++]=s)}return o}},1323:(e,t,r)=>{var n=r(6285);e.exports=function(e,t){return!!(null==e?0:e.length)&&n(e,t,0)>-1}},851:e=>{e.exports=function(e,t,r){for(var n=-1,i=null==e?0:e.length;++n<i;)if(r(t,e[n]))return!0;return!1}},5071:(e,t,r)=>{var n=r(6626),i=r(4717),o=r(2147),s=r(7862),a=r(481),c=r(8849),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=o(e),l=!r&&i(e),f=!r&&!l&&s(e),p=!r&&!l&&!f&&c(e),h=r||l||f||p,d=h?n(e.length,String):[],v=d.length;for(var y in e)!t&&!u.call(e,y)||h&&("length"==y||f&&("offset"==y||"parent"==y)||p&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||a(y,v))||d.push(y);return d}},1756:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}},3002:e=>{e.exports=function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}},8314: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}},1923:(e,t,r)=>{var n=r(915),i=r(9489),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var s=e[t];o.call(e,t)&&i(s,r)&&(void 0!==r||t in e)||n(e,t,r)}},1707:(e,t,r)=>{var n=r(9489);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},9864:(e,t,r)=>{var n=r(2503),i=r(4234);e.exports=function(e,t){return e&&n(t,i(t),e)}},5562:(e,t,r)=>{var n=r(2503),i=r(7407);e.exports=function(e,t){return e&&n(t,i(t),e)}},915:(e,t,r)=>{var n=r(9293);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},8678:(e,t,r)=>{var n=r(857),i=r(9409),o=r(1923),s=r(9864),a=r(5562),c=r(5043),u=r(9863),l=r(6063),f=r(8787),p=r(8060),h=r(4127),d=r(1564),v=r(8645),y=r(2136),E=r(8893),b=r(2147),g=r(7862),m=r(6753),S=r(9443),x=r(1353),_=r(4234),O=r(7407),w="[object Arguments]",A="[object Function]",T="[object Object]",R={};R[w]=R["[object Array]"]=R["[object ArrayBuffer]"]=R["[object DataView]"]=R["[object Boolean]"]=R["[object Date]"]=R["[object Float32Array]"]=R["[object Float64Array]"]=R["[object Int8Array]"]=R["[object Int16Array]"]=R["[object Int32Array]"]=R["[object Map]"]=R["[object Number]"]=R[T]=R["[object RegExp]"]=R["[object Set]"]=R["[object String]"]=R["[object Symbol]"]=R["[object Uint8Array]"]=R["[object Uint8ClampedArray]"]=R["[object Uint16Array]"]=R["[object Uint32Array]"]=!0,R["[object Error]"]=R[A]=R["[object WeakMap]"]=!1,e.exports=function e(t,r,P,C,I,N){var D,L=1&r,U=2&r,M=4&r;if(P&&(D=I?P(t,C,I,N):P(t)),void 0!==D)return D;if(!S(t))return t;var j=b(t);if(j){if(D=v(t),!L)return u(t,D)}else{var k=d(t),G=k==A||"[object GeneratorFunction]"==k;if(g(t))return c(t,L);if(k==T||k==w||G&&!I){if(D=U||G?{}:E(t),!L)return U?f(t,a(D,t)):l(t,s(D,t))}else{if(!R[k])return I?t:{};D=y(t,k,L)}}N||(N=new n);var V=N.get(t);if(V)return V;N.set(t,D),x(t)?t.forEach((function(n){D.add(e(n,r,P,n,t,N))})):m(t)&&t.forEach((function(n,i){D.set(i,e(n,r,P,i,t,N))}));var H=j?void 0:(M?U?h:p:U?O:_)(t);return i(H||t,(function(n,i){H&&(n=t[i=n]),o(D,i,e(n,r,P,i,t,N))})),D}},8333:(e,t,r)=>{var n=r(9443),i=Object.create,o=function(){function e(){}return function(t){if(!n(t))return{};if(i)return i(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=o},1512:(e,t,r)=>{var n=r(4516),i=r(7263)(n);e.exports=i},78:e=>{e.exports=function(e,t,r,n){for(var i=e.length,o=r+(n?1:-1);n?o--:++o<i;)if(t(e[o],o,e))return o;return-1}},7984:(e,t,r)=>{var n=r(3002),i=r(8405);e.exports=function e(t,r,o,s,a){var c=-1,u=t.length;for(o||(o=i),a||(a=[]);++c<u;){var l=t[c];r>0&&o(l)?r>1?e(l,r-1,o,s,a):n(a,l):s||(a[a.length]=l)}return a}},5167:(e,t,r)=>{var n=r(6403)();e.exports=n},4516:(e,t,r)=>{var n=r(5167),i=r(4234);e.exports=function(e,t){return e&&n(e,t,i)}},9781:(e,t,r)=>{var n=r(7442),i=r(8121);e.exports=function(e,t){for(var r=0,o=(t=n(t,e)).length;null!=e&&r<o;)e=e[i(t[r++])];return r&&r==o?e:void 0}},8540:(e,t,r)=>{var n=r(3002),i=r(2147);e.exports=function(e,t,r){var o=t(e);return i(e)?o:n(o,r(e))}},9014:(e,t,r)=>{var n=r(9605),i=r(4358),o=r(5323),s=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?i(e):o(e)}},9135:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},6285:(e,t,r)=>{var n=r(78),i=r(9643),o=r(7139);e.exports=function(e,t,r){return t==t?o(e,t,r):n(e,i,r)}},1774:(e,t,r)=>{var n=r(9014),i=r(5969);e.exports=function(e){return i(e)&&"[object Arguments]"==n(e)}},4761:(e,t,r)=>{var n=r(3410),i=r(5969);e.exports=function e(t,r,o,s,a){return t===r||(null==t||null==r||!i(t)&&!i(r)?t!=t&&r!=r:n(t,r,o,s,e,a))}},3410:(e,t,r)=>{var n=r(857),i=r(5791),o=r(7298),s=r(2489),a=r(1564),c=r(2147),u=r(7862),l=r(8849),f="[object Arguments]",p="[object Array]",h="[object Object]",d=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,v,y,E){var b=c(e),g=c(t),m=b?p:a(e),S=g?p:a(t),x=(m=m==f?h:m)==h,_=(S=S==f?h:S)==h,O=m==S;if(O&&u(e)){if(!u(t))return!1;b=!0,x=!1}if(O&&!x)return E||(E=new n),b||l(e)?i(e,t,r,v,y,E):o(e,t,m,r,v,y,E);if(!(1&r)){var w=x&&d.call(e,"__wrapped__"),A=_&&d.call(t,"__wrapped__");if(w||A){var T=w?e.value():e,R=A?t.value():t;return E||(E=new n),y(T,R,r,v,E)}}return!!O&&(E||(E=new n),s(e,t,r,v,y,E))}},7645:(e,t,r)=>{var n=r(1564),i=r(5969);e.exports=function(e){return i(e)&&"[object Map]"==n(e)}},8865:(e,t,r)=>{var n=r(857),i=r(4761);e.exports=function(e,t,r,o){var s=r.length,a=s,c=!o;if(null==e)return!a;for(e=Object(e);s--;){var u=r[s];if(c&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++s<a;){var l=(u=r[s])[0],f=e[l],p=u[1];if(c&&u[2]){if(void 0===f&&!(l in e))return!1}else{var h=new n;if(o)var d=o(f,p,l,e,t,h);if(!(void 0===d?i(p,f,3,o,h):d))return!1}}return!0}},9643:e=>{e.exports=function(e){return e!=e}},1818:(e,t,r)=>{var n=r(3163),i=r(1170),o=r(9443),s=r(253),a=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,f=u.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(n(e)?p:a).test(s(e))}},9839:(e,t,r)=>{var n=r(1564),i=r(5969);e.exports=function(e){return i(e)&&"[object Set]"==n(e)}},8045:(e,t,r)=>{var n=r(9014),i=r(3713),o=r(5969),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&i(e.length)&&!!s[n(e)]}},3933:(e,t,r)=>{var n=r(435),i=r(4364),o=r(63),s=r(2147),a=r(3336);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?s(e)?i(e[0],e[1]):n(e):a(e)}},5095:(e,t,r)=>{var n=r(1792),i=r(3084),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=[];for(var r in Object(e))o.call(e,r)&&"constructor"!=r&&t.push(r);return t}},2835:(e,t,r)=>{var n=r(9443),i=r(1792),o=r(7489),s=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=i(e),r=[];for(var a in e)("constructor"!=a||!t&&s.call(e,a))&&r.push(a);return r}},4320:(e,t,r)=>{var n=r(1512),i=r(4009);e.exports=function(e,t){var r=-1,o=i(e)?Array(e.length):[];return n(e,(function(e,n,i){o[++r]=t(e,n,i)})),o}},435:(e,t,r)=>{var n=r(8865),i=r(9352),o=r(5663);e.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}},4364:(e,t,r)=>{var n=r(4761),i=r(1766),o=r(3453),s=r(4349),a=r(4059),c=r(5663),u=r(8121);e.exports=function(e,t){return s(e)&&a(t)?c(u(e),t):function(r){var s=i(r,e);return void 0===s&&s===t?o(r,e):n(t,s,3)}}},1376:(e,t,r)=>{var n=r(1756),i=r(9781),o=r(3933),s=r(4320),a=r(6420),c=r(6940),u=r(7519),l=r(63),f=r(2147);e.exports=function(e,t,r){t=t.length?n(t,(function(e){return f(e)?function(t){return i(t,1===e.length?e[0]:e)}:e})):[l];var p=-1;t=n(t,c(o));var h=s(e,(function(e,r,i){return{criteria:n(t,(function(t){return t(e)})),index:++p,value:e}}));return a(h,(function(e,t){return u(e,t,r)}))}},9045:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},6765:(e,t,r)=>{var n=r(9781);e.exports=function(e){return function(t){return n(t,e)}}},346:(e,t,r)=>{var n=r(63),i=r(3627),o=r(7757);e.exports=function(e,t){return o(i(e,t,n),e+"")}},4376:(e,t,r)=>{var n=r(3219),i=r(9293),o=r(63),s=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:o;e.exports=s},6420:e=>{e.exports=function(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e}},6626:e=>{e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},2789:(e,t,r)=>{var n=r(9605),i=r(1756),o=r(2147),s=r(214),a=n?n.prototype:void 0,c=a?a.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(s(t))return c?c.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r}},6940:e=>{e.exports=function(e){return function(t){return e(t)}}},2183:(e,t,r)=>{var n=r(6740),i=r(1323),o=r(851),s=r(1257),a=r(6350),c=r(6095);e.exports=function(e,t,r){var u=-1,l=i,f=e.length,p=!0,h=[],d=h;if(r)p=!1,l=o;else if(f>=200){var v=t?null:a(e);if(v)return c(v);p=!1,l=s,d=new n}else d=t?[]:h;e:for(;++u<f;){var y=e[u],E=t?t(y):y;if(y=r||0!==y?y:0,p&&E==E){for(var b=d.length;b--;)if(d[b]===E)continue e;t&&d.push(E),h.push(y)}else l(d,E,r)||(d!==h&&d.push(E),h.push(y))}return h}},1257:e=>{e.exports=function(e,t){return e.has(t)}},7442:(e,t,r)=>{var n=r(2147),i=r(4349),o=r(6400),s=r(3665);e.exports=function(e,t){return n(e)?e:i(e,t)?[e]:o(s(e))}},7853:(e,t,r)=>{var n=r(5086);e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},5043:(e,t,r)=>{e=r.nmd(e);var n=r(1642),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,s=o&&o.exports===i?n.Buffer:void 0,a=s?s.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=a?a(r):new e.constructor(r);return e.copy(n),n}},7484:(e,t,r)=>{var n=r(7853);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},2949:e=>{var t=/\w*$/;e.exports=function(e){var r=new e.constructor(e.source,t.exec(e));return r.lastIndex=e.lastIndex,r}},5891:(e,t,r)=>{var n=r(9605),i=n?n.prototype:void 0,o=i?i.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},5192:(e,t,r)=>{var n=r(7853);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},4158:(e,t,r)=>{var n=r(214);e.exports=function(e,t){if(e!==t){var r=void 0!==e,i=null===e,o=e==e,s=n(e),a=void 0!==t,c=null===t,u=t==t,l=n(t);if(!c&&!l&&!s&&e>t||s&&a&&u&&!c&&!l||i&&a&&u||!r&&u||!o)return 1;if(!i&&!s&&!l&&e<t||l&&r&&o&&!i&&!s||c&&r&&o||!a&&o||!u)return-1}return 0}},7519:(e,t,r)=>{var n=r(4158);e.exports=function(e,t,r){for(var i=-1,o=e.criteria,s=t.criteria,a=o.length,c=r.length;++i<a;){var u=n(o[i],s[i]);if(u)return i>=c?u:u*("desc"==r[i]?-1:1)}return e.index-t.index}},9863:e=>{e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}},2503:(e,t,r)=>{var n=r(1923),i=r(915);e.exports=function(e,t,r,o){var s=!r;r||(r={});for(var a=-1,c=t.length;++a<c;){var u=t[a],l=o?o(r[u],e[u],u,r,e):void 0;void 0===l&&(l=e[u]),s?i(r,u,l):n(r,u,l)}return r}},6063:(e,t,r)=>{var n=r(2503),i=r(5729);e.exports=function(e,t){return n(e,i(e),t)}},8787:(e,t,r)=>{var n=r(2503),i=r(3024);e.exports=function(e,t){return n(e,i(e),t)}},162:(e,t,r)=>{var n=r(1642)["__core-js_shared__"];e.exports=n},7263:(e,t,r)=>{var n=r(4009);e.exports=function(e,t){return function(r,i){if(null==r)return r;if(!n(r))return e(r,i);for(var o=r.length,s=t?o:-1,a=Object(r);(t?s--:++s<o)&&!1!==i(a[s],s,a););return r}}},6403:e=>{e.exports=function(e){return function(t,r,n){for(var i=-1,o=Object(t),s=n(t),a=s.length;a--;){var c=s[e?a:++i];if(!1===r(o[c],c,o))break}return t}}},6350:(e,t,r)=>{var n=r(3066),i=r(1795),o=r(6095),s=n&&1/o(new n([,-0]))[1]==1/0?function(e){return new n(e)}:i;e.exports=s},9293:(e,t,r)=>{var n=r(7733),i=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},5791:(e,t,r)=>{var n=r(6740),i=r(8314),o=r(1257);e.exports=function(e,t,r,s,a,c){var u=1&r,l=e.length,f=t.length;if(l!=f&&!(u&&f>l))return!1;var p=c.get(e),h=c.get(t);if(p&&h)return p==t&&h==e;var d=-1,v=!0,y=2&r?new n:void 0;for(c.set(e,t),c.set(t,e);++d<l;){var E=e[d],b=t[d];if(s)var g=u?s(b,E,d,t,e,c):s(E,b,d,e,t,c);if(void 0!==g){if(g)continue;v=!1;break}if(y){if(!i(t,(function(e,t){if(!o(y,t)&&(E===e||a(E,e,r,s,c)))return y.push(t)}))){v=!1;break}}else if(E!==b&&!a(E,b,r,s,c)){v=!1;break}}return c.delete(e),c.delete(t),v}},7298:(e,t,r)=>{var n=r(9605),i=r(5086),o=r(9489),s=r(5791),a=r(1162),c=r(6095),u=n?n.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,r,n,u,f,p){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new i(e),new i(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 h=a;case"[object Set]":var d=1&n;if(h||(h=c),e.size!=t.size&&!d)return!1;var v=p.get(e);if(v)return v==t;n|=2,p.set(e,t);var y=s(h(e),h(t),n,u,f,p);return p.delete(e),y;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},2489:(e,t,r)=>{var n=r(8060),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,o,s,a){var c=1&r,u=n(e),l=u.length;if(l!=n(t).length&&!c)return!1;for(var f=l;f--;){var p=u[f];if(!(c?p in t:i.call(t,p)))return!1}var h=a.get(e),d=a.get(t);if(h&&d)return h==t&&d==e;var v=!0;a.set(e,t),a.set(t,e);for(var y=c;++f<l;){var E=e[p=u[f]],b=t[p];if(o)var g=c?o(b,E,p,t,e,a):o(E,b,p,e,t,a);if(!(void 0===g?E===b||s(E,b,r,o,a):g)){v=!1;break}y||(y="constructor"==p)}if(v&&!y){var m=e.constructor,S=t.constructor;m==S||!("constructor"in e)||!("constructor"in t)||"function"==typeof m&&m instanceof m&&"function"==typeof S&&S instanceof S||(v=!1)}return a.delete(e),a.delete(t),v}},9631:(e,t,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},8060:(e,t,r)=>{var n=r(8540),i=r(5729),o=r(4234);e.exports=function(e){return n(e,o,i)}},4127:(e,t,r)=>{var n=r(8540),i=r(3024),o=r(7407);e.exports=function(e){return n(e,o,i)}},6552:(e,t,r)=>{var n=r(5720);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},9352:(e,t,r)=>{var n=r(4059),i=r(4234);e.exports=function(e){for(var t=i(e),r=t.length;r--;){var o=t[r],s=e[o];t[r]=[o,s,n(s)]}return t}},7733:(e,t,r)=>{var n=r(1818),i=r(7115);e.exports=function(e,t){var r=i(e,t);return n(r)?r:void 0}},9633:(e,t,r)=>{var n=r(5235)(Object.getPrototypeOf,Object);e.exports=n},4358:(e,t,r)=>{var n=r(9605),i=Object.prototype,o=i.hasOwnProperty,s=i.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 i=s.call(e);return n&&(t?e[a]=r:delete e[a]),i}},5729:(e,t,r)=>{var n=r(5519),i=r(5536),o=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,a=s?function(e){return null==e?[]:(e=Object(e),n(s(e),(function(t){return o.call(e,t)})))}:i;e.exports=a},3024:(e,t,r)=>{var n=r(3002),i=r(9633),o=r(5729),s=r(5536),a=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,o(e)),e=i(e);return t}:s;e.exports=a},1564:(e,t,r)=>{var n=r(1344),i=r(6522),o=r(4092),s=r(3066),a=r(7885),c=r(9014),u=r(253),l="[object Map]",f="[object Promise]",p="[object Set]",h="[object WeakMap]",d="[object DataView]",v=u(n),y=u(i),E=u(o),b=u(s),g=u(a),m=c;(n&&m(new n(new ArrayBuffer(1)))!=d||i&&m(new i)!=l||o&&m(o.resolve())!=f||s&&m(new s)!=p||a&&m(new a)!=h)&&(m=function(e){var t=c(e),r="[object Object]"==t?e.constructor:void 0,n=r?u(r):"";if(n)switch(n){case v:return d;case y:return l;case E:return f;case b:return p;case g:return h}return t}),e.exports=m},7115:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},4016:(e,t,r)=>{var n=r(7442),i=r(4717),o=r(2147),s=r(481),a=r(3713),c=r(8121);e.exports=function(e,t,r){for(var u=-1,l=(t=n(t,e)).length,f=!1;++u<l;){var p=c(t[u]);if(!(f=null!=e&&r(e,p)))break;e=e[p]}return f||++u!=l?f:!!(l=null==e?0:e.length)&&a(l)&&s(p,l)&&(o(e)||i(e))}},2757:(e,t,r)=>{var n=r(8749);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},1667:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},1085:(e,t,r)=>{var n=r(8749),i=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 i.call(t,e)?t[e]:void 0}},5340:(e,t,r)=>{var n=r(8749),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:i.call(t,e)}},6726:(e,t,r)=>{var n=r(8749);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}},8645:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var r=e.length,n=new e.constructor(r);return r&&"string"==typeof e[0]&&t.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},2136:(e,t,r)=>{var n=r(7853),i=r(7484),o=r(2949),s=r(5891),a=r(5192);e.exports=function(e,t,r){var c=e.constructor;switch(t){case"[object ArrayBuffer]":return n(e);case"[object Boolean]":case"[object Date]":return new c(+e);case"[object DataView]":return i(e,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return a(e,r);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(e);case"[object RegExp]":return o(e);case"[object Symbol]":return s(e)}}},8893:(e,t,r)=>{var n=r(8333),i=r(9633),o=r(1792);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:n(i(e))}},8405:(e,t,r)=>{var n=r(9605),i=r(4717),o=r(2147),s=n?n.isConcatSpreadable:void 0;e.exports=function(e){return o(e)||i(e)||!!(s&&e&&e[s])}},481: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}},9245:(e,t,r)=>{var n=r(9489),i=r(4009),o=r(481),s=r(9443);e.exports=function(e,t,r){if(!s(r))return!1;var a=typeof t;return!!("number"==a?i(r)&&o(t,r.length):"string"==a&&t in r)&&n(r[t],e)}},4349:(e,t,r)=>{var n=r(2147),i=r(214),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!i(e))||(s.test(e)||!o.test(e)||null!=t&&e in Object(t))}},5720:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},1170:(e,t,r)=>{var n,i=r(162),o=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!o&&o in e}},1792:e=>{var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},4059:(e,t,r)=>{var n=r(9443);e.exports=function(e){return e==e&&!n(e)}},3413:e=>{e.exports=function(){this.__data__=[],this.size=0}},5441:(e,t,r)=>{var n=r(1707),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0)&&(r==t.length-1?t.pop():i.call(t,r,1),--this.size,!0)}},5186:(e,t,r)=>{var n=r(1707);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},4062:(e,t,r)=>{var n=r(1707);e.exports=function(e){return n(this.__data__,e)>-1}},8356:(e,t,r)=>{var n=r(1707);e.exports=function(e,t){var r=this.__data__,i=n(r,e);return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this}},2890:(e,t,r)=>{var n=r(7160),i=r(6673),o=r(6522);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||i),string:new n}}},9277:(e,t,r)=>{var n=r(6552);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},4312:(e,t,r)=>{var n=r(6552);e.exports=function(e){return n(this,e).get(e)}},5654:(e,t,r)=>{var n=r(6552);e.exports=function(e){return n(this,e).has(e)}},6292:(e,t,r)=>{var n=r(6552);e.exports=function(e,t){var r=n(this,e),i=r.size;return r.set(e,t),this.size+=r.size==i?0:1,this}},1162:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}},5663:e=>{e.exports=function(e,t){return function(r){return null!=r&&(r[e]===t&&(void 0!==t||e in Object(r)))}}},5827:(e,t,r)=>{var n=r(2255);e.exports=function(e){var t=n(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}},8749:(e,t,r)=>{var n=r(7733)(Object,"create");e.exports=n},3084:(e,t,r)=>{var n=r(5235)(Object.keys,Object);e.exports=n},7489:e=>{e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},7624:(e,t,r)=>{e=r.nmd(e);var n=r(9631),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,s=o&&o.exports===i&&n.process,a=function(){try{var e=o&&o.require&&o.require("util").types;return e||s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=a},5323:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5235:e=>{e.exports=function(e,t){return function(r){return e(t(r))}}},3627:(e,t,r)=>{var n=r(5875),i=Math.max;e.exports=function(e,t,r){return t=i(void 0===t?e.length-1:t,0),function(){for(var o=arguments,s=-1,a=i(o.length-t,0),c=Array(a);++s<a;)c[s]=o[t+s];s=-1;for(var u=Array(t+1);++s<t;)u[s]=o[s];return u[t]=r(c),n(e,this,u)}}},1642:(e,t,r)=>{var n=r(9631),i="object"==typeof self&&self&&self.Object===Object&&self,o=n||i||Function("return this")();e.exports=o},3105:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},1329:e=>{e.exports=function(e){return this.__data__.has(e)}},6095:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},7757:(e,t,r)=>{var n=r(4376),i=r(630)(n);e.exports=i},630:e=>{var t=Date.now;e.exports=function(e){var r=0,n=0;return function(){var i=t(),o=16-(i-n);if(n=i,o>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}},3730:(e,t,r)=>{var n=r(6673);e.exports=function(){this.__data__=new n,this.size=0}},9559:e=>{e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},385:e=>{e.exports=function(e){return this.__data__.get(e)}},2124:e=>{e.exports=function(e){return this.__data__.has(e)}},9238:(e,t,r)=>{var n=r(6673),i=r(6522),o=r(8687);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!i||s.length<199)return s.push([e,t]),this.size=++r.size,this;r=this.__data__=new o(s)}return r.set(e,t),this.size=r.size,this}},7139:e=>{e.exports=function(e,t,r){for(var n=r-1,i=e.length;++n<i;)if(e[n]===t)return n;return-1}},6400:(e,t,r)=>{var n=r(5827),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,s=n((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,(function(e,r,n,i){t.push(n?i.replace(o,"$1"):r||e)})),t}));e.exports=s},8121:(e,t,r)=>{var n=r(214);e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}},253: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""}},9079:(e,t,r)=>{var n=r(2147);e.exports=function(){if(!arguments.length)return[];var e=arguments[0];return n(e)?e:[e]}},5198:(e,t,r)=>{var n=r(8678);e.exports=function(e){return n(e,5)}},3219:e=>{e.exports=function(e){return function(){return e}}},9489:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},1766:(e,t,r)=>{var n=r(9781);e.exports=function(e,t,r){var i=null==e?void 0:n(e,t);return void 0===i?r:i}},3453:(e,t,r)=>{var n=r(9135),i=r(4016);e.exports=function(e,t){return null!=e&&i(e,t,n)}},63:e=>{e.exports=function(e){return e}},4717:(e,t,r)=>{var n=r(1774),i=r(5969),o=Object.prototype,s=o.hasOwnProperty,a=o.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(e){return i(e)&&s.call(e,"callee")&&!a.call(e,"callee")};e.exports=c},2147:e=>{var t=Array.isArray;e.exports=t},4009:(e,t,r)=>{var n=r(3163),i=r(3713);e.exports=function(e){return null!=e&&i(e.length)&&!n(e)}},7862:(e,t,r)=>{e=r.nmd(e);var n=r(1642),i=r(1351),o=t&&!t.nodeType&&t,s=o&&e&&!e.nodeType&&e,a=s&&s.exports===o?n.Buffer:void 0,c=(a?a.isBuffer:void 0)||i;e.exports=c},9461:(e,t,r)=>{var n=r(4761);e.exports=function(e,t){return n(e,t)}},3163:(e,t,r)=>{var n=r(9014),i=r(9443);e.exports=function(e){if(!i(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},3713:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},6753:(e,t,r)=>{var n=r(7645),i=r(6940),o=r(7624),s=o&&o.isMap,a=s?i(s):n;e.exports=a},8793:(e,t,r)=>{var n=r(8865),i=r(9352);e.exports=function(e,t){return e===t||n(e,t,i(t))}},9443:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},5969:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},1353:(e,t,r)=>{var n=r(9839),i=r(6940),o=r(7624),s=o&&o.isSet,a=s?i(s):n;e.exports=a},214:(e,t,r)=>{var n=r(9014),i=r(5969);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==n(e)}},8849:(e,t,r)=>{var n=r(8045),i=r(6940),o=r(7624),s=o&&o.isTypedArray,a=s?i(s):n;e.exports=a},4234:(e,t,r)=>{var n=r(5071),i=r(5095),o=r(4009);e.exports=function(e){return o(e)?n(e):i(e)}},7407:(e,t,r)=>{var n=r(5071),i=r(2835),o=r(4009);e.exports=function(e){return o(e)?n(e,!0):i(e)}},2664:(e,t,r)=>{var n=r(915),i=r(4516),o=r(3933);e.exports=function(e,t){var r={};return t=o(t,3),i(e,(function(e,i,o){n(r,i,t(e,i,o))})),r}},2255:(e,t,r)=>{var n=r(8687);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var s=e.apply(this,n);return r.cache=o.set(i,s)||o,s};return r.cache=new(i.Cache||n),r}i.Cache=n,e.exports=i},1795:e=>{e.exports=function(){}},3336:(e,t,r)=>{var n=r(9045),i=r(6765),o=r(4349),s=r(8121);e.exports=function(e){return o(e)?n(s(e)):i(e)}},3333:(e,t,r)=>{var n=r(7984),i=r(1376),o=r(346),s=r(9245),a=o((function(e,t){if(null==e)return[];var r=t.length;return r>1&&s(e,t[0],t[1])?t=[]:r>2&&s(t[0],t[1],t[2])&&(t=[t[0]]),i(e,n(t,1),[])}));e.exports=a},5536:e=>{e.exports=function(){return[]}},1351:e=>{e.exports=function(){return!1}},3665:(e,t,r)=>{var n=r(2789);e.exports=function(e){return null==e?"":n(e)}},2825:(e,t,r)=>{var n=r(2183);e.exports=function(e){return e&&e.length?n(e):[]}},1106:(e,t,r)=>{e.exports=p,p.Minimatch=h;var n=function(){try{return r(3677)}catch(e){}}()||{sep:"/"};p.sep=n.sep;var i=p.GLOBSTAR=h.GLOBSTAR={},o=r(2238),s={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},a="[^/]",c=a+"*?",u="().*{}+?[]^$\\!".split("").reduce((function(e,t){return e[t]=!0,e}),{});var l=/\/+/;function f(e,t){t=t||{};var r={};return Object.keys(e).forEach((function(t){r[t]=e[t]})),Object.keys(t).forEach((function(e){r[e]=t[e]})),r}function p(e,t,r){return v(t),r||(r={}),!(!r.nocomment&&"#"===t.charAt(0))&&new h(t,r).match(e)}function h(e,t){if(!(this instanceof h))return new h(e,t);v(e),t||(t={}),e=e.trim(),t.allowWindowsEscape||"/"===n.sep||(e=e.split(n.sep).join("/")),this.options=t,this.set=[],this.pattern=e,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.make()}function d(e,t){return t||(t=this instanceof h?this.options:{}),e=void 0===e?this.pattern:e,v(e),t.nobrace||!/\{(?:(?!\{).)*\}/.test(e)?[e]:o(e)}p.filter=function(e,t){return t=t||{},function(r,n,i){return p(r,e,t)}},p.defaults=function(e){if(!e||"object"!=typeof e||!Object.keys(e).length)return p;var t=p,r=function(r,n,i){return t(r,n,f(e,i))};return(r.Minimatch=function(r,n){return new t.Minimatch(r,f(e,n))}).defaults=function(r){return t.defaults(f(e,r)).Minimatch},r.filter=function(r,n){return t.filter(r,f(e,n))},r.defaults=function(r){return t.defaults(f(e,r))},r.makeRe=function(r,n){return t.makeRe(r,f(e,n))},r.braceExpand=function(r,n){return t.braceExpand(r,f(e,n))},r.match=function(r,n,i){return t.match(r,n,f(e,i))},r},h.defaults=function(e){return p.defaults(e).Minimatch},h.prototype.debug=function(){},h.prototype.make=function(){var e=this.pattern,t=this.options;if(!t.nocomment&&"#"===e.charAt(0))return void(this.comment=!0);if(!e)return void(this.empty=!0);this.parseNegate();var r=this.globSet=this.braceExpand();t.debug&&(this.debug=function(){console.error.apply(console,arguments)});this.debug(this.pattern,r),r=this.globParts=r.map((function(e){return e.split(l)})),this.debug(this.pattern,r),r=r.map((function(e,t,r){return e.map(this.parse,this)}),this),this.debug(this.pattern,r),r=r.filter((function(e){return-1===e.indexOf(!1)})),this.debug(this.pattern,r),this.set=r},h.prototype.parseNegate=function(){var e=this.pattern,t=!1,r=this.options,n=0;if(r.nonegate)return;for(var i=0,o=e.length;i<o&&"!"===e.charAt(i);i++)t=!t,n++;n&&(this.pattern=e.substr(n));this.negate=t},p.braceExpand=function(e,t){return d(e,t)},h.prototype.braceExpand=d;var v=function(e){if("string"!=typeof e)throw new TypeError("invalid pattern");if(e.length>65536)throw new TypeError("pattern is too long")};h.prototype.parse=function(e,t){v(e);var r=this.options;if("**"===e){if(!r.noglobstar)return i;e="*"}if(""===e)return"";var n,o="",l=!!r.nocase,f=!1,p=[],h=[],d=!1,E=-1,b=-1,g="."===e.charAt(0)?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",m=this;function S(){if(n){switch(n){case"*":o+=c,l=!0;break;case"?":o+=a,l=!0;break;default:o+="\\"+n}m.debug("clearStateChar %j %j",n,o),n=!1}}for(var x,_=0,O=e.length;_<O&&(x=e.charAt(_));_++)if(this.debug("%s\t%s %s %j",e,_,o,x),f&&u[x])o+="\\"+x,f=!1;else switch(x){case"/":return!1;case"\\":S(),f=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",e,_,o,x),d){this.debug(" in class"),"!"===x&&_===b+1&&(x="^"),o+=x;continue}m.debug("call clearStateChar %j",n),S(),n=x,r.noext&&S();continue;case"(":if(d){o+="(";continue}if(!n){o+="\\(";continue}p.push({type:n,start:_-1,reStart:o.length,open:s[n].open,close:s[n].close}),o+="!"===n?"(?:(?!(?:":"(?:",this.debug("plType %j %j",n,o),n=!1;continue;case")":if(d||!p.length){o+="\\)";continue}S(),l=!0;var w=p.pop();o+=w.close,"!"===w.type&&h.push(w),w.reEnd=o.length;continue;case"|":if(d||!p.length||f){o+="\\|",f=!1;continue}S(),o+="|";continue;case"[":if(S(),d){o+="\\"+x;continue}d=!0,b=_,E=o.length,o+=x;continue;case"]":if(_===b+1||!d){o+="\\"+x,f=!1;continue}var A=e.substring(b+1,_);try{RegExp("["+A+"]")}catch(e){var T=this.parse(A,y);o=o.substr(0,E)+"\\["+T[0]+"\\]",l=l||T[1],d=!1;continue}l=!0,d=!1,o+=x;continue;default:S(),f?f=!1:!u[x]||"^"===x&&d||(o+="\\"),o+=x}d&&(A=e.substr(b+1),T=this.parse(A,y),o=o.substr(0,E)+"\\["+T[0],l=l||T[1]);for(w=p.pop();w;w=p.pop()){var R=o.slice(w.reStart+w.open.length);this.debug("setting tail",o,w),R=R.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(e,t,r){return r||(r="\\"),t+t+r+"|"})),this.debug("tail=%j\n %s",R,R,w,o);var P="*"===w.type?c:"?"===w.type?a:"\\"+w.type;l=!0,o=o.slice(0,w.reStart)+P+"\\("+R}S(),f&&(o+="\\\\");var C=!1;switch(o.charAt(0)){case"[":case".":case"(":C=!0}for(var I=h.length-1;I>-1;I--){var N=h[I],D=o.slice(0,N.reStart),L=o.slice(N.reStart,N.reEnd-8),U=o.slice(N.reEnd-8,N.reEnd),M=o.slice(N.reEnd);U+=M;var j=D.split("(").length-1,k=M;for(_=0;_<j;_++)k=k.replace(/\)[+*?]?/,"");var G="";""===(M=k)&&t!==y&&(G="$"),o=D+L+M+G+U}""!==o&&l&&(o="(?=.)"+o);C&&(o=g+o);if(t===y)return[o,l];if(!l)return function(e){return e.replace(/\\(.)/g,"$1")}(e);var V=r.nocase?"i":"";try{var H=new RegExp("^"+o+"$",V)}catch(e){return new RegExp("$.")}return H._glob=e,H._src=o,H};var y={};p.makeRe=function(e,t){return new h(e,t||{}).makeRe()},h.prototype.makeRe=function(){if(this.regexp||!1===this.regexp)return this.regexp;var e=this.set;if(!e.length)return this.regexp=!1,this.regexp;var t=this.options,r=t.noglobstar?c:t.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",n=t.nocase?"i":"",o=e.map((function(e){return e.map((function(e){return e===i?r:"string"==typeof e?function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(e):e._src})).join("\\/")})).join("|");o="^(?:"+o+")$",this.negate&&(o="^(?!"+o+").*$");try{this.regexp=new RegExp(o,n)}catch(e){this.regexp=!1}return this.regexp},p.match=function(e,t,r){var n=new h(t,r=r||{});return e=e.filter((function(e){return n.match(e)})),n.options.nonull&&!e.length&&e.push(t),e},h.prototype.match=function(e,t){if(void 0===t&&(t=this.partial),this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return""===e;if("/"===e&&t)return!0;var r=this.options;"/"!==n.sep&&(e=e.split(n.sep).join("/")),e=e.split(l),this.debug(this.pattern,"split",e);var i,o,s=this.set;for(this.debug(this.pattern,"set",s),o=e.length-1;o>=0&&!(i=e[o]);o--);for(o=0;o<s.length;o++){var a=s[o],c=e;if(r.matchBase&&1===a.length&&(c=[i]),this.matchOne(c,a,t))return!!r.flipNegate||!this.negate}return!r.flipNegate&&this.negate},h.prototype.matchOne=function(e,t,r){var n=this.options;this.debug("matchOne",{this:this,file:e,pattern:t}),this.debug("matchOne",e.length,t.length);for(var o=0,s=0,a=e.length,c=t.length;o<a&&s<c;o++,s++){this.debug("matchOne loop");var u,l=t[s],f=e[o];if(this.debug(t,l,f),!1===l)return!1;if(l===i){this.debug("GLOBSTAR",[t,l,f]);var p=o,h=s+1;if(h===c){for(this.debug("** at the end");o<a;o++)if("."===e[o]||".."===e[o]||!n.dot&&"."===e[o].charAt(0))return!1;return!0}for(;p<a;){var d=e[p];if(this.debug("\nglobstar while",e,p,t,h,d),this.matchOne(e.slice(p),t.slice(h),r))return this.debug("globstar found match!",p,a,d),!0;if("."===d||".."===d||!n.dot&&"."===d.charAt(0)){this.debug("dot detected!",e,p,t,h);break}this.debug("globstar swallow a segment, and continue"),p++}return!(!r||(this.debug("\n>>> no match, partial?",e,p,t,h),p!==a))}if("string"==typeof l?(u=f===l,this.debug("string match",l,f,u)):(u=f.match(l),this.debug("pattern match",l,f,u)),!u)return!1}if(o===a&&s===c)return!0;if(o===a)return r;if(s===c)return o===a-1&&""===e[o];throw new Error("wtf?")}},3677:(e,t,r)=>{"use strict";var n=r(9364);function i(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function o(e,t){for(var r,n="",i=0,o=-1,s=0,a=0;a<=e.length;++a){if(a<e.length)r=e.charCodeAt(a);else{if(47===r)break;r=47}if(47===r){if(o===a-1||1===s);else if(o!==a-1&&2===s){if(n.length<2||2!==i||46!==n.charCodeAt(n.length-1)||46!==n.charCodeAt(n.length-2))if(n.length>2){var c=n.lastIndexOf("/");if(c!==n.length-1){-1===c?(n="",i=0):i=(n=n.slice(0,c)).length-1-n.lastIndexOf("/"),o=a,s=0;continue}}else if(2===n.length||1===n.length){n="",i=0,o=a,s=0;continue}t&&(n.length>0?n+="/..":n="..",i=2)}else n.length>0?n+="/"+e.slice(o+1,a):n=e.slice(o+1,a),i=a-o-1;o=a,s=0}else 46===r&&-1!==s?++s:s=-1}return n}var s={resolve:function(){for(var e,t="",r=!1,s=arguments.length-1;s>=-1&&!r;s--){var a;s>=0?a=arguments[s]:(void 0===e&&(e=n.cwd()),a=e),i(a),0!==a.length&&(t=a+"/"+t,r=47===a.charCodeAt(0))}return t=o(t,!r),r?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(e){if(i(e),0===e.length)return".";var t=47===e.charCodeAt(0),r=47===e.charCodeAt(e.length-1);return 0!==(e=o(e,!t)).length||t||(e="."),e.length>0&&r&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return i(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,t=0;t<arguments.length;++t){var r=arguments[t];i(r),r.length>0&&(void 0===e?e=r:e+="/"+r)}return void 0===e?".":s.normalize(e)},relative:function(e,t){if(i(e),i(t),e===t)return"";if((e=s.resolve(e))===(t=s.resolve(t)))return"";for(var r=1;r<e.length&&47===e.charCodeAt(r);++r);for(var n=e.length,o=n-r,a=1;a<t.length&&47===t.charCodeAt(a);++a);for(var c=t.length-a,u=o<c?o:c,l=-1,f=0;f<=u;++f){if(f===u){if(c>u){if(47===t.charCodeAt(a+f))return t.slice(a+f+1);if(0===f)return t.slice(a+f)}else o>u&&(47===e.charCodeAt(r+f)?l=f:0===f&&(l=0));break}var p=e.charCodeAt(r+f);if(p!==t.charCodeAt(a+f))break;47===p&&(l=f)}var h="";for(f=r+l+1;f<=n;++f)f!==n&&47!==e.charCodeAt(f)||(0===h.length?h+="..":h+="/..");return h.length>0?h+t.slice(a+l):(a+=l,47===t.charCodeAt(a)&&++a,t.slice(a))},_makeLong:function(e){return e},dirname:function(e){if(i(e),0===e.length)return".";for(var t=e.charCodeAt(0),r=47===t,n=-1,o=!0,s=e.length-1;s>=1;--s)if(47===(t=e.charCodeAt(s))){if(!o){n=s;break}}else o=!1;return-1===n?r?"/":".":r&&1===n?"//":e.slice(0,n)},basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');i(e);var r,n=0,o=-1,s=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var a=t.length-1,c=-1;for(r=e.length-1;r>=0;--r){var u=e.charCodeAt(r);if(47===u){if(!s){n=r+1;break}}else-1===c&&(s=!1,c=r+1),a>=0&&(u===t.charCodeAt(a)?-1==--a&&(o=r):(a=-1,o=c))}return n===o?o=c:-1===o&&(o=e.length),e.slice(n,o)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!s){n=r+1;break}}else-1===o&&(s=!1,o=r+1);return-1===o?"":e.slice(n,o)},extname:function(e){i(e);for(var t=-1,r=0,n=-1,o=!0,s=0,a=e.length-1;a>=0;--a){var c=e.charCodeAt(a);if(47!==c)-1===n&&(o=!1,n=a+1),46===c?-1===t?t=a:1!==s&&(s=1):-1!==t&&(s=-1);else if(!o){r=a+1;break}}return-1===t||-1===n||0===s||1===s&&t===n-1&&t===r+1?"":e.slice(t,n)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var r=t.dir||t.root,n=t.base||(t.name||"")+(t.ext||"");return r?r===t.root?r+n:r+e+n:n}("/",e)},parse:function(e){i(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var r,n=e.charCodeAt(0),o=47===n;o?(t.root="/",r=1):r=0;for(var s=-1,a=0,c=-1,u=!0,l=e.length-1,f=0;l>=r;--l)if(47!==(n=e.charCodeAt(l)))-1===c&&(u=!1,c=l+1),46===n?-1===s?s=l:1!==f&&(f=1):-1!==s&&(f=-1);else if(!u){a=l+1;break}return-1===s||-1===c||0===f||1===f&&s===c-1&&s===a+1?-1!==c&&(t.base=t.name=0===a&&o?e.slice(1,c):e.slice(a,c)):(0===a&&o?(t.name=e.slice(1,s),t.base=e.slice(1,c)):(t.name=e.slice(a,s),t.base=e.slice(a,c)),t.ext=e.slice(s,c)),a>0?t.dir=e.slice(0,a-1):o&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};s.posix=s,e.exports=s},9364:e=>{var t,r,n=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var a,c=[],u=!1,l=-1;function f(){u&&a&&(u=!1,a.length?c=a.concat(c):l=-1,c.length&&p())}function p(){if(!u){var e=s(f);u=!0;for(var t=c.length;t;){for(a=c,c=[];++l<t;)a&&a[l].run();l=-1,t=c.length}a=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function d(){}n.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];c.push(new h(e,t)),1!==c.length||u||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=d,n.addListener=d,n.once=d,n.off=d,n.removeListener=d,n.removeAllListeners=d,n.emit=d,n.prependListener=d,n.prependOnceListener=d,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},9029:(e,t,r)=>{"use strict";var n=r(645),i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,r){var n,o={},u=null,l=null;for(n in void 0!==r&&(u=""+r),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(l=t.ref),t)s.call(t,n)&&!c.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:i,type:e,key:u,ref:l,props:o,_owner:a.current}}},49:(e,t)=>{"use strict";var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.iterator;var d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,y={};function E(e,t,r){this.props=e,this.context=t,this.refs=y,this.updater=r||d}function b(){}function g(e,t,r){this.props=e,this.context=t,this.refs=y,this.updater=r||d}E.prototype.isReactComponent={},E.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},E.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=E.prototype;var m=g.prototype=new b;m.constructor=g,v(m,E.prototype),m.isPureReactComponent=!0;var S=Array.isArray,x=Object.prototype.hasOwnProperty,_={current:null},O={key:!0,ref:!0,__self:!0,__source:!0};function w(e,t,n){var i,o={},s=null,a=null;if(null!=t)for(i in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(s=""+t.key),t)x.call(t,i)&&!O.hasOwnProperty(i)&&(o[i]=t[i]);var c=arguments.length-2;if(1===c)o.children=n;else if(1<c){for(var u=Array(c),l=0;l<c;l++)u[l]=arguments[l+2];o.children=u}if(e&&e.defaultProps)for(i in c=e.defaultProps)void 0===o[i]&&(o[i]=c[i]);return{$$typeof:r,type:e,key:s,ref:a,props:o,_owner:_.current}}function A(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}var T=/\/+/g;function R(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function P(e,t,i,o,s){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var c=!1;if(null===e)c=!0;else switch(a){case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case r:case n:c=!0}}if(c)return s=s(c=e),e=""===o?"."+R(c,0):o,S(s)?(i="",null!=e&&(i=e.replace(T,"$&/")+"/"),P(s,t,i,"",(function(e){return e}))):null!=s&&(A(s)&&(s=function(e,t){return{$$typeof:r,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(s,i+(!s.key||c&&c.key===s.key?"":(""+s.key).replace(T,"$&/")+"/")+e)),t.push(s)),1;if(c=0,o=""===o?".":o+":",S(e))for(var u=0;u<e.length;u++){var l=o+R(a=e[u],u);c+=P(a,t,i,l,s)}else if(l=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=h&&e[h]||e["@@iterator"])?e:null}(e),"function"==typeof l)for(e=l.call(e),u=0;!(a=e.next()).done;)c+=P(a=a.value,t,i,l=o+R(a,u++),s);else if("object"===a)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return c}function C(e,t,r){if(null==e)return e;var n=[],i=0;return P(e,n,"","",(function(e){return t.call(r,e,i++)})),n}function I(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var N={current:null},D={transition:null},L={ReactCurrentDispatcher:N,ReactCurrentBatchConfig:D,ReactCurrentOwner:_};t.Children={map:C,forEach:function(e,t,r){C(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return C(e,(function(){t++})),t},toArray:function(e){return C(e,(function(e){return e}))||[]},only:function(e){if(!A(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=E,t.Fragment=i,t.Profiler=s,t.PureComponent=g,t.StrictMode=o,t.Suspense=l,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,t.cloneElement=function(e,t,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=v({},e.props),o=e.key,s=e.ref,a=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,a=_.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(u in t)x.call(t,u)&&!O.hasOwnProperty(u)&&(i[u]=void 0===t[u]&&void 0!==c?c[u]:t[u])}var u=arguments.length-2;if(1===u)i.children=n;else if(1<u){c=Array(u);for(var l=0;l<u;l++)c[l]=arguments[l+2];i.children=c}return{$$typeof:r,type:e.type,key:o,ref:s,props:i,_owner:a}},t.createContext=function(e){return(e={$$typeof:c,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=w,t.createFactory=function(e){var t=w.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=A,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:I}},t.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=D.transition;D.transition={};try{e()}finally{D.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return N.current.useCallback(e,t)},t.useContext=function(e){return N.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return N.current.useDeferredValue(e)},t.useEffect=function(e,t){return N.current.useEffect(e,t)},t.useId=function(){return N.current.useId()},t.useImperativeHandle=function(e,t,r){return N.current.useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return N.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return N.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return N.current.useMemo(e,t)},t.useReducer=function(e,t,r){return N.current.useReducer(e,t,r)},t.useRef=function(e){return N.current.useRef(e)},t.useState=function(e){return N.current.useState(e)},t.useSyncExternalStore=function(e,t,r){return N.current.useSyncExternalStore(e,t,r)},t.useTransition=function(){return N.current.useTransition()},t.version="18.1.0"},645:(e,t,r)=>{"use strict";e.exports=r(49)},4692:(e,t,r)=>{"use strict";r(9029)},6489:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(t,r,n){var i=e.call(this)||this;return i.parent=t,i.outerValue=r,i.outerIndex=n,i.index=0,i}return i(t,e),t.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},t.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t}(r(3796).Subscriber);t.InnerSubscriber=o},4044:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5479),i=r(7994),o=r(3531),s=r(4414),a=r(7191),c=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var n=this.operator,o=i.toSubscriber(e,t,r);if(n?o.add(n.call(o,this.source)):o.add(this.source||a.config.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),a.config.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){a.config.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),n.canReportError(e)?e.error(t):console.warn(t)}},e.prototype.forEach=function(e,t){var r=this;return new(t=u(t))((function(t,n){var i;i=r.subscribe((function(t){try{e(t)}catch(e){n(e),i&&i.unsubscribe()}}),n,t)}))},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[o.observable]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?this:s.pipeFromArray(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=u(e))((function(e,r){var n;t.subscribe((function(e){return n=e}),(function(e){return r(e)}),(function(){return e(n)}))}))},e.create=function(t){return new e(t)},e}();function u(e){if(e||(e=a.config.Promise||Promise),!e)throw new Error("no Promise impl found");return e}t.Observable=c},1567:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(7191),i=r(1009);t.empty={closed:!0,next:function(e){},error:function(e){if(n.config.useDeprecatedSynchronousErrorHandling)throw e;i.hostReportError(e)},complete:function(){}}},7930:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.notifyNext=function(e,t,r,n,i){this.destination.next(t)},t.prototype.notifyError=function(e,t){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t}(r(3796).Subscriber);t.OuterSubscriber=o},3796:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(3980),s=r(1567),a=r(718),c=r(4780),u=r(7191),l=r(1009),f=function(e){function t(r,n,i){var o=e.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=s.empty;break;case 1:if(!r){o.destination=s.empty;break}if("object"==typeof r){r instanceof t?(o.syncErrorThrowable=r.syncErrorThrowable,o.destination=r,r.add(o)):(o.syncErrorThrowable=!0,o.destination=new p(o,r));break}default:o.syncErrorThrowable=!0,o.destination=new p(o,r,n,i)}return o}return i(t,e),t.prototype[c.rxSubscriber]=function(){return this},t.create=function(e,r,n){var i=new t(e,r,n);return i.syncErrorThrowable=!1,i},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this},t}(a.Subscription);t.Subscriber=f;var p=function(e){function t(t,r,n,i){var a,c=e.call(this)||this;c._parentSubscriber=t;var u=c;return o.isFunction(r)?a=r:r&&(a=r.next,n=r.error,i=r.complete,r!==s.empty&&(u=Object.create(r),o.isFunction(u.unsubscribe)&&c.add(u.unsubscribe.bind(u)),u.unsubscribe=c.unsubscribe.bind(c))),c._context=u,c._next=a,c._error=n,c._complete=i,c}return i(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;u.config.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber,r=u.config.useDeprecatedSynchronousErrorHandling;if(this._error)r&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)r?(t.syncErrorValue=e,t.syncErrorThrown=!0):l.hostReportError(e),this.unsubscribe();else{if(this.unsubscribe(),r)throw e;l.hostReportError(e)}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var r=function(){return e._complete.call(e._context)};u.config.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,r),this.unsubscribe()):(this.__tryOrUnsub(r),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(e){if(this.unsubscribe(),u.config.useDeprecatedSynchronousErrorHandling)throw e;l.hostReportError(e)}},t.prototype.__tryOrSetError=function(e,t,r){if(!u.config.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,r)}catch(t){return u.config.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=t,e.syncErrorThrown=!0,!0):(l.hostReportError(t),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(f);t.SafeSubscriber=p},718:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(8034),i=r(3685),o=r(3980),s=r(6654),a=function(){function e(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}var t;return e.prototype.unsubscribe=function(){var t;if(!this.closed){var r=this,a=r._parentOrParents,u=r._ctorUnsubscribe,l=r._unsubscribe,f=r._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,a instanceof e)a.remove(this);else if(null!==a)for(var p=0;p<a.length;++p){a[p].remove(this)}if(o.isFunction(l)){u&&(this._unsubscribe=void 0);try{l.call(this)}catch(e){t=e instanceof s.UnsubscriptionError?c(e.errors):[e]}}if(n.isArray(f)){p=-1;for(var h=f.length;++p<h;){var d=f[p];if(i.isObject(d))try{d.unsubscribe()}catch(e){t=t||[],e instanceof s.UnsubscriptionError?t=t.concat(c(e.errors)):t.push(e)}}}if(t)throw new s.UnsubscriptionError(t)}},e.prototype.add=function(t){var r=t;if(!t)return e.EMPTY;switch(typeof t){case"function":r=new e(t);case"object":if(r===this||r.closed||"function"!=typeof r.unsubscribe)return r;if(this.closed)return r.unsubscribe(),r;if(!(r instanceof e)){var n=r;(r=new e)._subscriptions=[n]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}var i=r._parentOrParents;if(null===i)r._parentOrParents=this;else if(i instanceof e){if(i===this)return r;r._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return r;i.push(this)}var o=this._subscriptions;return null===o?this._subscriptions=[r]:o.push(r),r},e.prototype.remove=function(e){var t=this._subscriptions;if(t){var r=t.indexOf(e);-1!==r&&t.splice(r,1)}},e.EMPTY=((t=new e).closed=!0,t),e}();function c(e){return e.reduce((function(e,t){return e.concat(t instanceof s.UnsubscriptionError?t.errors:t)}),[])}t.Subscription=a},7191:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=!1;t.config={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){var t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=e},get useDeprecatedSynchronousErrorHandling(){return r}}},1173:(e,t)=>{"use strict";function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}Object.defineProperty(t,"__esModule",{value:!0}),t.getSymbolIterator=r,t.iterator=r(),t.$$iterator=t.iterator},3531:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"},4780:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rxSubscriber="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),t.$$rxSubscriber=t.rxSubscriber},6654:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e){return Error.call(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e}();t.UnsubscriptionError=r},5479:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(3796);t.canReportError=function(e){for(;e;){var t=e,r=t.closed,i=t.destination,o=t.isStopped;if(r||o)return!1;e=i&&i instanceof n.Subscriber?i:null}return!0}},1009:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hostReportError=function(e){setTimeout((function(){throw e}),0)}},6017:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.identity=function(e){return e}},8034:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArray=Array.isArray||function(e){return e&&"number"==typeof e.length}},2647:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArrayLike=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},3980:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFunction=function(e){return"function"==typeof e}},3685:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isObject=function(e){return null!==e&&"object"==typeof e}},780:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPromise=function(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}},4414:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(6017);function i(e){return 0===e.length?n.identity:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}t.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i(e)},t.pipeFromArray=i},6899:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(4468),i=r(8115),o=r(1137),s=r(136),a=r(2647),c=r(780),u=r(3685),l=r(1173),f=r(3531);t.subscribeTo=function(e){if(e&&"function"==typeof e[f.observable])return s.subscribeToObservable(e);if(a.isArrayLike(e))return n.subscribeToArray(e);if(c.isPromise(e))return i.subscribeToPromise(e);if(e&&"function"==typeof e[l.iterator])return o.subscribeToIterable(e);var t=u.isObject(e)?"an invalid object":"'"+e+"'";throw new TypeError("You provided "+t+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")}},4468:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.subscribeToArray=function(e){return function(t){for(var r=0,n=e.length;r<n&&!t.closed;r++)t.next(e[r]);t.complete()}}},1137:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1173);t.subscribeToIterable=function(e){return function(t){for(var r=e[n.iterator]();;){var i=void 0;try{i=r.next()}catch(e){return t.error(e),t}if(i.done){t.complete();break}if(t.next(i.value),t.closed)break}return"function"==typeof r.return&&t.add((function(){r.return&&r.return()})),t}}},136:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(3531);t.subscribeToObservable=function(e){return function(t){var r=e[n.observable]();if("function"!=typeof r.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return r.subscribe(t)}}},8115:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1009);t.subscribeToPromise=function(e){return function(t){return e.then((function(e){t.closed||(t.next(e),t.complete())}),(function(e){return t.error(e)})).then(null,n.hostReportError),t}}},9709:(e,t,r)=>{"use strict";var n=r(6489),i=r(6899),o=r(4044);t.D=function(e,t,r,s,a){if(void 0===a&&(a=new n.InnerSubscriber(e,r,s)),!a.closed)return t instanceof o.Observable?t.subscribe(a):i.subscribeTo(t)(a)}},7994:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(3796),i=r(4780),o=r(1567);t.toSubscriber=function(e,t,r){if(e){if(e instanceof n.Subscriber)return e;if(e[i.rxSubscriber])return e[i.rxSubscriber]()}return e||t||r?new n.Subscriber(e,t,r):new n.Subscriber(o.empty)}}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{"use strict";var e=r(6913);r.n(e)()({usePolyfill:["URL","URLSearchParams"]});r(6207),r(7790),r(798),r(7681),r(1402);var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},t(e,r)};function n(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}Object.create;Object.create;function i(e){return"function"==typeof e}var o=!1,s={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){e&&(new Error).stack;o=e},get useDeprecatedSynchronousErrorHandling(){return o}};function a(e){setTimeout((function(){throw e}),0)}var c={closed:!0,next:function(e){},error:function(e){if(s.useDeprecatedSynchronousErrorHandling)throw e;a(e)},complete:function(){}},u=function(){return Array.isArray||function(e){return e&&"number"==typeof e.length}}();function l(e){return null!==e&&"object"==typeof e}var f=function(){function e(e){return Error.call(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e}(),p=function(){function e(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}return e.prototype.unsubscribe=function(){var t;if(!this.closed){var r=this,n=r._parentOrParents,o=r._ctorUnsubscribe,s=r._unsubscribe,a=r._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(var c=0;c<n.length;++c){n[c].remove(this)}if(i(s)){o&&(this._unsubscribe=void 0);try{s.call(this)}catch(e){t=e instanceof f?h(e.errors):[e]}}if(u(a)){c=-1;for(var p=a.length;++c<p;){var d=a[c];if(l(d))try{d.unsubscribe()}catch(e){t=t||[],e instanceof f?t=t.concat(h(e.errors)):t.push(e)}}}if(t)throw new f(t)}},e.prototype.add=function(t){var r=t;if(!t)return e.EMPTY;switch(typeof t){case"function":r=new e(t);case"object":if(r===this||r.closed||"function"!=typeof r.unsubscribe)return r;if(this.closed)return r.unsubscribe(),r;if(!(r instanceof e)){var n=r;(r=new e)._subscriptions=[n]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}var i=r._parentOrParents;if(null===i)r._parentOrParents=this;else if(i instanceof e){if(i===this)return r;r._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return r;i.push(this)}var o=this._subscriptions;return null===o?this._subscriptions=[r]:o.push(r),r},e.prototype.remove=function(e){var t=this._subscriptions;if(t){var r=t.indexOf(e);-1!==r&&t.splice(r,1)}},e.EMPTY=function(e){return e.closed=!0,e}(new e),e}();function h(e){return e.reduce((function(e,t){return e.concat(t instanceof f?t.errors:t)}),[])}var d=function(){return"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}(),v=function(e){function t(r,n,i){var o=e.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=c;break;case 1:if(!r){o.destination=c;break}if("object"==typeof r){r instanceof t?(o.syncErrorThrowable=r.syncErrorThrowable,o.destination=r,r.add(o)):(o.syncErrorThrowable=!0,o.destination=new y(o,r));break}default:o.syncErrorThrowable=!0,o.destination=new y(o,r,n,i)}return o}return n(t,e),t.prototype[d]=function(){return this},t.create=function(e,r,n){var i=new t(e,r,n);return i.syncErrorThrowable=!1,i},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this},t}(p),y=function(e){function t(t,r,n,o){var s,a=e.call(this)||this;a._parentSubscriber=t;var u=a;return i(r)?s=r:r&&(s=r.next,n=r.error,o=r.complete,r!==c&&(i((u=Object.create(r)).unsubscribe)&&a.add(u.unsubscribe.bind(u)),u.unsubscribe=a.unsubscribe.bind(a))),a._context=u,a._next=s,a._error=n,a._complete=o,a}return n(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;s.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber,r=s.useDeprecatedSynchronousErrorHandling;if(this._error)r&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)r?(t.syncErrorValue=e,t.syncErrorThrown=!0):a(e),this.unsubscribe();else{if(this.unsubscribe(),r)throw e;a(e)}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var r=function(){return e._complete.call(e._context)};s.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,r),this.unsubscribe()):(this.__tryOrUnsub(r),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(e){if(this.unsubscribe(),s.useDeprecatedSynchronousErrorHandling)throw e;a(e)}},t.prototype.__tryOrSetError=function(e,t,r){if(!s.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,r)}catch(t){return s.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=t,e.syncErrorThrown=!0,!0):(a(t),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(v);var E=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}();function b(e){return e}function g(e){return 0===e.length?b:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}var m=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var n=this.operator,i=function(e,t,r){if(e){if(e instanceof v)return e;if(e[d])return e[d]()}return e||t||r?new v(e,t,r):new v(c)}(e,t,r);if(n?i.add(n.call(i,this.source)):i.add(this.source||s.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),s.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){s.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),!function(e){for(;e;){var t=e,r=t.closed,n=t.destination,i=t.isStopped;if(r||i)return!1;e=n&&n instanceof v?n:null}return!0}(e)?console.warn(t):e.error(t)}},e.prototype.forEach=function(e,t){var r=this;return new(t=S(t))((function(t,n){var i;i=r.subscribe((function(t){try{e(t)}catch(e){n(e),i&&i.unsubscribe()}}),n,t)}))},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[E]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?this:g(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=S(e))((function(e,r){var n;t.subscribe((function(e){return n=e}),(function(e){return r(e)}),(function(){return e(n)}))}))},e.create=function(t){return new e(t)},e}();function S(e){if(e||(e=s.Promise||Promise),!e)throw new Error("no Promise impl found");return e}function x(e,t){return function(r){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new _(e,t))}}var _=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new O(e,this.project,this.thisArg))},e}(),O=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.project=r,i.count=0,i.thisArg=n||i,i}return n(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(v);function w(e,t,r,n){return i(r)&&(n=r,r=void 0),n?w(e,t,r).pipe(x((function(e){return u(e)?n.apply(void 0,e):n(e)}))):new m((function(n){A(e,t,(function(e){arguments.length>1?n.next(Array.prototype.slice.call(arguments)):n.next(e)}),n,r)}))}function A(e,t,r,n,i){var o;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){var s=e;e.addEventListener(t,r,i),o=function(){return s.removeEventListener(t,r,i)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){var a=e;e.on(t,r),o=function(){return a.off(t,r)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){var c=e;e.addListener(t,r),o=function(){return c.removeListener(t,r)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var u=0,l=e.length;u<l;u++)A(e[u],t,r,n,i)}n.add(o)}var T=function(){function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e}(),R=new m((function(e){return e.complete()}));function P(e){return e?function(e){return new m((function(t){return e.schedule((function(){return t.complete()}))}))}(e):R}function C(e){return function(t){return 0===e?P():t.lift(new I(e))}}var I=function(){function e(e){if(this.total=e,this.total<0)throw new T}return e.prototype.call=function(e,t){return t.subscribe(new N(e,this.total))},e}(),N=function(e){function t(t,r){var n=e.call(this,t)||this;return n.total=r,n.count=0,n}return n(t,e),t.prototype._next=function(e){var t=this.total,r=++this.count;r<=t&&(this.destination.next(e),r===t&&(this.destination.complete(),this.unsubscribe()))},t}(v);const D=e=>t=>t===e,L=e=>t=>!e(t),U=e=>t=>e in t,M=(e,t)=>r=>t(r[e]);function j(...e){return t=>e.every((e=>e(t)))}const k=(...e)=>{console.log(...e)},G=(...e)=>{console.error(...e)},V=(...e)=>{console.warn(...e)};var H=r(9443),B=r.n(H);const F=e=>B()(e)&&U("addEventListener")(e)&&U("removeEventListener")(e)&&U("postMessage")(e)&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener&&"function"==typeof e.postMessage;var $=r(8793),W=r.n($);const Y=Symbol("Comlink.proxy"),z=Symbol("Comlink.endpoint"),J=Symbol("Comlink.releaseProxy"),K=Symbol("Comlink.thrown"),q=e=>"object"==typeof e&&null!==e||"function"==typeof e,Q=new Map([["proxy",{canHandle:e=>q(e)&&e[Y],serialize(e){const{port1:t,port2:r}=new MessageChannel;return X(e,t),[r,[r]]},deserialize:e=>(e.start(),ee(e))}],["throw",{canHandle:e=>q(e)&&K in e,serialize({value:e}){let t;return t=e instanceof Error?{isError:!0,value:{message:e.message,name:e.name,stack:e.stack}}:{isError:!1,value:e},[t,[]]},deserialize(e){if(e.isError)throw Object.assign(new Error(e.value.message),e.value);throw e.value}}]]);function X(e,t=self){t.addEventListener("message",(function r(n){if(!n||!n.data)return;const{id:i,type:o,path:s}=Object.assign({path:[]},n.data),a=(n.data.argumentList||[]).map(ae);let c;try{const t=s.slice(0,-1).reduce(((e,t)=>e[t]),e),r=s.reduce(((e,t)=>e[t]),e);switch(o){case 0:c=r;break;case 1:t[s.slice(-1)[0]]=ae(n.data.value),c=!0;break;case 2:c=r.apply(t,a);break;case 3:c=oe(new r(...a));break;case 4:{const{port1:t,port2:r}=new MessageChannel;X(e,r),c=function(e,t){return ie.set(e,t),e}(t,[t])}break;case 5:c=void 0}}catch(e){c={value:e,[K]:0}}Promise.resolve(c).catch((e=>({value:e,[K]:0}))).then((e=>{const[n,s]=se(e);t.postMessage(Object.assign(Object.assign({},n),{id:i}),s),5===o&&(t.removeEventListener("message",r),Z(t))}))})),t.start&&t.start()}function Z(e){(function(e){return"MessagePort"===e.constructor.name})(e)&&e.close()}function ee(e,t){return re(e,[],t)}function te(e){if(e)throw new Error("Proxy has been released and is not useable")}function re(e,t=[],r=function(){}){let n=!1;const i=new Proxy(r,{get(r,o){if(te(n),o===J)return()=>ce(e,{type:5,path:t.map((e=>e.toString()))}).then((()=>{Z(e),n=!0}));if("then"===o){if(0===t.length)return{then:()=>i};const r=ce(e,{type:0,path:t.map((e=>e.toString()))}).then(ae);return r.then.bind(r)}return re(e,[...t,o])},set(r,i,o){te(n);const[s,a]=se(o);return ce(e,{type:1,path:[...t,i].map((e=>e.toString())),value:s},a).then(ae)},apply(r,i,o){te(n);const s=t[t.length-1];if(s===z)return ce(e,{type:4}).then(ae);if("bind"===s)return re(e,t.slice(0,-1));const[a,c]=ne(o);return ce(e,{type:2,path:t.map((e=>e.toString())),argumentList:a},c).then(ae)},construct(r,i){te(n);const[o,s]=ne(i);return ce(e,{type:3,path:t.map((e=>e.toString())),argumentList:o},s).then(ae)}});return i}function ne(e){const t=e.map(se);return[t.map((e=>e[0])),(r=t.map((e=>e[1])),Array.prototype.concat.apply([],r))];var r}const ie=new WeakMap;function oe(e){return Object.assign(e,{[Y]:!0})}function se(e){for(const[t,r]of Q)if(r.canHandle(e)){const[n,i]=r.serialize(e);return[{type:3,name:t,value:n},i]}return[{type:0,value:e},ie.get(e)||[]]}function ae(e){switch(e.type){case 3:return Q.get(e.name).deserialize(e.value);case 0:return e.value}}function ce(e,t,r){return new Promise((n=>{const i=new Array(4).fill(0).map((()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16))).join("-");e.addEventListener("message",(function t(r){r.data&&r.data.id&&r.data.id===i&&(e.removeEventListener("message",t),n(r.data))})),e.start&&e.start(),e.postMessage(Object.assign({id:i},t),r)}))}var ue=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}(),le=function(e){function t(t,r){var n=e.call(this)||this;return n.subject=t,n.subscriber=r,n.closed=!1,n}return n(t,e),t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var r=t.indexOf(this.subscriber);-1!==r&&t.splice(r,1)}}},t}(p),fe=function(e){function t(t){var r=e.call(this,t)||this;return r.destination=t,r}return n(t,e),t}(v),pe=function(e){function t(){var t=e.call(this)||this;return t.observers=[],t.closed=!1,t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return n(t,e),t.prototype[d]=function(){return new fe(this)},t.prototype.lift=function(e){var t=new he(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new ue;if(!this.isStopped)for(var t=this.observers,r=t.length,n=t.slice(),i=0;i<r;i++)n[i].next(e)},t.prototype.error=function(e){if(this.closed)throw new ue;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,r=t.length,n=t.slice(),i=0;i<r;i++)n[i].error(e);this.observers.length=0},t.prototype.complete=function(){if(this.closed)throw new ue;this.isStopped=!0;for(var e=this.observers,t=e.length,r=e.slice(),n=0;n<t;n++)r[n].complete();this.observers.length=0},t.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},t.prototype._trySubscribe=function(t){if(this.closed)throw new ue;return e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){if(this.closed)throw new ue;return this.hasError?(e.error(this.thrownError),p.EMPTY):this.isStopped?(e.complete(),p.EMPTY):(this.observers.push(e),new le(this,e))},t.prototype.asObservable=function(){var e=new m;return e.source=this,e},t.create=function(e,t){return new he(e,t)},t}(m),he=function(e){function t(t,r){var n=e.call(this)||this;return n.destination=t,n.source=r,n}return n(t,e),t.prototype.next=function(e){var t=this.destination;t&&t.next&&t.next(e)},t.prototype.error=function(e){var t=this.destination;t&&t.error&&this.destination.error(e)},t.prototype.complete=function(){var e=this.destination;e&&e.complete&&this.destination.complete()},t.prototype._subscribe=function(e){return this.source?this.source.subscribe(e):p.EMPTY},t}(pe),de=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n.pending=!1,n}return n(t,e),t.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e;var r=this.id,n=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(n,r,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(n,this.id,t),this},t.prototype.requestAsyncId=function(e,t,r){return void 0===r&&(r=0),setInterval(e.flush.bind(e,this),r)},t.prototype.recycleAsyncId=function(e,t,r){if(void 0===r&&(r=0),null!==r&&this.delay===r&&!1===this.pending)return t;clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var r=this._execute(e,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var r=!1,n=void 0;try{this.work(e)}catch(e){r=!0,n=!!e&&e||new Error(e)}if(r)return this.unsubscribe(),n},t.prototype._unsubscribe=function(){var e=this.id,t=this.scheduler,r=t.actions,n=r.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==n&&r.splice(n,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null},t}(function(e){function t(t,r){return e.call(this)||this}return n(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(p)),ve=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return n(t,e),t.prototype.schedule=function(t,r){return void 0===r&&(r=0),r>0?e.prototype.schedule.call(this,t,r):(this.delay=r,this.state=t,this.scheduler.flush(this),this)},t.prototype.execute=function(t,r){return r>0||this.closed?e.prototype.execute.call(this,t,r):this._execute(t,r)},t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!==n&&n>0||null===n&&this.delay>0?e.prototype.requestAsyncId.call(this,t,r,n):t.flush(this)},t}(de),ye=function(){function e(t,r){void 0===r&&(r=e.now),this.SchedulerAction=t,this.now=r}return e.prototype.schedule=function(e,t,r){return void 0===t&&(t=0),new this.SchedulerAction(this,e).schedule(r,t)},e.now=function(){return Date.now()},e}(),Ee=function(e){function t(r,n){void 0===n&&(n=ye.now);var i=e.call(this,r,(function(){return t.delegate&&t.delegate!==i?t.delegate.now():n()}))||this;return i.actions=[],i.active=!1,i.scheduled=void 0,i}return n(t,e),t.prototype.schedule=function(r,n,i){return void 0===n&&(n=0),t.delegate&&t.delegate!==this?t.delegate.schedule(r,n,i):e.prototype.schedule.call(this,r,n,i)},t.prototype.flush=function(e){var t=this.actions;if(this.active)t.push(e);else{var r;this.active=!0;do{if(r=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,r){for(;e=t.shift();)e.unsubscribe();throw r}}},t}(ye),be=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t}(Ee))(ve);function ge(e){return e&&"function"==typeof e.schedule}var me,Se=function(e){return function(t){for(var r=0,n=e.length;r<n&&!t.closed;r++)t.next(e[r]);t.complete()}};function xe(e,t){return new m((function(r){var n=new p,i=0;return n.add(t.schedule((function(){i!==e.length?(r.next(e[i++]),r.closed||n.add(this.schedule())):r.complete()}))),n}))}function _e(e,t){return t?xe(e,t):new m(Se(e))}function Oe(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[e.length-1];return ge(r)?(e.pop(),xe(e,r)):_e(e)}function we(e,t){return new m(t?function(r){return t.schedule(Ae,0,{error:e,subscriber:r})}:function(t){return t.error(e)})}function Ae(e){var t=e.error;e.subscriber.error(t)}me||(me={});var Te=function(){function e(e,t,r){this.kind=e,this.value=t,this.error=r,this.hasValue="N"===e}return e.prototype.observe=function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}},e.prototype.do=function(e,t,r){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return r&&r()}},e.prototype.accept=function(e,t,r){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,r)},e.prototype.toObservable=function(){switch(this.kind){case"N":return Oe(this.value);case"E":return we(this.error);case"C":return P()}throw new Error("unexpected notification kind value")},e.createNext=function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}();var Re=function(e){function t(t,r,n){void 0===n&&(n=0);var i=e.call(this,t)||this;return i.scheduler=r,i.delay=n,i}return n(t,e),t.dispatch=function(e){var t=e.notification,r=e.destination;t.observe(r),this.unsubscribe()},t.prototype.scheduleMessage=function(e){this.destination.add(this.scheduler.schedule(t.dispatch,this.delay,new Pe(e,this.destination)))},t.prototype._next=function(e){this.scheduleMessage(Te.createNext(e))},t.prototype._error=function(e){this.scheduleMessage(Te.createError(e)),this.unsubscribe()},t.prototype._complete=function(){this.scheduleMessage(Te.createComplete()),this.unsubscribe()},t}(v),Pe=function(){return function(e,t){this.notification=e,this.destination=t}}(),Ce=function(e){function t(t,r,n){void 0===t&&(t=Number.POSITIVE_INFINITY),void 0===r&&(r=Number.POSITIVE_INFINITY);var i=e.call(this)||this;return i.scheduler=n,i._events=[],i._infiniteTimeWindow=!1,i._bufferSize=t<1?1:t,i._windowTime=r<1?1:r,r===Number.POSITIVE_INFINITY?(i._infiniteTimeWindow=!0,i.next=i.nextInfiniteTimeWindow):i.next=i.nextTimeWindow,i}return n(t,e),t.prototype.nextInfiniteTimeWindow=function(t){if(!this.isStopped){var r=this._events;r.push(t),r.length>this._bufferSize&&r.shift()}e.prototype.next.call(this,t)},t.prototype.nextTimeWindow=function(t){this.isStopped||(this._events.push(new Ie(this._getNow(),t)),this._trimBufferThenGetEvents()),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){var t,r=this._infiniteTimeWindow,n=r?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,o=n.length;if(this.closed)throw new ue;if(this.isStopped||this.hasError?t=p.EMPTY:(this.observers.push(e),t=new le(this,e)),i&&e.add(e=new Re(e,i)),r)for(var s=0;s<o&&!e.closed;s++)e.next(n[s]);else for(s=0;s<o&&!e.closed;s++)e.next(n[s].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),t},t.prototype._getNow=function(){return(this.scheduler||be).now()},t.prototype._trimBufferThenGetEvents=function(){for(var e=this._getNow(),t=this._bufferSize,r=this._windowTime,n=this._events,i=n.length,o=0;o<i&&!(e-n[o].time<r);)o++;return i>t&&(o=Math.max(o,i-t)),o>0&&n.splice(0,o),n},t}(pe),Ie=function(){return function(e,t){this.time=e,this.value=t}}();const Ne=e=>"object"==typeof e&&null!==e&&("stack"in e||"message"in e)&&!("__typename"in e),De=e=>e instanceof Error?e:Ne(e)?Object.assign(new Error(e.message),e):new Error(String(e));class Le extends Error{name="AbortError";message="Aborted"}const Ue=e=>"object"==typeof e&&null!==e&&U("href")(e)&&U("toString")(e)&&"function"==typeof e.toString&&e.href===e.toString();const Me=e=>new p((async()=>{const t=await e;await t.unsubscribe(),"function"==typeof t[J]&&t[J]()})),je=e=>"object"==typeof e&&null!==e&&U("then")(e)&&"function"==typeof e.then;var ke=function(e){function t(t){var r=e.call(this)||this;return r._value=t,r}return n(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),t.prototype._subscribe=function(t){var r=e.prototype._subscribe.call(this,t);return r&&!r.closed&&t.next(this._value),r},t.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new ue;return this._value},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(pe),Ge=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.notifyNext=function(e,t,r,n,i){this.destination.next(t)},t.prototype.notifyError=function(e,t){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t}(v),Ve=function(e){function t(t,r,n){var i=e.call(this)||this;return i.parent=t,i.outerValue=r,i.outerIndex=n,i.index=0,i}return n(t,e),t.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},t.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t}(v);function He(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var Be=He(),Fe=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function $e(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}var We=function(e){if(e&&"function"==typeof e[E])return n=e,function(e){var t=n[E]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(Fe(e))return Se(e);if($e(e))return r=e,function(e){return r.then((function(t){e.closed||(e.next(t),e.complete())}),(function(t){return e.error(t)})).then(null,a),e};if(e&&"function"==typeof e[Be])return t=e,function(e){for(var r=t[Be]();;){var n=void 0;try{n=r.next()}catch(t){return e.error(t),e}if(n.done){e.complete();break}if(e.next(n.value),e.closed)break}return"function"==typeof r.return&&e.add((function(){r.return&&r.return()})),e};var t,r,n,i=l(e)?"an invalid object":"'"+e+"'";throw new TypeError("You provided "+i+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")};function Ye(e,t,r,n,i){if(void 0===i&&(i=new Ve(e,r,n)),!i.closed)return t instanceof m?t.subscribe(i):We(t)(i)}var ze={};function Je(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=void 0,n=void 0;return ge(e[e.length-1])&&(n=e.pop()),"function"==typeof e[e.length-1]&&(r=e.pop()),1===e.length&&u(e[0])&&(e=e[0]),_e(e,n).lift(new Ke(r))}var Ke=function(){function e(e){this.resultSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new qe(e,this.resultSelector))},e}(),qe=function(e){function t(t,r){var n=e.call(this,t)||this;return n.resultSelector=r,n.active=0,n.values=[],n.observables=[],n}return n(t,e),t.prototype._next=function(e){this.values.push(ze),this.observables.push(e)},t.prototype._complete=function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(var r=0;r<t;r++){var n=e[r];this.add(Ye(this,n,void 0,r))}}},t.prototype.notifyComplete=function(e){0==(this.active-=1)&&this.destination.complete()},t.prototype.notifyNext=function(e,t,r){var n=this.values,i=n[r],o=this.toRespond?i===ze?--this.toRespond:this.toRespond:0;n[r]=t,0===o&&(this.resultSelector?this._tryResultSelector(n):this.destination.next(n.slice()))},t.prototype._tryResultSelector=function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(Ge);function Qe(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[E]}(e))return function(e,t){return new m((function(r){var n=new p;return n.add(t.schedule((function(){var i=e[E]();n.add(i.subscribe({next:function(e){n.add(t.schedule((function(){return r.next(e)})))},error:function(e){n.add(t.schedule((function(){return r.error(e)})))},complete:function(){n.add(t.schedule((function(){return r.complete()})))}}))}))),n}))}(e,t);if($e(e))return function(e,t){return new m((function(r){var n=new p;return n.add(t.schedule((function(){return e.then((function(e){n.add(t.schedule((function(){r.next(e),n.add(t.schedule((function(){return r.complete()})))})))}),(function(e){n.add(t.schedule((function(){return r.error(e)})))}))}))),n}))}(e,t);if(Fe(e))return xe(e,t);if(function(e){return e&&"function"==typeof e[Be]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new m((function(r){var n,i=new p;return i.add((function(){n&&"function"==typeof n.return&&n.return()})),i.add(t.schedule((function(){n=e[Be](),i.add(t.schedule((function(){if(!r.closed){var e,t;try{var i=n.next();e=i.value,t=i.done}catch(e){return void r.error(e)}t?r.complete():(r.next(e),this.schedule())}})))}))),i}))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}function Xe(e,t){return t?Qe(e,t):e instanceof m?e:new m(We(e))}var Ze=function(){function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e}();function et(e,t){return function(r){return r.lift(new tt(e,t))}}var tt=function(){function e(e,t){this.predicate=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new rt(e,this.predicate,this.thisArg))},e}(),rt=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.predicate=r,i.thisArg=n,i.count=0,i}return n(t,e),t.prototype._next=function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}t&&this.destination.next(e)},t}(v);function nt(e){return void 0===e&&(e=null),function(t){return t.lift(new it(e))}}var it=function(){function e(e){this.defaultValue=e}return e.prototype.call=function(e,t){return t.subscribe(new ot(e,this.defaultValue))},e}(),ot=function(e){function t(t,r){var n=e.call(this,t)||this;return n.defaultValue=r,n.isEmpty=!0,n}return n(t,e),t.prototype._next=function(e){this.isEmpty=!1,this.destination.next(e)},t.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},t}(v);function st(e){return void 0===e&&(e=ut),function(t){return t.lift(new at(e))}}var at=function(){function e(e){this.errorFactory=e}return e.prototype.call=function(e,t){return t.subscribe(new ct(e,this.errorFactory))},e}(),ct=function(e){function t(t,r){var n=e.call(this,t)||this;return n.errorFactory=r,n.hasValue=!1,n}return n(t,e),t.prototype._next=function(e){this.hasValue=!0,this.destination.next(e)},t.prototype._complete=function(){if(this.hasValue)return this.destination.complete();var e=void 0;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)},t}(v);function ut(){return new Ze}var lt=function(e){function t(t){var r=e.call(this)||this;return r.parent=t,r}return n(t,e),t.prototype._next=function(e){this.parent.notifyNext(e)},t.prototype._error=function(e){this.parent.notifyError(e),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(),this.unsubscribe()},t}(v),ft=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.notifyNext=function(e){this.destination.next(e)},t.prototype.notifyError=function(e){this.destination.error(e)},t.prototype.notifyComplete=function(){this.destination.complete()},t}(v);function pt(e,t){if(!t.closed){if(e instanceof m)return e.subscribe(t);var r;try{r=We(e)(t)}catch(e){t.error(e)}return r}}function ht(e,t){return"function"==typeof t?function(r){return r.pipe(ht((function(r,n){return Xe(e(r,n)).pipe(x((function(e,i){return t(r,e,n,i)})))})))}:function(t){return t.lift(new dt(e))}}var dt=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new vt(e,this.project))},e}(),vt=function(e){function t(t,r){var n=e.call(this,t)||this;return n.project=r,n.index=0,n}return n(t,e),t.prototype._next=function(e){var t,r=this.index++;try{t=this.project(e,r)}catch(e){return void this.destination.error(e)}this._innerSub(t)},t.prototype._innerSub=function(e){var t=this.innerSubscription;t&&t.unsubscribe();var r=new lt(this),n=this.destination;n.add(r),this.innerSubscription=pt(e,r),this.innerSubscription!==r&&n.add(this.innerSubscription)},t.prototype._complete=function(){var t=this.innerSubscription;t&&!t.closed||e.prototype._complete.call(this),this.unsubscribe()},t.prototype._unsubscribe=function(){this.innerSubscription=void 0},t.prototype.notifyComplete=function(){this.innerSubscription=void 0,this.isStopped&&e.prototype._complete.call(this)},t.prototype.notifyNext=function(e){this.destination.next(e)},t}(ft);function yt(){}function Et(e,t,r){return function(n){return n.lift(new bt(e,t,r))}}var bt=function(){function e(e,t,r){this.nextOrObserver=e,this.error=t,this.complete=r}return e.prototype.call=function(e,t){return t.subscribe(new gt(e,this.nextOrObserver,this.error,this.complete))},e}(),gt=function(e){function t(t,r,n,o){var s=e.call(this,t)||this;return s._tapNext=yt,s._tapError=yt,s._tapComplete=yt,s._tapError=n||yt,s._tapComplete=o||yt,i(r)?(s._context=s,s._tapNext=r):r&&(s._context=r,s._tapNext=r.next||yt,s._tapError=r.error||yt,s._tapComplete=r.complete||yt),s}return n(t,e),t.prototype._next=function(e){try{this._tapNext.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.next(e)},t.prototype._error=function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)},t.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()},t}(v);function mt(e,t){return function(r){return r.lift(new St(e,t))}}var St=function(){function e(e,t){this.compare=e,this.keySelector=t}return e.prototype.call=function(e,t){return t.subscribe(new xt(e,this.compare,this.keySelector))},e}(),xt=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.keySelector=n,i.hasKey=!1,"function"==typeof r&&(i.compare=r),i}return n(t,e),t.prototype.compare=function(e,t){return e===t},t.prototype._next=function(e){var t;try{var r=this.keySelector;t=r?r(e):e}catch(e){return this.destination.error(e)}var n=!1;if(this.hasKey)try{n=(0,this.compare)(this.key,t)}catch(e){return this.destination.error(e)}else this.hasKey=!0;n||(this.key=t,this.destination.next(e))},t}(v);function _t(e,t,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),"function"==typeof t?function(n){return n.pipe(_t((function(r,n){return Xe(e(r,n)).pipe(x((function(e,i){return t(r,e,n,i)})))}),r))}:("number"==typeof t&&(r=t),function(t){return t.lift(new Ot(e,r))})}var Ot=function(){function e(e,t){void 0===t&&(t=Number.POSITIVE_INFINITY),this.project=e,this.concurrent=t}return e.prototype.call=function(e,t){return t.subscribe(new wt(e,this.project,this.concurrent))},e}(),wt=function(e){function t(t,r,n){void 0===n&&(n=Number.POSITIVE_INFINITY);var i=e.call(this,t)||this;return i.project=r,i.concurrent=n,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return n(t,e),t.prototype._next=function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)},t.prototype._tryNext=function(e){var t,r=this.index++;try{t=this.project(e,r)}catch(e){return void this.destination.error(e)}this.active++,this._innerSub(t)},t.prototype._innerSub=function(e){var t=new lt(this),r=this.destination;r.add(t);var n=pt(e,t);n!==t&&r.add(n)},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},t.prototype.notifyNext=function(e){this.destination.next(e)},t.prototype.notifyComplete=function(){var e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(ft);function At(e){return function(t){var r=new Tt(e),n=t.lift(r);return r.caught=n}}var Tt=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new Rt(e,this.selector,this.caught))},e}(),Rt=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.selector=r,i.caught=n,i}return n(t,e),t.prototype.error=function(t){if(!this.isStopped){var r=void 0;try{r=this.selector(t,this.caught)}catch(t){return void e.prototype.error.call(this,t)}this._unsubscribeAndRecycle();var n=new lt(this);this.add(n);var i=pt(r,n);i!==n&&this.add(i)}},t}(ft);new Set(["sourcegraph/code-stats-insights","sourcegraph/search-insights"]);function Pt(e,t){if(!Ne(e.subjects)&&e.subjects){const r=e.subjects.find((e=>e.subject.__typename===t));if(r&&!Ne(r.settings))return r.settings?.extensions}}var Ct=r(1795),It=r.n(Ct);class Nt extends p{constructor(e){super((()=>{e[J]()}))}}const Dt=(e,t)=>{const r=new p;t&&t.add(r);const n=Xe(je(e)?e:Promise.resolve(e)).pipe(_t((e=>(r.add(new Nt(e)),{[E](){return this},subscribe(...t){let r;if("function"==typeof t[0])r={[Y]:!0,next:t[0]||It(),error:t[1]?e=>t[1](De(e)):It(),complete:t[2]||It()};else{const e=t[0]||{};r={[Y]:!0,next:e.next?t=>e.next(t):It(),error:e.error?t=>e.error(De(t)):It(),complete:e.complete?()=>e.complete():It()}}return Me(e.subscribe(r))}}))));return Object.assign(n,{proxySubscription:r})};var Lt=r(2664),Ut=r.n(Lt);let Mt;!function(e){e[e.Operator=0]="Operator",e[e.Identifier=1]="Identifier",e[e.String=2]="String",e[e.TemplateHead=3]="TemplateHead",e[e.TemplateMiddle=4]="TemplateMiddle",e[e.TemplateTail=5]="TemplateTail",e[e.NoSubstitutionTemplate=6]="NoSubstitutionTemplate",e[e.Number=7]="Number"}(Mt||(Mt={}));const jt={"&":{"&":!0},"|":{"|":!0},"=":{"\0":!0,"=":{"\0":!0,"=":!0}},"!":{"\0":!0,"=":{"\0":!0,"=":!0}},"<":{"\0":!0,"=":!0},">":{"\0":!0,"=":!0},"^":!0,"}":!0,"(":!0,")":!0,",":!0,"+":!0,"-":!0,"*":!0,"/":!0,"%":!0};function kt(e){return"\t"===e||" "===e||"\xa0"===e}function Gt(e){return e>="0"&&e<="9"}function Vt(e){return"_"===e||function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"}(e)}function Ht(e){return Vt(e)||Gt(e)||"."===e}class Bt{expression="";length=0;_index=0;marker=0;curlyStack=0;get index(){return this._index}reset(e){this.expression=e,this.length=e.length,this._index=0,this.curlyStack=0}next(){if(this.skipSpaces(),this._index>=this.length)return;this.marker=this._index;const e=this.scanNext();if(void 0!==e)return e;throw new SyntaxError(`Unexpected character ${JSON.stringify(this.peekNextChar())} (at ${this.index})`)}peek(){const e=this._index,t=this.curlyStack;let r;try{r=this.next()}catch{r=void 0}if(this._index=e,this.curlyStack=t,r)return{type:r.type,value:r.value}}scanNext(){let e=this.scanString();return void 0!==e?e:(e=this.scanTemplate(),void 0!==e?e:(e=this.scanNumber(),void 0!==e?e:(e=this.scanOperator(),void 0!==e?e:(e=this.scanIdentifier(),void 0!==e?e:void 0))))}peekNextChar(e=0){const t=this._index+e;return t<this.length?this.expression.charAt(t):"\0"}getNextChar(){let e="\0";const t=this._index;return t<this.length&&(e=this.expression.charAt(t),this._index+=1),e}createToken(e,t){return{type:e,value:t,start:this.marker,end:this._index}}skipSpaces(){for(;this._index<this.length;){if(!kt(this.peekNextChar()))break;this.getNextChar()}}scanOperator(){let e=jt,t="";for(;e&&!0!==e;){const r=this.peekNextChar();e=e[r],e&&(t+=r,this.getNextChar())}if("}"===t&&this.curlyStack--,""!==t)return this.createToken(Mt.Operator,t)}scanIdentifier(){let e=this.peekNextChar();if(!Vt(e))return;let t=this.getNextChar();for(;e=this.peekNextChar(),Ht(e);)t+=this.getNextChar();return this.createToken(Mt.Identifier,t)}scanString(){const e=this.peekNextChar();if("'"!==e&&'"'!==e)return;this.getNextChar();let t=!1,r="";for(;this._index<this.length;){const n=this.getNextChar();if(n===e){t=!0;break}r+="\\"===n?$t(this.getNextChar()):n}if(!t)throw new Error(`Unterminated string literal (at ${this.index})`);return this.createToken(Mt.String,r)}scanTemplate(){const e=this.peekNextChar();if(!("`"===e||"}"===e&&this.curlyStack>0))return;this.getNextChar();const t="`"===e;return this.doScanTemplate(t)}backtick(){return!0}doScanTemplate(e){let t,r=!1,n=!1,i=!1,o="";for(;this._index<this.length;){const e=this.getNextChar();if("`"===e&&this.backtick()){r=!0,n=!0;break}if("\\"===e)o+=$t(this.getNextChar());else{if("$"===e){if("{"===this.peekNextChar()){this.curlyStack++,this.getNextChar(),n=!0,i=!0;break}}o+=e}}if(e||this.curlyStack--,this.backtick()){if(!n)throw new Error(`Unterminated template literal (at ${this.index})`)}else this._index===this.length&&(r=!0);return t=e&&n&&!i?Mt.NoSubstitutionTemplate:e?Mt.TemplateHead:r?Mt.TemplateTail:Mt.TemplateMiddle,this.createToken(t,o)}scanNumber(){let e=this.peekNextChar();if(!Gt(e)&&"."!==e)return;let t="";if("."!==e)for(t=this.getNextChar();e=this.peekNextChar(),Gt(e);)t+=this.getNextChar();if("."===e)for(t+=this.getNextChar();e=this.peekNextChar(),Gt(e);)t+=this.getNextChar();if("e"===e||"E"===e){if(t+=this.getNextChar(),e=this.peekNextChar(),"+"!==e&&"-"!==e&&!Gt(e))throw e=`character ${JSON.stringify(e)}`,this._index>=this.length&&(e="<end>"),new SyntaxError(`Unexpected ${e} after the exponent sign (at ${this.index})`);for(t+=this.getNextChar();e=this.peekNextChar(),Gt(e);)t+=this.getNextChar()}if("."===t)throw new SyntaxError(`Expected decimal digits after the dot sign (at ${this.index})`);return this.createToken(Mt.Number,t)}}class Ft extends Bt{next(){return 0===this._index?this.doScanTemplate(!0):super.next()}backtick(){return 0!==this.curlyStack}}function $t(e){switch(e){case"n":return"\n";case"r":return"\r";case"t":return"\t";default:return e}}class Wt{parse(e){this.lexer||(this.lexer=new Bt),this.lexer.reset(e);const t=this.parseExpression(),r=this.lexer.next();if(void 0!==r)throw new SyntaxError(`Unexpected token at end of input: ${JSON.stringify(r.value)} (at ${this.lexer.index})`);return t}parseArgumentList(){const e=[];for(;;){const t=this.parseExpression();if(void 0===t)throw new Error(`Parse error on token in arguments list: ${JSON.stringify(this.lexer.peek())} (at ${this.lexer.index})`);e.push(t);if(!zt(this.lexer.peek(),","))break;this.lexer.next()}return e}parseFunctionCall(e){let t=this.lexer.next();if(!zt(t,"("))throw new SyntaxError(`Expected "(" in function call ${JSON.stringify(e)} (at ${this.lexer.index})`);t=this.lexer.peek();const r=zt(t,")")?[]:this.parseArgumentList();if(t=this.lexer.next(),!zt(t,")"))throw new SyntaxError(`Expected ")" in function call ${JSON.stringify(e)} (at ${this.lexer.index})`);return{FunctionCall:{name:e,args:r}}}parseTemplateParts(){const e=[];for(;;){const t=this.lexer.peek();if(!t)break;if(t.type===Mt.TemplateTail){t.value&&e.push({Literal:{type:Mt.String,value:t.value}}),this.lexer.next();break}zt(t,"}")?this.lexer.next():t.type===Mt.TemplateMiddle?(t.value&&e.push({Literal:{type:Mt.String,value:t.value}}),this.lexer.next()):e.push(this.parseExpression())}return e}parseTemplate(){const e=this.lexer.peek();if(void 0===e)throw new SyntaxError(`Unexpected termination of expression at beginning of template (at ${this.lexer.index})`);if(e.type===Mt.NoSubstitutionTemplate)return this.lexer.next(),{Literal:{type:Mt.String,value:e.value}};if(e.type===Mt.TemplateHead||e.type===Mt.TemplateMiddle){this.lexer.next();const t=this.parseTemplateParts();return e.value&&t.unshift({Literal:{type:Mt.String,value:e.value}}),{Template:{parts:t}}}throw new SyntaxError(`Unexpected token at beginning of template: ${JSON.stringify(e.value)} (at ${this.lexer.index})`)}parsePrimary(){const e=this.lexer.peek();if(void 0===e)throw new SyntaxError(`Unexpected termination of expression (at ${this.lexer.index})`);if(e.type===Mt.Identifier)return this.lexer.next(),zt(this.lexer.peek(),"(")?this.parseFunctionCall(e.value):{Identifier:e.value};if(e.type===Mt.String||e.type===Mt.Number)return this.lexer.next(),{Literal:{type:e.type,value:e.value}};if(e.type===Mt.NoSubstitutionTemplate||e.type===Mt.TemplateHead||e.type===Mt.TemplateMiddle)return this.parseTemplate();if(zt(e,"(")){this.lexer.next();const e=this.parseAdditive();if(!zt(this.lexer.next(),")"))throw new SyntaxError(`Expected ")" (at ${this.lexer.index})`);return e}throw new SyntaxError(`Parse error on token: ${JSON.stringify(e.value)} (at ${this.lexer.index})`)}parseUnary(){const e=this.lexer.peek();if(void 0!==e&&(zt(e,"-")||zt(e,"+")||zt(e,"!"))){this.lexer.next();const t=this.parseUnary();return{Unary:{operator:e.value,expression:t}}}return this.parsePrimary()}parseMultiplicative(){let e=this.parseUnary(),t=this.lexer.peek();for(;void 0!==t&&(zt(t,"*")||zt(t,"/")||zt(t,"%"));)this.lexer.next(),e={Binary:{operator:t.value,left:e,right:this.parseUnary()}},t=this.lexer.peek();return e}parseAdditive(){let e=this.parseMultiplicative(),t=this.lexer.peek();for(;void 0!==t&&(zt(t,"+")||zt(t,"-")||zt(t,"==")||zt(t,"!=")||zt(t,"===")||zt(t,"!==")||zt(t,"<")||zt(t,">")||zt(t,"<=")||zt(t,">=")||zt(t,"&&")||zt(t,"||"));)this.lexer.next(),e={Binary:{operator:t.value,left:e,right:this.parseMultiplicative()}},t=this.lexer.peek();return e}parseExpression(){return this.parseAdditive()}}class Yt extends Wt{parse(e){this.lexer||(this.lexer=new Ft),this.lexer.reset(e);const t=this.parseTemplate(),r=this.lexer.next();if(void 0!==r)throw new SyntaxError(`Unexpected token at end of template input: ${JSON.stringify(r.value)} (at ${this.lexer.index})`);return t}}function zt(e,t){return void 0!==e&&e.type===Mt.Operator&&e.value===t}class Jt{constructor(e){this.root=e}exec(e){return Zt(this.root,e)}}class Kt extends Jt{}function qt(e){return new Jt((new Wt).parse(e))}function Qt(e){return new Kt((new Yt).parse(e))}const Xt={get:(e,t)=>e?.[t]??void 0,json:e=>JSON.stringify(e),sub:(e,t,r)=>e.replaceAll(t,r)};function Zt(e,t){if("Literal"in e)switch(e.Literal.type){case Mt.String:return e.Literal.value;case Mt.Number:return parseFloat(e.Literal.value);default:throw new SyntaxError(`Unrecognized literal of type ${Mt[e.Literal.type]}`)}if("Template"in e){const r=[];for(const n of e.Template.parts)r.push(Zt(n,t));return r.join("")}if("Binary"in e){const r=Zt(e.Binary.left,t),n=()=>Zt(e.Binary.right,t);switch(e.Binary.operator){case"&&":return r&&n();case"||":return r||n();case"==":return r==n();case"!=":return r!=n();case"===":return r===n();case"!==":return r!==n();case"<":return r<n();case">":return r>n();case"<=":return r<=n();case">=":return r>=n();case"+":return r+n();case"-":return r-n();case"*":return r*n();case"/":return r/n();case"^":return r^n();case"%":return r%n();default:throw new SyntaxError(`Invalid operator: ${e.Binary.operator}`)}}if("Unary"in e){const r=Zt(e.Unary.expression,t);switch(e.Unary.operator){case"!":return!r;case"+":return r;case"-":return-r;default:throw new SyntaxError(`Invalid operator: ${e.Unary.operator}`)}}if("Identifier"in e){switch(e.Identifier){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"context":return t}return t[e.Identifier]}if("FunctionCall"in e){const r=e.FunctionCall,n=Xt[r.name];if("function"==typeof n){return n(...r.args.map((e=>Zt(e,t))))}throw new SyntaxError(`Undefined function: ${r.name}`)}throw new SyntaxError("Unrecognized syntax node")}function er(e){if(0===e.length)return{};if(1===e.length)return e[0];const t={};for(const r of e){if(r.actions)try{t.actions?t.actions=[...t.actions,...r.actions]:t.actions=[...r.actions]}catch{}if(r.menus)try{if(t.menus)for(const[e,n]of Object.entries(r.menus)){const r=t.menus[e];try{t.menus[e]=r?[...r,...n]:[...n]}catch{}}else t.menus={...r.menus}}catch{}if(r.views)try{t.views?t.views=[...t.views,...r.views]:t.views=[...r.views]}catch{}if(r.searchFilters)try{t.searchFilters?t.searchFilters=[...t.searchFilters,...r.searchFilters]:t.searchFilters=[...r.searchFilters]}catch{}}return t}function tr(e,t){return t?.map((t=>({...t,title:t.title?.exec(e),disabledTitle:t.disabledTitle?.exec(e),category:t.category?.exec(e),description:t.description?.exec(e),iconURL:t.iconURL?.exec(e),actionItem:t.actionItem&&{...t.actionItem,label:t.actionItem.label?.exec(e),description:t.actionItem.description?.exec(e),iconURL:t.actionItem.iconURL?.exec(e),iconDescription:t.actionItem.iconDescription?.exec(e),pressed:t.actionItem.pressed?.exec(e)},commandArguments:t.commandArguments?.map((t=>t instanceof Jt?t.exec(e):t))})))}function rr(e){return{...e,menus:e.menus&&Ut()(e.menus,(e=>e?.map((e=>({...e,when:"string"==typeof e.when?qt(e.when):void 0,disabledWhen:"string"==typeof e.disabledWhen?qt(e.disabledWhen):void 0}))))),actions:e&&(t=e.actions,t?.map((e=>({...e,title:nr(e.title,Qt),disabledTitle:nr(e.disabledTitle,Qt),category:nr(e.category,Qt),description:nr(e.description,Qt),iconURL:nr(e.iconURL,Qt),actionItem:e.actionItem&&{...e.actionItem,label:nr(e.actionItem.label,Qt),description:nr(e.actionItem.description,Qt),iconURL:nr(e.actionItem.iconURL,Qt),iconDescription:nr(e.actionItem.iconDescription,Qt),pressed:nr(e.actionItem.pressed,(e=>qt(e)))},commandArguments:e.commandArguments?.map((e=>"string"==typeof e?Qt(e):e))}))))};var t}const nr=(e,t)=>void 0===e?void 0:t(e);function ir(e,t){const r=new ke(new Set),n=t.pipe(function(e,t){var r=arguments.length>=2;return function(n){return n.pipe(e?et((function(t,r){return e(t,r,n)})):b,C(1),r?nt(t):st((function(){return new Ze})))}}((e=>e)),ht((()=>Dt(e.getEnabledExtensions())))),i=new Set,o=Je([r,n]).pipe(Et((([e,t])=>{const r=function(e,t){const r=new Set([...t].map((e=>`onLanguage:${e}`)));return e.filter((e=>{try{if(!e.manifest){const t=/^sourcegraph\/lang-(.*)$/.exec(e.id);return V(t?`Extension ${e.id} has been renamed to sourcegraph/${t[1]}. It's safe to remove ${e.id} from your settings.`:`Extension ${e.id} was not found. Remove it from settings to suppress this warning.`),!1}return Ne(e.manifest)?(V(e.manifest),!1):e.manifest.activationEvents?e.manifest.activationEvents.some((e=>"*"===e||r.has(e))):(V(`Extension ${e.id} has no activation events, so it will never be activated.`),!1)}catch(e){G(e)}return!1}))}(t,e);for(const e of r)i.has(e.id)||i.add(e.id)})),x((([,e])=>e?e.filter((e=>i.has(e.id))):[])),mt(((e,t)=>function(e,t){const r=new Set(e.map((({id:e})=>e))),n=new Set(t.map((({id:e})=>e)));for(const e of r)if(!n.has(e))return!1;for(const e of n)if(!r.has(e))return!1;return!0}(e,t))));return{activeLanguages:r,activeExtensions:o}}const or=new Set(["sourcegraph/code-stats-insights","sourcegraph/search-insights"]);function sr(e,t,r,n,i=cr,o=ur){const s=new Set,a=new Map,c=new Map;var u,l;return Je([e.activeExtensions]).pipe((u=([n])=>{const u=new Set,l=new Map,f=new Set;for(const e of n)or.has(e.id)||(f.add(e.id),s.has(e.id)||l.set(e.id,e));for(const e of s)f.has(e)||u.add(e);const p=[...l.values()].map((e=>"scriptURL"in e?e.scriptURL:function(e){if(!e.manifest)throw new Error(`extension ${JSON.stringify(e.id)}: no manifest found`);if(Ne(e.manifest))throw new Error(`extension ${JSON.stringify(e.id)}: invalid manifest: ${e.manifest.message}`);if(!e.manifest.url)throw new Error(`extension ${JSON.stringify(e.id)}: no "url" property in manifest`);return e.manifest.url}(e)));return Oe({toActivate:[...l.values()].map(((e,t)=>({id:e.id,manifest:e.manifest,scriptURL:p[t]}))).filter((e=>"string"==typeof e.scriptURL)),toDeactivate:u}).pipe(Et((({toActivate:e})=>{for(const t of e)if(t.manifest&&!Ne(t.manifest)&&t.manifest.contributes){const e=rr(t.manifest.contributes);a.set(t.id,e),c.set(t.id,e)}})),x((({toActivate:n,toDeactivate:s})=>{const a=Pt(e.settings.value,"DefaultSettings")||{};return Xe(Promise.all([n.map((async({id:e,scriptURL:n})=>{if(!a[e])try{const r=function(e){const t=e.split("/");return 3===t.length?{host:t[0],publisher:t[1],name:t[2]}:{publisher:t[0]??"",name:t[1]??"",isSourcegraphExtension:"sourcegraph"===t[0]}}(e).host?await async function(e){const t=(new TextEncoder).encode(e),r=await crypto.subtle.digest("SHA-256",t),n=[...new Uint8Array(r)];return btoa(String.fromCharCode(...n))}(e):e;t.logEvent("ExtensionActivation",{extension_id:r}).catch((()=>{}))}catch(t){G(`Fail to log ExtensionActivation event for extension ${e}:`,De(t))}return k(`Activating Sourcegraph extension: ${e}`),i(e,n,r).catch((t=>G(`Error activating extension ${e}:`,De(t))))})),[...s].map((e=>o(e).catch((t=>G(`Error deactivating extension ${e}:`,De(t))))))]))})),x((()=>({activated:l,deactivated:u}))),At((e=>(G("Uncaught error during extension activation",e),[]))))},_t(u,l,1))).subscribe((({activated:t,deactivated:r})=>{const n=[...r].map((e=>a.get(e))).filter(Boolean);for(const e of r)s.delete(e),a.delete(e);for(const[e]of t)s.add(e);c.size>0&&(e.contributions.next([...e.contributions.value,...c.values()]),c.clear()),n.length>0&&e.contributions.next(e.contributions.value.filter((e=>!n.includes(e)))),!1===e.haveInitialExtensionsLoaded.value&&e.haveInitialExtensionsLoaded.next(!0)}))}const ar=new Map;async function cr(e,t,r){try{lr(r(e));const n={};self.exports=n,self.module={exports:n},self.importScripts(t)}catch(r){throw new Error(`error thrown while executing extension ${JSON.stringify(e)} bundle (in importScripts of ${t}): ${String(r)}`)}const n=self.module.exports;if(delete self.exports,delete self.module,!("activate"in n))throw new Error(`extension bundle for ${JSON.stringify(e)} has no exported activate function (in ${t})`);const i=new p,o="function"==typeof n.deactivate?n.deactivate:null;ar.set(e,(async()=>{try{o&&await Promise.resolve(o())}finally{i.unsubscribe()}})),await(async e=>e())((()=>n.activate({subscriptions:i}))).catch((t=>{throw t=De(t),Object.assign(new Error(`error during extension ${JSON.stringify(e)} activate function: ${String(t.stack||t)}`),{error:t})}))}async function ur(e){const t=ar.get(e);t&&(ar.delete(e),await Promise.resolve(t()))}function lr(e){let t=!1;globalThis.require=r=>{if("sourcegraph"===r){if(!t)return t=!0,e;throw new Error("require: Sourcegraph extension API can only be imported once")}throw new Error(`require: module not found: ${r}`)}}function fr(e){return e.settings.pipe(x((e=>function(e){if(!e||!e["extensions.activeLoggers"])return new Set;const t=e["extensions.activeLoggers"];if(!Array.isArray(t))return new Set;return new Set(t)}(e.final)))).subscribe((t=>e.activeLoggers=t))}var pr=r(3333),hr=r.n(pr);function dr(e){return function(t){return t.lift(new vr(e))}}var vr=function(){function e(e){this.value=e}return e.prototype.call=function(e,t){return t.subscribe(new yr(e,this.value))},e}(),yr=function(e){function t(t,r){var n=e.call(this,t)||this;return n.value=r,n}return n(t,e),t.prototype._next=function(e){this.destination.next(this.value)},t}(v),Er=new Ee(de);function br(e,t){return void 0===t&&(t=Er),function(r){return r.lift(new gr(e,t))}}var gr=function(){function e(e,t){this.dueTime=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new mr(e,this.dueTime,this.scheduler))},e}(),mr=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.dueTime=r,i.scheduler=n,i.debouncedSubscription=null,i.lastValue=null,i.hasValue=!1,i}return n(t,e),t.prototype._next=function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Sr,this.dueTime,this))},t.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},t.prototype.debouncedNext=function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}},t.prototype.clearDebounce=function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)},t}(v);function Sr(e){e.debouncedNext()}var xr=r(1337);const _r={Text:"text",Read:"read",Write:"write"};function Or(e,t){return e.next([...e.value,t]),{unsubscribe:()=>e.next(e.value.filter((e=>e!==t)))}}function wr(e,t,r){const n=Object.assign(e.settings.pipe(dr(void 0)),{get:()=>{const r=e.settings.value.final;return{value:r,get:e=>r[e],update:(e,r)=>t.applySettingsEdit({path:[e],value:r}),toJSON:()=>r}}}),i={get textDocuments(){return[...e.textDocuments.values()]},get roots(){return e.roots.value},get versionContext(){},get searchContext(){return e.searchContext},onDidOpenTextDocument:e.openedTextDocuments.asObservable(),openedTextDocuments:e.openedTextDocuments.asObservable(),onDidChangeRoots:e.roots.pipe(dr(void 0)),rootChanges:e.rootChanges.asObservable(),versionContextChanges:R,searchContextChanges:e.searchContextChanges.asObservable()},o={get visibleViewComponents(){const t=[...e.viewComponents.entries()];return hr()(t,0).map((([,e])=>e))},get activeViewComponent(){return e.activeViewComponentChanges.value},activeViewComponentChanges:e.activeViewComponentChanges.asObservable()},s={get activeWindow(){return o},activeWindowChanges:new ke(o).asObservable(),get windows(){return[o]},createPanelView:t=>{const r=new ke({id:t,title:"",content:"",component:null,priority:0,selector:null}),n={get title(){return r.value.title},set title(e){r.next({...r.value,title:e})},get content(){return r.value.content},set content(e){r.next({...r.value,content:e})},get component(){return r.value.component},set component(e){r.next({...r.value,component:e})},get priority(){return r.value.priority},set priority(e){r.next({...r.value,priority:e})},get selector(){return r.value.selector},set selector(e){r.next({...r.value,selector:e})},unsubscribe:()=>{i.unsubscribe()}},i=Or(e.panelViews,r.pipe(br(0)));return n},registerViewProvider:(t,r)=>{switch(r.where){case"insightsPage":return Or(e.insightsPageViewProviders,{id:t,viewProvider:r});case"directory":return Or(e.directoryViewProviders,{id:t,viewProvider:r});case"global/page":return Or(e.globalPageViewProviders,{id:t,viewProvider:r});case"homepage":return Or(e.homepageViewProviders,{id:t,viewProvider:r})}},log:It()},a={executeCommand:(e,...r)=>t.executeCommand(e,r),registerCommand:(e,r)=>Me(t.registerCommand(e,oe(r)))},c={registerHoverProvider:(t,r)=>Or(e.hoverProviders,{selector:t,provider:r}),registerDocumentHighlightProvider:(t,r)=>Or(e.documentHighlightProviders,{selector:t,provider:r}),registerDefinitionProvider:(t,r)=>Or(e.definitionProviders,{selector:t,provider:r}),registerReferenceProvider:(t,r)=>Or(e.referenceProviders,{selector:t,provider:r}),registerLocationProvider:(t,r,n)=>Or(e.locationProviders,{selector:r,provider:{id:t,provider:n}}),registerTypeDefinitionProvider:()=>(V("sourcegraph.languages.registerTypeDefinitionProvider was removed. Use sourcegraph.languages.registerLocationProvider instead."),{unsubscribe:()=>{}}),registerImplementationProvider:()=>(V("sourcegraph.languages.registerImplementationProvider was removed. Use sourcegraph.languages.registerLocationProvider instead."),{unsubscribe:()=>{}}),registerCompletionItemProvider:()=>(V("sourcegraph.languages.registerCompletionItemProvider was removed."),{unsubscribe:()=>{}})},u={execute:(e,r)=>t.requestGraphQL(e,r)};return function(o){return{URI:URL,Position:xr.Position,Range:xr.Range,Selection:xr.Selection,Location:xr.Location,MarkupKind:xr.MarkupKind,DocumentHighlightKind:_r,app:{...s,log:(...r)=>{e.activeLoggers.has(o)&&t.logExtensionMessage(`\u{1f9e9} %c${o}`,"background-color: lightgrey;",...r).catch((e=>{G("Error sending extension message to main thread:",e)}))}},workspace:i,configuration:n,languages:c,commands:a,graphQL:u,internal:{sync:()=>(async()=>{await t.ping()})(),updateContext:t=>Jo(t,e),sourcegraphURL:new URL(r.sourcegraphURL),clientApplication:r.clientApplication}}}}var Ar=r(9461),Tr=r.n(Ar),Rr=r(9079),Pr=r.n(Rr);function Cr(){return void 0===(e=1)&&(e=Number.POSITIVE_INFINITY),_t(b,e);var e}function Ir(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Cr()(Oe.apply(void 0,e))}const Nr="loading";var Dr=function(){function e(e){this.resultSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new Lr(e,this.resultSelector))},e}(),Lr=function(e){function t(t,r,n){void 0===n&&(n=Object.create(null));var i=e.call(this,t)||this;return i.resultSelector=r,i.iterators=[],i.active=0,i.resultSelector="function"==typeof r?r:void 0,i}return n(t,e),t.prototype._next=function(e){var t=this.iterators;u(e)?t.push(new Mr(e)):"function"==typeof e[Be]?t.push(new Ur(e[Be]())):t.push(new jr(this.destination,this,e))},t.prototype._complete=function(){var e=this.iterators,t=e.length;if(this.unsubscribe(),0!==t){this.active=t;for(var r=0;r<t;r++){var n=e[r];if(n.stillUnsubscribed)this.destination.add(n.subscribe());else this.active--}}else this.destination.complete()},t.prototype.notifyInactive=function(){this.active--,0===this.active&&this.destination.complete()},t.prototype.checkIterators=function(){for(var e=this.iterators,t=e.length,r=this.destination,n=0;n<t;n++){if("function"==typeof(s=e[n]).hasValue&&!s.hasValue())return}var i=!1,o=[];for(n=0;n<t;n++){var s,a=(s=e[n]).next();if(s.hasCompleted()&&(i=!0),a.done)return void r.complete();o.push(a.value)}this.resultSelector?this._tryresultSelector(o):r.next(o),i&&r.complete()},t.prototype._tryresultSelector=function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(v),Ur=function(){function e(e){this.iterator=e,this.nextResult=e.next()}return e.prototype.hasValue=function(){return!0},e.prototype.next=function(){var e=this.nextResult;return this.nextResult=this.iterator.next(),e},e.prototype.hasCompleted=function(){var e=this.nextResult;return Boolean(e&&e.done)},e}(),Mr=function(){function e(e){this.array=e,this.index=0,this.length=0,this.length=e.length}return e.prototype[Be]=function(){return this},e.prototype.next=function(e){var t=this.index++,r=this.array;return t<this.length?{value:r[t],done:!1}:{value:null,done:!0}},e.prototype.hasValue=function(){return this.array.length>this.index},e.prototype.hasCompleted=function(){return this.array.length===this.index},e}(),jr=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.parent=r,i.observable=n,i.stillUnsubscribed=!0,i.buffer=[],i.isComplete=!1,i}return n(t,e),t.prototype[Be]=function(){return this},t.prototype.next=function(){var e=this.buffer;return 0===e.length&&this.isComplete?{value:null,done:!0}:{value:e.shift(),done:!1}},t.prototype.hasValue=function(){return this.buffer.length>0},t.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},t.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},t.prototype.notifyNext=function(e){this.buffer.push(e),this.parent.checkIterators()},t.prototype.subscribe=function(){return pt(this.observable,new lt(this))},t}(ft),kr=1,Gr=function(){return Promise.resolve()}(),Vr={};function Hr(e){return e in Vr&&(delete Vr[e],!0)}var Br=function(e){var t=kr++;return Vr[t]=!0,Gr.then((function(){return Hr(t)&&e()})),t},Fr=function(e){Hr(e)},$r=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return n(t,e),t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!==n&&n>0?e.prototype.requestAsyncId.call(this,t,r,n):(t.actions.push(this),t.scheduled||(t.scheduled=Br(t.flush.bind(t,null))))},t.prototype.recycleAsyncId=function(t,r,n){if(void 0===n&&(n=0),null!==n&&n>0||null===n&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,n);0===t.actions.length&&(Fr(r),t.scheduled=void 0)},t}(de),Wr=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var t,r=this.actions,n=-1,i=r.length;e=e||r.shift();do{if(t=e.execute(e.state,e.delay))break}while(++n<i&&(e=r.shift()));if(this.active=!1,t){for(;++n<i&&(e=r.shift());)e.unsubscribe();throw t}},t}(Ee))($r),Yr=r(4044),zr=r(7930),Jr=r(4468),Kr=r(9709);function qr(e,t){switch(e.length){case 0:return Oe([]);case 1:return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[e.length-1];return"function"==typeof r&&e.pop(),_e(e,void 0).lift(new Dr(r))}(...e);default:return new Yr.Observable((0,Jr.subscribeToArray)(e)).lift(new Qr(t))}}class Qr{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new Xr(e,this.defaultValue))}}class Xr extends zr.OuterSubscriber{activeObservables=0;values=[];observables=[];scheduled=!1;constructor(e,t){super(e),this.defaultValue=t}_next(e){void 0!==this.defaultValue&&this.values.push(this.defaultValue),this.observables.push(e)}_complete(){this.activeObservables=this.observables.length;for(let e=0;e<this.observables.length;e++)this.add((0,Kr.D)(this,this.observables[e],this.observables[e],e))}notifyComplete(){this.activeObservables--,0===this.activeObservables&&this.destination.complete&&this.destination.complete()}notifyNext(e,t,r){this.values[r]=t,1!==this.activeObservables?this.scheduled||(this.scheduled=!0,Wr.schedule((()=>{this.scheduled&&this.destination.next&&this.destination.next(this.values.slice()),this.scheduled=!1}))):this.destination.next&&this.destination.next(this.values.slice())}}const Zr=e=>null!=e;var en=r(3677);function tn(e){const t=(0,en.basename)(e),r=function(e){const t=e.split(".");if(1===t.length)return"";if(2===t.length&&""===t[0])return"";return t[t.length-1].toLowerCase()}(e);return function(e){switch(e.toLowerCase()){case"dockerfile":return"dockerfile";case"build":case"workspace":return"starlark";default:return}}(t)||function(e){switch(e.toLowerCase()){case"adb":case"ada":case"ads":return"ada";case"cls":case"apex":case"trigger":return"apex";case"as":return"actionscript";case"apacheconf":return"apache";case"applescript":case"scpt":return"applescript";case"sh":case"bash":case"zsh":return"shell";case"clj":case"cljs":case"cljx":return"clojure";case"css":return"css";case"cmake":case"cmake.in":case"in":return"cmake";case"coffee":case"cake":case"cson":case"cjsx":case"iced":return"coffescript";case"cs":case"csx":return"csharp";case"c":case"cc":case"cpp":case"cxx":case"c++":case"h++":case"hh":case"h":case"hpp":case"pc":case"pcc":return"cpp";case"cu":case"cuh":return"cuda";case"dart":return"dart";case"diff":case"patch":return"diff";case"jinja":return"django";case"bat":case"cmd":return"dos";case"ex":case"exs":return"elixir";case"elm":return"elm";case"erl":return"erlang";case"f":case"for":case"frt":case"fr":case"forth":case"4th":case"fth":return"fortran";case"fs":return"fsharp";case"go":return"go";case"graphql":return"graphql";case"groovy":return"groovy";case"haml":return"haml";case"hbs":case"handlebars":return"handlebars";case"hs":case"hsc":return"haskell";case"htm":case"html":case"xhtml":return"html";case"ini":case"cfg":case"prefs":case"pro":case"properties":return"ini";case"java":return"java";case"js":case"jsx":case"es":case"es6":case"mjs":case"jss":case"jsm":return"javascript";case"json":case"sublime_metrics":case"sublime_session":case"sublime-keymap":case"sublime-mousemap":case"sublime-project":case"sublime-settings":case"sublime-workspace":return"json";case"jsonnet":case"libsonnet":return"jsonnet";case"jl":return"julia";case"kt":case"ktm":case"kts":return"kotlin";case"less":return"less";case"lisp":case"asd":case"cl":case"lsp":case"l":case"ny":case"podsl":case"sexp":case"el":return"lisp";case"lua":case"fcgi":case"nse":case"pd_lua":case"rbxs":case"wlua":return"lua";case"mk":case"mak":return"makefile";case"md":case"mkdown":case"mkd":return"markdown";case"nginxconf":return"nginx";case"m":case"mm":return"objectivec";case"ml":case"eliom":case"eliomi":case"ml4":case"mli":case"mll":case"mly":case"re":return"ocaml";case"p":case"pas":case"pp":return"pascal";case"pl":case"al":case"cgi":case"perl":case"ph":case"plx":case"pm":case"pod":case"psgi":case"t":return"perl";case"php":case"phtml":case"php3":case"php4":case"php5":case"php6":case"php7":case"phps":return"php";case"ps1":case"psd1":case"psm1":return"powershell";case"proto":return"protobuf";case"py":case"pyc":case"pyd":case"pyo":case"pyw":case"pyz":return"python";case"r":case"rd":case"rsx":return"r";case"repro":return"reprolang";case"rb":case"builder":case"eye":case"gemspec":case"god":case"jbuilder":case"mspec":case"pluginspec":case"podspec":case"rabl":case"rake":case"rbuild":case"rbw":case"rbx":case"ru":case"ruby":case"spec":case"thor":case"watchr":return"ruby";case"rs":case"rs.in":return"rust";case"sass":case"scss":return"scss";case"sbt":case"sc":case"scala":return"scala";case"bzl":case"bazel":return"starlark";case"strato":return"strato";case"scm":case"sch":case"sls":case"sps":case"ss":return"scheme";case"st":return"smalltalk";case"sql":return"sql";case"styl":return"stylus";case"swift":return"swift";case"thrift":return"thrift";case"ts":case"tsx":return"typescript";case"twig":return"twig";case"vb":return"vbnet";case"vbs":return"vbscrip";case"v":case"veo":case"sv":case"svh":case"svi":return"verilog";case"vhd":case"vhdl":return"vhdl";case"vim":return"vim";case"xlsg":return"xlsg";case"xml":case"adml":case"admx":case"ant":case"axml":case"builds":case"ccxml":case"clixml":case"cproject":case"csl":case"csproj":case"ct":case"dita":case"ditamap":case"ditaval":case"dll.config":case"dotsettings":case"filters":case"fsproj":case"fxml":case"glade":case"gml":case"grxml":case"iml":case"ivy":case"jelly":case"jsproj":case"kml":case"launch":case"mdpolicy":case"mjml":case"mod":case"mxml":case"nproj":case"nuspec":case"odd":case"osm":case"pkgproj":case"plist":case"props":case"ps1xml":case"psc1":case"pt":case"rdf":case"resx":case"rss":case"scxml":case"sfproj":case"srdf":case"storyboard":case"stTheme":case"sublime-snippet":case"targets":case"tmCommand":case"tml":case"tmLanguage":case"tmPreferences":case"tmSnippet":case"tmTheme":case"ui":case"urdf":case"ux":case"vbproj":case"vcxproj":case"vsixmanifest":case"vssettings":case"vstemplate":case"vxml":case"wixproj":case"wsdl":case"wsf":case"wxi":case"wxl":case"wxs":case"x3d":case"xacro":case"xaml":case"xib":case"xlf":case"xliff":case"xmi":case"xml.dist":case"xproj":case"xsd":case"xspec":case"xul":case"zcml":return"xml";case"zig":return"zig";case"yml":case"yaml":return"yaml";default:return}}(r)||"plaintext"}var rn=r(2825);const nn=["Assembly","Bash","C","C++","C#","CSS","Dart","Elixir","Erlang","Go","GraphQL","Groovy","Haskell","HTML","Java","JavaScript","Kotlin","JSON","Julia","Lua","Markdown","Objective-C","OCaml","PHP","PowerShell","Python","R","Ruby","Rust","Sass","Scala","SQL","Swift","Terraform","TypeScript","VBA","XML","YAML","Zig"],on=r.n(rn)()(nn.concat(["1C Enterprise","2-Dimensional Array","4D","ABAP","ABAP CDS","ABNF","ActionScript","Ada","Adobe Font Metrics","Agda","AGS Script","AIDL","AL","Alloy","Alpine Abuild","Altium Designer","AMPL","AngelScript","Ant Build System","ANTLR","ApacheConf","Apex","API Blueprint","APL","Apollo Guidance Computer","AppleScript","Arc","AsciiDoc","ASL","ASN.1","AspectJ","ASP.NET","Assembly","Astro","Asymptote","ATS","Augeas","AutoHotkey","AutoIt","Avro IDL","Awk","Ballerina","BASIC","Batchfile","Beef","Befunge","Berry","BibTeX","Bicep","Bison","BitBake","Blade","BlitzBasic","BlitzMax","Bluespec","Boo","Boogie","Brainfuck","Brightscript","Browserslist","C","C#","C++","C2hs Haskell","Cabal Config","Cadence","Cairo","CameLIGO","Cap'n Proto","CartoCSS","Ceylon","Chapel","Charity","ChucK","CIL","Cirru","Clarion","Clarity","Classic ASP","Clean","Click","CLIPS","Clojure","Closure Templates","Cloud Firestore Security Rules","CMake","C-ObjDump","COBOL","CODEOWNERS","CodeQL","CoffeeScript","ColdFusion","ColdFusion CFC","COLLADA","Common Lisp","Common Workflow Language","Component Pascal","CoNLL-U","Cool","Coq","Cpp-ObjDump","Creole","Crystal","CSON","Csound","Csound Document","Csound Score","CSS","CSV","Cuda","CUE","Cue Sheet","cURL Config","Curry","CWeb","Cycript","Cython","D","Dafny","Darcs Patch","Dart","DataWeave","Debian Package Control File","DenizenScript","desktop","Dhall","Diff","DIGITAL Command Language","dircolors","DirectX 3D File","DM","DNS Zone","D-ObjDump","Dockerfile","Dogescript","DTrace","Dylan","E","Eagle","Earthly","Easybuild","EBNF","eC","Ecere Projects","ECL","ECLiPSe","EditorConfig","Edje Data Collection","edn","Eiffel","EJS","Elixir","Elm","Emacs Lisp","E-mail","EmberScript","EQ","Erlang","Euphoria","F#","F*","Factor","Fancy","Fantom","Faust","Fennel","FIGlet Font","Filebench WML","Filterscript","fish","Fluent","FLUX","Formatted","Forth","Fortran","Fortran Free Form","FreeBasic","FreeMarker","Frege","Futhark","Game Maker Language","GAML","GAMS","GAP","GCC Machine Description","G-code","GDB","GDScript","GEDCOM","Gemfile.lock","Genero","Genero Forms","Genie","Genshi","Gentoo Ebuild","Gentoo Eclass","Gerber Image","Gettext Catalog","Gherkin","Git Attributes","Git Config","Gleam","GLSL","Glyph","Glyph Bitmap Distribution Format","GN","Gnuplot","Go","Go Checksums","Golo","Go Module","Gosu","Grace","Gradle","Grammatical Framework","Graph Modeling Language","GraphQL","Graphviz (DOT)","Groovy","Groovy Server Pages","GSC","Hack","Haml","Handlebars","HAProxy","Harbour","Haskell","Haxe","HCL","HiveQL","HLSL","HolyC","hoon","HTML","HTML+ECR","HTML+EEX","HTML+ERB","HTML+PHP","HTML+Razor","HTTP","HXML","Hy","HyPhy","IDL","Idris","Ignore List","IGOR Pro","ImageJ Macro","Inform 7","INI","Inno Setup","Io","Ioke","IRC log","Isabelle","Isabelle ROOT","J","Janet","JAR Manifest","Jasmin","Java","Java Properties","JavaScript","JavaScript+ERB","Java Server Pages","Jest Snapshot","JFlex","Jinja","Jison","Jison Lex","Jolie","jq","JSON","JSON5","JSONiq","JSONLD","Jsonnet","JSON with Comments","Julia","Jupyter Notebook","Kaitai Struct","KakouneScript","KiCad Layout","KiCad Legacy Layout","KiCad Schematic","Kit","Kotlin","KRL","Kusto","kvlang","LabVIEW","Lark","Lasso","Latte","Lean","Less","Lex","LFE","LigoLANG","LilyPond","Limbo","Linker Script","Linux Kernel Module","Liquid","Literate Agda","Literate CoffeeScript","Literate Haskell","LiveScript","LLVM","Logos","Logtalk","LOLCODE","LookML","LoomScript","LSL","LTspice Symbol","Lua","M","M4","M4Sugar","Macaulay2","Makefile","Mako","Markdown","Marko","Mask","Mathematica","MATLAB","Maven POM","Max","MAXScript","mcfunction","Mercury","Meson","Metal","Microsoft Developer Studio Project","Microsoft Visual Studio Solution","MiniD","MiniYAML","Mint","Mirah","mIRC Script","MLIR","Modelica","Modula-2","Modula-3","Module Management System","Monkey","Monkey C","Moocode","MoonScript","Motoko","Motorola 68K Assembly","MQL4","MQL5","MTML","MUF","mupad","Muse","Mustache","Myghty","nanorc","NASL","NCL","Nearley","Nemerle","NEON","nesC","NetLinx","NetLinx+ERB","NetLogo","NewLisp","Nextflow","Nginx","Nim","Ninja","Nit","Nix","NL","NPM Config","NSIS","Nu","NumPy","Nunjucks","NWScript","ObjDump","Object Data Instance Notation","Objective-C","Objective-C++","Objective-J","ObjectScript","OCaml","Odin","Omgrofl","ooc","Opa","Opal","OpenCL","OpenEdge ABL","Open Policy Agent","OpenQASM","OpenRC runscript","OpenSCAD","OpenStep Property List","OpenType Feature File","Org","Ox","Oxygene","Oz","P4","Pan","Papyrus","Parrot","Parrot Assembly","Parrot Internal Representation","Pascal","Pawn","PEG.js","Pep8","Perl","PHP","Pic","Pickle","PicoLisp","PigLatin","Pike","PlantUML","PLpgSQL","PLSQL","Pod","Pod 6","PogoScript","Pony","PostCSS","PostScript","POV-Ray SDL","PowerBuilder","PowerShell","Prisma","Processing","Procfile","Proguard","Prolog","Promela","Propeller Spin","Protocol Buffer","Protocol Buffer Text Format","Public Key","Pug","Puppet","PureBasic","Pure Data","PureScript","Python","Python console","Python traceback","q","Q#","QMake","QML","Qt Script","Quake","R","Racket","Ragel","Raku","RAML","Rascal","Raw token data","RDoc","Readline Config","REALbasic","Reason","ReasonLIGO","Rebol","Record Jar","Red","Redcode","Redirect Rules","Regular Expression","RenderScript","Ren'Py","ReScript","reStructuredText","REXX","Rich Text Format","Ring","Riot","RMarkdown","RobotFramework","robots.txt","Roff","Roff Manpage","Rouge","RPC","RPGLE","RPM Spec","Ruby","RUNOFF","Rust","Sage","SaltStack","SAS","Sass","Scala","Scaml","Scheme","Scilab","SCSS","sed","Self","SELinux Policy","ShaderLab","Shell","ShellCheck Config","ShellSession","Shen","Sieve","Singularity","Slash","Slice","Slim","Smali","Smalltalk","Smarty","SmPL","SMT","Solidity","Soong","SourcePawn","SPARQL","Spline Font Database","SQF","SQL","SQLPL","Squirrel","SRecode Template","SSH Config","Stan","Standard ML","Starlark","Stata","STON","StringTemplate","Stylus","SubRip Text","SugarSS","SuperCollider","Svelte","SVG","Swift","SWIG","SystemVerilog","Talon","Tcl","Tcsh","Tea","Terra","TeX","Texinfo","Text","Textile","TextMate Properties","Thrift","TI Program","TLA","TOML","TSQL","TSV","TSX","Turing","Turtle","Twig","TXL","Type Language","TypeScript","Unified Parallel C","Unity3D Asset","Unix Assembly","Uno","UnrealScript","UrWeb","V","Vala","Valve Data Format","VBA","VBScript","VCL","Verilog","VHDL","Vim Help File","Vim Script","Vim Snippet","Visual Basic .NET","Volt","Vue","Vyper","Wavefront Material","Wavefront Object","wdl","WebAssembly","WebIDL","Web Ontology Language","WebVTT","Wget Config","Wikitext","Win32 Message File","Windows Registry Entries","wisp","Witcher Script","Wollok","World of Warcraft Addon Data","X10","xBase","X BitMap","XC","XCompose","X Font Directory Index","XML","XML Property List","Xojo","Xonsh","XPages","X PixMap","XProc","XQuery","XS","XSLT","Xtend","Yacc","YAML","YANG","YARA","YASnippet","ZAP","Zeek","ZenScript","Zephir","Zig","ZIL","Zimpl"])),sn=e=>"repo"===e?[{label:"has.path(...)",insertText:"has.path(${1:CHANGELOG})",asSnippet:!0,description:"Search only inside repositories that contain matching file paths"},{label:"has.content(...)",insertText:"has.content(${1:TODO})",asSnippet:!0,description:"Search only inside repositories that contain matching file contents "},{label:"has.file(...)",insertText:"has.file(path:${1:CHANGELOG} content:${2:fix})",asSnippet:!0,description:"Search only in repositories that contain matching file paths and contents"},{label:"has.topic(...)",insertText:"has.topic(${1})",description:"Search only inside repositories that have a matching GitHub tag",asSnippet:!0},{label:"has.commit.after(...)",insertText:"has.commit.after(${1:1 month ago})",asSnippet:!0,description:"Search only in repositories that have been committed to since then"},{label:"has.description(...)",insertText:"has.description(${1})",asSnippet:!0,description:"Search only inside repositories whose description matches"},{label:"has.tag(...)",insertText:"has.tag(${1})",asSnippet:!0,description:"Search only inside repositories tagged with a given tag"},{label:"has(...)",insertText:"has(${1:key}:${2:value})",description:"Search only inside repositories having a specified key:value pair",asSnippet:!0},{label:"has.key(...)",insertText:"has.key(${1})",description:"Search only inside repositories having a specifiec key with any value",asSnippet:!0}]:"file"===e?[{label:"has.content(...)",insertText:"has.content(${1:TODO})",asSnippet:!0,description:"Search only inside files whose contents match a pattern"},{label:"has.owner(...)",insertText:"has.owner(${1})",asSnippet:!0,description:"Search only inside files that have a specific owner"}]:[],an=[{name:"repo"},{name:"file",fields:[{name:"directory"},{name:"path"},{name:"owners"}]},{name:"content"},{name:"symbol",fields:[{name:"file"},{name:"module"},{name:"namespace"},{name:"package"},{name:"class"},{name:"method"},{name:"property"},{name:"field"},{name:"constructor"},{name:"enum"},{name:"interface"},{name:"function"},{name:"variable"},{name:"constant"},{name:"string"},{name:"number"},{name:"boolean"},{name:"array"},{name:"object"},{name:"key"},{name:"null"},{name:"enum-member"},{name:"struct"},{name:"event"},{name:"operator"},{name:"type-parameter"}]},{name:"commit",fields:[{name:"diff",fields:[{name:"added"},{name:"removed"}]}]}],cn=new Set(an.map((e=>e.name))),un=(e,t)=>{if(t<0)return[];const r=[];for(const n of e)r.push(`${n.name}`),n.fields&&r.push(...un(n.fields,t-1).map((e=>`${n.name}.`+e)));return r};let ln,fn;!function(e){e.after="after",e.archived="archived",e.author="author",e.before="before",e.case="case",e.committer="committer",e.content="content",e.context="context",e.count="count",e.file="file",e.fork="fork",e.lang="lang",e.message="message",e.patterntype="patterntype",e.repo="repo",e.repohascommitafter="repohascommitafter",e.repohasfile="repohasfile",e.rev="rev",e.select="select",e.timeout="timeout",e.type="type",e.visibility="visibility"}(ln||(ln={})),function(e){e.f="file",e.path="file",e.l="lang",e.language="lang",e.m="message",e.msg="message",e.r="repo",e.revision="rev",e.since="after",e.until="before"}(fn||(fn={}));const pn=[...Object.keys(ln),...Object.keys(fn)];let hn;!function(e){e.author="-author",e.committer="-committer",e.content="-content",e.f="-f",e.file="-file",e.path="-path",e.l="-l",e.lang="-lang",e.language="-language",e.message="-message",e.r="-r",e.repo="-repo",e.repohasfile="-repohasfile"}(hn||(hn={}));Object.values(hn),ln.author,ln.committer,ln.content,ln.file,ln.file,ln.file,ln.lang,ln.lang,ln.lang,ln.message,ln.repo,ln.repo,ln.repohasfile;const dn=[{label:"Search a GitHub organization",insertText:"^github\\.com/${1:ORGANIZATION}/.*",asSnippet:!0},{label:"Search a single GitHub repository",insertText:"^github\\.com/${1:ORGANIZATION}/${2:REPO-NAME}$",asSnippet:!0},{label:"Search for repositories with fuzzy string search",insertText:"${1:STRING}",asSnippet:!0}];ln.after,ln.archived,ln.author,ln.before,ln.case,ln.committer,ln.content,ln.context,ln.count,ln.file,ln.fork,ln.lang,ln.message,ln.patterntype,ln.repo,ln.repohascommitafter,ln.repohasfile,ln.rev,ln.select,ln.timeout,ln.type,ln.visibility;function vn(e){const t={label:e};return/\s/.test(e)&&(t.insertText=`"${e}"`),t}let yn,En,bn,gn,mn,Sn,xn,_n,On,wn,An,Tn,Rn,Pn,Cn,In,Nn,Dn,Ln,Un,Mn,jn,kn,Gn,Vn,Hn,Bn,Fn,$n,Wn,Yn,zn,Jn,Kn,qn,Qn,Xn,Zn,ei,ti,ri,ni,ii,oi,si,ai,ci,ui,li,fi,pi,hi,di,vi,yi,Ei,bi,gi,mi,Si,xi,_i,Oi,wi,Ai,Ti,Ri,Pi,Ci,Ii,Ni,Di,Li,Ui,Mi,ji,ki,Gi,Vi,Hi,Bi;!function(e){e.APPROVED="APPROVED",e.PENDING="PENDING",e.REJECTED="REJECTED"}(yn||(yn={})),function(e){e.ERROR="ERROR",e.INFO="INFO",e.WARNING="WARNING"}(En||(En={})),function(e){e.CUSTOM="CUSTOM",e.LAST_MONTH="LAST_MONTH",e.LAST_THREE_MONTHS="LAST_THREE_MONTHS",e.LAST_WEEK="LAST_WEEK"}(bn||(bn={})),function(e){e.DAILY="DAILY",e.WEEKLY="WEEKLY"}(gn||(gn={})),function(e){e.CREATE="CREATE",e.MODIFY="MODIFY"}(mn||(mn={})),function(e){e.QUEUE_POSITION="QUEUE_POSITION",e.STATE="STATE"}(Sn||(Sn={})),function(e){e.CUSTOM="CUSTOM",e.DB_BACKED="DB_BACKED",e.PERIODIC="PERIODIC",e.PERIODIC_WITH_METRICS="PERIODIC_WITH_METRICS"}(xn||(xn={})),function(e){e.CLOSED="CLOSED",e.DRAFT="DRAFT",e.OPEN="OPEN"}(_n||(_n={})),function(e){e.LOCAL="LOCAL",e.REMOTE="REMOTE"}(On||(On={})),function(e){e.CANCELED="CANCELED",e.CANCELING="CANCELING",e.COMPLETED="COMPLETED",e.FAILED="FAILED",e.PENDING="PENDING",e.PROCESSING="PROCESSING",e.QUEUED="QUEUED"}(wn||(wn={})),function(e){e.COMPLETED="COMPLETED",e.ERRORED="ERRORED",e.FAILED="FAILED",e.PROCESSING="PROCESSING",e.QUEUED="QUEUED"}(An||(An={})),function(e){e.CANCELED="CANCELED",e.CANCELING="CANCELING",e.COMPLETED="COMPLETED",e.FAILED="FAILED",e.PENDING="PENDING",e.PROCESSING="PROCESSING",e.QUEUED="QUEUED",e.SKIPPED="SKIPPED"}(Tn||(Tn={})),function(e){e.COMPLETED="COMPLETED",e.FAILED="FAILED",e.PROCESSING="PROCESSING"}(Rn||(Rn={})),function(e){e.CLOSE="CLOSE",e.COMMENT="COMMENT",e.DETACH="DETACH",e.MERGE="MERGE",e.PUBLISH="PUBLISH",e.REENQUEUE="REENQUEUE"}(Pn||(Pn={})),function(e){e.ERROR="ERROR",e.NOT_FOUND="NOT_FOUND",e.SUCCESS="SUCCESS"}(Cn||(Cn={})),function(e){e.FAILED="FAILED",e.PASSED="PASSED",e.PENDING="PENDING"}(In||(In={})),function(e){e.CLOSED="CLOSED",e.DELETED="DELETED",e.DRAFT="DRAFT",e.MERGED="MERGED",e.OPEN="OPEN",e.READONLY="READONLY"}(Nn||(Nn={})),function(e){e.PUBLISHED="PUBLISHED",e.UNPUBLISHED="UNPUBLISHED"}(Dn||(Dn={})),function(e){e.COMPLETED="COMPLETED",e.ERRORED="ERRORED",e.FAILED="FAILED",e.PROCESSING="PROCESSING",e.QUEUED="QUEUED",e.SCHEDULED="SCHEDULED"}(Ln||(Ln={})),function(e){e.APPROVED="APPROVED",e.CHANGES_REQUESTED="CHANGES_REQUESTED",e.COMMENTED="COMMENTED",e.DISMISSED="DISMISSED",e.PENDING="PENDING"}(Un||(Un={})),function(e){e.ARCHIVE="ARCHIVE",e.CLOSE="CLOSE",e.DETACH="DETACH",e.IMPORT="IMPORT",e.PUBLISH="PUBLISH",e.PUBLISH_DRAFT="PUBLISH_DRAFT",e.PUSH="PUSH",e.REATTACH="REATTACH",e.REOPEN="REOPEN",e.SLEEP="SLEEP",e.SYNC="SYNC",e.UNDRAFT="UNDRAFT",e.UPDATE="UPDATE"}(Mn||(Mn={})),function(e){e.BRANCH="BRANCH",e.EXISTING="EXISTING"}(jn||(jn={})),function(e){e.CLOSED="CLOSED",e.DELETED="DELETED",e.DRAFT="DRAFT",e.FAILED="FAILED",e.MERGED="MERGED",e.OPEN="OPEN",e.PROCESSING="PROCESSING",e.READONLY="READONLY",e.RETRYING="RETRYING",e.SCHEDULED="SCHEDULED",e.UNPUBLISHED="UNPUBLISHED"}(kn||(kn={})),function(e){e.CLONED="CLONED",e.CLONING="CLONING",e.NOT_CLONED="NOT_CLONED"}(Gn||(Gn={})),function(e){e.ERROR="ERROR",e.HINT="HINT",e.INFORMATION="INFORMATION",e.WARNING="WARNING"}(Vn||(Vn={})),function(e){e.ADDED="ADDED",e.DELETED="DELETED",e.UNCHANGED="UNCHANGED"}(Hn||(Hn={})),function(e){e.BACKEND="BACKEND",e.CODEHOSTINTEGRATION="CODEHOSTINTEGRATION",e.IDEEXTENSION="IDEEXTENSION",e.STATICWEB="STATICWEB",e.WEB="WEB"}(Bn||(Bn={})),function(e){e.ERROR="ERROR",e.PENDING="PENDING",e.SUCCESS="SUCCESS"}(Fn||(Fn={})),function(e){e.OUTDATED="OUTDATED",e.UP_TO_DATE="UP_TO_DATE",e.VERSION_AHEAD="VERSION_AHEAD"}($n||($n={})),function(e){e.BATCHES="BATCHES",e.CODEINTEL="CODEINTEL"}(Wn||(Wn={})),function(e){e.AWSCODECOMMIT="AWSCODECOMMIT",e.AZUREDEVOPS="AZUREDEVOPS",e.BITBUCKETCLOUD="BITBUCKETCLOUD",e.BITBUCKETSERVER="BITBUCKETSERVER",e.GERRIT="GERRIT",e.GITHUB="GITHUB",e.GITLAB="GITLAB",e.GITOLITE="GITOLITE",e.GOMODULES="GOMODULES",e.JVMPACKAGES="JVMPACKAGES",e.NPMPACKAGES="NPMPACKAGES",e.OTHER="OTHER",e.PAGURE="PAGURE",e.PERFORCE="PERFORCE",e.PHABRICATOR="PHABRICATOR",e.PYTHONPACKAGES="PYTHONPACKAGES",e.RUBYPACKAGES="RUBYPACKAGES",e.RUSTPACKAGES="RUSTPACKAGES"}(Yn||(Yn={})),function(e){e.CANCELED="CANCELED",e.CANCELING="CANCELING",e.COMPLETED="COMPLETED",e.ERRORED="ERRORED",e.FAILED="FAILED",e.PROCESSING="PROCESSING",e.QUEUED="QUEUED"}(zn||(zn={})),function(e){e.GIT_BLOB="GIT_BLOB",e.GIT_COMMIT="GIT_COMMIT",e.GIT_TAG="GIT_TAG",e.GIT_TREE="GIT_TREE",e.GIT_UNKNOWN="GIT_UNKNOWN"}(Jn||(Jn={})),function(e){e.AUTHORED_OR_COMMITTED_AT="AUTHORED_OR_COMMITTED_AT"}(Kn||(Kn={})),function(e){e.GIT_BRANCH="GIT_BRANCH",e.GIT_REF_OTHER="GIT_REF_OTHER",e.GIT_TAG="GIT_TAG"}(qn||(qn={})),function(e){e.AUTHOR="AUTHOR",e.DATE="DATE",e.LANG="LANG",e.PATH="PATH",e.REPO="REPO"}(Qn||(Qn={})),function(e){e.HTML_HIGHLIGHT="HTML_HIGHLIGHT",e.HTML_PLAINTEXT="HTML_PLAINTEXT",e.JSON_SCIP="JSON_SCIP"}(Xn||(Xn={})),function(e){e.INDEX_JOB_INFERED="INDEX_JOB_INFERED",e.LANGUAGE_SUPPORTED="LANGUAGE_SUPPORTED",e.PROJECT_STRUCTURE_SUPPORTED="PROJECT_STRUCTURE_SUPPORTED"}(Zn||(Zn={})),function(e){e.COMPLETED="COMPLETED",e.FAILED="FAILED",e.NEW="NEW",e.PROCESSING="PROCESSING",e.QUEUED="QUEUED",e.UNKNOWN="UNKNOWN"}(ei||(ei={})),function(e){e.COMPLETED="COMPLETED",e.ERRORED="ERRORED",e.PROCESSING="PROCESSING",e.QUEUED="QUEUED"}(ti||(ti={})),function(e){e.COMPLETED="COMPLETED",e.DELETED="DELETED",e.DELETING="DELETING",e.ERRORED="ERRORED",e.PROCESSING="PROCESSING",e.QUEUED="QUEUED",e.UPLOADING="UPLOADING"}(ri||(ri={})),function(e){e.CRITICAL="CRITICAL",e.NORMAL="NORMAL"}(ni||(ni={})),function(e){e.INVALID_AGGREGATION_MODE_FOR_QUERY="INVALID_AGGREGATION_MODE_FOR_QUERY",e.INVALID_QUERY="INVALID_QUERY",e.OTHER_ERROR="OTHER_ERROR",e.TIMEOUT_EXTENSION_AVAILABLE="TIMEOUT_EXTENSION_AVAILABLE",e.TIMEOUT_NO_EXTENSION_AVAILABLE="TIMEOUT_NO_EXTENSION_AVAILABLE"}(ii||(ii={})),function(e){e.FILE="FILE",e.MARKDOWN="MARKDOWN",e.QUERY="QUERY",e.SYMBOL="SYMBOL"}(oi||(oi={})),function(e){e.NOTEBOOK_CREATED_AT="NOTEBOOK_CREATED_AT",e.NOTEBOOK_STAR_COUNT="NOTEBOOK_STAR_COUNT",e.NOTEBOOK_UPDATED_AT="NOTEBOOK_UPDATED_AT"}(si||(si={})),function(e){e.ACCEPT="ACCEPT",e.REJECT="REJECT"}(ai||(ai={})),function(e){e.CODEOWNERS_FILE_ENTRY="CODEOWNERS_FILE_ENTRY"}(ci||(ci={})),function(e){e.ALLOW="ALLOW",e.BLOCK="BLOCK"}(ui||(ui={})),function(e){e.GOMODULES="GOMODULES",e.JVMPACKAGES="JVMPACKAGES",e.NPMPACKAGES="NPMPACKAGES",e.PYTHONPACKAGES="PYTHONPACKAGES",e.RUBYPACKAGES="RUBYPACKAGES",e.RUSTPACKAGES="RUSTPACKAGES"}(li||(li={})),function(e){e.BATCH_CHANGES="BATCH_CHANGES"}(fi||(fi={})),function(e){e.ERROR="ERROR",e.SUCCESS="SUCCESS"}(pi||(pi={})),function(e){e.HIGH="HIGH",e.LOW="LOW",e.MEDIUM="MEDIUM"}(hi||(hi={})),function(e){e.REASON_GITHUB_ORG_MEMBER_ADDED_EVENT="REASON_GITHUB_ORG_MEMBER_ADDED_EVENT",e.REASON_GITHUB_ORG_MEMBER_REMOVED_EVENT="REASON_GITHUB_ORG_MEMBER_REMOVED_EVENT",e.REASON_GITHUB_REPO_EVENT="REASON_GITHUB_REPO_EVENT",e.REASON_GITHUB_REPO_MADE_PRIVATE_EVENT="REASON_GITHUB_REPO_MADE_PRIVATE_EVENT",e.REASON_GITHUB_TEAM_ADDED_TO_REPO_EVENT="REASON_GITHUB_TEAM_ADDED_TO_REPO_EVENT",e.REASON_GITHUB_TEAM_REMOVED_FROM_REPO_EVENT="REASON_GITHUB_TEAM_REMOVED_FROM_REPO_EVENT",e.REASON_GITHUB_USER_ADDED_EVENT="REASON_GITHUB_USER_ADDED_EVENT",e.REASON_GITHUB_USER_EVENT="REASON_GITHUB_USER_EVENT",e.REASON_GITHUB_USER_MEMBERSHIP_ADDED_EVENT="REASON_GITHUB_USER_MEMBERSHIP_ADDED_EVENT",e.REASON_GITHUB_USER_MEMBERSHIP_REMOVED_EVENT="REASON_GITHUB_USER_MEMBERSHIP_REMOVED_EVENT",e.REASON_GITHUB_USER_REMOVED_EVENT="REASON_GITHUB_USER_REMOVED_EVENT",e.REASON_MANUAL_REPO_SYNC="REASON_MANUAL_REPO_SYNC",e.REASON_MANUAL_USER_SYNC="REASON_MANUAL_USER_SYNC",e.REASON_REPO_NO_PERMS="REASON_REPO_NO_PERMS",e.REASON_REPO_OUTDATED_PERMS="REASON_REPO_OUTDATED_PERMS",e.REASON_REPO_UPDATED_FROM_CODE_HOST="REASON_REPO_UPDATED_FROM_CODE_HOST",e.REASON_USER_ACCEPTED_ORG_INVITE="REASON_USER_ACCEPTED_ORG_INVITE",e.REASON_USER_ADDED_TO_ORG="REASON_USER_ADDED_TO_ORG",e.REASON_USER_EMAIL_REMOVED="REASON_USER_EMAIL_REMOVED",e.REASON_USER_EMAIL_VERIFIED="REASON_USER_EMAIL_VERIFIED",e.REASON_USER_NO_PERMS="REASON_USER_NO_PERMS",e.REASON_USER_OUTDATED_PERMS="REASON_USER_OUTDATED_PERMS",e.REASON_USER_REMOVED_FROM_ORG="REASON_USER_REMOVED_FROM_ORG"}(di||(di={})),function(e){e.MANUAL="MANUAL",e.SCHEDULE="SCHEDULE",e.SOURCEGRAPH="SOURCEGRAPH",e.WEBHOOK="WEBHOOK"}(vi||(vi={})),function(e){e.REPOSITORY="REPOSITORY",e.USER="USER"}(yi||(yi={})),function(e){e.CANCELED="CANCELED",e.COMPLETED="COMPLETED",e.ERRORED="ERRORED",e.FAILED="FAILED",e.PROCESSING="PROCESSING",e.QUEUED="QUEUED"}(Ei||(Ei={})),function(e){e.COMPLETED="COMPLETED",e.DELETED="DELETED",e.DELETING="DELETING",e.INDEXING="INDEXING",e.INDEXING_COMPLETED="INDEXING_COMPLETED",e.INDEXING_ERRORED="INDEXING_ERRORED",e.PROCESSING="PROCESSING",e.PROCESSING_ERRORED="PROCESSING_ERRORED",e.QUEUED_FOR_INDEXING="QUEUED_FOR_INDEXING",e.QUEUED_FOR_PROCESSING="QUEUED_FOR_PROCESSING",e.UPLOADING_INDEX="UPLOADING_INDEX"}(bi||(bi={})),function(e){e.NATIVE="NATIVE",e.THIRD_PARTY="THIRD_PARTY",e.UNKNOWN="UNKNOWN"}(gi||(gi={})),function(e){e.CANCELED="CANCELED",e.COMPLETED="COMPLETED",e.ERRORED="ERRORED",e.FAILED="FAILED",e.PROCESSING="PROCESSING",e.QUEUED="QUEUED"}(mi||(mi={})),function(e){e.REPO_CREATED_AT="REPO_CREATED_AT",e.REPOSITORY_CREATED_AT="REPOSITORY_CREATED_AT",e.REPOSITORY_NAME="REPOSITORY_NAME",e.SIZE="SIZE"}(Si||(Si={})),function(e){e.READ="READ"}(xi||(xi={})),function(e){e.AUTHOR="AUTHOR",e.CAPTURE_GROUP="CAPTURE_GROUP",e.PATH="PATH",e.REPO="REPO"}(_i||(_i={})),function(e){e.BASIC="BASIC",e.UNSUPPORTED="UNSUPPORTED"}(Oi||(Oi={})),function(e){e.SEARCH_CONTEXT_SPEC="SEARCH_CONTEXT_SPEC",e.SEARCH_CONTEXT_UPDATED_AT="SEARCH_CONTEXT_UPDATED_AT"}(wi||(wi={})),function(e){e.keyword="keyword",e.literal="literal",e.lucky="lucky",e.regexp="regexp",e.standard="standard",e.structural="structural"}(Ai||(Ai={})),function(e){e.JSON="JSON",e.MERMAID="MERMAID",e.SEXP="SEXP"}(Ti||(Ti={})),function(e){e.JOB_TREE="JOB_TREE",e.PARSE_TREE="PARSE_TREE"}(Ri||(Ri={})),function(e){e.BASIC="BASIC",e.MAXIMAL="MAXIMAL",e.MINIMAL="MINIMAL"}(Pi||(Pi={})),function(e){e.V1="V1",e.V2="V2",e.V3="V3"}(Ci||(Ci={})),function(e){e.ASC="ASC",e.DESC="DESC"}(Ii||(Ii={})),function(e){e.DATE_ADDED="DATE_ADDED",e.LEXICOGRAPHICAL="LEXICOGRAPHICAL",e.RESULT_COUNT="RESULT_COUNT"}(Ni||(Ni={})),function(e){e.CREATED_AT="CREATED_AT",e.DELETED_AT="DELETED_AT",e.EMAIL="EMAIL",e.EVENTS_COUNT="EVENTS_COUNT",e.LAST_ACTIVE_AT="LAST_ACTIVE_AT",e.SITE_ADMIN="SITE_ADMIN",e.USERNAME="USERNAME"}(Di||(Di={})),function(e){e.FIX_SECURITY_VULNERABILITIES="FIX_SECURITY_VULNERABILITIES",e.IMPROVE_CODE_QUALITY="IMPROVE_CODE_QUALITY",e.RESPOND_TO_INCIDENTS="RESPOND_TO_INCIDENTS",e.REUSE_CODE="REUSE_CODE",e.UNDERSTAND_NEW_CODE="UNDERSTAND_NEW_CODE"}(Li||(Li={})),function(e){e.ARRAY="ARRAY",e.BOOLEAN="BOOLEAN",e.CLASS="CLASS",e.CONSTANT="CONSTANT",e.CONSTRUCTOR="CONSTRUCTOR",e.ENUM="ENUM",e.ENUMMEMBER="ENUMMEMBER",e.EVENT="EVENT",e.FIELD="FIELD",e.FILE="FILE",e.FUNCTION="FUNCTION",e.INTERFACE="INTERFACE",e.KEY="KEY",e.METHOD="METHOD",e.MODULE="MODULE",e.NAMESPACE="NAMESPACE",e.NULL="NULL",e.NUMBER="NUMBER",e.OBJECT="OBJECT",e.OPERATOR="OPERATOR",e.PACKAGE="PACKAGE",e.PROPERTY="PROPERTY",e.STRING="STRING",e.STRUCT="STRUCT",e.TYPEPARAMETER="TYPEPARAMETER",e.UNKNOWN="UNKNOWN",e.VARIABLE="VARIABLE"}(Ui||(Ui={})),function(e){e.DAY="DAY",e.HOUR="HOUR",e.MONTH="MONTH",e.WEEK="WEEK",e.YEAR="YEAR"}(Mi||(Mi={})),function(e){e.ALL_TIME="ALL_TIME",e.THIS_MONTH="THIS_MONTH",e.THIS_WEEK="THIS_WEEK",e.TODAY="TODAY"}(ji||(ji={})),function(e){e.CODEINTEL="CODEINTEL",e.CODEINTELINTEGRATION="CODEINTELINTEGRATION",e.CODEINTELINTEGRATIONREFS="CODEINTELINTEGRATIONREFS",e.CODEINTELREFS="CODEINTELREFS",e.PAGEVIEW="PAGEVIEW",e.SEARCHQUERY="SEARCHQUERY",e.STAGEAUTOMATE="STAGEAUTOMATE",e.STAGECODE="STAGECODE",e.STAGECONFIGURE="STAGECONFIGURE",e.STAGEDEPLOY="STAGEDEPLOY",e.STAGEMANAGE="STAGEMANAGE",e.STAGEMONITOR="STAGEMONITOR",e.STAGEPACKAGE="STAGEPACKAGE",e.STAGEPLAN="STAGEPLAN",e.STAGEREVIEW="STAGEREVIEW",e.STAGESECURE="STAGESECURE",e.STAGEVERIFY="STAGEVERIFY"}(ki||(ki={})),function(e){e.REPO_NAME_ASC="REPO_NAME_ASC",e.REPO_NAME_DESC="REPO_NAME_DESC"}(Gi||(Gi={})),function(e){e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.INPUT_OBJECT="INPUT_OBJECT",e.LIST="LIST",e.NON_NULL="NON_NULL"}(Vi||(Vi={})),function(e){e[e.Literal=1]="Literal",e[e.Regexp=2]="Regexp",e[e.Structural=3]="Structural"}(Hi||(Hi={})),function(e){e.Or="or",e.And="and",e.Not="not"}(Bi||(Bi={}));const Fi=(e,t,r=!1)=>({type:"literal",value:e,range:t,quoted:r}),$i=(...e)=>(t,r)=>{const n=[];for(const i of e){const e=i(t,r);if("success"===e.type)return e;n.push(e.expected)}return{type:"error",expected:`One of: ${n.join(", ")}`,at:r}},Wi=e=>(t,r)=>{if(t[r]!==e)return{type:"error",expected:e,at:r};let n=r+1;for(;t[n]&&(t[n]!==e||"\\"===t[n-1]);)n+=1;return t[n]?{type:"success",term:Fi(t.slice(r+1,n),{start:r,end:n+1},!0)}:{type:"error",expected:e,at:n}},Yi=(e,t,r)=>(e.source.startsWith("^")||(e=new RegExp(`^${e.source}`,e.flags)),(n,i)=>{const o=n.slice(Math.max(0,i));if(!o)return{type:"error",expected:r||`/${e.source}/`,at:i};const s=o.match(e);if(!s)return{type:"error",expected:r||`/${e.source}/`,at:i};const a={start:i,end:i+s[0].length};return{type:"success",term:t?"function"==typeof t?t(s[0],a):t:{type:"literal",value:s[0],range:a}}}),zi=(e,t)=>{let r=t,n=0,i="";const o=[],s=()=>{i=e[r],r+=1};if(!io(e,t))return{type:"error",expected:"no recognized filter or keyword",at:t};for(;void 0!==e[r];){if(s(),i.match(/\s/)&&0===n){r-=1;break}if("("===i){if(!io(e,r))return{type:"error",expected:"no recognized filter or keyword",at:r};n+=1,o.push(i)}else if(")"===i){if(n-=1,n<0&&r>1){r-=1,n=0;break}o.push(i)}else if(" "===i){if(!io(e,r))return{type:"error",expected:"no recognized filter or keyword",at:r};o.push(i)}else if("\\"===i){if(void 0!==e[r]){s(),o.push("\\",i);continue}o.push(i)}else o.push(i)}return 0!==n?{type:"error",expected:"no unbalanced parentheses",at:r}:{type:"success",term:Fi(o.join(""),{start:t,end:r})}},Ji=Yi(/\s+/,((e,t)=>({type:"whitespace",range:t}))),Ki=Yi(/[^\s)]+/),qi=Yi(/(not|NOT)/,((e,{start:t,end:r})=>({type:"keyword",value:e,range:{start:t,end:r},kind:Bi.Not}))),Qi=Yi(/(and|AND)/,((e,{start:t,end:r})=>({type:"keyword",value:e,range:{start:t,end:r},kind:Bi.And}))),Xi=Yi(/(or|OR)/,((e,{start:t,end:r})=>({type:"keyword",value:e,range:{start:t,end:r},kind:Bi.Or}))),Zi=$i(Qi,Xi,qi),eo=(Yi(/\/\/.*/,((e,{start:t,end:r})=>({type:"comment",value:e,range:{start:t,end:r}}))),Yi(new RegExp(`-?(${pn.join("|")})+(?=:)`,"i"))),to=($i(Wi('"'),Wi("'"),zi,Ki),Yi(/\(/,((e,t)=>({type:"openingParen",range:t}))),Yi(/\)/,((e,t)=>({type:"closingParen",range:t})))),ro=(e,t)=>(r,n)=>{const i=e(r,n);if("error"===i.type)return i;let o;const s=[];if(Array.isArray(i.term))for(const e of i.term)s.push(e),o=e.range.end;else s.push(i.term),o=i.term.range.end;if(o&&void 0!==r[o]){const e=t(r,o);if("error"===e.type)return e;s.push(e.term),o=e.term.range.end}return{type:"success",term:s}},no=$i(eo,ro(Zi,Ji)),io=(e,t)=>"success"!==no(e,t).type;$i(Ji,to);let oo;!function(e){e.Global="Global",e.Subexpression="Subexpression"}(oo||(oo={}));r(645);let so,ao;!function(e){e[e.userInput=0]="userInput"}(so||(so={})),function(e){e[e.Focus=1]="Focus",e[e.ShowSuggestions=3]="ShowSuggestions"}(ao||(ao={}));r(4692);let co,uo;!function(e){e[e.DEFAULT=0]="DEFAULT",e[e.USER_SETTINGS=1]="USER_SETTINGS",e[e.URL=2]="URL"}(co||(co={})),function(e){e[e.Precise=0]="Precise",e[e.SmartSearch=1]="SmartSearch"}(uo||(uo={}));const lo=e=>{const t=e.split(",");if(1===t.length)return{line:parseInt(e,10),character:0};if(2===t.length)return{line:parseInt(t[0],10),character:parseInt(t[1],10)};throw new Error("unexpected position: "+e)};function fo(e){const t=new URL(e),r=t.hostname+decodeURIComponent(t.pathname),n=decodeURIComponent(t.search.slice("?".length))||void 0;let i;n?.match(/[\dA-f]{40}/)&&(i=n);const o=t.hash.slice("#".length).split(":").map(decodeURIComponent);let s,a,c;if(1===o.length&&(s=o[0]),2===o.length){s=o[0];const e=o[1],t=e.split("-");if(1===t.length&&(a=lo(t[0])),2===t.length&&(c={start:lo(t[0]),end:lo(t[1])}),t.length>2)throw new Error("unexpected range or position: "+e)}if(o.length>2)throw new Error("unexpected fragment: "+t.hash);return{repoName:r,revision:n,commitID:i,filePath:s||void 0,position:a,range:c}}var po=r(1106),ho=r.n(po);function vo(e,t){for(const n of(r=e,Array.isArray(r)&&(0===r.length||function(e){return"string"==typeof e||function(e){const t=e;return"string"==typeof t.language||"string"==typeof t.scheme||"string"==typeof t.pattern}(e)}(r[0]))?[e]:e))if(yo(n,t))return!0;var r;return!1}function yo(e,t){return 0!==function(e,t,r){let n=0;for(const i of e){const e=Eo(i,t,r);if(10===e)return e;e>n&&(n=e)}return n}(e,new URL(t.uri),t.languageId)}function Eo(e,t,r){if("string"==typeof e)return"*"===e?5:e===r?10:0;const{language:n,scheme:i,pattern:o,baseUri:s}=e;if(!n&&!i&&!o)return 5;let a=0;if(i)if(t.protocol===i+":")a=10;else{if("*"!==i)return 0;a=5}if(s){if(!t.href.startsWith(s.toString()))return 0;a=5}if(n)if(n===r)a=10;else{if("*"!==n)return 0;a=Math.max(a,5)}if(o){const e=decodeURIComponent("git:"===t.protocol?t.hash.slice(1):t.pathname.replace(/^\//,""));if(e.endsWith(o)||ho()(e,o))a=10;else{if(!e||!ho()(e,o,{dot:!0,matchBase:!0}))return 0;a=5}}return a}class bo{[Y]=!0;constructor(e,t){this.document=t,this.resource=e.resource,this.viewerId=e.viewerId,this.isActive=e.isActive,this.update(e)}selectionsChanges=new ke([]);type="CodeEditor";get selection(){return this.selectionsChanges.value.length>0?this.selectionsChanges.value[0]:null}get selections(){return this.selectionsChanges.value}update(e){const t=e.selections.map((e=>xr.Selection.fromPlain(e)));Tr()(t,this.selections)||this.selectionsChanges.next(t)}toJSON(){return{type:this.type,document:this.document}}}var go=r(63),mo=r.n(go);const So=e=>({[Y]:!0,subscribe:t=>oe(e.subscribe({next:e=>{t.next(e)},error:e=>{t.error(e&&{message:e.message,name:e.name,stack:e.stack})},complete:()=>{t.complete()}}))});function xo(e,t=mo()){let r;var n,i,o;return r=e&&(je(e)||(o=e)&&(o instanceof m||"function"==typeof o.lift&&"function"==typeof o.subscribe)||"object"==typeof(i=e)&&null!==i&&U("subscribe")(i)&&"function"==typeof i.subscribe)?Xe(e).pipe(x(t)):(e=>"object"==typeof e&&null!==e&&"function"==typeof e[Symbol.asyncIterator])(e)?(n=e,new m((e=>{const t=n[Symbol.asyncIterator]();let r=!1,i=!1;return function n(){t.next().then((t=>{if(!r)return t.done?(i=!0,void e.complete()):(e.next(t.value),n())}),(t=>{e.error(t)}))}(),()=>{r=!0,!i&&t.throw&&t.throw(new Le).catch((()=>{}))}}))).pipe(x(t)):Oe(t(e)),r}r(3163),r(5198);function _o(e){return null!==e.subjects&&!e.subjects.some((e=>Ne(e.settings)))&&null!==e.final&&!Ne(e.final)}class Oo{[Y]=!0;type="DirectoryViewer";constructor(e){this.isActive=e.isActive,this.viewerId=e.viewerId,this.resource=e.resource,this.directory={uri:new URL(e.resource)}}}var wo=function(){function e(e,t,r){void 0===r&&(r=!1),this.accumulator=e,this.seed=t,this.hasSeed=r}return e.prototype.call=function(e,t){return t.subscribe(new Ao(e,this.accumulator,this.seed,this.hasSeed))},e}(),Ao=function(e){function t(t,r,n,i){var o=e.call(this,t)||this;return o.accumulator=r,o._seed=n,o.hasSeed=i,o.index=0,o}return n(t,e),Object.defineProperty(t.prototype,"seed",{get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e},enumerable:!0,configurable:!0}),t.prototype._next=function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)},t.prototype._tryNext=function(e){var t,r=this.index++;try{t=this.accumulator(this.seed,e,r)}catch(e){this.destination.error(e)}this.seed=t,this.destination.next(t)},t}(v);const To="ColdCallViewProviderStart";function Ro(e,t,r=2){return t.pipe(ht((t=>Xe(t).pipe(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[e.length-1];return ge(r)?(e.pop(),function(t){return Ir(e,t,r)}):function(t){return Ir(e,t)}}(To),_t(((t,r)=>t!==To?xo(t.viewProvider.provideView(e)).pipe(nt(null),At((e=>{G("View provider errored:",e);const{message:t,name:r,stack:n}=De(e);return[{message:t,name:r,stack:n}]})),x((e=>({id:t.id,view:e,index:r})))):Oe(To)),r),function(e,t){var r=!1;return arguments.length>=2&&(r=!0),function(n){return n.lift(new wo(e,t,r))}}(((e,t)=>{if(t===To)return e;const{index:r,...n}=t;return e[r-1]=n,e}),[...t.map((e=>({id:e.id,view:void 0})))])))),x((e=>e.filter(j(Zr,M("view",L(D(null))))))))}class Po{constructor(e,t){this.index=e,this.remainder=t}}class Co{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}getCount(){return this.values.length}insertValues(e,t){e=No(e);const r=this.values,n=this.prefixSum,i=t.length;return 0!==i&&(this.values=new Uint32Array(r.length+i),this.values.set(r.subarray(0,e),0),this.values.set(r.subarray(e),e+i),this.values.set(t,e),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(n.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}changeValue(e,t){return e=No(e),t=No(t),this.values[e]!==t&&(this.values[e]=t,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)}removeValues(e,t){e=No(e),t=No(t);const r=this.values,n=this.prefixSum;if(e>=r.length)return!1;const i=r.length-e;return t>=i&&(t=i),0!==t&&(this.values=new Uint32Array(r.length-t),this.values.set(r.subarray(0,e),0),this.values.set(r.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(n.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalValue(){return 0===this.values.length?0:this._getAccumulatedValue(this.values.length-1)}getAccumulatedValue(e){return e<0?0:(e=No(e),this._getAccumulatedValue(e))}_getAccumulatedValue(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let r=t;r<=e;r++)this.prefixSum[r]=this.prefixSum[r-1]+this.values[r];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalValue();let t=0,r=this.values.length-1,n=0,i=0,o=0;for(;t<=r;)if(n=t+(r-t)/2|0,i=this.prefixSum[n],o=i-this.values[n],e<o)r=n-1;else{if(!(e>=i))break;t=n+1}return new Po(n,e-o)}}const Io=4294967295;function No(e){return e<0?0:e>Io?Io:0|e}const Do=/(-?\d*\.\d\w*)|([^\s"'(),;<>?[\\\]`{}]+)/g;class Lo{constructor(e){this.model=e,this._eol=Uo(e.text||""),this._lines=void 0!==e.text?e.text.split(this._eol):[],this.uri=this.model.uri,this.languageId=this.model.languageId,this.text=this.model.text}update({text:e}){this.model={...this.model,text:e},this._eol=Uo(e||""),this._lines=void 0!==e?e.split(this._eol):[],this.text=e}offsetAt(e){return this.throwIfNoModelText(),e=this.validatePosition(e),this.lineStarts.getAccumulatedValue(e.line-1)+e.character}positionAt(e){this.throwIfNoModelText(),e=Math.floor(e),e=Math.max(0,e);const t=this.lineStarts.getIndexOf(e),r=this._lines[t.index].length,n=Math.min(t.remainder,r);return new xr.Position(t.index,n)}validatePosition(e){if(this.throwIfNoModelText(),!(e instanceof xr.Position))throw new TypeError("invalid argument");let{line:t,character:r}=e,n=!1;if(t<0)t=0,r=0,n=!0;else if(t>=this._lines.length)t=this._lines.length-1,r=this._lines[t].length,n=!0;else{const e=this._lines[t].length;r<0?(r=0,n=!0):r>e&&(r=e,n=!0)}return n?new xr.Position(t,r):e}validateRange(e){if(this.throwIfNoModelText(),!(e instanceof xr.Range))throw new TypeError("invalid argument");const t=this.validatePosition(e.start),r=this.validatePosition(e.end);return t===e.start&&r===e.end?e:new xr.Range(t.line,t.character,r.line,r.character)}getWordRangeAtPosition(e){this.throwIfNoModelText();const t=function(e,t){if(Do.lastIndex=0,!Do.exec(t))return null;const r=t.lastIndexOf(" ",e-1)+1;for(Do.lastIndex=r;;){const r=Do.exec(t);if(!r)return null;const n=r.index||0;if(n<=e&&Do.lastIndex>=e)return{word:r[0],startColumn:n,endColumn:Do.lastIndex}}}((e=this.validatePosition(e)).character,this._lines[e.line]);if(t)return new xr.Range(e.line,t.startColumn,e.line,t.endColumn)}getText(e){if(this.throwIfNoModelText(),!(e=e?this.validateRange(e):void 0))return this.text;const{start:t,end:r}=e;if(t.line===r.line)return this._lines[t.line].slice(t.character,r.character);let n="";for(let e=t.line;e<=r.line;e++)e===t.line?n+=this._lines[e].slice(t.character):e===r.line?n+=this._lines[e].slice(0,r.character):n+=this._lines[e];return n}_lineStarts=null;get lineStarts(){if(!this._lineStarts){const e=this._eol.length,t=this._lines.length,r=new Uint32Array(t);for(let n=0;n<t;n++)r[n]=this._lines[n].length+e;this._lineStarts=new Co(r)}return this._lineStarts}throwIfNoModelText(){if(void 0===this.model.text)throw new Error("model text is not available")}toJSON(){return this.model}}function Uo(e){for(let t=0;t<e.length;t++){const r=e.charAt(t);if("\r"===r)return t+1<e.length&&"\n"===e.charAt(t+1)?"\r\n":"\r";if("\n"===r)return"\n"}return"\n"}function Mo(e){return new xr.Position(e.line,e.character)}function jo(e){return{uri:e.uri.href,range:ko(e.range),aggregableBadges:e.aggregableBadges}}function ko(e){if(e)return e instanceof xr.Range?e.toJSON():e}class Go{constructor({uri:e,inputRevision:t}){this.uri=new URL(e),this.inputRevision=t}}function Vo(e){const t=t=>{const r=e.textDocuments.get(t);if(!r)throw new Error(`Text document does not exist with URI ${t}`);return r},r=t=>{const r=e.viewComponents.get(t);if(!r)throw new $o(t);return r};return{haveInitialExtensionsLoaded:()=>So(e.haveInitialExtensionsLoaded.asObservable()),syncSettingsData:t=>e.settings.next(Object.freeze(t)),getWorkspaceRoots:()=>So(e.roots.pipe(x((e=>e.map((({uri:e,inputRevision:t})=>({uri:e.href,inputRevision:t}))))))),addWorkspaceRoot:t=>{e.roots.next(Object.freeze([...e.roots.value,new Go(t)])),e.rootChanges.next()},removeWorkspaceRoot:t=>{e.roots.next(Object.freeze(e.roots.value.filter((e=>e.uri.href!==t)))),e.rootChanges.next()},setSearchContext:t=>{e.searchContext=t,e.searchContextChanges.next(t)},getHover:r=>{const n=t(r.textDocument.uri),i=Mo(r.position);return So(Bo(e.hoverProviders,(e=>Ho(n,e,(({selector:e})=>e))),(({provider:e})=>e.provideHover(n,i)),(e=>function(e){const t=[],r=new Map;let n;for(const i of e)if(i){i.contents?.value&&t.push({value:i.contents.value,kind:i.contents.kind||xr.MarkupKind.PlainText});for(const e of i.aggregableBadges||[])r.set(e.text,e);i.range&&!n&&(n=i.range instanceof xr.Range?i.range.toPlain():i.range)}return 0===t.length?null:{contents:t,...n?{range:n}:{},aggregatedBadges:[...r.values()].sort(((e,t)=>e.text.localeCompare(t.text)))}}(Fo(e)))))},getDocumentHighlights:r=>{const n=t(r.textDocument.uri),i=Mo(r.position);return So(Bo(e.documentHighlightProviders,(e=>Ho(n,e,(({selector:e})=>e))),(({provider:e})=>e.provideDocumentHighlights(n,i)),Fo).pipe(x((e=>e.isLoading?[]:e.result))))},getDefinition:r=>{const n=t(r.textDocument.uri),i=Mo(r.position);return So(Bo(e.definitionProviders,(e=>Ho(n,e,(({selector:e})=>e))),(({provider:e})=>e.provideDefinition(n,i)),(e=>Fo(e).map(jo))))},getReferences:(r,n)=>{const i=t(r.textDocument.uri),o=Mo(r.position);return So(Bo(e.referenceProviders,(e=>Ho(i,e,(({selector:e})=>e))),(({provider:e})=>e.provideReferences(i,o,n)),(e=>Fo(e).map(jo))))},hasReferenceProvidersForDocument:r=>{const n=t(r.textDocument.uri);return So(e.referenceProviders.pipe(x((e=>0!==Ho(n,e,(({selector:e})=>e)).length))))},getLocations:(r,n)=>{const i=t(n.textDocument.uri),o=Mo(n.position);return So(Bo(e.locationProviders,(e=>Ho(i,e.filter((({provider:e})=>r===e.id)),(({selector:e})=>e))),(({provider:e})=>e.provider.provideLocations(i,o)),(e=>Fo(e).map(jo))))},addViewerIfNotExists:r=>{const n="viewer#"+e.lastViewerId++;let i;switch("CodeEditor"===r.type&&e.modelReferences.increment(r.resource),r.type){case"CodeEditor":{const e=t(r.resource);i=new bo({...r,viewerId:n},e);break}case"DirectoryViewer":i=new Oo({...r,viewerId:n})}return e.viewComponents.set(n,i),r.isActive&&e.activeViewComponentChanges.next(i),e.viewerUpdates.next({viewerId:n,action:"addition",type:r.type}),{viewerId:n}},removeViewer:({viewerId:n})=>{const i=r(n);e.viewComponents.delete(n),e.activeViewComponentChanges.value?.viewerId===n&&e.activeViewComponentChanges.next(void 0),e.viewerUpdates.next({viewerId:n,action:"removal",type:i.type}),"CodeEditor"===i.type&&e.modelReferences.decrement(i.resource)&&(r=>{const n=t(r);e.textDocuments.delete(r),e.languageReferences.decrement(n.languageId)&&e.activeLanguages.next(new Set(e.languageReferences.keys()))})(i.resource)},viewerUpdates:()=>So(e.viewerUpdates.asObservable()),setEditorSelections:({viewerId:e},t)=>{const n=r(e);!function(e,t){if(e.type!==t)throw new Error(`Viewer ID ${e.viewerId} is type ${e.type}, expected ${t}`)}(n,"CodeEditor"),n.update({selections:t})},addTextDocumentIfNotExists:t=>{if(e.textDocuments.has(t.uri))return;const r=new Lo(t);e.textDocuments.set(t.uri,r),e.openedTextDocuments.next(r),e.languageReferences.increment(t.languageId)&&e.activeLanguages.next(new Set(e.languageReferences.keys()))},getActiveViewComponentChanges:()=>So(e.activeViewComponentChanges),getActiveCodeEditorPosition:()=>So(e.activeViewComponentChanges.pipe(ht((e=>"CodeEditor"!==e?.type?Oe(null):e.selectionsChanges.pipe(x((t=>{const r=t[0];if(!r)return null;return r.start.line===r.end.line&&r.start.character===r.end.character&&-1===r.start.character?null:{textDocument:{uri:e.resource},position:{line:r.start.line,character:r.start.character}}}))))))),updateContext:t=>Jo(t,e),registerContributions:t=>{const r=rr(t);return oe(Or(e.contributions,r))},getContributions:({scope:r,extraContext:n,returnInactiveMenuItems:i}={})=>So(Je([e.contributions,e.activeViewComponentChanges.pipe(x((e=>{if(e)switch(e.type){case"CodeEditor":{const{languageId:r}=t(e.resource);return Object.assign(e,{model:{languageId:r}})}case"DirectoryViewer":return e}}))),e.settings,e.context]).pipe(x((([e,t,o,s])=>{n&&(s={...s,...n});const a=function(e,t,r,n){const i={...r};if(_o(t))for(const[e,r]of Object.entries(t.final))i[`config.${e}`]=r;const o=n||e||null;if(o&&(i.component=!0),"CodeEditor"===o?.type){i.resource=!0,i["resource.uri"]=o.resource,i["resource.basename"]=(0,en.basename)(o.resource),i["resource.dirname"]=(0,en.dirname)(o.resource),i["resource.extname"]=(0,en.extname)(o.resource),i["resource.language"]=o.model.languageId,i["resource.type"]="textDocument";const e=new URL(o.resource);i["resource.repo"]=`${e.hostname}${e.pathname}`,i["resource.commit"]=e.search.slice(1),i["resource.path"]=e.hash.slice(1),i["component.type"]="CodeEditor",i["component.selections"]=o.selections,o.selections.length>0&&(i["component.selection"]=o.selections[0]||null,i["component.selection.start"]=o.selections[0]?o.selections[0].start:null,i["component.selection.end"]=o.selections[0]?o.selections[0].end:null,i["component.selection.start.line"]=o.selections[0]?o.selections[0].start.line:null,i["component.selection.start.character"]=o.selections[0]?o.selections[0].start.character:null,i["component.selection.end.line"]=o.selections[0]?o.selections[0].end.line:null,i["component.selection.end.character"]=o.selections[0]?o.selections[0].end.character:null)}return"panelView"===o?.type&&(i["panel.activeView.id"]=o.id,i["panel.activeView.hasLocations"]=o.hasLocations),i}(t,o,s,r);return e.map((e=>{try{const t=function(e,t){return{...t,menus:t.menus&&Ut()(t.menus,(t=>t?.map((t=>({...t,when:t.when&&!!t.when.exec(e),disabledWhen:t.disabledWhen&&!!t.disabledWhen.exec(e)}))))),actions:tr(e,t.actions)}}(a,e);return i?t:function(e){return e.menus?{...e,menus:Ut()(e.menus,(e=>e?.filter((e=>!1!==e.when))))}:e}(t)}catch(t){return G("Discarding contributions: evaluating expressions or templates failed.",{contributions:e,error:t}),{}}}))})),x(er),mt(Tr()))),getPanelViews:()=>So(e.panelViews.pipe(ht((e=>Je([...e]))),br(0))),getInsightViewById:(t,r)=>So(e.insightsPageViewProviders.pipe(ht((e=>{const n=e.find((e=>e.id.split(".").slice(0,-1).join(".")===t));return n?xo(n.viewProvider.provideView(r)):we(new Error(`Couldn't find view with id ${t}`))})),At((e=>{G("View provider errored:",e);const{message:t,name:r,stack:n}=De(e);return Oe({message:t,name:r,stack:n})})),x((e=>({id:t,view:e}))))),getInsightsViews:(t,r)=>function(e,t,r){const n=new Set(r),i=t.pipe(x((e=>e.filter((e=>{if(r){const t=e.id.split(".").slice(0,-1).join(".");return n.has(t)}return!0})))),br(0));return So(Ro(e,i))}(t,e.insightsPageViewProviders,r),getHomepageViews:t=>So(Wo(t,e.homepageViewProviders)),getDirectoryViews:t=>So(Wo({viewer:{...t.viewer,directory:{...t.viewer.directory,uri:new URL(t.viewer.directory.uri)}},workspace:{uri:new URL(t.workspace.uri)}},e.directoryViewProviders)),getGlobalPageViews:t=>So(Wo(t,e.globalPageViewProviders)),getActiveExtensions:()=>So(e.activeExtensions)}}function Ho(e,t,r){return t.filter((t=>vo(r(t),{uri:e.uri,languageId:tn(fo(e.uri).filePath||"")})))}function Bo(e,t,r,n,i=!0){const o=(...e)=>{i&&G("Provider errored:",...e)};return e.pipe(x((e=>t(e))),ht((e=>qr(e.map((e=>Ir([Nr],xo((e=>{try{return r(e)}catch(e){return o(e),null}})(e)).pipe(nt(null),At((e=>(o(e),[null]))))))))))).pipe(nt([]),x((e=>({isLoading:e.some((e=>e===Nr)),result:n(e)}))),mt(((e,t)=>Tr()(e,t))))}function Fo(e){return e.filter(L(D(Nr))).flatMap(Pr()).filter(Zr)}class $o extends Error{name="ViewerNotFoundError";constructor(e){super(`Viewer not found: ${e}`)}}function Wo(e,t){return t.pipe(br(0),ht((t=>Je([Oe(null),...t.map((({viewProvider:t,id:r})=>Ir([void 0],xo(t.provideView(e)).pipe(nt(null),At((e=>{G("View provider errored:",e);const{message:t,name:r,stack:n}=De(e);return[{message:t,name:r,stack:n}]})))).pipe(x((e=>({id:r,view:e}))))))]))),x((e=>e.filter(j(Zr,M("view",L(D(null))))))))}class Yo{refCount=new Map;increment(e){const t=this.refCount.get(e);return void 0===t?(this.refCount.set(e,1),!0):(this.refCount.set(e,t+1),!1)}decrement(e){const t=this.refCount.get(e);if(void 0===t)throw new Error(`No refCount for key: ${String(e)}`);return 1===t?(this.refCount.delete(e),!0):(this.refCount.set(e,t-1),!1)}keys(){return this.refCount.keys()}delete(e){return this.refCount.delete(e)}}function zo(e){const t=new p;let r=!1;const n=new Promise((n=>{X((i=>{if(r)throw new Error("extension host is already initialized");r=!0;const{subscription:o,extensionAPI:s,extensionHostAPI:a}=function(e,t){const r=new p,{extensionAPI:n,extensionHostAPI:i,subscription:o}=function(e,t){const r=new p;!function(){const e={canHandle:Ue,serialize:e=>[e.href,[]],deserialize:e=>new URL(e)};Q.set("URL",e)}();const n=new Ce(1),i=ee(t.proxy),o=function(e,t,r){let n=new ke(new Set),i=Oe([]);return null!==t&&null!==r&&({activeLanguages:n,activeExtensions:i}=ir(t,r)),{haveInitialExtensionsLoaded:new ke(!1),roots:new ke([]),rootChanges:new pe,searchContextChanges:new pe,searchContext:void 0,settings:new ke(e.initialSettings),hoverProviders:new ke([]),documentHighlightProviders:new ke([]),definitionProviders:new ke([]),referenceProviders:new ke([]),locationProviders:new ke([]),context:new ke({"clientApplication.isSourcegraph":"sourcegraph"===e.clientApplication,"clientApplication.extensionAPIVersion.major":3}),contributions:new ke([]),lastViewerId:0,textDocuments:new Map,openedTextDocuments:new pe,viewComponents:new Map,activeLanguages:n,languageReferences:new Yo,modelReferences:new Yo,activeViewComponentChanges:new ke(void 0),viewerUpdates:new pe,panelViews:new ke([]),insightsPageViewProviders:new ke([]),homepageViewProviders:new ke([]),globalPageViewProviders:new ke([]),directoryViewProviders:new ke([]),activeExtensions:i,activeLoggers:new Set}}(e,i,n),s=Vo(o),a=wr(o,i,e);r.add(sr(o,i,a)),r.add(fr(o));const c={[Y]:!0,ping:()=>"pong",mainThreadAPIInitialized:()=>{n.next(!0)},...s},u=a("DEFAULT");return{extensionHostAPI:c,extensionAPI:u,subscription:r}}(t,e);return r.add(o),lr(n),r.add((()=>{globalThis.require=()=>{throw new Error("require: Sourcegraph extension API was unsubscribed")}})),{subscription:r,extensionAPI:n,extensionHostAPI:i}}(e,i);return t.add(o),n(s),a}),e.expose)}));return{unsubscribe:()=>t.unsubscribe(),extensionAPI:n}}function Jo(e,t){if(W()(t.context.value,e))return;const r={};for(const[n,i]of Object.entries(t.context.value))null!==e[n]&&(r[n]=i);for(const[t,n]of Object.entries(e))null!==n&&(r[t]=n);t.context.next(r)}const Ko=e=>"object"==typeof e&&null!==e&&U("endpoints")(e)&&(e=>B()(e)&&U("proxy")(e)&&U("expose")(e)&&F(e.proxy)&&F(e.expose))(e.endpoints);!async function(){try{const e=await w(self,"message").pipe(C(1)).toPromise();if(!Ko(e.data))throw new Error("First message event in extension host worker was not a well-formed InitMessage");const{endpoints:t}=e.data,r=zo(t);self.addEventListener("unload",(()=>r.unsubscribe()))}catch(e){G("Error starting the extension host:",e),self.close()}}()})()})();
|
|
2
|
+
(()=>{var e={3319:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MarkupKind={PlainText:"plaintext",Markdown:"markdown"},t.NotificationType={Error:1,Warning:2,Info:3,Log:4,Success:5},t.DocumentHighlightKind={Text:"text",Read:"read",Write:"write"}},9438:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.illegalArgument=function(e){return e?new Error(`Illegal argument: ${e}`):new Error("Illegal argument")}},162:(e,t,r)=>{"use strict";function n(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}Object.defineProperty(t,"__esModule",{value:!0}),n(r(1146)),n(r(7008)),n(r(8728)),n(r(3027)),n(r(3319))},1146:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(7008),i=r(8728),o=r(7360);class s{constructor(e,t){if(this.uri=e,t)if(t instanceof i.Range)this.range=t;else{if(!(t instanceof n.Position))throw new Error("Illegal argument");this.range=new i.Range(t,t)}else;}static isLocation(e){return e instanceof s||!!e&&(i.Range.isRange(e.range)&&o.isURL(e.uri))}toJSON(){return{uri:this.uri,range:this.range}}}t.Location=s},7008:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(9438);class i{static min(...e){let t=e.pop();if(void 0!==t){for(const r of e)r.isBefore(t)&&(t=r);return t}}static max(...e){let t=e.pop();if(void 0!==t){for(const r of e)r.isAfter(t)&&(t=r);return t}}static isPosition(e){if(!e)return!1;if(e instanceof i)return!0;const{line:t,character:r}=e;return"number"==typeof t&&"number"==typeof r}get line(){return this._line}get character(){return this._character}constructor(e,t){if(e<0)throw n.illegalArgument("line must be non-negative");if(t<0)throw n.illegalArgument("character must be non-negative");this._line=e,this._character=t}isBefore(e){return this._line<e.line||!(e.line<this._line)&&this._character<e.character}isBeforeOrEqual(e){return this._line<e.line||!(e.line<this._line)&&this._character<=e.character}isAfter(e){return!this.isBeforeOrEqual(e)}isAfterOrEqual(e){return!this.isBefore(e)}isEqual(e){return this._line===e.line&&this._character===e.character}compareTo(e){return this._line<e.line?-1:this._line>e.line?1:this._character<e.character?-1:this._character>e.character?1:0}translate(e,t=0){if(null===e||null===t)throw n.illegalArgument();let r;return void 0===e?r=0:"number"==typeof e?r=e:(r="number"==typeof e.lineDelta?e.lineDelta:0,t="number"==typeof e.characterDelta?e.characterDelta:0),0===r&&0===t?this:new i(this.line+r,this.character+t)}with(e,t=this.character){if(null===e||null===t)throw n.illegalArgument();let r;return void 0===e?r=this.line:"number"==typeof e?r=e:(r="number"==typeof e.line?e.line:this.line,t="number"==typeof e.character?e.character:this.character),r===this.line&&t===this.character?this:new i(r,t)}toJSON(){return{line:this.line,character:this.character}}}t.Position=i},8728:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(9438),i=r(7008);class o{static isRange(e){return e instanceof o||!!e&&(i.Position.isPosition(e.start)&&i.Position.isPosition(e.end))}get start(){return this._start}get end(){return this._end}constructor(e,t,r,n){let o,s;if("number"==typeof e&&"number"==typeof t&&"number"==typeof r&&"number"==typeof n?(o=new i.Position(e,t),s=new i.Position(r,n)):e instanceof i.Position&&t instanceof i.Position&&(o=e,s=t),!o||!s)throw new Error("Invalid arguments");o.isBefore(s)?(this._start=o,this._end=s):(this._start=s,this._end=o)}contains(e){return e instanceof o?this.contains(e._start)&&this.contains(e._end):e instanceof i.Position&&(!e.isBefore(this._start)&&!this._end.isBefore(e))}isEqual(e){return this._start.isEqual(e.start)&&this._end.isEqual(e.end)}intersection(e){const t=i.Position.max(e.start,this._start),r=i.Position.min(e.end,this._end);if(!t.isAfter(r))return new o(t,r)}union(e){if(this.contains(e))return this;if(e.contains(this))return e;const t=i.Position.min(e.start,this._start),r=i.Position.max(e.end,this.end);return new o(t,r)}get isEmpty(){return this._start.isEqual(this._end)}get isSingleLine(){return this._start.line===this._end.line}with(e,t=this.end){if(null===e||null===t)throw n.illegalArgument();let r;return e?i.Position.isPosition(e)?r=e:(r=e.start||this.start,t=e.end||this.end):r=this.start,r.isEqual(this._start)&&t.isEqual(this.end)?this:new o(r,t)}toJSON(){return{start:this._start.toJSON(),end:this._end.toJSON()}}toPlain(){return{start:{line:this._start.line,character:this._start.character},end:{line:this._end.line,character:this._end.character}}}static fromPlain(e){return new o(e.start.line,e.start.character,e.end.line,e.end.character)}}t.Range=o},3027:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(7008),i=r(8728);class o extends i.Range{static isSelection(e){return e instanceof o||!!e&&(i.Range.isRange(e)&&n.Position.isPosition(e.anchor)&&n.Position.isPosition(e.active)&&"boolean"==typeof e.isReversed)}get anchor(){return this._anchor}get active(){return this._active}constructor(e,t,r,i){let o,s;if("number"==typeof e&&"number"==typeof t&&"number"==typeof r&&"number"==typeof i?(o=new n.Position(e,t),s=new n.Position(r,i)):e instanceof n.Position&&t instanceof n.Position&&(o=e,s=t),!o||!s)throw new Error("Invalid arguments");super(o,s),this._anchor=o,this._active=s}get isReversed(){return this._anchor===this._end}toJSON(){return{start:this.start,end:this.end,active:this.active,anchor:this.anchor}}toPlain(){return Object.assign({},super.toPlain(),{anchor:this.anchor.toJSON(),active:this.active.toJSON(),isReversed:this.isReversed})}static fromPlain(e){return e.isReversed?new o(e.end.line,e.end.character,e.start.line,e.start.character):new o(e.start.line,e.start.character,e.end.line,e.end.character)}}t.Selection=o},7360:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isURL=e=>!!e&&"function"==typeof e.toString&&e.href===e.toString()},8074:e=>{"use strict";function t(e,t,i){e instanceof RegExp&&(e=r(e,i)),t instanceof RegExp&&(t=r(t,i));var o=n(e,t,i);return o&&{start:o[0],end:o[1],pre:i.slice(0,o[0]),body:i.slice(o[0]+e.length,o[1]),post:i.slice(o[1]+t.length)}}function r(e,t){var r=t.match(e);return r?r[0]:null}function n(e,t,r){var n,i,o,s,a,c=r.indexOf(e),u=r.indexOf(t,c+1),l=c;if(c>=0&&u>0){for(n=[],o=r.length;l>=0&&!a;)l==c?(n.push(l),c=r.indexOf(e,l+1)):1==n.length?a=[n.pop(),u]:((i=n.pop())<o&&(o=i,s=u),u=r.indexOf(t,l+1)),l=c<u&&c>=0?c:u;n.length&&(a=[o,s])}return a}e.exports=t,t.range=n},5694:(e,t,r)=>{var n=r(3155),i=r(8074);e.exports=function(e){if(!e)return[];"{}"===e.substr(0,2)&&(e="\\{\\}"+e.substr(2));return E(function(e){return e.split("\\\\").join(o).split("\\{").join(s).split("\\}").join(a).split("\\,").join(c).split("\\.").join(u)}(e),!0).map(f)};var o="\0SLASH"+Math.random()+"\0",s="\0OPEN"+Math.random()+"\0",a="\0CLOSE"+Math.random()+"\0",c="\0COMMA"+Math.random()+"\0",u="\0PERIOD"+Math.random()+"\0";function l(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function f(e){return e.split(o).join("\\").split(s).join("{").split(a).join("}").split(c).join(",").split(u).join(".")}function p(e){if(!e)return[""];var t=[],r=i("{","}",e);if(!r)return e.split(",");var n=r.pre,o=r.body,s=r.post,a=n.split(",");a[a.length-1]+="{"+o+"}";var c=p(s);return s.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),t.push.apply(t,a),t}function h(e){return"{"+e+"}"}function d(e){return/^-?0\d/.test(e)}function v(e,t){return e<=t}function y(e,t){return e>=t}function E(e,t){var r=[],o=i("{","}",e);if(!o||/\$$/.test(o.pre))return[e];var s,c=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(o.body),u=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(o.body),f=c||u,b=o.body.indexOf(",")>=0;if(!f&&!b)return o.post.match(/,.*\}/)?E(e=o.pre+"{"+o.body+a+o.post):[e];if(f)s=o.body.split(/\.\./);else if(1===(s=p(o.body)).length&&1===(s=E(s[0],!1).map(h)).length)return(S=o.post.length?E(o.post,!1):[""]).map((function(e){return o.pre+s[0]+e}));var g,m=o.pre,S=o.post.length?E(o.post,!1):[""];if(f){var x=l(s[0]),_=l(s[1]),O=Math.max(s[0].length,s[1].length),w=3==s.length?Math.abs(l(s[2])):1,A=v;_<x&&(w*=-1,A=y);var T=s.some(d);g=[];for(var R=x;A(R,_);R+=w){var C;if(u)"\\"===(C=String.fromCharCode(R))&&(C="");else if(C=String(R),T){var I=O-C.length;if(I>0){var N=new Array(I+1).join("0");C=R<0?"-"+N+C.slice(1):N+C}}g.push(C)}}else g=n(s,(function(e){return E(e,!1)}));for(var P=0;P<g.length;P++)for(var D=0;D<S.length;D++){var L=m+g[P]+S[D];(!t||f||L)&&r.push(L)}return r}},3155:e=>{e.exports=function(e,r){for(var n=[],i=0;i<e.length;i++){var o=r(e[i],i);t(o)?n.push.apply(n,o):n.push(o)}return n};var t=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},8612:(e,t,r)=>{var n=r(1577),i=r(5347),o=r(2114),s=r(7926),a=o.data,c=o.normalize,u="USE_FUNCTION_CONSTRUCTOR",l="AsyncIteratorPrototype",f=function(e,t){if(i(e))for(var r=0;r<e.length;r++)a[c(e[r])]=t};e.exports=function(e){"object"==typeof e&&(f(e.useNative,o.NATIVE),f(e.usePolyfill,o.POLYFILL),f(e.useFeatureDetection,null),n(e,u)&&(s[u]=!!e[u]),n(e,l)&&(s[u]=e[l]))}},6674:(e,t,r)=>{var n=r(1779),i=r(5085),o=TypeError;e.exports=function(e){if(n(e))return e;throw o(i(e)+" is not a function")}},5269:(e,t,r)=>{var n=r(1779),i=String,o=TypeError;e.exports=function(e){if("object"==typeof e||n(e))return e;throw o("Can't set "+i(e)+" as a prototype")}},9498:(e,t,r)=>{var n=r(3720),i=r(8076),o=r(475).f,s=n("unscopables"),a=Array.prototype;null==a[s]&&o(a,s,{configurable:!0,value:i(null)}),e.exports=function(e){a[s][e]=!0}},9284:(e,t,r)=>{var n=r(5069),i=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw i("Incorrect invocation")}},9045:(e,t,r)=>{var n=r(2794),i=String,o=TypeError;e.exports=function(e){if(n(e))return e;throw o(i(e)+" is not an object")}},6911:(e,t,r)=>{"use strict";var n=r(8779),i=r(524),o=r(5435),s=r(2805),a=r(3196),c=r(4273),u=r(8163),l=r(3094),f=r(4385),p=r(7596),h=Array;e.exports=function(e){var t=o(e),r=c(this),d=arguments.length,v=d>1?arguments[1]:void 0,y=void 0!==v;y&&(v=n(v,d>2?arguments[2]:void 0));var E,b,g,m,S,x,_=p(t),O=0;if(!_||this===h&&a(_))for(E=u(t),b=r?new this(E):h(E);E>O;O++)x=y?v(t[O],O):t[O],l(b,O,x);else for(S=(m=f(t,_)).next,b=r?new this:[];!(g=i(S,m)).done;O++)x=y?s(m,v,[g.value,O],!0):g.value,l(b,O,x);return b.length=O,b}},5909:(e,t,r)=>{var n=r(7199),i=r(6029),o=r(8163),s=function(e){return function(t,r,s){var a,c=n(t),u=o(c),l=i(s,u);if(e&&r!=r){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},8517:(e,t,r)=>{var n=r(6029),i=r(8163),o=r(3094),s=Array,a=Math.max;e.exports=function(e,t,r){for(var c=i(e),u=n(t,c),l=n(void 0===r?c:r,c),f=s(a(l-u,0)),p=0;u<l;u++,p++)o(f,p,e[u]);return f.length=p,f}},8589:(e,t,r)=>{var n=r(5302);e.exports=n([].slice)},5189:(e,t,r)=>{var n=r(8517),i=Math.floor,o=function(e,t){var r=e.length,c=i(r/2);return r<8?s(e,t):a(e,o(n(e,0,c),t),o(n(e,c),t),t)},s=function(e,t){for(var r,n,i=e.length,o=1;o<i;){for(n=o,r=e[o];n&&t(e[n-1],r)>0;)e[n]=e[--n];n!==o++&&(e[n]=r)}return e},a=function(e,t,r,n){for(var i=t.length,o=r.length,s=0,a=0;s<i||a<o;)e[s+a]=s<i&&a<o?n(t[s],r[a])<=0?t[s++]:r[a++]:s<i?t[s++]:r[a++];return e};e.exports=o},2805:(e,t,r)=>{var n=r(9045),i=r(5977);e.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(t){i(e,"throw",t)}}},1286:(e,t,r)=>{var n=r(5302),i=n({}.toString),o=n("".slice);e.exports=function(e){return o(i(e),8,-1)}},9690:(e,t,r)=>{var n=r(1573),i=r(1779),o=r(1286),s=r(3720)("toStringTag"),a=Object,c="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),s))?r:c?o(t):"Object"==(n=o(t))&&i(t.callee)?"Arguments":n}},9730:(e,t,r)=>{var n=r(1577),i=r(6630),o=r(1879),s=r(475);e.exports=function(e,t,r){for(var a=i(t),c=s.f,u=o.f,l=0;l<a.length;l++){var f=a[l];n(e,f)||r&&n(r,f)||c(e,f,u(t,f))}}},7018:(e,t,r)=>{var n=r(7857);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7783:(e,t,r)=>{"use strict";var n=r(8937).IteratorPrototype,i=r(8076),o=r(6279),s=r(2652),a=r(740),c=function(){return this};e.exports=function(e,t,r,u){var l=t+" Iterator";return e.prototype=i(n,{next:o(+!u,r)}),s(e,l,!1,!0),a[l]=c,e}},5331:(e,t,r)=>{var n=r(9684),i=r(475),o=r(6279);e.exports=n?function(e,t,r){return i.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},6279:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},3094:(e,t,r)=>{"use strict";var n=r(862),i=r(475),o=r(6279);e.exports=function(e,t,r){var s=n(t);s in e?i.f(e,s,o(0,r)):e[s]=r}},2203:(e,t,r)=>{var n=r(4516),i=r(475);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),i.f(e,t,r)}},656:(e,t,r)=>{var n=r(1779),i=r(5331),o=r(4516),s=r(9723);e.exports=function(e,t,r,a){a||(a={});var c=a.enumerable,u=void 0!==a.name?a.name:t;return n(r)&&o(r,u,a),a.global?c?e[t]=r:s(t,r):(a.unsafe?e[t]&&(c=!0):delete e[t],c?e[t]=r:i(e,t,r)),e}},3178:(e,t,r)=>{var n=r(656);e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},9723:(e,t,r)=>{var n=r(3586),i=Object.defineProperty;e.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},4274:(e,t,r)=>{"use strict";var n=r(5164),i=r(524),o=r(7873),s=r(6812),a=r(1779),c=r(7783),u=r(5142),l=r(7653),f=r(2652),p=r(5331),h=r(656),d=r(3720),v=r(740),y=r(8937),E=s.PROPER,b=s.CONFIGURABLE,g=y.IteratorPrototype,m=y.BUGGY_SAFARI_ITERATORS,S=d("iterator"),x="keys",_="values",O="entries",w=function(){return this};e.exports=function(e,t,r,s,d,y,A){c(r,t,s);var T,R,C,I=function(e){if(e===d&&U)return U;if(!m&&e in D)return D[e];switch(e){case x:case _:case O:return function(){return new r(this,e)}}return function(){return new r(this)}},N=t+" Iterator",P=!1,D=e.prototype,L=D[S]||D["@@iterator"]||d&&D[d],U=!m&&L||I(d),M="Array"==t&&D.entries||L;if(M&&(T=u(M.call(new e)))!==Object.prototype&&T.next&&(o||u(T)===g||(l?l(T,g):a(T[S])||h(T,S,w)),f(T,N,!0,!0),o&&(v[N]=w)),E&&d==_&&L&&L.name!==_&&(!o&&b?p(D,"name",_):(P=!0,U=function(){return i(L,this)})),d)if(R={values:I(_),keys:y?U:I(x),entries:I(O)},A)for(C in R)(m||P||!(C in D))&&h(D,C,R[C]);else n({target:t,proto:!0,forced:m||P},R);return o&&!A||D[S]===U||h(D,S,U,{name:d}),v[t]=U,R}},3871:(e,t,r)=>{var n=r(6846),i=r(1577),o=r(6839),s=r(475).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});i(t,e)||s(t,e,{value:o.f(e)})}},9684:(e,t,r)=>{var n=r(7857);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8010:(e,t,r)=>{var n=r(3586),i=r(2794),o=n.document,s=i(o)&&i(o.createElement);e.exports=function(e){return s?o.createElement(e):{}}},4748:(e,t,r)=>{var n=r(3204);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},7466:(e,t,r)=>{var n=r(1286),i=r(3586);e.exports="process"==n(i.process)},3204:(e,t,r)=>{var n=r(4440);e.exports=n("navigator","userAgent")||""},9310:(e,t,r)=>{var n,i,o=r(3586),s=r(3204),a=o.process,c=o.Deno,u=a&&a.versions||c&&c.version,l=u&&u.v8;l&&(i=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(i=+n[1]),e.exports=i},8203:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},5164:(e,t,r)=>{var n=r(3586),i=r(1879).f,o=r(5331),s=r(656),a=r(9723),c=r(9730),u=r(2114);e.exports=function(e,t){var r,l,f,p,h,d=e.target,v=e.global,y=e.stat;if(r=v?n:y?n[d]||a(d,{}):(n[d]||{}).prototype)for(l in t){if(p=t[l],f=e.dontCallGetSet?(h=i(r,l))&&h.value:r[l],!u(v?l:d+(y?".":"#")+l,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(e.sham||f&&f.sham)&&o(p,"sham",!0),s(r,l,p,e)}}},7857:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},4246:(e,t,r)=>{var n=r(6958),i=Function.prototype,o=i.apply,s=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?s.bind(o):function(){return s.apply(o,arguments)})},8779:(e,t,r)=>{var n=r(5302),i=r(6674),o=r(6958),s=n(n.bind);e.exports=function(e,t){return i(e),void 0===t?e:o?s(e,t):function(){return e.apply(t,arguments)}}},6958:(e,t,r)=>{var n=r(7857);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},524:(e,t,r)=>{var n=r(6958),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},6812:(e,t,r)=>{var n=r(9684),i=r(1577),o=Function.prototype,s=n&&Object.getOwnPropertyDescriptor,a=i(o,"name"),c=a&&"something"===function(){}.name,u=a&&(!n||n&&s(o,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},5302:(e,t,r)=>{var n=r(6958),i=Function.prototype,o=i.bind,s=i.call,a=n&&o.bind(s,s);e.exports=n?function(e){return e&&a(e)}:function(e){return e&&function(){return s.apply(e,arguments)}}},4440:(e,t,r)=>{var n=r(3586),i=r(1779),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e]):n[e]&&n[e][t]}},7596:(e,t,r)=>{var n=r(9690),i=r(9832),o=r(740),s=r(3720)("iterator");e.exports=function(e){if(null!=e)return i(e,s)||i(e,"@@iterator")||o[n(e)]}},4385:(e,t,r)=>{var n=r(524),i=r(6674),o=r(9045),s=r(5085),a=r(7596),c=TypeError;e.exports=function(e,t){var r=arguments.length<2?a(e):t;if(i(r))return o(n(r,e));throw c(s(e)+" is not iterable")}},9832:(e,t,r)=>{var n=r(6674);e.exports=function(e,t){var r=e[t];return null==r?void 0:n(r)}},3586:(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}()||Function("return this")()},1577:(e,t,r)=>{var n=r(5302),i=r(5435),o=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},3544:e=>{e.exports={}},5130:(e,t,r)=>{var n=r(4440);e.exports=n("document","documentElement")},9778:(e,t,r)=>{var n=r(9684),i=r(7857),o=r(8010);e.exports=!n&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},9349:(e,t,r)=>{var n=r(5302),i=r(7857),o=r(1286),s=Object,a=n("".split);e.exports=i((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?a(e,""):s(e)}:s},9661:(e,t,r)=>{var n=r(5302),i=r(1779),o=r(7926),s=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return s(e)}),e.exports=o.inspectSource},7132:(e,t,r)=>{var n,i,o,s=r(6663),a=r(3586),c=r(5302),u=r(2794),l=r(5331),f=r(1577),p=r(7926),h=r(22),d=r(3544),v="Object already initialized",y=a.TypeError,E=a.WeakMap;if(s||p.state){var b=p.state||(p.state=new E),g=c(b.get),m=c(b.has),S=c(b.set);n=function(e,t){if(m(b,e))throw new y(v);return t.facade=e,S(b,e,t),t},i=function(e){return g(b,e)||{}},o=function(e){return m(b,e)}}else{var x=h("state");d[x]=!0,n=function(e,t){if(f(e,x))throw new y(v);return t.facade=e,l(e,x,t),t},i=function(e){return f(e,x)?e[x]:{}},o=function(e){return f(e,x)}}e.exports={set:n,get:i,has:o,enforce:function(e){return o(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!u(t)||(r=i(t)).type!==e)throw y("Incompatible receiver, "+e+" required");return r}}}},3196:(e,t,r)=>{var n=r(3720),i=r(740),o=n("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||s[o]===e)}},5347:(e,t,r)=>{var n=r(1286);e.exports=Array.isArray||function(e){return"Array"==n(e)}},1779:e=>{e.exports=function(e){return"function"==typeof e}},4273:(e,t,r)=>{var n=r(5302),i=r(7857),o=r(1779),s=r(9690),a=r(4440),c=r(9661),u=function(){},l=[],f=a("Reflect","construct"),p=/^\s*(?:class|function)\b/,h=n(p.exec),d=!p.exec(u),v=function(e){if(!o(e))return!1;try{return f(u,l,e),!0}catch(e){return!1}},y=function(e){if(!o(e))return!1;switch(s(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!h(p,c(e))}catch(e){return!0}};y.sham=!0,e.exports=!f||i((function(){var e;return v(v.call)||!v(Object)||!v((function(){e=!0}))||e}))?y:v},2114:(e,t,r)=>{var n=r(7857),i=r(1779),o=/#|\.prototype\./,s=function(e,t){var r=c[a(e)];return r==l||r!=u&&(i(t)?n(t):!!t)},a=s.normalize=function(e){return String(e).replace(o,".").toLowerCase()},c=s.data={},u=s.NATIVE="N",l=s.POLYFILL="P";e.exports=s},2794:(e,t,r)=>{var n=r(1779);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},7873:e=>{e.exports=!1},935:(e,t,r)=>{var n=r(4440),i=r(1779),o=r(5069),s=r(4798),a=Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return i(t)&&o(t.prototype,a(e))}},5977:(e,t,r)=>{var n=r(524),i=r(9045),o=r(9832);e.exports=function(e,t,r){var s,a;i(e);try{if(!(s=o(e,"return"))){if("throw"===t)throw r;return r}s=n(s,e)}catch(e){a=!0,s=e}if("throw"===t)throw r;if(a)throw s;return i(s),r}},8937:(e,t,r)=>{"use strict";var n,i,o,s=r(7857),a=r(1779),c=r(8076),u=r(5142),l=r(656),f=r(3720),p=r(7873),h=f("iterator"),d=!1;[].keys&&("next"in(o=[].keys())?(i=u(u(o)))!==Object.prototype&&(n=i):d=!0),null==n||s((function(){var e={};return n[h].call(e)!==e}))?n={}:p&&(n=c(n)),a(n[h])||l(n,h,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:d}},740:e=>{e.exports={}},8163:(e,t,r)=>{var n=r(1301);e.exports=function(e){return n(e.length)}},4516:(e,t,r)=>{var n=r(7857),i=r(1779),o=r(1577),s=r(9684),a=r(6812).CONFIGURABLE,c=r(9661),u=r(7132),l=u.enforce,f=u.get,p=Object.defineProperty,h=s&&!n((function(){return 8!==p((function(){}),"length",{value:8}).length})),d=String(String).split("String"),v=e.exports=function(e,t,r){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!o(e,"name")||a&&e.name!==t)&&p(e,"name",{value:t,configurable:!0}),h&&r&&o(r,"arity")&&e.length!==r.arity&&p(e,"length",{value:r.arity});try{r&&o(r,"constructor")&&r.constructor?s&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=l(e);return o(n,"source")||(n.source=d.join("string"==typeof t?t:"")),e};Function.prototype.toString=v((function(){return i(this)&&f(this).source||c(this)}),"toString")},9503:e=>{var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},505:(e,t,r)=>{var n=r(9310),i=r(7857);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},5454:(e,t,r)=>{var n=r(7857),i=r(3720),o=r(7873),s=i("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),o&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://\u0442\u0435\u0441\u0442").host||"#%D0%B1"!==new URL("http://a#\u0431").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}))},6663:(e,t,r)=>{var n=r(3586),i=r(1779),o=r(9661),s=n.WeakMap;e.exports=i(s)&&/native code/.test(o(s))},2343:(e,t,r)=>{"use strict";var n=r(9684),i=r(5302),o=r(524),s=r(7857),a=r(4930),c=r(9551),u=r(4530),l=r(5435),f=r(9349),p=Object.assign,h=Object.defineProperty,d=i([].concat);e.exports=!p||s((function(){if(n&&1!==p({b:1},p(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),i="abcdefghijklmnopqrst";return e[r]=7,i.split("").forEach((function(e){t[e]=e})),7!=p({},e)[r]||a(p({},t)).join("")!=i}))?function(e,t){for(var r=l(e),i=arguments.length,s=1,p=c.f,h=u.f;i>s;)for(var v,y=f(arguments[s++]),E=p?d(a(y),p(y)):a(y),b=E.length,g=0;b>g;)v=E[g++],n&&!o(h,y,v)||(r[v]=y[v]);return r}:p},8076:(e,t,r)=>{var n,i=r(9045),o=r(2764),s=r(8203),a=r(3544),c=r(5130),u=r(8010),l=r(22),f="prototype",p="script",h=l("IE_PROTO"),d=function(){},v=function(e){return"<"+p+">"+e+"</"+p+">"},y=function(e){e.write(v("")),e.close();var t=e.parentWindow.Object;return e=null,t},E=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;E="undefined"!=typeof document?document.domain&&n?y(n):(t=u("iframe"),r="java"+p+":",t.style.display="none",c.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(v("document.F=Object")),e.close(),e.F):y(n);for(var i=s.length;i--;)delete E[f][s[i]];return E()};a[h]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(d[f]=i(e),r=new d,d[f]=null,r[h]=e):r=E(),void 0===t?r:o.f(r,t)}},2764:(e,t,r)=>{var n=r(9684),i=r(5663),o=r(475),s=r(9045),a=r(7199),c=r(4930);t.f=n&&!i?Object.defineProperties:function(e,t){s(e);for(var r,n=a(t),i=c(t),u=i.length,l=0;u>l;)o.f(e,r=i[l++],n[r]);return e}},475:(e,t,r)=>{var n=r(9684),i=r(9778),o=r(5663),s=r(9045),a=r(862),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",h="writable";t.f=n?o?function(e,t,r){if(s(e),t=a(t),s(r),"function"==typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=l(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:f in r?r[f]:n[f],writable:!1})}return u(e,t,r)}:u:function(e,t,r){if(s(e),t=a(t),s(r),i)try{return u(e,t,r)}catch(e){}if("get"in r||"set"in r)throw c("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},1879:(e,t,r)=>{var n=r(9684),i=r(524),o=r(4530),s=r(6279),a=r(7199),c=r(862),u=r(1577),l=r(9778),f=Object.getOwnPropertyDescriptor;t.f=n?f:function(e,t){if(e=a(e),t=c(t),l)try{return f(e,t)}catch(e){}if(u(e,t))return s(!i(o.f,e,t),e[t])}},3600:(e,t,r)=>{var n=r(6777),i=r(8203).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},9551:(e,t)=>{t.f=Object.getOwnPropertySymbols},5142:(e,t,r)=>{var n=r(1577),i=r(1779),o=r(5435),s=r(22),a=r(7018),c=s("IE_PROTO"),u=Object,l=u.prototype;e.exports=a?u.getPrototypeOf:function(e){var t=o(e);if(n(t,c))return t[c];var r=t.constructor;return i(r)&&t instanceof r?r.prototype:t instanceof u?l:null}},5069:(e,t,r)=>{var n=r(5302);e.exports=n({}.isPrototypeOf)},6777:(e,t,r)=>{var n=r(5302),i=r(1577),o=r(7199),s=r(5909).indexOf,a=r(3544),c=n([].push);e.exports=function(e,t){var r,n=o(e),u=0,l=[];for(r in n)!i(a,r)&&i(n,r)&&c(l,r);for(;t.length>u;)i(n,r=t[u++])&&(~s(l,r)||c(l,r));return l}},4930:(e,t,r)=>{var n=r(6777),i=r(8203);e.exports=Object.keys||function(e){return n(e,i)}},4530:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);t.f=i?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},7653:(e,t,r)=>{var n=r(5302),i=r(9045),o=r(5269);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return i(r),o(n),t?e(r,n):r.__proto__=n,r}}():void 0)},7513:(e,t,r)=>{var n=r(524),i=r(1779),o=r(2794),s=TypeError;e.exports=function(e,t){var r,a;if("string"===t&&i(r=e.toString)&&!o(a=n(r,e)))return a;if(i(r=e.valueOf)&&!o(a=n(r,e)))return a;if("string"!==t&&i(r=e.toString)&&!o(a=n(r,e)))return a;throw s("Can't convert object to primitive value")}},6630:(e,t,r)=>{var n=r(4440),i=r(5302),o=r(3600),s=r(9551),a=r(9045),c=i([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(a(e)),r=s.f;return r?c(t,r(e)):t}},6846:(e,t,r)=>{var n=r(3586);e.exports=n},9258:(e,t,r)=>{"use strict";var n=r(9045);e.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},7942:e=>{var t=TypeError;e.exports=function(e){if(null==e)throw t("Can't call method on "+e);return e}},2652:(e,t,r)=>{var n=r(475).f,i=r(1577),o=r(3720)("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!i(e,o)&&n(e,o,{configurable:!0,value:t})}},22:(e,t,r)=>{var n=r(681),i=r(7539),o=n("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},7926:(e,t,r)=>{var n=r(3586),i=r(9723),o="__core-js_shared__",s=n[o]||i(o,{});e.exports=s},681:(e,t,r)=>{var n=r(7873),i=r(7926);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.22.8",mode:n?"pure":"global",copyright:"\xa9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.8/LICENSE",source:"https://github.com/zloirock/core-js"})},6036:(e,t,r)=>{var n=r(5302),i=r(9022),o=r(2420),s=r(7942),a=n("".charAt),c=n("".charCodeAt),u=n("".slice),l=function(e){return function(t,r){var n,l,f=o(s(t)),p=i(r),h=f.length;return p<0||p>=h?e?"":void 0:(n=c(f,p))<55296||n>56319||p+1===h||(l=c(f,p+1))<56320||l>57343?e?a(f,p):n:e?u(f,p,p+2):l-56320+(n-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},7269:(e,t,r)=>{"use strict";var n=r(5302),i=2147483647,o=/[^\0-\u007E]/,s=/[.\u3002\uFF0E\uFF61]/g,a="Overflow: input needs wider integers to process",c=RangeError,u=n(s.exec),l=Math.floor,f=String.fromCharCode,p=n("".charCodeAt),h=n([].join),d=n([].push),v=n("".replace),y=n("".split),E=n("".toLowerCase),b=function(e){return e+22+75*(e<26)},g=function(e,t,r){var n=0;for(e=r?l(e/700):e>>1,e+=l(e/t);e>455;)e=l(e/35),n+=36;return l(n+36*e/(e+38))},m=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var i=p(e,r++);if(i>=55296&&i<=56319&&r<n){var o=p(e,r++);56320==(64512&o)?d(t,((1023&i)<<10)+(1023&o)+65536):(d(t,i),r--)}else d(t,i)}return t}(e);var r,n,o=e.length,s=128,u=0,v=72;for(r=0;r<e.length;r++)(n=e[r])<128&&d(t,f(n));var y=t.length,E=y;for(y&&d(t,"-");E<o;){var m=i;for(r=0;r<e.length;r++)(n=e[r])>=s&&n<m&&(m=n);var S=E+1;if(m-s>l((i-u)/S))throw c(a);for(u+=(m-s)*S,s=m,r=0;r<e.length;r++){if((n=e[r])<s&&++u>i)throw c(a);if(n==s){for(var x=u,_=36;;){var O=_<=v?1:_>=v+26?26:_-v;if(x<O)break;var w=x-O,A=36-O;d(t,f(b(O+w%A))),x=l(w/A),_+=36}d(t,f(b(x))),v=g(u,S,E==y),u=0,E++}}u++,s++}return h(t,"")};e.exports=function(e){var t,r,n=[],i=y(v(E(e),s,"."),".");for(t=0;t<i.length;t++)r=i[t],d(n,u(o,r)?"xn--"+m(r):r);return h(n,".")}},4484:(e,t,r)=>{var n,i,o,s,a=r(3586),c=r(4246),u=r(8779),l=r(1779),f=r(1577),p=r(7857),h=r(5130),d=r(8589),v=r(8010),y=r(1540),E=r(4748),b=r(7466),g=a.setImmediate,m=a.clearImmediate,S=a.process,x=a.Dispatch,_=a.Function,O=a.MessageChannel,w=a.String,A=0,T={},R="onreadystatechange";try{n=a.location}catch(e){}var C=function(e){if(f(T,e)){var t=T[e];delete T[e],t()}},I=function(e){return function(){C(e)}},N=function(e){C(e.data)},P=function(e){a.postMessage(w(e),n.protocol+"//"+n.host)};g&&m||(g=function(e){y(arguments.length,1);var t=l(e)?e:_(e),r=d(arguments,1);return T[++A]=function(){c(t,void 0,r)},i(A),A},m=function(e){delete T[e]},b?i=function(e){S.nextTick(I(e))}:x&&x.now?i=function(e){x.now(I(e))}:O&&!E?(s=(o=new O).port2,o.port1.onmessage=N,i=u(s.postMessage,s)):a.addEventListener&&l(a.postMessage)&&!a.importScripts&&n&&"file:"!==n.protocol&&!p(P)?(i=P,a.addEventListener("message",N,!1)):i=R in v("script")?function(e){h.appendChild(v("script"))[R]=function(){h.removeChild(this),C(e)}}:function(e){setTimeout(I(e),0)}),e.exports={set:g,clear:m}},6029:(e,t,r)=>{var n=r(9022),i=Math.max,o=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):o(r,t)}},7199:(e,t,r)=>{var n=r(9349),i=r(7942);e.exports=function(e){return n(i(e))}},9022:(e,t,r)=>{var n=r(9503);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},1301:(e,t,r)=>{var n=r(9022),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},5435:(e,t,r)=>{var n=r(7942),i=Object;e.exports=function(e){return i(n(e))}},2228:(e,t,r)=>{var n=r(524),i=r(2794),o=r(935),s=r(9832),a=r(7513),c=r(3720),u=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!i(e)||o(e))return e;var r,c=s(e,l);if(c){if(void 0===t&&(t="default"),r=n(c,e,t),!i(r)||o(r))return r;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},862:(e,t,r)=>{var n=r(2228),i=r(935);e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},1573:(e,t,r)=>{var n={};n[r(3720)("toStringTag")]="z",e.exports="[object z]"===String(n)},2420:(e,t,r)=>{var n=r(9690),i=String;e.exports=function(e){if("Symbol"===n(e))throw TypeError("Cannot convert a Symbol value to a string");return i(e)}},5085:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},7539:(e,t,r)=>{var n=r(5302),i=0,o=Math.random(),s=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++i+o,36)}},4798:(e,t,r)=>{var n=r(505);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5663:(e,t,r)=>{var n=r(9684),i=r(7857);e.exports=n&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},1540:e=>{var t=TypeError;e.exports=function(e,r){if(e<r)throw t("Not enough arguments");return e}},6839:(e,t,r)=>{var n=r(3720);t.f=n},3720:(e,t,r)=>{var n=r(3586),i=r(681),o=r(1577),s=r(7539),a=r(505),c=r(4798),u=i("wks"),l=n.Symbol,f=l&&l.for,p=c?l:l&&l.withoutSetter||s;e.exports=function(e){if(!o(u,e)||!a&&"string"!=typeof u[e]){var t="Symbol."+e;a&&o(l,e)?u[e]=l[e]:u[e]=c&&f?f(t):p(t)}return u[e]}},7956:(e,t,r)=>{"use strict";var n=r(7199),i=r(9498),o=r(740),s=r(7132),a=r(475).f,c=r(4274),u=r(7873),l=r(9684),f="Array Iterator",p=s.set,h=s.getterFor(f);e.exports=c(Array,"Array",(function(e,t){p(this,{type:f,target:n(e),index:0,kind:t})}),(function(){var e=h(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values");var d=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!u&&l&&"values"!==d.name)try{a(d,"name",{value:"values"})}catch(e){}},3883:(e,t,r)=>{var n=r(9684),i=r(2203),o=r(9258),s=r(7857),a=RegExp.prototype;n&&s((function(){return"sy"!==Object.getOwnPropertyDescriptor(a,"flags").get.call({dotAll:!0,sticky:!0})}))&&i(a,"flags",{configurable:!0,get:o})},9944:(e,t,r)=>{"use strict";var n=r(6036).charAt,i=r(2420),o=r(7132),s=r(4274),a="String Iterator",c=o.set,u=o.getterFor(a);s(String,"String",(function(e){c(this,{type:a,string:i(e),index:0})}),(function(){var e,t=u(this),r=t.string,i=t.index;return i>=r.length?{value:void 0,done:!0}:(e=n(r,i),t.index+=e.length,{value:e,done:!1})}))},1412:(e,t,r)=>{r(3871)("observable")},7450:(e,t,r)=>{var n=r(5164),i=r(3586),o=r(4484).clear;n({global:!0,bind:!0,enumerable:!0,forced:i.clearImmediate!==o},{clearImmediate:o})},7998:(e,t,r)=>{r(7450),r(1637)},1637:(e,t,r)=>{var n=r(5164),i=r(3586),o=r(4484).set;n({global:!0,bind:!0,enumerable:!0,forced:i.setImmediate!==o},{setImmediate:o})},1411:(e,t,r)=>{"use strict";r(7956);var n=r(5164),i=r(3586),o=r(524),s=r(5302),a=r(9684),c=r(5454),u=r(656),l=r(3178),f=r(2652),p=r(7783),h=r(7132),d=r(9284),v=r(1779),y=r(1577),E=r(8779),b=r(9690),g=r(9045),m=r(2794),S=r(2420),x=r(8076),_=r(6279),O=r(4385),w=r(7596),A=r(1540),T=r(3720),R=r(5189),C=T("iterator"),I="URLSearchParams",N=I+"Iterator",P=h.set,D=h.getterFor(I),L=h.getterFor(N),U=Object.getOwnPropertyDescriptor,M=function(e){if(!a)return i[e];var t=U(i,e);return t&&t.value},j=M("fetch"),k=M("Request"),G=M("Headers"),H=k&&k.prototype,B=G&&G.prototype,F=i.RegExp,V=i.TypeError,$=i.decodeURIComponent,W=i.encodeURIComponent,Y=s("".charAt),z=s([].join),K=s([].push),J=s("".replace),q=s([].shift),X=s([].splice),Q=s("".split),Z=s("".slice),ee=/\+/g,te=Array(4),re=function(e){return te[e-1]||(te[e-1]=F("((?:%[\\da-f]{2}){"+e+"})","gi"))},ne=function(e){try{return $(e)}catch(t){return e}},ie=function(e){var t=J(e,ee," "),r=4;try{return $(t)}catch(e){for(;r;)t=J(t,re(r--),ne);return t}},oe=/[!'()~]|%20/g,se={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ae=function(e){return se[e]},ce=function(e){return J(W(e),oe,ae)},ue=p((function(e,t){P(this,{type:N,iterator:O(D(e).entries),kind:t})}),"Iterator",(function(){var e=L(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r}),!0),le=function(e){this.entries=[],this.url=null,void 0!==e&&(m(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===Y(e,0)?Z(e,1):e:S(e)))};le.prototype={type:I,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,i,s,a,c,u=w(e);if(u)for(r=(t=O(e,u)).next;!(n=o(r,t)).done;){if(s=(i=O(g(n.value))).next,(a=o(s,i)).done||(c=o(s,i)).done||!o(s,i).done)throw V("Expected sequence with length 2");K(this.entries,{key:S(a.value),value:S(c.value)})}else for(var l in e)y(e,l)&&K(this.entries,{key:l,value:S(e[l])})},parseQuery:function(e){if(e)for(var t,r,n=Q(e,"&"),i=0;i<n.length;)(t=n[i++]).length&&(r=Q(t,"="),K(this.entries,{key:ie(q(r)),value:ie(z(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],K(r,ce(e.key)+"="+ce(e.value));return z(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var fe=function(){d(this,pe);var e=arguments.length>0?arguments[0]:void 0;P(this,new le(e))},pe=fe.prototype;if(l(pe,{append:function(e,t){A(arguments.length,2);var r=D(this);K(r.entries,{key:S(e),value:S(t)}),r.updateURL()},delete:function(e){A(arguments.length,1);for(var t=D(this),r=t.entries,n=S(e),i=0;i<r.length;)r[i].key===n?X(r,i,1):i++;t.updateURL()},get:function(e){A(arguments.length,1);for(var t=D(this).entries,r=S(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){A(arguments.length,1);for(var t=D(this).entries,r=S(e),n=[],i=0;i<t.length;i++)t[i].key===r&&K(n,t[i].value);return n},has:function(e){A(arguments.length,1);for(var t=D(this).entries,r=S(e),n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){A(arguments.length,1);for(var r,n=D(this),i=n.entries,o=!1,s=S(e),a=S(t),c=0;c<i.length;c++)(r=i[c]).key===s&&(o?X(i,c--,1):(o=!0,r.value=a));o||K(i,{key:s,value:a}),n.updateURL()},sort:function(){var e=D(this);R(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=D(this).entries,n=E(e,arguments.length>1?arguments[1]:void 0),i=0;i<r.length;)n((t=r[i++]).value,t.key,this)},keys:function(){return new ue(this,"keys")},values:function(){return new ue(this,"values")},entries:function(){return new ue(this,"entries")}},{enumerable:!0}),u(pe,C,pe.entries,{name:"entries"}),u(pe,"toString",(function(){return D(this).serialize()}),{enumerable:!0}),f(fe,I),n({global:!0,constructor:!0,forced:!c},{URLSearchParams:fe}),!c&&v(G)){var he=s(B.has),de=s(B.set),ve=function(e){if(m(e)){var t,r=e.body;if(b(r)===I)return t=e.headers?new G(e.headers):new G,he(t,"content-type")||de(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),x(e,{body:_(0,S(r)),headers:_(0,t)})}return e};if(v(j)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return j(e,arguments.length>1?ve(arguments[1]):{})}}),v(k)){var ye=function(e){return d(this,H),new k(e,arguments.length>1?ve(arguments[1]):{})};H.constructor=ye,ye.prototype=H,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:ye})}}e.exports={URLSearchParams:fe,getState:D}},7445:(e,t,r)=>{r(1411)},5963:(e,t,r)=>{"use strict";r(9944);var n,i=r(5164),o=r(9684),s=r(5454),a=r(3586),c=r(8779),u=r(5302),l=r(656),f=r(2203),p=r(9284),h=r(1577),d=r(2343),v=r(6911),y=r(8517),E=r(6036).codeAt,b=r(7269),g=r(2420),m=r(2652),S=r(1540),x=r(1411),_=r(7132),O=_.set,w=_.getterFor("URL"),A=x.URLSearchParams,T=x.getState,R=a.URL,C=a.TypeError,I=a.parseInt,N=Math.floor,P=Math.pow,D=u("".charAt),L=u(/./.exec),U=u([].join),M=u(1..toString),j=u([].pop),k=u([].push),G=u("".replace),H=u([].shift),B=u("".split),F=u("".slice),V=u("".toLowerCase),$=u([].unshift),W="Invalid scheme",Y="Invalid host",z="Invalid port",K=/[a-z]/i,J=/[\d+-.a-z]/i,q=/\d/,X=/^0x/i,Q=/^[0-7]+$/,Z=/^\d+$/,ee=/^[\da-f]+$/i,te=/[\0\t\n\r #%/:<>?@[\\\]^|]/,re=/[\0\t\n\r #/:<>?@[\\\]^|]/,ne=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,ie=/[\t\n\r]/g,oe=function(e){var t,r,n,i;if("number"==typeof e){for(t=[],r=0;r<4;r++)$(t,e%256),e=N(e/256);return U(t,".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,i=0,o=0;o<8;o++)0!==e[o]?(i>r&&(t=n,r=i),n=null,i=0):(null===n&&(n=o),++i);return i>r&&(t=n,r=i),t}(e),r=0;r<8;r++)i&&0===e[r]||(i&&(i=!1),n===r?(t+=r?":":"::",i=!0):(t+=M(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},se={},ae=d({},se,{" ":1,'"':1,"<":1,">":1,"`":1}),ce=d({},ae,{"#":1,"?":1,"{":1,"}":1}),ue=d({},ce,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),le=function(e,t){var r=E(e,0);return r>32&&r<127&&!h(t,e)?e:encodeURIComponent(e)},fe={ftp:21,file:null,http:80,https:443,ws:80,wss:443},pe=function(e,t){var r;return 2==e.length&&L(K,D(e,0))&&(":"==(r=D(e,1))||!t&&"|"==r)},he=function(e){var t;return e.length>1&&pe(F(e,0,2))&&(2==e.length||"/"===(t=D(e,2))||"\\"===t||"?"===t||"#"===t)},de=function(e){return"."===e||"%2e"===V(e)},ve={},ye={},Ee={},be={},ge={},me={},Se={},xe={},_e={},Oe={},we={},Ae={},Te={},Re={},Ce={},Ie={},Ne={},Pe={},De={},Le={},Ue={},Me=function(e,t,r){var n,i,o,s=g(e);if(t){if(i=this.parse(s))throw C(i);this.searchParams=null}else{if(void 0!==r&&(n=new Me(r,!0)),i=this.parse(s,null,n))throw C(i);(o=T(new A)).bindURL(this),this.searchParams=o}};Me.prototype={type:"URL",parse:function(e,t,r){var i,o,s,a,c,u=this,l=t||ve,f=0,p="",d=!1,E=!1,b=!1;for(e=g(e),t||(u.scheme="",u.username="",u.password="",u.host=null,u.port=null,u.path=[],u.query=null,u.fragment=null,u.cannotBeABaseURL=!1,e=G(e,ne,"")),e=G(e,ie,""),i=v(e);f<=i.length;){switch(o=i[f],l){case ve:if(!o||!L(K,o)){if(t)return W;l=Ee;continue}p+=V(o),l=ye;break;case ye:if(o&&(L(J,o)||"+"==o||"-"==o||"."==o))p+=V(o);else{if(":"!=o){if(t)return W;p="",l=Ee,f=0;continue}if(t&&(u.isSpecial()!=h(fe,p)||"file"==p&&(u.includesCredentials()||null!==u.port)||"file"==u.scheme&&!u.host))return;if(u.scheme=p,t)return void(u.isSpecial()&&fe[u.scheme]==u.port&&(u.port=null));p="","file"==u.scheme?l=Re:u.isSpecial()&&r&&r.scheme==u.scheme?l=be:u.isSpecial()?l=xe:"/"==i[f+1]?(l=ge,f++):(u.cannotBeABaseURL=!0,k(u.path,""),l=De)}break;case Ee:if(!r||r.cannotBeABaseURL&&"#"!=o)return W;if(r.cannotBeABaseURL&&"#"==o){u.scheme=r.scheme,u.path=y(r.path),u.query=r.query,u.fragment="",u.cannotBeABaseURL=!0,l=Ue;break}l="file"==r.scheme?Re:me;continue;case be:if("/"!=o||"/"!=i[f+1]){l=me;continue}l=_e,f++;break;case ge:if("/"==o){l=Oe;break}l=Pe;continue;case me:if(u.scheme=r.scheme,o==n)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=y(r.path),u.query=r.query;else if("/"==o||"\\"==o&&u.isSpecial())l=Se;else if("?"==o)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=y(r.path),u.query="",l=Le;else{if("#"!=o){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=y(r.path),u.path.length--,l=Pe;continue}u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=y(r.path),u.query=r.query,u.fragment="",l=Ue}break;case Se:if(!u.isSpecial()||"/"!=o&&"\\"!=o){if("/"!=o){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,l=Pe;continue}l=Oe}else l=_e;break;case xe:if(l=_e,"/"!=o||"/"!=D(p,f+1))continue;f++;break;case _e:if("/"!=o&&"\\"!=o){l=Oe;continue}break;case Oe:if("@"==o){d&&(p="%40"+p),d=!0,s=v(p);for(var m=0;m<s.length;m++){var S=s[m];if(":"!=S||b){var x=le(S,ue);b?u.password+=x:u.username+=x}else b=!0}p=""}else if(o==n||"/"==o||"?"==o||"#"==o||"\\"==o&&u.isSpecial()){if(d&&""==p)return"Invalid authority";f-=v(p).length+1,p="",l=we}else p+=o;break;case we:case Ae:if(t&&"file"==u.scheme){l=Ie;continue}if(":"!=o||E){if(o==n||"/"==o||"?"==o||"#"==o||"\\"==o&&u.isSpecial()){if(u.isSpecial()&&""==p)return Y;if(t&&""==p&&(u.includesCredentials()||null!==u.port))return;if(a=u.parseHost(p))return a;if(p="",l=Ne,t)return;continue}"["==o?E=!0:"]"==o&&(E=!1),p+=o}else{if(""==p)return Y;if(a=u.parseHost(p))return a;if(p="",l=Te,t==Ae)return}break;case Te:if(!L(q,o)){if(o==n||"/"==o||"?"==o||"#"==o||"\\"==o&&u.isSpecial()||t){if(""!=p){var _=I(p,10);if(_>65535)return z;u.port=u.isSpecial()&&_===fe[u.scheme]?null:_,p=""}if(t)return;l=Ne;continue}return z}p+=o;break;case Re:if(u.scheme="file","/"==o||"\\"==o)l=Ce;else{if(!r||"file"!=r.scheme){l=Pe;continue}if(o==n)u.host=r.host,u.path=y(r.path),u.query=r.query;else if("?"==o)u.host=r.host,u.path=y(r.path),u.query="",l=Le;else{if("#"!=o){he(U(y(i,f),""))||(u.host=r.host,u.path=y(r.path),u.shortenPath()),l=Pe;continue}u.host=r.host,u.path=y(r.path),u.query=r.query,u.fragment="",l=Ue}}break;case Ce:if("/"==o||"\\"==o){l=Ie;break}r&&"file"==r.scheme&&!he(U(y(i,f),""))&&(pe(r.path[0],!0)?k(u.path,r.path[0]):u.host=r.host),l=Pe;continue;case Ie:if(o==n||"/"==o||"\\"==o||"?"==o||"#"==o){if(!t&&pe(p))l=Pe;else if(""==p){if(u.host="",t)return;l=Ne}else{if(a=u.parseHost(p))return a;if("localhost"==u.host&&(u.host=""),t)return;p="",l=Ne}continue}p+=o;break;case Ne:if(u.isSpecial()){if(l=Pe,"/"!=o&&"\\"!=o)continue}else if(t||"?"!=o)if(t||"#"!=o){if(o!=n&&(l=Pe,"/"!=o))continue}else u.fragment="",l=Ue;else u.query="",l=Le;break;case Pe:if(o==n||"/"==o||"\\"==o&&u.isSpecial()||!t&&("?"==o||"#"==o)){if(".."===(c=V(c=p))||"%2e."===c||".%2e"===c||"%2e%2e"===c?(u.shortenPath(),"/"==o||"\\"==o&&u.isSpecial()||k(u.path,"")):de(p)?"/"==o||"\\"==o&&u.isSpecial()||k(u.path,""):("file"==u.scheme&&!u.path.length&&pe(p)&&(u.host&&(u.host=""),p=D(p,0)+":"),k(u.path,p)),p="","file"==u.scheme&&(o==n||"?"==o||"#"==o))for(;u.path.length>1&&""===u.path[0];)H(u.path);"?"==o?(u.query="",l=Le):"#"==o&&(u.fragment="",l=Ue)}else p+=le(o,ce);break;case De:"?"==o?(u.query="",l=Le):"#"==o?(u.fragment="",l=Ue):o!=n&&(u.path[0]+=le(o,se));break;case Le:t||"#"!=o?o!=n&&("'"==o&&u.isSpecial()?u.query+="%27":u.query+="#"==o?"%23":le(o,se)):(u.fragment="",l=Ue);break;case Ue:o!=n&&(u.fragment+=le(o,ae))}f++}},parseHost:function(e){var t,r,n;if("["==D(e,0)){if("]"!=D(e,e.length-1))return Y;if(t=function(e){var t,r,n,i,o,s,a,c=[0,0,0,0,0,0,0,0],u=0,l=null,f=0,p=function(){return D(e,f)};if(":"==p()){if(":"!=D(e,1))return;f+=2,l=++u}for(;p();){if(8==u)return;if(":"!=p()){for(t=r=0;r<4&&L(ee,p());)t=16*t+I(p(),16),f++,r++;if("."==p()){if(0==r)return;if(f-=r,u>6)return;for(n=0;p();){if(i=null,n>0){if(!("."==p()&&n<4))return;f++}if(!L(q,p()))return;for(;L(q,p());){if(o=I(p(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;f++}c[u]=256*c[u]+i,2!=++n&&4!=n||u++}if(4!=n)return;break}if(":"==p()){if(f++,!p())return}else if(p())return;c[u++]=t}else{if(null!==l)return;f++,l=++u}}if(null!==l)for(s=u-l,u=7;0!=u&&s>0;)a=c[u],c[u--]=c[l+s-1],c[l+--s]=a;else if(8!=u)return;return c}(F(e,1,-1)),!t)return Y;this.host=t}else if(this.isSpecial()){if(e=b(e),L(te,e))return Y;if(t=function(e){var t,r,n,i,o,s,a,c=B(e,".");if(c.length&&""==c[c.length-1]&&c.length--,(t=c.length)>4)return e;for(r=[],n=0;n<t;n++){if(""==(i=c[n]))return e;if(o=10,i.length>1&&"0"==D(i,0)&&(o=L(X,i)?16:8,i=F(i,8==o?1:2)),""===i)s=0;else{if(!L(10==o?Z:8==o?Q:ee,i))return e;s=I(i,o)}k(r,s)}for(n=0;n<t;n++)if(s=r[n],n==t-1){if(s>=P(256,5-t))return null}else if(s>255)return null;for(a=j(r),n=0;n<r.length;n++)a+=r[n]*P(256,3-n);return a}(e),null===t)return Y;this.host=t}else{if(L(re,e))return Y;for(t="",r=v(e),n=0;n<r.length;n++)t+=le(r[n],se);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return h(fe,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&pe(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,i=e.host,o=e.port,s=e.path,a=e.query,c=e.fragment,u=t+":";return null!==i?(u+="//",e.includesCredentials()&&(u+=r+(n?":"+n:"")+"@"),u+=oe(i),null!==o&&(u+=":"+o)):"file"==t&&(u+="//"),u+=e.cannotBeABaseURL?s[0]:s.length?"/"+U(s,"/"):"",null!==a&&(u+="?"+a),null!==c&&(u+="#"+c),u},setHref:function(e){var t=this.parse(e);if(t)throw C(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new je(e.path[0]).origin}catch(e){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+oe(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(g(e)+":",ve)},getUsername:function(){return this.username},setUsername:function(e){var t=v(g(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=le(t[r],ue)}},getPassword:function(){return this.password},setPassword:function(e){var t=v(g(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=le(t[r],ue)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?oe(e):oe(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,we)},getHostname:function(){var e=this.host;return null===e?"":oe(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Ae)},getPort:function(){var e=this.port;return null===e?"":g(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=g(e))?this.port=null:this.parse(e,Te))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+U(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Ne))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=g(e))?this.query=null:("?"==D(e,0)&&(e=F(e,1)),this.query="",this.parse(e,Le)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=g(e))?("#"==D(e,0)&&(e=F(e,1)),this.fragment="",this.parse(e,Ue)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var je=function(e){var t=p(this,ke),r=S(arguments.length,1)>1?arguments[1]:void 0,n=O(t,new Me(e,!1,r));o||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},ke=je.prototype,Ge=function(e,t){return{get:function(){return w(this)[e]()},set:t&&function(e){return w(this)[t](e)},configurable:!0,enumerable:!0}};if(o&&(f(ke,"href",Ge("serialize","setHref")),f(ke,"origin",Ge("getOrigin")),f(ke,"protocol",Ge("getProtocol","setProtocol")),f(ke,"username",Ge("getUsername","setUsername")),f(ke,"password",Ge("getPassword","setPassword")),f(ke,"host",Ge("getHost","setHost")),f(ke,"hostname",Ge("getHostname","setHostname")),f(ke,"port",Ge("getPort","setPort")),f(ke,"pathname",Ge("getPathname","setPathname")),f(ke,"search",Ge("getSearch","setSearch")),f(ke,"searchParams",Ge("getSearchParams")),f(ke,"hash",Ge("getHash","setHash"))),l(ke,"toJSON",(function(){return w(this).serialize()}),{enumerable:!0}),l(ke,"toString",(function(){return w(this).serialize()}),{enumerable:!0}),R){var He=R.createObjectURL,Be=R.revokeObjectURL;He&&l(je,"createObjectURL",c(He,R)),Be&&l(je,"revokeObjectURL",c(Be,R))}m(je,"URL"),i({global:!0,constructor:!0,forced:!s,sham:!o},{URL:je})},1812:(e,t,r)=>{r(5963)},1114:(e,t,r)=>{var n=r(8666)(r(278),"DataView");e.exports=n},8563:(e,t,r)=>{var n=r(2298),i=r(7146),o=r(294),s=r(1917),a=r(1916);function c(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])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=s,c.prototype.set=a,e.exports=c},4306:(e,t,r)=>{var n=r(8916),i=r(261),o=r(8333),s=r(9919),a=r(8174);function c(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])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=s,c.prototype.set=a,e.exports=c},98:(e,t,r)=>{var n=r(8666)(r(278),"Map");e.exports=n},990:(e,t,r)=>{var n=r(1899),i=r(5839),o=r(7724),s=r(9979),a=r(4903);function c(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])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=s,c.prototype.set=a,e.exports=c},3108:(e,t,r)=>{var n=r(8666)(r(278),"Promise");e.exports=n},5244:(e,t,r)=>{var n=r(8666)(r(278),"Set");e.exports=n},4916:(e,t,r)=>{var n=r(990),i=r(2728),o=r(9842);function s(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}s.prototype.add=s.prototype.push=i,s.prototype.has=o,e.exports=s},367:(e,t,r)=>{var n=r(4306),i=r(4607),o=r(6598),s=r(1165),a=r(2895),c=r(2577);function u(e){var t=this.__data__=new n(e);this.size=t.size}u.prototype.clear=i,u.prototype.delete=o,u.prototype.get=s,u.prototype.has=a,u.prototype.set=c,e.exports=u},3647:(e,t,r)=>{var n=r(278).Symbol;e.exports=n},3666:(e,t,r)=>{var n=r(278).Uint8Array;e.exports=n},1712:(e,t,r)=>{var n=r(8666)(r(278),"WeakMap");e.exports=n},8975:e=>{e.exports=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}},2448:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}},8967:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=0,o=[];++r<n;){var s=e[r];t(s,r,e)&&(o[i++]=s)}return o}},7866:(e,t,r)=>{var n=r(1716);e.exports=function(e,t){return!!(null==e?0:e.length)&&n(e,t,0)>-1}},6392:e=>{e.exports=function(e,t,r){for(var n=-1,i=null==e?0:e.length;++n<i;)if(r(t,e[n]))return!0;return!1}},8773:(e,t,r)=>{var n=r(4135),i=r(6043),o=r(2716),s=r(4671),a=r(8681),c=r(4198),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=o(e),l=!r&&i(e),f=!r&&!l&&s(e),p=!r&&!l&&!f&&c(e),h=r||l||f||p,d=h?n(e.length,String):[],v=d.length;for(var y in e)!t&&!u.call(e,y)||h&&("length"==y||f&&("offset"==y||"parent"==y)||p&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||a(y,v))||d.push(y);return d}},3247:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}},5676:e=>{e.exports=function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}},4248: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}},686:(e,t,r)=>{var n=r(7680),i=r(3813),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var s=e[t];o.call(e,t)&&i(s,r)&&(void 0!==r||t in e)||n(e,t,r)}},5516:(e,t,r)=>{var n=r(3813);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},1923:(e,t,r)=>{var n=r(5169),i=r(3642);e.exports=function(e,t){return e&&n(t,i(t),e)}},3346:(e,t,r)=>{var n=r(5169),i=r(6264);e.exports=function(e,t){return e&&n(t,i(t),e)}},7680:(e,t,r)=>{var n=r(1428);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},6643:(e,t,r)=>{var n=r(367),i=r(2448),o=r(686),s=r(1923),a=r(3346),c=r(4148),u=r(9724),l=r(160),f=r(83),p=r(2428),h=r(3139),d=r(8622),v=r(9917),y=r(6498),E=r(9453),b=r(2716),g=r(4671),m=r(4725),S=r(4463),x=r(3292),_=r(3642),O=r(6264),w="[object Arguments]",A="[object Function]",T="[object Object]",R={};R[w]=R["[object Array]"]=R["[object ArrayBuffer]"]=R["[object DataView]"]=R["[object Boolean]"]=R["[object Date]"]=R["[object Float32Array]"]=R["[object Float64Array]"]=R["[object Int8Array]"]=R["[object Int16Array]"]=R["[object Int32Array]"]=R["[object Map]"]=R["[object Number]"]=R[T]=R["[object RegExp]"]=R["[object Set]"]=R["[object String]"]=R["[object Symbol]"]=R["[object Uint8Array]"]=R["[object Uint8ClampedArray]"]=R["[object Uint16Array]"]=R["[object Uint32Array]"]=!0,R["[object Error]"]=R[A]=R["[object WeakMap]"]=!1,e.exports=function e(t,r,C,I,N,P){var D,L=1&r,U=2&r,M=4&r;if(C&&(D=N?C(t,I,N,P):C(t)),void 0!==D)return D;if(!S(t))return t;var j=b(t);if(j){if(D=v(t),!L)return u(t,D)}else{var k=d(t),G=k==A||"[object GeneratorFunction]"==k;if(g(t))return c(t,L);if(k==T||k==w||G&&!N){if(D=U||G?{}:E(t),!L)return U?f(t,a(D,t)):l(t,s(D,t))}else{if(!R[k])return N?t:{};D=y(t,k,L)}}P||(P=new n);var H=P.get(t);if(H)return H;P.set(t,D),x(t)?t.forEach((function(n){D.add(e(n,r,C,n,t,P))})):m(t)&&t.forEach((function(n,i){D.set(i,e(n,r,C,i,t,P))}));var B=j?void 0:(M?U?h:p:U?O:_)(t);return i(B||t,(function(n,i){B&&(n=t[i=n]),o(D,i,e(n,r,C,i,t,P))})),D}},9721:(e,t,r)=>{var n=r(4463),i=Object.create,o=function(){function e(){}return function(t){if(!n(t))return{};if(i)return i(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=o},8788:(e,t,r)=>{var n=r(4087),i=r(8020)(n);e.exports=i},3793:e=>{e.exports=function(e,t,r,n){for(var i=e.length,o=r+(n?1:-1);n?o--:++o<i;)if(t(e[o],o,e))return o;return-1}},4307:(e,t,r)=>{var n=r(5676),i=r(9433);e.exports=function e(t,r,o,s,a){var c=-1,u=t.length;for(o||(o=i),a||(a=[]);++c<u;){var l=t[c];r>0&&o(l)?r>1?e(l,r-1,o,s,a):n(a,l):s||(a[a.length]=l)}return a}},9187:(e,t,r)=>{var n=r(4427)();e.exports=n},4087:(e,t,r)=>{var n=r(9187),i=r(3642);e.exports=function(e,t){return e&&n(e,t,i)}},9106:(e,t,r)=>{var n=r(1617),i=r(1714);e.exports=function(e,t){for(var r=0,o=(t=n(t,e)).length;null!=e&&r<o;)e=e[i(t[r++])];return r&&r==o?e:void 0}},9616:(e,t,r)=>{var n=r(5676),i=r(2716);e.exports=function(e,t,r){var o=t(e);return i(e)?o:n(o,r(e))}},673:(e,t,r)=>{var n=r(3647),i=r(1098),o=r(4232),s=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?i(e):o(e)}},6051:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},1716:(e,t,r)=>{var n=r(3793),i=r(5225),o=r(9542);e.exports=function(e,t,r){return t==t?o(e,t,r):n(e,i,r)}},1852:(e,t,r)=>{var n=r(673),i=r(9911);e.exports=function(e){return i(e)&&"[object Arguments]"==n(e)}},5683:(e,t,r)=>{var n=r(707),i=r(9911);e.exports=function e(t,r,o,s,a){return t===r||(null==t||null==r||!i(t)&&!i(r)?t!=t&&r!=r:n(t,r,o,s,e,a))}},707:(e,t,r)=>{var n=r(367),i=r(2363),o=r(6627),s=r(6985),a=r(8622),c=r(2716),u=r(4671),l=r(4198),f="[object Arguments]",p="[object Array]",h="[object Object]",d=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,v,y,E){var b=c(e),g=c(t),m=b?p:a(e),S=g?p:a(t),x=(m=m==f?h:m)==h,_=(S=S==f?h:S)==h,O=m==S;if(O&&u(e)){if(!u(t))return!1;b=!0,x=!1}if(O&&!x)return E||(E=new n),b||l(e)?i(e,t,r,v,y,E):o(e,t,m,r,v,y,E);if(!(1&r)){var w=x&&d.call(e,"__wrapped__"),A=_&&d.call(t,"__wrapped__");if(w||A){var T=w?e.value():e,R=A?t.value():t;return E||(E=new n),y(T,R,r,v,E)}}return!!O&&(E||(E=new n),s(e,t,r,v,y,E))}},5959:(e,t,r)=>{var n=r(8622),i=r(9911);e.exports=function(e){return i(e)&&"[object Map]"==n(e)}},857:(e,t,r)=>{var n=r(367),i=r(5683);e.exports=function(e,t,r,o){var s=r.length,a=s,c=!o;if(null==e)return!a;for(e=Object(e);s--;){var u=r[s];if(c&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++s<a;){var l=(u=r[s])[0],f=e[l],p=u[1];if(c&&u[2]){if(void 0===f&&!(l in e))return!1}else{var h=new n;if(o)var d=o(f,p,l,e,t,h);if(!(void 0===d?i(p,f,3,o,h):d))return!1}}return!0}},5225:e=>{e.exports=function(e){return e!=e}},6977:(e,t,r)=>{var n=r(6039),i=r(9640),o=r(4463),s=r(9974),a=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,f=u.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(n(e)?p:a).test(s(e))}},5134:(e,t,r)=>{var n=r(8622),i=r(9911);e.exports=function(e){return i(e)&&"[object Set]"==n(e)}},5625:(e,t,r)=>{var n=r(673),i=r(6202),o=r(9911),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&i(e.length)&&!!s[n(e)]}},1418:(e,t,r)=>{var n=r(5280),i=r(1481),o=r(5776),s=r(2716),a=r(6597);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?s(e)?i(e[0],e[1]):n(e):a(e)}},4284:(e,t,r)=>{var n=r(1703),i=r(2304),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=[];for(var r in Object(e))o.call(e,r)&&"constructor"!=r&&t.push(r);return t}},3510:(e,t,r)=>{var n=r(4463),i=r(1703),o=r(3876),s=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=i(e),r=[];for(var a in e)("constructor"!=a||!t&&s.call(e,a))&&r.push(a);return r}},9413:(e,t,r)=>{var n=r(8788),i=r(9802);e.exports=function(e,t){var r=-1,o=i(e)?Array(e.length):[];return n(e,(function(e,n,i){o[++r]=t(e,n,i)})),o}},5280:(e,t,r)=>{var n=r(857),i=r(9941),o=r(4081);e.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}},1481:(e,t,r)=>{var n=r(5683),i=r(1626),o=r(5393),s=r(5061),a=r(4332),c=r(4081),u=r(1714);e.exports=function(e,t){return s(e)&&a(t)?c(u(e),t):function(r){var s=i(r,e);return void 0===s&&s===t?o(r,e):n(t,s,3)}}},7046:(e,t,r)=>{var n=r(3247),i=r(9106),o=r(1418),s=r(9413),a=r(8986),c=r(2441),u=r(8922),l=r(5776),f=r(2716);e.exports=function(e,t,r){t=t.length?n(t,(function(e){return f(e)?function(t){return i(t,1===e.length?e[0]:e)}:e})):[l];var p=-1;t=n(t,c(o));var h=s(e,(function(e,r,i){return{criteria:n(t,(function(t){return t(e)})),index:++p,value:e}}));return a(h,(function(e,t){return u(e,t,r)}))}},3993:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},8403:(e,t,r)=>{var n=r(9106);e.exports=function(e){return function(t){return n(t,e)}}},4911:(e,t,r)=>{var n=r(5776),i=r(3089),o=r(3645);e.exports=function(e,t){return o(i(e,t,n),e+"")}},9174:(e,t,r)=>{var n=r(2413),i=r(1428),o=r(5776),s=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:o;e.exports=s},8986:e=>{e.exports=function(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e}},4135:e=>{e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},1783:(e,t,r)=>{var n=r(3647),i=r(3247),o=r(2716),s=r(2678),a=n?n.prototype:void 0,c=a?a.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(s(t))return c?c.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r}},2441:e=>{e.exports=function(e){return function(t){return e(t)}}},5604:(e,t,r)=>{var n=r(4916),i=r(7866),o=r(6392),s=r(6968),a=r(5562),c=r(5781);e.exports=function(e,t,r){var u=-1,l=i,f=e.length,p=!0,h=[],d=h;if(r)p=!1,l=o;else if(f>=200){var v=t?null:a(e);if(v)return c(v);p=!1,l=s,d=new n}else d=t?[]:h;e:for(;++u<f;){var y=e[u],E=t?t(y):y;if(y=r||0!==y?y:0,p&&E==E){for(var b=d.length;b--;)if(d[b]===E)continue e;t&&d.push(E),h.push(y)}else l(d,E,r)||(d!==h&&d.push(E),h.push(y))}return h}},6968:e=>{e.exports=function(e,t){return e.has(t)}},1617:(e,t,r)=>{var n=r(2716),i=r(5061),o=r(1016),s=r(8232);e.exports=function(e,t){return n(e)?e:i(e,t)?[e]:o(s(e))}},8591:(e,t,r)=>{var n=r(3666);e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},4148:(e,t,r)=>{e=r.nmd(e);var n=r(278),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,s=o&&o.exports===i?n.Buffer:void 0,a=s?s.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=a?a(r):new e.constructor(r);return e.copy(n),n}},9021:(e,t,r)=>{var n=r(8591);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},2498:e=>{var t=/\w*$/;e.exports=function(e){var r=new e.constructor(e.source,t.exec(e));return r.lastIndex=e.lastIndex,r}},7174:(e,t,r)=>{var n=r(3647),i=n?n.prototype:void 0,o=i?i.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},4599:(e,t,r)=>{var n=r(8591);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},1348:(e,t,r)=>{var n=r(2678);e.exports=function(e,t){if(e!==t){var r=void 0!==e,i=null===e,o=e==e,s=n(e),a=void 0!==t,c=null===t,u=t==t,l=n(t);if(!c&&!l&&!s&&e>t||s&&a&&u&&!c&&!l||i&&a&&u||!r&&u||!o)return 1;if(!i&&!s&&!l&&e<t||l&&r&&o&&!i&&!s||c&&r&&o||!a&&o||!u)return-1}return 0}},8922:(e,t,r)=>{var n=r(1348);e.exports=function(e,t,r){for(var i=-1,o=e.criteria,s=t.criteria,a=o.length,c=r.length;++i<a;){var u=n(o[i],s[i]);if(u)return i>=c?u:u*("desc"==r[i]?-1:1)}return e.index-t.index}},9724:e=>{e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}},5169:(e,t,r)=>{var n=r(686),i=r(7680);e.exports=function(e,t,r,o){var s=!r;r||(r={});for(var a=-1,c=t.length;++a<c;){var u=t[a],l=o?o(r[u],e[u],u,r,e):void 0;void 0===l&&(l=e[u]),s?i(r,u,l):n(r,u,l)}return r}},160:(e,t,r)=>{var n=r(5169),i=r(309);e.exports=function(e,t){return n(e,i(e),t)}},83:(e,t,r)=>{var n=r(5169),i=r(5494);e.exports=function(e,t){return n(e,i(e),t)}},3616:(e,t,r)=>{var n=r(278)["__core-js_shared__"];e.exports=n},8020:(e,t,r)=>{var n=r(9802);e.exports=function(e,t){return function(r,i){if(null==r)return r;if(!n(r))return e(r,i);for(var o=r.length,s=t?o:-1,a=Object(r);(t?s--:++s<o)&&!1!==i(a[s],s,a););return r}}},4427:e=>{e.exports=function(e){return function(t,r,n){for(var i=-1,o=Object(t),s=n(t),a=s.length;a--;){var c=s[e?a:++i];if(!1===r(o[c],c,o))break}return t}}},5562:(e,t,r)=>{var n=r(5244),i=r(3961),o=r(5781),s=n&&1/o(new n([,-0]))[1]==1/0?function(e){return new n(e)}:i;e.exports=s},1428:(e,t,r)=>{var n=r(8666),i=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},2363:(e,t,r)=>{var n=r(4916),i=r(4248),o=r(6968);e.exports=function(e,t,r,s,a,c){var u=1&r,l=e.length,f=t.length;if(l!=f&&!(u&&f>l))return!1;var p=c.get(e),h=c.get(t);if(p&&h)return p==t&&h==e;var d=-1,v=!0,y=2&r?new n:void 0;for(c.set(e,t),c.set(t,e);++d<l;){var E=e[d],b=t[d];if(s)var g=u?s(b,E,d,t,e,c):s(E,b,d,e,t,c);if(void 0!==g){if(g)continue;v=!1;break}if(y){if(!i(t,(function(e,t){if(!o(y,t)&&(E===e||a(E,e,r,s,c)))return y.push(t)}))){v=!1;break}}else if(E!==b&&!a(E,b,r,s,c)){v=!1;break}}return c.delete(e),c.delete(t),v}},6627:(e,t,r)=>{var n=r(3647),i=r(3666),o=r(3813),s=r(2363),a=r(8822),c=r(5781),u=n?n.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,r,n,u,f,p){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new i(e),new i(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 h=a;case"[object Set]":var d=1&n;if(h||(h=c),e.size!=t.size&&!d)return!1;var v=p.get(e);if(v)return v==t;n|=2,p.set(e,t);var y=s(h(e),h(t),n,u,f,p);return p.delete(e),y;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},6985:(e,t,r)=>{var n=r(2428),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,o,s,a){var c=1&r,u=n(e),l=u.length;if(l!=n(t).length&&!c)return!1;for(var f=l;f--;){var p=u[f];if(!(c?p in t:i.call(t,p)))return!1}var h=a.get(e),d=a.get(t);if(h&&d)return h==t&&d==e;var v=!0;a.set(e,t),a.set(t,e);for(var y=c;++f<l;){var E=e[p=u[f]],b=t[p];if(o)var g=c?o(b,E,p,t,e,a):o(E,b,p,e,t,a);if(!(void 0===g?E===b||s(E,b,r,o,a):g)){v=!1;break}y||(y="constructor"==p)}if(v&&!y){var m=e.constructor,S=t.constructor;m==S||!("constructor"in e)||!("constructor"in t)||"function"==typeof m&&m instanceof m&&"function"==typeof S&&S instanceof S||(v=!1)}return a.delete(e),a.delete(t),v}},3722:(e,t,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},2428:(e,t,r)=>{var n=r(9616),i=r(309),o=r(3642);e.exports=function(e){return n(e,o,i)}},3139:(e,t,r)=>{var n=r(9616),i=r(5494),o=r(6264);e.exports=function(e){return n(e,o,i)}},8096:(e,t,r)=>{var n=r(9393);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},9941:(e,t,r)=>{var n=r(4332),i=r(3642);e.exports=function(e){for(var t=i(e),r=t.length;r--;){var o=t[r],s=e[o];t[r]=[o,s,n(s)]}return t}},8666:(e,t,r)=>{var n=r(6977),i=r(4277);e.exports=function(e,t){var r=i(e,t);return n(r)?r:void 0}},4351:(e,t,r)=>{var n=r(2229)(Object.getPrototypeOf,Object);e.exports=n},1098:(e,t,r)=>{var n=r(3647),i=Object.prototype,o=i.hasOwnProperty,s=i.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 i=s.call(e);return n&&(t?e[a]=r:delete e[a]),i}},309:(e,t,r)=>{var n=r(8967),i=r(1601),o=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,a=s?function(e){return null==e?[]:(e=Object(e),n(s(e),(function(t){return o.call(e,t)})))}:i;e.exports=a},5494:(e,t,r)=>{var n=r(5676),i=r(4351),o=r(309),s=r(1601),a=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,o(e)),e=i(e);return t}:s;e.exports=a},8622:(e,t,r)=>{var n=r(1114),i=r(98),o=r(3108),s=r(5244),a=r(1712),c=r(673),u=r(9974),l="[object Map]",f="[object Promise]",p="[object Set]",h="[object WeakMap]",d="[object DataView]",v=u(n),y=u(i),E=u(o),b=u(s),g=u(a),m=c;(n&&m(new n(new ArrayBuffer(1)))!=d||i&&m(new i)!=l||o&&m(o.resolve())!=f||s&&m(new s)!=p||a&&m(new a)!=h)&&(m=function(e){var t=c(e),r="[object Object]"==t?e.constructor:void 0,n=r?u(r):"";if(n)switch(n){case v:return d;case y:return l;case E:return f;case b:return p;case g:return h}return t}),e.exports=m},4277:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},5072:(e,t,r)=>{var n=r(1617),i=r(6043),o=r(2716),s=r(8681),a=r(6202),c=r(1714);e.exports=function(e,t,r){for(var u=-1,l=(t=n(t,e)).length,f=!1;++u<l;){var p=c(t[u]);if(!(f=null!=e&&r(e,p)))break;e=e[p]}return f||++u!=l?f:!!(l=null==e?0:e.length)&&a(l)&&s(p,l)&&(o(e)||i(e))}},2298:(e,t,r)=>{var n=r(7266);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},7146:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},294:(e,t,r)=>{var n=r(7266),i=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 i.call(t,e)?t[e]:void 0}},1917:(e,t,r)=>{var n=r(7266),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:i.call(t,e)}},1916:(e,t,r)=>{var n=r(7266);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}},9917:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var r=e.length,n=new e.constructor(r);return r&&"string"==typeof e[0]&&t.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},6498:(e,t,r)=>{var n=r(8591),i=r(9021),o=r(2498),s=r(7174),a=r(4599);e.exports=function(e,t,r){var c=e.constructor;switch(t){case"[object ArrayBuffer]":return n(e);case"[object Boolean]":case"[object Date]":return new c(+e);case"[object DataView]":return i(e,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return a(e,r);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(e);case"[object RegExp]":return o(e);case"[object Symbol]":return s(e)}}},9453:(e,t,r)=>{var n=r(9721),i=r(4351),o=r(1703);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:n(i(e))}},9433:(e,t,r)=>{var n=r(3647),i=r(6043),o=r(2716),s=n?n.isConcatSpreadable:void 0;e.exports=function(e){return o(e)||i(e)||!!(s&&e&&e[s])}},8681: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}},4932:(e,t,r)=>{var n=r(3813),i=r(9802),o=r(8681),s=r(4463);e.exports=function(e,t,r){if(!s(r))return!1;var a=typeof t;return!!("number"==a?i(r)&&o(t,r.length):"string"==a&&t in r)&&n(r[t],e)}},5061:(e,t,r)=>{var n=r(2716),i=r(2678),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!i(e))||(s.test(e)||!o.test(e)||null!=t&&e in Object(t))}},9393:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},9640:(e,t,r)=>{var n,i=r(3616),o=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!o&&o in e}},1703:e=>{var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},4332:(e,t,r)=>{var n=r(4463);e.exports=function(e){return e==e&&!n(e)}},8916:e=>{e.exports=function(){this.__data__=[],this.size=0}},261:(e,t,r)=>{var n=r(5516),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0)&&(r==t.length-1?t.pop():i.call(t,r,1),--this.size,!0)}},8333:(e,t,r)=>{var n=r(5516);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},9919:(e,t,r)=>{var n=r(5516);e.exports=function(e){return n(this.__data__,e)>-1}},8174:(e,t,r)=>{var n=r(5516);e.exports=function(e,t){var r=this.__data__,i=n(r,e);return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this}},1899:(e,t,r)=>{var n=r(8563),i=r(4306),o=r(98);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||i),string:new n}}},5839:(e,t,r)=>{var n=r(8096);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},7724:(e,t,r)=>{var n=r(8096);e.exports=function(e){return n(this,e).get(e)}},9979:(e,t,r)=>{var n=r(8096);e.exports=function(e){return n(this,e).has(e)}},4903:(e,t,r)=>{var n=r(8096);e.exports=function(e,t){var r=n(this,e),i=r.size;return r.set(e,t),this.size+=r.size==i?0:1,this}},8822:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}},4081:e=>{e.exports=function(e,t){return function(r){return null!=r&&(r[e]===t&&(void 0!==t||e in Object(r)))}}},6366:(e,t,r)=>{var n=r(7758);e.exports=function(e){var t=n(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}},7266:(e,t,r)=>{var n=r(8666)(Object,"create");e.exports=n},2304:(e,t,r)=>{var n=r(2229)(Object.keys,Object);e.exports=n},3876:e=>{e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},1685:(e,t,r)=>{e=r.nmd(e);var n=r(3722),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,s=o&&o.exports===i&&n.process,a=function(){try{var e=o&&o.require&&o.require("util").types;return e||s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=a},4232:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},2229:e=>{e.exports=function(e,t){return function(r){return e(t(r))}}},3089:(e,t,r)=>{var n=r(8975),i=Math.max;e.exports=function(e,t,r){return t=i(void 0===t?e.length-1:t,0),function(){for(var o=arguments,s=-1,a=i(o.length-t,0),c=Array(a);++s<a;)c[s]=o[t+s];s=-1;for(var u=Array(t+1);++s<t;)u[s]=o[s];return u[t]=r(c),n(e,this,u)}}},278:(e,t,r)=>{var n=r(3722),i="object"==typeof self&&self&&self.Object===Object&&self,o=n||i||Function("return this")();e.exports=o},2728:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},9842:e=>{e.exports=function(e){return this.__data__.has(e)}},5781:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},3645:(e,t,r)=>{var n=r(9174),i=r(7416)(n);e.exports=i},7416:e=>{var t=Date.now;e.exports=function(e){var r=0,n=0;return function(){var i=t(),o=16-(i-n);if(n=i,o>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}},4607:(e,t,r)=>{var n=r(4306);e.exports=function(){this.__data__=new n,this.size=0}},6598:e=>{e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},1165:e=>{e.exports=function(e){return this.__data__.get(e)}},2895:e=>{e.exports=function(e){return this.__data__.has(e)}},2577:(e,t,r)=>{var n=r(4306),i=r(98),o=r(990);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!i||s.length<199)return s.push([e,t]),this.size=++r.size,this;r=this.__data__=new o(s)}return r.set(e,t),this.size=r.size,this}},9542:e=>{e.exports=function(e,t,r){for(var n=r-1,i=e.length;++n<i;)if(e[n]===t)return n;return-1}},1016:(e,t,r)=>{var n=r(6366),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,s=n((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,(function(e,r,n,i){t.push(n?i.replace(o,"$1"):r||e)})),t}));e.exports=s},1714:(e,t,r)=>{var n=r(2678);e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}},9974: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""}},5870:(e,t,r)=>{var n=r(2716);e.exports=function(){if(!arguments.length)return[];var e=arguments[0];return n(e)?e:[e]}},1101:(e,t,r)=>{var n=r(6643);e.exports=function(e){return n(e,5)}},2413:e=>{e.exports=function(e){return function(){return e}}},3813:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},1626:(e,t,r)=>{var n=r(9106);e.exports=function(e,t,r){var i=null==e?void 0:n(e,t);return void 0===i?r:i}},5393:(e,t,r)=>{var n=r(6051),i=r(5072);e.exports=function(e,t){return null!=e&&i(e,t,n)}},5776:e=>{e.exports=function(e){return e}},6043:(e,t,r)=>{var n=r(1852),i=r(9911),o=Object.prototype,s=o.hasOwnProperty,a=o.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(e){return i(e)&&s.call(e,"callee")&&!a.call(e,"callee")};e.exports=c},2716:e=>{var t=Array.isArray;e.exports=t},9802:(e,t,r)=>{var n=r(6039),i=r(6202);e.exports=function(e){return null!=e&&i(e.length)&&!n(e)}},4671:(e,t,r)=>{e=r.nmd(e);var n=r(278),i=r(648),o=t&&!t.nodeType&&t,s=o&&e&&!e.nodeType&&e,a=s&&s.exports===o?n.Buffer:void 0,c=(a?a.isBuffer:void 0)||i;e.exports=c},7520:(e,t,r)=>{var n=r(5683);e.exports=function(e,t){return n(e,t)}},6039:(e,t,r)=>{var n=r(673),i=r(4463);e.exports=function(e){if(!i(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},6202:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},4725:(e,t,r)=>{var n=r(5959),i=r(2441),o=r(1685),s=o&&o.isMap,a=s?i(s):n;e.exports=a},2506:(e,t,r)=>{var n=r(857),i=r(9941);e.exports=function(e,t){return e===t||n(e,t,i(t))}},4463:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},9911:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},3292:(e,t,r)=>{var n=r(5134),i=r(2441),o=r(1685),s=o&&o.isSet,a=s?i(s):n;e.exports=a},2678:(e,t,r)=>{var n=r(673),i=r(9911);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==n(e)}},4198:(e,t,r)=>{var n=r(5625),i=r(2441),o=r(1685),s=o&&o.isTypedArray,a=s?i(s):n;e.exports=a},3642:(e,t,r)=>{var n=r(8773),i=r(4284),o=r(9802);e.exports=function(e){return o(e)?n(e):i(e)}},6264:(e,t,r)=>{var n=r(8773),i=r(3510),o=r(9802);e.exports=function(e){return o(e)?n(e,!0):i(e)}},1070:(e,t,r)=>{var n=r(7680),i=r(4087),o=r(1418);e.exports=function(e,t){var r={};return t=o(t,3),i(e,(function(e,i,o){n(r,i,t(e,i,o))})),r}},7758:(e,t,r)=>{var n=r(990);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var s=e.apply(this,n);return r.cache=o.set(i,s)||o,s};return r.cache=new(i.Cache||n),r}i.Cache=n,e.exports=i},3961:e=>{e.exports=function(){}},6597:(e,t,r)=>{var n=r(3993),i=r(8403),o=r(5061),s=r(1714);e.exports=function(e){return o(e)?n(s(e)):i(e)}},8643:(e,t,r)=>{var n=r(4307),i=r(7046),o=r(4911),s=r(4932),a=o((function(e,t){if(null==e)return[];var r=t.length;return r>1&&s(e,t[0],t[1])?t=[]:r>2&&s(t[0],t[1],t[2])&&(t=[t[0]]),i(e,n(t,1),[])}));e.exports=a},1601:e=>{e.exports=function(){return[]}},648:e=>{e.exports=function(){return!1}},8232:(e,t,r)=>{var n=r(1783);e.exports=function(e){return null==e?"":n(e)}},8360:(e,t,r)=>{var n=r(5604);e.exports=function(e){return e&&e.length?n(e):[]}},185:(e,t,r)=>{e.exports=p,p.Minimatch=h;var n=function(){try{return r(8307)}catch(e){}}()||{sep:"/"};p.sep=n.sep;var i=p.GLOBSTAR=h.GLOBSTAR={},o=r(5694),s={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},a="[^/]",c=a+"*?",u="().*{}+?[]^$\\!".split("").reduce((function(e,t){return e[t]=!0,e}),{});var l=/\/+/;function f(e,t){t=t||{};var r={};return Object.keys(e).forEach((function(t){r[t]=e[t]})),Object.keys(t).forEach((function(e){r[e]=t[e]})),r}function p(e,t,r){return v(t),r||(r={}),!(!r.nocomment&&"#"===t.charAt(0))&&new h(t,r).match(e)}function h(e,t){if(!(this instanceof h))return new h(e,t);v(e),t||(t={}),e=e.trim(),t.allowWindowsEscape||"/"===n.sep||(e=e.split(n.sep).join("/")),this.options=t,this.set=[],this.pattern=e,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.make()}function d(e,t){return t||(t=this instanceof h?this.options:{}),e=void 0===e?this.pattern:e,v(e),t.nobrace||!/\{(?:(?!\{).)*\}/.test(e)?[e]:o(e)}p.filter=function(e,t){return t=t||{},function(r,n,i){return p(r,e,t)}},p.defaults=function(e){if(!e||"object"!=typeof e||!Object.keys(e).length)return p;var t=p,r=function(r,n,i){return t(r,n,f(e,i))};return(r.Minimatch=function(r,n){return new t.Minimatch(r,f(e,n))}).defaults=function(r){return t.defaults(f(e,r)).Minimatch},r.filter=function(r,n){return t.filter(r,f(e,n))},r.defaults=function(r){return t.defaults(f(e,r))},r.makeRe=function(r,n){return t.makeRe(r,f(e,n))},r.braceExpand=function(r,n){return t.braceExpand(r,f(e,n))},r.match=function(r,n,i){return t.match(r,n,f(e,i))},r},h.defaults=function(e){return p.defaults(e).Minimatch},h.prototype.debug=function(){},h.prototype.make=function(){var e=this.pattern,t=this.options;if(!t.nocomment&&"#"===e.charAt(0))return void(this.comment=!0);if(!e)return void(this.empty=!0);this.parseNegate();var r=this.globSet=this.braceExpand();t.debug&&(this.debug=function(){console.error.apply(console,arguments)});this.debug(this.pattern,r),r=this.globParts=r.map((function(e){return e.split(l)})),this.debug(this.pattern,r),r=r.map((function(e,t,r){return e.map(this.parse,this)}),this),this.debug(this.pattern,r),r=r.filter((function(e){return-1===e.indexOf(!1)})),this.debug(this.pattern,r),this.set=r},h.prototype.parseNegate=function(){var e=this.pattern,t=!1,r=this.options,n=0;if(r.nonegate)return;for(var i=0,o=e.length;i<o&&"!"===e.charAt(i);i++)t=!t,n++;n&&(this.pattern=e.substr(n));this.negate=t},p.braceExpand=function(e,t){return d(e,t)},h.prototype.braceExpand=d;var v=function(e){if("string"!=typeof e)throw new TypeError("invalid pattern");if(e.length>65536)throw new TypeError("pattern is too long")};h.prototype.parse=function(e,t){v(e);var r=this.options;if("**"===e){if(!r.noglobstar)return i;e="*"}if(""===e)return"";var n,o="",l=!!r.nocase,f=!1,p=[],h=[],d=!1,E=-1,b=-1,g="."===e.charAt(0)?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",m=this;function S(){if(n){switch(n){case"*":o+=c,l=!0;break;case"?":o+=a,l=!0;break;default:o+="\\"+n}m.debug("clearStateChar %j %j",n,o),n=!1}}for(var x,_=0,O=e.length;_<O&&(x=e.charAt(_));_++)if(this.debug("%s\t%s %s %j",e,_,o,x),f&&u[x])o+="\\"+x,f=!1;else switch(x){case"/":return!1;case"\\":S(),f=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",e,_,o,x),d){this.debug(" in class"),"!"===x&&_===b+1&&(x="^"),o+=x;continue}m.debug("call clearStateChar %j",n),S(),n=x,r.noext&&S();continue;case"(":if(d){o+="(";continue}if(!n){o+="\\(";continue}p.push({type:n,start:_-1,reStart:o.length,open:s[n].open,close:s[n].close}),o+="!"===n?"(?:(?!(?:":"(?:",this.debug("plType %j %j",n,o),n=!1;continue;case")":if(d||!p.length){o+="\\)";continue}S(),l=!0;var w=p.pop();o+=w.close,"!"===w.type&&h.push(w),w.reEnd=o.length;continue;case"|":if(d||!p.length||f){o+="\\|",f=!1;continue}S(),o+="|";continue;case"[":if(S(),d){o+="\\"+x;continue}d=!0,b=_,E=o.length,o+=x;continue;case"]":if(_===b+1||!d){o+="\\"+x,f=!1;continue}var A=e.substring(b+1,_);try{RegExp("["+A+"]")}catch(e){var T=this.parse(A,y);o=o.substr(0,E)+"\\["+T[0]+"\\]",l=l||T[1],d=!1;continue}l=!0,d=!1,o+=x;continue;default:S(),f?f=!1:!u[x]||"^"===x&&d||(o+="\\"),o+=x}d&&(A=e.substr(b+1),T=this.parse(A,y),o=o.substr(0,E)+"\\["+T[0],l=l||T[1]);for(w=p.pop();w;w=p.pop()){var R=o.slice(w.reStart+w.open.length);this.debug("setting tail",o,w),R=R.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(e,t,r){return r||(r="\\"),t+t+r+"|"})),this.debug("tail=%j\n %s",R,R,w,o);var C="*"===w.type?c:"?"===w.type?a:"\\"+w.type;l=!0,o=o.slice(0,w.reStart)+C+"\\("+R}S(),f&&(o+="\\\\");var I=!1;switch(o.charAt(0)){case"[":case".":case"(":I=!0}for(var N=h.length-1;N>-1;N--){var P=h[N],D=o.slice(0,P.reStart),L=o.slice(P.reStart,P.reEnd-8),U=o.slice(P.reEnd-8,P.reEnd),M=o.slice(P.reEnd);U+=M;var j=D.split("(").length-1,k=M;for(_=0;_<j;_++)k=k.replace(/\)[+*?]?/,"");var G="";""===(M=k)&&t!==y&&(G="$"),o=D+L+M+G+U}""!==o&&l&&(o="(?=.)"+o);I&&(o=g+o);if(t===y)return[o,l];if(!l)return function(e){return e.replace(/\\(.)/g,"$1")}(e);var H=r.nocase?"i":"";try{var B=new RegExp("^"+o+"$",H)}catch(e){return new RegExp("$.")}return B._glob=e,B._src=o,B};var y={};p.makeRe=function(e,t){return new h(e,t||{}).makeRe()},h.prototype.makeRe=function(){if(this.regexp||!1===this.regexp)return this.regexp;var e=this.set;if(!e.length)return this.regexp=!1,this.regexp;var t=this.options,r=t.noglobstar?c:t.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",n=t.nocase?"i":"",o=e.map((function(e){return e.map((function(e){return e===i?r:"string"==typeof e?function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(e):e._src})).join("\\/")})).join("|");o="^(?:"+o+")$",this.negate&&(o="^(?!"+o+").*$");try{this.regexp=new RegExp(o,n)}catch(e){this.regexp=!1}return this.regexp},p.match=function(e,t,r){var n=new h(t,r=r||{});return e=e.filter((function(e){return n.match(e)})),n.options.nonull&&!e.length&&e.push(t),e},h.prototype.match=function(e,t){if(void 0===t&&(t=this.partial),this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return""===e;if("/"===e&&t)return!0;var r=this.options;"/"!==n.sep&&(e=e.split(n.sep).join("/")),e=e.split(l),this.debug(this.pattern,"split",e);var i,o,s=this.set;for(this.debug(this.pattern,"set",s),o=e.length-1;o>=0&&!(i=e[o]);o--);for(o=0;o<s.length;o++){var a=s[o],c=e;if(r.matchBase&&1===a.length&&(c=[i]),this.matchOne(c,a,t))return!!r.flipNegate||!this.negate}return!r.flipNegate&&this.negate},h.prototype.matchOne=function(e,t,r){var n=this.options;this.debug("matchOne",{this:this,file:e,pattern:t}),this.debug("matchOne",e.length,t.length);for(var o=0,s=0,a=e.length,c=t.length;o<a&&s<c;o++,s++){this.debug("matchOne loop");var u,l=t[s],f=e[o];if(this.debug(t,l,f),!1===l)return!1;if(l===i){this.debug("GLOBSTAR",[t,l,f]);var p=o,h=s+1;if(h===c){for(this.debug("** at the end");o<a;o++)if("."===e[o]||".."===e[o]||!n.dot&&"."===e[o].charAt(0))return!1;return!0}for(;p<a;){var d=e[p];if(this.debug("\nglobstar while",e,p,t,h,d),this.matchOne(e.slice(p),t.slice(h),r))return this.debug("globstar found match!",p,a,d),!0;if("."===d||".."===d||!n.dot&&"."===d.charAt(0)){this.debug("dot detected!",e,p,t,h);break}this.debug("globstar swallow a segment, and continue"),p++}return!(!r||(this.debug("\n>>> no match, partial?",e,p,t,h),p!==a))}if("string"==typeof l?(u=f===l,this.debug("string match",l,f,u)):(u=f.match(l),this.debug("pattern match",l,f,u)),!u)return!1}if(o===a&&s===c)return!0;if(o===a)return r;if(s===c)return o===a-1&&""===e[o];throw new Error("wtf?")}},8307:(e,t,r)=>{"use strict";var n=r(3729);function i(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function o(e,t){for(var r,n="",i=0,o=-1,s=0,a=0;a<=e.length;++a){if(a<e.length)r=e.charCodeAt(a);else{if(47===r)break;r=47}if(47===r){if(o===a-1||1===s);else if(o!==a-1&&2===s){if(n.length<2||2!==i||46!==n.charCodeAt(n.length-1)||46!==n.charCodeAt(n.length-2))if(n.length>2){var c=n.lastIndexOf("/");if(c!==n.length-1){-1===c?(n="",i=0):i=(n=n.slice(0,c)).length-1-n.lastIndexOf("/"),o=a,s=0;continue}}else if(2===n.length||1===n.length){n="",i=0,o=a,s=0;continue}t&&(n.length>0?n+="/..":n="..",i=2)}else n.length>0?n+="/"+e.slice(o+1,a):n=e.slice(o+1,a),i=a-o-1;o=a,s=0}else 46===r&&-1!==s?++s:s=-1}return n}var s={resolve:function(){for(var e,t="",r=!1,s=arguments.length-1;s>=-1&&!r;s--){var a;s>=0?a=arguments[s]:(void 0===e&&(e=n.cwd()),a=e),i(a),0!==a.length&&(t=a+"/"+t,r=47===a.charCodeAt(0))}return t=o(t,!r),r?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(e){if(i(e),0===e.length)return".";var t=47===e.charCodeAt(0),r=47===e.charCodeAt(e.length-1);return 0!==(e=o(e,!t)).length||t||(e="."),e.length>0&&r&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return i(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,t=0;t<arguments.length;++t){var r=arguments[t];i(r),r.length>0&&(void 0===e?e=r:e+="/"+r)}return void 0===e?".":s.normalize(e)},relative:function(e,t){if(i(e),i(t),e===t)return"";if((e=s.resolve(e))===(t=s.resolve(t)))return"";for(var r=1;r<e.length&&47===e.charCodeAt(r);++r);for(var n=e.length,o=n-r,a=1;a<t.length&&47===t.charCodeAt(a);++a);for(var c=t.length-a,u=o<c?o:c,l=-1,f=0;f<=u;++f){if(f===u){if(c>u){if(47===t.charCodeAt(a+f))return t.slice(a+f+1);if(0===f)return t.slice(a+f)}else o>u&&(47===e.charCodeAt(r+f)?l=f:0===f&&(l=0));break}var p=e.charCodeAt(r+f);if(p!==t.charCodeAt(a+f))break;47===p&&(l=f)}var h="";for(f=r+l+1;f<=n;++f)f!==n&&47!==e.charCodeAt(f)||(0===h.length?h+="..":h+="/..");return h.length>0?h+t.slice(a+l):(a+=l,47===t.charCodeAt(a)&&++a,t.slice(a))},_makeLong:function(e){return e},dirname:function(e){if(i(e),0===e.length)return".";for(var t=e.charCodeAt(0),r=47===t,n=-1,o=!0,s=e.length-1;s>=1;--s)if(47===(t=e.charCodeAt(s))){if(!o){n=s;break}}else o=!1;return-1===n?r?"/":".":r&&1===n?"//":e.slice(0,n)},basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');i(e);var r,n=0,o=-1,s=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var a=t.length-1,c=-1;for(r=e.length-1;r>=0;--r){var u=e.charCodeAt(r);if(47===u){if(!s){n=r+1;break}}else-1===c&&(s=!1,c=r+1),a>=0&&(u===t.charCodeAt(a)?-1==--a&&(o=r):(a=-1,o=c))}return n===o?o=c:-1===o&&(o=e.length),e.slice(n,o)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!s){n=r+1;break}}else-1===o&&(s=!1,o=r+1);return-1===o?"":e.slice(n,o)},extname:function(e){i(e);for(var t=-1,r=0,n=-1,o=!0,s=0,a=e.length-1;a>=0;--a){var c=e.charCodeAt(a);if(47!==c)-1===n&&(o=!1,n=a+1),46===c?-1===t?t=a:1!==s&&(s=1):-1!==t&&(s=-1);else if(!o){r=a+1;break}}return-1===t||-1===n||0===s||1===s&&t===n-1&&t===r+1?"":e.slice(t,n)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var r=t.dir||t.root,n=t.base||(t.name||"")+(t.ext||"");return r?r===t.root?r+n:r+e+n:n}("/",e)},parse:function(e){i(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var r,n=e.charCodeAt(0),o=47===n;o?(t.root="/",r=1):r=0;for(var s=-1,a=0,c=-1,u=!0,l=e.length-1,f=0;l>=r;--l)if(47!==(n=e.charCodeAt(l)))-1===c&&(u=!1,c=l+1),46===n?-1===s?s=l:1!==f&&(f=1):-1!==s&&(f=-1);else if(!u){a=l+1;break}return-1===s||-1===c||0===f||1===f&&s===c-1&&s===a+1?-1!==c&&(t.base=t.name=0===a&&o?e.slice(1,c):e.slice(a,c)):(0===a&&o?(t.name=e.slice(1,s),t.base=e.slice(1,c)):(t.name=e.slice(a,s),t.base=e.slice(a,c)),t.ext=e.slice(s,c)),a>0?t.dir=e.slice(0,a-1):o&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};s.posix=s,e.exports=s},3729:e=>{var t,r,n=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var a,c=[],u=!1,l=-1;function f(){u&&a&&(u=!1,a.length?c=a.concat(c):l=-1,c.length&&p())}function p(){if(!u){var e=s(f);u=!0;for(var t=c.length;t;){for(a=c,c=[];++l<t;)a&&a[l].run();l=-1,t=c.length}a=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function d(){}n.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];c.push(new h(e,t)),1!==c.length||u||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=d,n.addListener=d,n.once=d,n.off=d,n.removeListener=d,n.removeAllListeners=d,n.emit=d,n.prependListener=d,n.prependOnceListener=d,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},1450:(e,t,r)=>{"use strict";var n=r(3119),i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,r){var n,o={},u=null,l=null;for(n in void 0!==r&&(u=""+r),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(l=t.ref),t)s.call(t,n)&&!c.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:i,type:e,key:u,ref:l,props:o,_owner:a.current}}},8857:(e,t)=>{"use strict";var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.iterator;var d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,y={};function E(e,t,r){this.props=e,this.context=t,this.refs=y,this.updater=r||d}function b(){}function g(e,t,r){this.props=e,this.context=t,this.refs=y,this.updater=r||d}E.prototype.isReactComponent={},E.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},E.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=E.prototype;var m=g.prototype=new b;m.constructor=g,v(m,E.prototype),m.isPureReactComponent=!0;var S=Array.isArray,x=Object.prototype.hasOwnProperty,_={current:null},O={key:!0,ref:!0,__self:!0,__source:!0};function w(e,t,n){var i,o={},s=null,a=null;if(null!=t)for(i in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(s=""+t.key),t)x.call(t,i)&&!O.hasOwnProperty(i)&&(o[i]=t[i]);var c=arguments.length-2;if(1===c)o.children=n;else if(1<c){for(var u=Array(c),l=0;l<c;l++)u[l]=arguments[l+2];o.children=u}if(e&&e.defaultProps)for(i in c=e.defaultProps)void 0===o[i]&&(o[i]=c[i]);return{$$typeof:r,type:e,key:s,ref:a,props:o,_owner:_.current}}function A(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}var T=/\/+/g;function R(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function C(e,t,i,o,s){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var c=!1;if(null===e)c=!0;else switch(a){case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case r:case n:c=!0}}if(c)return s=s(c=e),e=""===o?"."+R(c,0):o,S(s)?(i="",null!=e&&(i=e.replace(T,"$&/")+"/"),C(s,t,i,"",(function(e){return e}))):null!=s&&(A(s)&&(s=function(e,t){return{$$typeof:r,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(s,i+(!s.key||c&&c.key===s.key?"":(""+s.key).replace(T,"$&/")+"/")+e)),t.push(s)),1;if(c=0,o=""===o?".":o+":",S(e))for(var u=0;u<e.length;u++){var l=o+R(a=e[u],u);c+=C(a,t,i,l,s)}else if(l=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=h&&e[h]||e["@@iterator"])?e:null}(e),"function"==typeof l)for(e=l.call(e),u=0;!(a=e.next()).done;)c+=C(a=a.value,t,i,l=o+R(a,u++),s);else if("object"===a)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return c}function I(e,t,r){if(null==e)return e;var n=[],i=0;return C(e,n,"","",(function(e){return t.call(r,e,i++)})),n}function N(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var P={current:null},D={transition:null},L={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:D,ReactCurrentOwner:_};t.Children={map:I,forEach:function(e,t,r){I(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return I(e,(function(){t++})),t},toArray:function(e){return I(e,(function(e){return e}))||[]},only:function(e){if(!A(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=E,t.Fragment=i,t.Profiler=s,t.PureComponent=g,t.StrictMode=o,t.Suspense=l,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,t.cloneElement=function(e,t,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=v({},e.props),o=e.key,s=e.ref,a=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,a=_.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(u in t)x.call(t,u)&&!O.hasOwnProperty(u)&&(i[u]=void 0===t[u]&&void 0!==c?c[u]:t[u])}var u=arguments.length-2;if(1===u)i.children=n;else if(1<u){c=Array(u);for(var l=0;l<u;l++)c[l]=arguments[l+2];i.children=c}return{$$typeof:r,type:e.type,key:o,ref:s,props:i,_owner:a}},t.createContext=function(e){return(e={$$typeof:c,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=w,t.createFactory=function(e){var t=w.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=A,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:N}},t.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=D.transition;D.transition={};try{e()}finally{D.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return P.current.useCallback(e,t)},t.useContext=function(e){return P.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return P.current.useDeferredValue(e)},t.useEffect=function(e,t){return P.current.useEffect(e,t)},t.useId=function(){return P.current.useId()},t.useImperativeHandle=function(e,t,r){return P.current.useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return P.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return P.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return P.current.useMemo(e,t)},t.useReducer=function(e,t,r){return P.current.useReducer(e,t,r)},t.useRef=function(e){return P.current.useRef(e)},t.useState=function(e){return P.current.useState(e)},t.useSyncExternalStore=function(e,t,r){return P.current.useSyncExternalStore(e,t,r)},t.useTransition=function(){return P.current.useTransition()},t.version="18.1.0"},3119:(e,t,r)=>{"use strict";e.exports=r(8857)},6024:(e,t,r)=>{"use strict";r(1450)},4665:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(t,r,n){var i=e.call(this)||this;return i.parent=t,i.outerValue=r,i.outerIndex=n,i.index=0,i}return i(t,e),t.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},t.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t}(r(7931).Subscriber);t.InnerSubscriber=o},9391:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2295),i=r(9587),o=r(9343),s=r(2551),a=r(6518),c=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var n=this.operator,o=i.toSubscriber(e,t,r);if(n?o.add(n.call(o,this.source)):o.add(this.source||a.config.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),a.config.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){a.config.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),n.canReportError(e)?e.error(t):console.warn(t)}},e.prototype.forEach=function(e,t){var r=this;return new(t=u(t))((function(t,n){var i;i=r.subscribe((function(t){try{e(t)}catch(e){n(e),i&&i.unsubscribe()}}),n,t)}))},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[o.observable]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?this:s.pipeFromArray(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=u(e))((function(e,r){var n;t.subscribe((function(e){return n=e}),(function(e){return r(e)}),(function(){return e(n)}))}))},e.create=function(t){return new e(t)},e}();function u(e){if(e||(e=a.config.Promise||Promise),!e)throw new Error("no Promise impl found");return e}t.Observable=c},7463:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(6518),i=r(2640);t.empty={closed:!0,next:function(e){},error:function(e){if(n.config.useDeprecatedSynchronousErrorHandling)throw e;i.hostReportError(e)},complete:function(){}}},8926:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.notifyNext=function(e,t,r,n,i){this.destination.next(t)},t.prototype.notifyError=function(e,t){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t}(r(7931).Subscriber);t.OuterSubscriber=o},7931:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(9537),s=r(7463),a=r(4393),c=r(288),u=r(6518),l=r(2640),f=function(e){function t(r,n,i){var o=e.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=s.empty;break;case 1:if(!r){o.destination=s.empty;break}if("object"==typeof r){r instanceof t?(o.syncErrorThrowable=r.syncErrorThrowable,o.destination=r,r.add(o)):(o.syncErrorThrowable=!0,o.destination=new p(o,r));break}default:o.syncErrorThrowable=!0,o.destination=new p(o,r,n,i)}return o}return i(t,e),t.prototype[c.rxSubscriber]=function(){return this},t.create=function(e,r,n){var i=new t(e,r,n);return i.syncErrorThrowable=!1,i},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this},t}(a.Subscription);t.Subscriber=f;var p=function(e){function t(t,r,n,i){var a,c=e.call(this)||this;c._parentSubscriber=t;var u=c;return o.isFunction(r)?a=r:r&&(a=r.next,n=r.error,i=r.complete,r!==s.empty&&(u=Object.create(r),o.isFunction(u.unsubscribe)&&c.add(u.unsubscribe.bind(u)),u.unsubscribe=c.unsubscribe.bind(c))),c._context=u,c._next=a,c._error=n,c._complete=i,c}return i(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;u.config.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber,r=u.config.useDeprecatedSynchronousErrorHandling;if(this._error)r&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)r?(t.syncErrorValue=e,t.syncErrorThrown=!0):l.hostReportError(e),this.unsubscribe();else{if(this.unsubscribe(),r)throw e;l.hostReportError(e)}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var r=function(){return e._complete.call(e._context)};u.config.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,r),this.unsubscribe()):(this.__tryOrUnsub(r),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(e){if(this.unsubscribe(),u.config.useDeprecatedSynchronousErrorHandling)throw e;l.hostReportError(e)}},t.prototype.__tryOrSetError=function(e,t,r){if(!u.config.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,r)}catch(t){return u.config.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=t,e.syncErrorThrown=!0,!0):(l.hostReportError(t),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(f);t.SafeSubscriber=p},4393:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2389),i=r(1458),o=r(9537),s=r(6041),a=function(){function e(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}var t;return e.prototype.unsubscribe=function(){var t;if(!this.closed){var r=this,a=r._parentOrParents,u=r._ctorUnsubscribe,l=r._unsubscribe,f=r._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,a instanceof e)a.remove(this);else if(null!==a)for(var p=0;p<a.length;++p){a[p].remove(this)}if(o.isFunction(l)){u&&(this._unsubscribe=void 0);try{l.call(this)}catch(e){t=e instanceof s.UnsubscriptionError?c(e.errors):[e]}}if(n.isArray(f)){p=-1;for(var h=f.length;++p<h;){var d=f[p];if(i.isObject(d))try{d.unsubscribe()}catch(e){t=t||[],e instanceof s.UnsubscriptionError?t=t.concat(c(e.errors)):t.push(e)}}}if(t)throw new s.UnsubscriptionError(t)}},e.prototype.add=function(t){var r=t;if(!t)return e.EMPTY;switch(typeof t){case"function":r=new e(t);case"object":if(r===this||r.closed||"function"!=typeof r.unsubscribe)return r;if(this.closed)return r.unsubscribe(),r;if(!(r instanceof e)){var n=r;(r=new e)._subscriptions=[n]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}var i=r._parentOrParents;if(null===i)r._parentOrParents=this;else if(i instanceof e){if(i===this)return r;r._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return r;i.push(this)}var o=this._subscriptions;return null===o?this._subscriptions=[r]:o.push(r),r},e.prototype.remove=function(e){var t=this._subscriptions;if(t){var r=t.indexOf(e);-1!==r&&t.splice(r,1)}},e.EMPTY=((t=new e).closed=!0,t),e}();function c(e){return e.reduce((function(e,t){return e.concat(t instanceof s.UnsubscriptionError?t.errors:t)}),[])}t.Subscription=a},6518:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=!1;t.config={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){var t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=e},get useDeprecatedSynchronousErrorHandling(){return r}}},8569:(e,t)=>{"use strict";function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}Object.defineProperty(t,"__esModule",{value:!0}),t.getSymbolIterator=r,t.iterator=r(),t.$$iterator=t.iterator},9343:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"},288:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rxSubscriber="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),t.$$rxSubscriber=t.rxSubscriber},6041:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e){return Error.call(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e}();t.UnsubscriptionError=r},2295:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(7931);t.canReportError=function(e){for(;e;){var t=e,r=t.closed,i=t.destination,o=t.isStopped;if(r||o)return!1;e=i&&i instanceof n.Subscriber?i:null}return!0}},2640:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hostReportError=function(e){setTimeout((function(){throw e}),0)}},4488:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.identity=function(e){return e}},2389:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArray=Array.isArray||function(e){return e&&"number"==typeof e.length}},1492:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArrayLike=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},9537:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFunction=function(e){return"function"==typeof e}},1458:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isObject=function(e){return null!==e&&"object"==typeof e}},841:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPromise=function(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}},2551:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(4488);function i(e){return 0===e.length?n.identity:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}t.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i(e)},t.pipeFromArray=i},697:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(7958),i=r(4013),o=r(1595),s=r(6554),a=r(1492),c=r(841),u=r(1458),l=r(8569),f=r(9343);t.subscribeTo=function(e){if(e&&"function"==typeof e[f.observable])return s.subscribeToObservable(e);if(a.isArrayLike(e))return n.subscribeToArray(e);if(c.isPromise(e))return i.subscribeToPromise(e);if(e&&"function"==typeof e[l.iterator])return o.subscribeToIterable(e);var t=u.isObject(e)?"an invalid object":"'"+e+"'";throw new TypeError("You provided "+t+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")}},7958:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.subscribeToArray=function(e){return function(t){for(var r=0,n=e.length;r<n&&!t.closed;r++)t.next(e[r]);t.complete()}}},1595:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(8569);t.subscribeToIterable=function(e){return function(t){for(var r=e[n.iterator]();;){var i=void 0;try{i=r.next()}catch(e){return t.error(e),t}if(i.done){t.complete();break}if(t.next(i.value),t.closed)break}return"function"==typeof r.return&&t.add((function(){r.return&&r.return()})),t}}},6554:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(9343);t.subscribeToObservable=function(e){return function(t){var r=e[n.observable]();if("function"!=typeof r.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return r.subscribe(t)}}},4013:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2640);t.subscribeToPromise=function(e){return function(t){return e.then((function(e){t.closed||(t.next(e),t.complete())}),(function(e){return t.error(e)})).then(null,n.hostReportError),t}}},2505:(e,t,r)=>{"use strict";var n=r(4665),i=r(697),o=r(9391);t.D=function(e,t,r,s,a){if(void 0===a&&(a=new n.InnerSubscriber(e,r,s)),!a.closed)return t instanceof o.Observable?t.subscribe(a):i.subscribeTo(t)(a)}},9587:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(7931),i=r(288),o=r(7463);t.toSubscriber=function(e,t,r){if(e){if(e instanceof n.Subscriber)return e;if(e[i.rxSubscriber])return e[i.rxSubscriber]()}return e||t||r?new n.Subscriber(e,t,r):new n.Subscriber(o.empty)}}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{"use strict";var e=r(8612);r.n(e)()({usePolyfill:["URL","URLSearchParams"]});r(3883),r(7998),r(1812),r(7445),r(1412);var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},t(e,r)};function n(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}Object.create;Object.create;function i(e){return"function"==typeof e}var o=!1,s={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){e&&(new Error).stack;o=e},get useDeprecatedSynchronousErrorHandling(){return o}};function a(e){setTimeout((function(){throw e}),0)}var c={closed:!0,next:function(e){},error:function(e){if(s.useDeprecatedSynchronousErrorHandling)throw e;a(e)},complete:function(){}},u=function(){return Array.isArray||function(e){return e&&"number"==typeof e.length}}();function l(e){return null!==e&&"object"==typeof e}var f=function(){function e(e){return Error.call(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e}(),p=function(){function e(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}return e.prototype.unsubscribe=function(){var t;if(!this.closed){var r=this,n=r._parentOrParents,o=r._ctorUnsubscribe,s=r._unsubscribe,a=r._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(var c=0;c<n.length;++c){n[c].remove(this)}if(i(s)){o&&(this._unsubscribe=void 0);try{s.call(this)}catch(e){t=e instanceof f?h(e.errors):[e]}}if(u(a)){c=-1;for(var p=a.length;++c<p;){var d=a[c];if(l(d))try{d.unsubscribe()}catch(e){t=t||[],e instanceof f?t=t.concat(h(e.errors)):t.push(e)}}}if(t)throw new f(t)}},e.prototype.add=function(t){var r=t;if(!t)return e.EMPTY;switch(typeof t){case"function":r=new e(t);case"object":if(r===this||r.closed||"function"!=typeof r.unsubscribe)return r;if(this.closed)return r.unsubscribe(),r;if(!(r instanceof e)){var n=r;(r=new e)._subscriptions=[n]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}var i=r._parentOrParents;if(null===i)r._parentOrParents=this;else if(i instanceof e){if(i===this)return r;r._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return r;i.push(this)}var o=this._subscriptions;return null===o?this._subscriptions=[r]:o.push(r),r},e.prototype.remove=function(e){var t=this._subscriptions;if(t){var r=t.indexOf(e);-1!==r&&t.splice(r,1)}},e.EMPTY=function(e){return e.closed=!0,e}(new e),e}();function h(e){return e.reduce((function(e,t){return e.concat(t instanceof f?t.errors:t)}),[])}var d=function(){return"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}(),v=function(e){function t(r,n,i){var o=e.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=c;break;case 1:if(!r){o.destination=c;break}if("object"==typeof r){r instanceof t?(o.syncErrorThrowable=r.syncErrorThrowable,o.destination=r,r.add(o)):(o.syncErrorThrowable=!0,o.destination=new y(o,r));break}default:o.syncErrorThrowable=!0,o.destination=new y(o,r,n,i)}return o}return n(t,e),t.prototype[d]=function(){return this},t.create=function(e,r,n){var i=new t(e,r,n);return i.syncErrorThrowable=!1,i},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this},t}(p),y=function(e){function t(t,r,n,o){var s,a=e.call(this)||this;a._parentSubscriber=t;var u=a;return i(r)?s=r:r&&(s=r.next,n=r.error,o=r.complete,r!==c&&(i((u=Object.create(r)).unsubscribe)&&a.add(u.unsubscribe.bind(u)),u.unsubscribe=a.unsubscribe.bind(a))),a._context=u,a._next=s,a._error=n,a._complete=o,a}return n(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;s.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber,r=s.useDeprecatedSynchronousErrorHandling;if(this._error)r&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)r?(t.syncErrorValue=e,t.syncErrorThrown=!0):a(e),this.unsubscribe();else{if(this.unsubscribe(),r)throw e;a(e)}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var r=function(){return e._complete.call(e._context)};s.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,r),this.unsubscribe()):(this.__tryOrUnsub(r),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(e){if(this.unsubscribe(),s.useDeprecatedSynchronousErrorHandling)throw e;a(e)}},t.prototype.__tryOrSetError=function(e,t,r){if(!s.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,r)}catch(t){return s.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=t,e.syncErrorThrown=!0,!0):(a(t),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(v);var E=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}();function b(e){return e}function g(e){return 0===e.length?b:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}var m=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var n=this.operator,i=function(e,t,r){if(e){if(e instanceof v)return e;if(e[d])return e[d]()}return e||t||r?new v(e,t,r):new v(c)}(e,t,r);if(n?i.add(n.call(i,this.source)):i.add(this.source||s.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),s.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){s.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),!function(e){for(;e;){var t=e,r=t.closed,n=t.destination,i=t.isStopped;if(r||i)return!1;e=n&&n instanceof v?n:null}return!0}(e)?console.warn(t):e.error(t)}},e.prototype.forEach=function(e,t){var r=this;return new(t=S(t))((function(t,n){var i;i=r.subscribe((function(t){try{e(t)}catch(e){n(e),i&&i.unsubscribe()}}),n,t)}))},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[E]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?this:g(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=S(e))((function(e,r){var n;t.subscribe((function(e){return n=e}),(function(e){return r(e)}),(function(){return e(n)}))}))},e.create=function(t){return new e(t)},e}();function S(e){if(e||(e=s.Promise||Promise),!e)throw new Error("no Promise impl found");return e}function x(e,t){return function(r){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new _(e,t))}}var _=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new O(e,this.project,this.thisArg))},e}(),O=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.project=r,i.count=0,i.thisArg=n||i,i}return n(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(v);function w(e,t,r,n){return i(r)&&(n=r,r=void 0),n?w(e,t,r).pipe(x((function(e){return u(e)?n.apply(void 0,e):n(e)}))):new m((function(n){A(e,t,(function(e){arguments.length>1?n.next(Array.prototype.slice.call(arguments)):n.next(e)}),n,r)}))}function A(e,t,r,n,i){var o;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){var s=e;e.addEventListener(t,r,i),o=function(){return s.removeEventListener(t,r,i)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){var a=e;e.on(t,r),o=function(){return a.off(t,r)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){var c=e;e.addListener(t,r),o=function(){return c.removeListener(t,r)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var u=0,l=e.length;u<l;u++)A(e[u],t,r,n,i)}n.add(o)}var T=function(){function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e}(),R=new m((function(e){return e.complete()}));function C(e){return e?function(e){return new m((function(t){return e.schedule((function(){return t.complete()}))}))}(e):R}function I(e){return function(t){return 0===e?C():t.lift(new N(e))}}var N=function(){function e(e){if(this.total=e,this.total<0)throw new T}return e.prototype.call=function(e,t){return t.subscribe(new P(e,this.total))},e}(),P=function(e){function t(t,r){var n=e.call(this,t)||this;return n.total=r,n.count=0,n}return n(t,e),t.prototype._next=function(e){var t=this.total,r=++this.count;r<=t&&(this.destination.next(e),r===t&&(this.destination.complete(),this.unsubscribe()))},t}(v);const D=e=>t=>e in t;const L=(...e)=>{console.log(...e)},U=(...e)=>{console.error(...e)},M=(...e)=>{console.warn(...e)};var j=r(4463),k=r.n(j);const G=e=>k()(e)&&D("addEventListener")(e)&&D("removeEventListener")(e)&&D("postMessage")(e)&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener&&"function"==typeof e.postMessage;var H=r(2506),B=r.n(H);const F=Symbol("Comlink.proxy"),V=Symbol("Comlink.endpoint"),$=Symbol("Comlink.releaseProxy"),W=Symbol("Comlink.thrown"),Y=e=>"object"==typeof e&&null!==e||"function"==typeof e,z=new Map([["proxy",{canHandle:e=>Y(e)&&e[F],serialize(e){const{port1:t,port2:r}=new MessageChannel;return K(e,t),[r,[r]]},deserialize:e=>(e.start(),q(e))}],["throw",{canHandle:e=>Y(e)&&W in e,serialize({value:e}){let t;return t=e instanceof Error?{isError:!0,value:{message:e.message,name:e.name,stack:e.stack}}:{isError:!1,value:e},[t,[]]},deserialize(e){if(e.isError)throw Object.assign(new Error(e.value.message),e.value);throw e.value}}]]);function K(e,t=self){t.addEventListener("message",(function r(n){if(!n||!n.data)return;const{id:i,type:o,path:s}=Object.assign({path:[]},n.data),a=(n.data.argumentList||[]).map(ne);let c;try{const t=s.slice(0,-1).reduce(((e,t)=>e[t]),e),r=s.reduce(((e,t)=>e[t]),e);switch(o){case 0:c=r;break;case 1:t[s.slice(-1)[0]]=ne(n.data.value),c=!0;break;case 2:c=r.apply(t,a);break;case 3:c=te(new r(...a));break;case 4:{const{port1:t,port2:r}=new MessageChannel;K(e,r),c=function(e,t){return ee.set(e,t),e}(t,[t])}break;case 5:c=void 0}}catch(e){c={value:e,[W]:0}}Promise.resolve(c).catch((e=>({value:e,[W]:0}))).then((e=>{const[n,s]=re(e);t.postMessage(Object.assign(Object.assign({},n),{id:i}),s),5===o&&(t.removeEventListener("message",r),J(t))}))})),t.start&&t.start()}function J(e){(function(e){return"MessagePort"===e.constructor.name})(e)&&e.close()}function q(e,t){return Q(e,[],t)}function X(e){if(e)throw new Error("Proxy has been released and is not useable")}function Q(e,t=[],r=function(){}){let n=!1;const i=new Proxy(r,{get(r,o){if(X(n),o===$)return()=>ie(e,{type:5,path:t.map((e=>e.toString()))}).then((()=>{J(e),n=!0}));if("then"===o){if(0===t.length)return{then:()=>i};const r=ie(e,{type:0,path:t.map((e=>e.toString()))}).then(ne);return r.then.bind(r)}return Q(e,[...t,o])},set(r,i,o){X(n);const[s,a]=re(o);return ie(e,{type:1,path:[...t,i].map((e=>e.toString())),value:s},a).then(ne)},apply(r,i,o){X(n);const s=t[t.length-1];if(s===V)return ie(e,{type:4}).then(ne);if("bind"===s)return Q(e,t.slice(0,-1));const[a,c]=Z(o);return ie(e,{type:2,path:t.map((e=>e.toString())),argumentList:a},c).then(ne)},construct(r,i){X(n);const[o,s]=Z(i);return ie(e,{type:3,path:t.map((e=>e.toString())),argumentList:o},s).then(ne)}});return i}function Z(e){const t=e.map(re);return[t.map((e=>e[0])),(r=t.map((e=>e[1])),Array.prototype.concat.apply([],r))];var r}const ee=new WeakMap;function te(e){return Object.assign(e,{[F]:!0})}function re(e){for(const[t,r]of z)if(r.canHandle(e)){const[n,i]=r.serialize(e);return[{type:3,name:t,value:n},i]}return[{type:0,value:e},ee.get(e)||[]]}function ne(e){switch(e.type){case 3:return z.get(e.name).deserialize(e.value);case 0:return e.value}}function ie(e,t,r){return new Promise((n=>{const i=new Array(4).fill(0).map((()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16))).join("-");e.addEventListener("message",(function t(r){r.data&&r.data.id&&r.data.id===i&&(e.removeEventListener("message",t),n(r.data))})),e.start&&e.start(),e.postMessage(Object.assign({id:i},t),r)}))}var oe=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}(),se=function(e){function t(t,r){var n=e.call(this)||this;return n.subject=t,n.subscriber=r,n.closed=!1,n}return n(t,e),t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var r=t.indexOf(this.subscriber);-1!==r&&t.splice(r,1)}}},t}(p),ae=function(e){function t(t){var r=e.call(this,t)||this;return r.destination=t,r}return n(t,e),t}(v),ce=function(e){function t(){var t=e.call(this)||this;return t.observers=[],t.closed=!1,t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return n(t,e),t.prototype[d]=function(){return new ae(this)},t.prototype.lift=function(e){var t=new ue(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new oe;if(!this.isStopped)for(var t=this.observers,r=t.length,n=t.slice(),i=0;i<r;i++)n[i].next(e)},t.prototype.error=function(e){if(this.closed)throw new oe;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,r=t.length,n=t.slice(),i=0;i<r;i++)n[i].error(e);this.observers.length=0},t.prototype.complete=function(){if(this.closed)throw new oe;this.isStopped=!0;for(var e=this.observers,t=e.length,r=e.slice(),n=0;n<t;n++)r[n].complete();this.observers.length=0},t.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},t.prototype._trySubscribe=function(t){if(this.closed)throw new oe;return e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){if(this.closed)throw new oe;return this.hasError?(e.error(this.thrownError),p.EMPTY):this.isStopped?(e.complete(),p.EMPTY):(this.observers.push(e),new se(this,e))},t.prototype.asObservable=function(){var e=new m;return e.source=this,e},t.create=function(e,t){return new ue(e,t)},t}(m),ue=function(e){function t(t,r){var n=e.call(this)||this;return n.destination=t,n.source=r,n}return n(t,e),t.prototype.next=function(e){var t=this.destination;t&&t.next&&t.next(e)},t.prototype.error=function(e){var t=this.destination;t&&t.error&&this.destination.error(e)},t.prototype.complete=function(){var e=this.destination;e&&e.complete&&this.destination.complete()},t.prototype._subscribe=function(e){return this.source?this.source.subscribe(e):p.EMPTY},t}(ce),le=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n.pending=!1,n}return n(t,e),t.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e;var r=this.id,n=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(n,r,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(n,this.id,t),this},t.prototype.requestAsyncId=function(e,t,r){return void 0===r&&(r=0),setInterval(e.flush.bind(e,this),r)},t.prototype.recycleAsyncId=function(e,t,r){if(void 0===r&&(r=0),null!==r&&this.delay===r&&!1===this.pending)return t;clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var r=this._execute(e,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var r=!1,n=void 0;try{this.work(e)}catch(e){r=!0,n=!!e&&e||new Error(e)}if(r)return this.unsubscribe(),n},t.prototype._unsubscribe=function(){var e=this.id,t=this.scheduler,r=t.actions,n=r.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==n&&r.splice(n,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null},t}(function(e){function t(t,r){return e.call(this)||this}return n(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(p)),fe=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return n(t,e),t.prototype.schedule=function(t,r){return void 0===r&&(r=0),r>0?e.prototype.schedule.call(this,t,r):(this.delay=r,this.state=t,this.scheduler.flush(this),this)},t.prototype.execute=function(t,r){return r>0||this.closed?e.prototype.execute.call(this,t,r):this._execute(t,r)},t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!==n&&n>0||null===n&&this.delay>0?e.prototype.requestAsyncId.call(this,t,r,n):t.flush(this)},t}(le),pe=function(){function e(t,r){void 0===r&&(r=e.now),this.SchedulerAction=t,this.now=r}return e.prototype.schedule=function(e,t,r){return void 0===t&&(t=0),new this.SchedulerAction(this,e).schedule(r,t)},e.now=function(){return Date.now()},e}(),he=function(e){function t(r,n){void 0===n&&(n=pe.now);var i=e.call(this,r,(function(){return t.delegate&&t.delegate!==i?t.delegate.now():n()}))||this;return i.actions=[],i.active=!1,i.scheduled=void 0,i}return n(t,e),t.prototype.schedule=function(r,n,i){return void 0===n&&(n=0),t.delegate&&t.delegate!==this?t.delegate.schedule(r,n,i):e.prototype.schedule.call(this,r,n,i)},t.prototype.flush=function(e){var t=this.actions;if(this.active)t.push(e);else{var r;this.active=!0;do{if(r=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,r){for(;e=t.shift();)e.unsubscribe();throw r}}},t}(pe),de=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t}(he))(fe);function ve(e){return e&&"function"==typeof e.schedule}var ye,Ee=function(e){return function(t){for(var r=0,n=e.length;r<n&&!t.closed;r++)t.next(e[r]);t.complete()}};function be(e,t){return new m((function(r){var n=new p,i=0;return n.add(t.schedule((function(){i!==e.length?(r.next(e[i++]),r.closed||n.add(this.schedule())):r.complete()}))),n}))}function ge(e,t){return t?be(e,t):new m(Ee(e))}function me(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[e.length-1];return ve(r)?(e.pop(),be(e,r)):ge(e)}function Se(e){var t=e.error;e.subscriber.error(t)}ye||(ye={});var xe=function(){function e(e,t,r){this.kind=e,this.value=t,this.error=r,this.hasValue="N"===e}return e.prototype.observe=function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}},e.prototype.do=function(e,t,r){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return r&&r()}},e.prototype.accept=function(e,t,r){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,r)},e.prototype.toObservable=function(){var e,t;switch(this.kind){case"N":return me(this.value);case"E":return e=this.error,new m(t?function(r){return t.schedule(Se,0,{error:e,subscriber:r})}:function(t){return t.error(e)});case"C":return C()}throw new Error("unexpected notification kind value")},e.createNext=function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}();var _e=function(e){function t(t,r,n){void 0===n&&(n=0);var i=e.call(this,t)||this;return i.scheduler=r,i.delay=n,i}return n(t,e),t.dispatch=function(e){var t=e.notification,r=e.destination;t.observe(r),this.unsubscribe()},t.prototype.scheduleMessage=function(e){this.destination.add(this.scheduler.schedule(t.dispatch,this.delay,new Oe(e,this.destination)))},t.prototype._next=function(e){this.scheduleMessage(xe.createNext(e))},t.prototype._error=function(e){this.scheduleMessage(xe.createError(e)),this.unsubscribe()},t.prototype._complete=function(){this.scheduleMessage(xe.createComplete()),this.unsubscribe()},t}(v),Oe=function(){return function(e,t){this.notification=e,this.destination=t}}(),we=function(e){function t(t,r,n){void 0===t&&(t=Number.POSITIVE_INFINITY),void 0===r&&(r=Number.POSITIVE_INFINITY);var i=e.call(this)||this;return i.scheduler=n,i._events=[],i._infiniteTimeWindow=!1,i._bufferSize=t<1?1:t,i._windowTime=r<1?1:r,r===Number.POSITIVE_INFINITY?(i._infiniteTimeWindow=!0,i.next=i.nextInfiniteTimeWindow):i.next=i.nextTimeWindow,i}return n(t,e),t.prototype.nextInfiniteTimeWindow=function(t){if(!this.isStopped){var r=this._events;r.push(t),r.length>this._bufferSize&&r.shift()}e.prototype.next.call(this,t)},t.prototype.nextTimeWindow=function(t){this.isStopped||(this._events.push(new Ae(this._getNow(),t)),this._trimBufferThenGetEvents()),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){var t,r=this._infiniteTimeWindow,n=r?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,o=n.length;if(this.closed)throw new oe;if(this.isStopped||this.hasError?t=p.EMPTY:(this.observers.push(e),t=new se(this,e)),i&&e.add(e=new _e(e,i)),r)for(var s=0;s<o&&!e.closed;s++)e.next(n[s]);else for(s=0;s<o&&!e.closed;s++)e.next(n[s].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),t},t.prototype._getNow=function(){return(this.scheduler||de).now()},t.prototype._trimBufferThenGetEvents=function(){for(var e=this._getNow(),t=this._bufferSize,r=this._windowTime,n=this._events,i=n.length,o=0;o<i&&!(e-n[o].time<r);)o++;return i>t&&(o=Math.max(o,i-t)),o>0&&n.splice(0,o),n},t}(ce),Ae=function(){return function(e,t){this.time=e,this.value=t}}();const Te=e=>"object"==typeof e&&null!==e&&("stack"in e||"message"in e)&&!("__typename"in e),Re=e=>e instanceof Error?e:Te(e)?Object.assign(new Error(e.message),e):new Error(String(e));class Ce extends Error{name="AbortError";message="Aborted"}const Ie=e=>"object"==typeof e&&null!==e&&D("href")(e)&&D("toString")(e)&&"function"==typeof e.toString&&e.href===e.toString();const Ne=e=>new p((async()=>{const t=await e;await t.unsubscribe(),"function"==typeof t[$]&&t[$]()})),Pe=e=>"object"==typeof e&&null!==e&&D("then")(e)&&"function"==typeof e.then;var De=function(e){function t(t){var r=e.call(this)||this;return r._value=t,r}return n(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),t.prototype._subscribe=function(t){var r=e.prototype._subscribe.call(this,t);return r&&!r.closed&&t.next(this._value),r},t.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new oe;return this._value},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(ce),Le=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.notifyNext=function(e,t,r,n,i){this.destination.next(t)},t.prototype.notifyError=function(e,t){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t}(v),Ue=function(e){function t(t,r,n){var i=e.call(this)||this;return i.parent=t,i.outerValue=r,i.outerIndex=n,i.index=0,i}return n(t,e),t.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},t.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t}(v);function Me(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var je=Me(),ke=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function Ge(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}var He=function(e){if(e&&"function"==typeof e[E])return n=e,function(e){var t=n[E]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(ke(e))return Ee(e);if(Ge(e))return r=e,function(e){return r.then((function(t){e.closed||(e.next(t),e.complete())}),(function(t){return e.error(t)})).then(null,a),e};if(e&&"function"==typeof e[je])return t=e,function(e){for(var r=t[je]();;){var n=void 0;try{n=r.next()}catch(t){return e.error(t),e}if(n.done){e.complete();break}if(e.next(n.value),e.closed)break}return"function"==typeof r.return&&e.add((function(){r.return&&r.return()})),e};var t,r,n,i=l(e)?"an invalid object":"'"+e+"'";throw new TypeError("You provided "+i+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")};function Be(e,t,r,n,i){if(void 0===i&&(i=new Ue(e,r,n)),!i.closed)return t instanceof m?t.subscribe(i):He(t)(i)}var Fe={};function Ve(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=void 0,n=void 0;return ve(e[e.length-1])&&(n=e.pop()),"function"==typeof e[e.length-1]&&(r=e.pop()),1===e.length&&u(e[0])&&(e=e[0]),ge(e,n).lift(new $e(r))}var $e=function(){function e(e){this.resultSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new We(e,this.resultSelector))},e}(),We=function(e){function t(t,r){var n=e.call(this,t)||this;return n.resultSelector=r,n.active=0,n.values=[],n.observables=[],n}return n(t,e),t.prototype._next=function(e){this.values.push(Fe),this.observables.push(e)},t.prototype._complete=function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(var r=0;r<t;r++){var n=e[r];this.add(Be(this,n,void 0,r))}}},t.prototype.notifyComplete=function(e){0==(this.active-=1)&&this.destination.complete()},t.prototype.notifyNext=function(e,t,r){var n=this.values,i=n[r],o=this.toRespond?i===Fe?--this.toRespond:this.toRespond:0;n[r]=t,0===o&&(this.resultSelector?this._tryResultSelector(n):this.destination.next(n.slice()))},t.prototype._tryResultSelector=function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(Le);function Ye(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[E]}(e))return function(e,t){return new m((function(r){var n=new p;return n.add(t.schedule((function(){var i=e[E]();n.add(i.subscribe({next:function(e){n.add(t.schedule((function(){return r.next(e)})))},error:function(e){n.add(t.schedule((function(){return r.error(e)})))},complete:function(){n.add(t.schedule((function(){return r.complete()})))}}))}))),n}))}(e,t);if(Ge(e))return function(e,t){return new m((function(r){var n=new p;return n.add(t.schedule((function(){return e.then((function(e){n.add(t.schedule((function(){r.next(e),n.add(t.schedule((function(){return r.complete()})))})))}),(function(e){n.add(t.schedule((function(){return r.error(e)})))}))}))),n}))}(e,t);if(ke(e))return be(e,t);if(function(e){return e&&"function"==typeof e[je]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new m((function(r){var n,i=new p;return i.add((function(){n&&"function"==typeof n.return&&n.return()})),i.add(t.schedule((function(){n=e[je](),i.add(t.schedule((function(){if(!r.closed){var e,t;try{var i=n.next();e=i.value,t=i.done}catch(e){return void r.error(e)}t?r.complete():(r.next(e),this.schedule())}})))}))),i}))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}function ze(e,t){return t?Ye(e,t):e instanceof m?e:new m(He(e))}var Ke=function(){function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e}();function Je(e,t){return function(r){return r.lift(new qe(e,t))}}var qe=function(){function e(e,t){this.predicate=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new Xe(e,this.predicate,this.thisArg))},e}(),Xe=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.predicate=r,i.thisArg=n,i.count=0,i}return n(t,e),t.prototype._next=function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}t&&this.destination.next(e)},t}(v);function Qe(e){return void 0===e&&(e=null),function(t){return t.lift(new Ze(e))}}var Ze=function(){function e(e){this.defaultValue=e}return e.prototype.call=function(e,t){return t.subscribe(new et(e,this.defaultValue))},e}(),et=function(e){function t(t,r){var n=e.call(this,t)||this;return n.defaultValue=r,n.isEmpty=!0,n}return n(t,e),t.prototype._next=function(e){this.isEmpty=!1,this.destination.next(e)},t.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},t}(v);function tt(e){return void 0===e&&(e=it),function(t){return t.lift(new rt(e))}}var rt=function(){function e(e){this.errorFactory=e}return e.prototype.call=function(e,t){return t.subscribe(new nt(e,this.errorFactory))},e}(),nt=function(e){function t(t,r){var n=e.call(this,t)||this;return n.errorFactory=r,n.hasValue=!1,n}return n(t,e),t.prototype._next=function(e){this.hasValue=!0,this.destination.next(e)},t.prototype._complete=function(){if(this.hasValue)return this.destination.complete();var e=void 0;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)},t}(v);function it(){return new Ke}var ot=function(e){function t(t){var r=e.call(this)||this;return r.parent=t,r}return n(t,e),t.prototype._next=function(e){this.parent.notifyNext(e)},t.prototype._error=function(e){this.parent.notifyError(e),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(),this.unsubscribe()},t}(v),st=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.notifyNext=function(e){this.destination.next(e)},t.prototype.notifyError=function(e){this.destination.error(e)},t.prototype.notifyComplete=function(){this.destination.complete()},t}(v);function at(e,t){if(!t.closed){if(e instanceof m)return e.subscribe(t);var r;try{r=He(e)(t)}catch(e){t.error(e)}return r}}function ct(e,t){return"function"==typeof t?function(r){return r.pipe(ct((function(r,n){return ze(e(r,n)).pipe(x((function(e,i){return t(r,e,n,i)})))})))}:function(t){return t.lift(new ut(e))}}var ut=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new lt(e,this.project))},e}(),lt=function(e){function t(t,r){var n=e.call(this,t)||this;return n.project=r,n.index=0,n}return n(t,e),t.prototype._next=function(e){var t,r=this.index++;try{t=this.project(e,r)}catch(e){return void this.destination.error(e)}this._innerSub(t)},t.prototype._innerSub=function(e){var t=this.innerSubscription;t&&t.unsubscribe();var r=new ot(this),n=this.destination;n.add(r),this.innerSubscription=at(e,r),this.innerSubscription!==r&&n.add(this.innerSubscription)},t.prototype._complete=function(){var t=this.innerSubscription;t&&!t.closed||e.prototype._complete.call(this),this.unsubscribe()},t.prototype._unsubscribe=function(){this.innerSubscription=void 0},t.prototype.notifyComplete=function(){this.innerSubscription=void 0,this.isStopped&&e.prototype._complete.call(this)},t.prototype.notifyNext=function(e){this.destination.next(e)},t}(st);function ft(){}function pt(e,t,r){return function(n){return n.lift(new ht(e,t,r))}}var ht=function(){function e(e,t,r){this.nextOrObserver=e,this.error=t,this.complete=r}return e.prototype.call=function(e,t){return t.subscribe(new dt(e,this.nextOrObserver,this.error,this.complete))},e}(),dt=function(e){function t(t,r,n,o){var s=e.call(this,t)||this;return s._tapNext=ft,s._tapError=ft,s._tapComplete=ft,s._tapError=n||ft,s._tapComplete=o||ft,i(r)?(s._context=s,s._tapNext=r):r&&(s._context=r,s._tapNext=r.next||ft,s._tapError=r.error||ft,s._tapComplete=r.complete||ft),s}return n(t,e),t.prototype._next=function(e){try{this._tapNext.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.next(e)},t.prototype._error=function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)},t.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()},t}(v);function vt(e,t){return function(r){return r.lift(new yt(e,t))}}var yt=function(){function e(e,t){this.compare=e,this.keySelector=t}return e.prototype.call=function(e,t){return t.subscribe(new Et(e,this.compare,this.keySelector))},e}(),Et=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.keySelector=n,i.hasKey=!1,"function"==typeof r&&(i.compare=r),i}return n(t,e),t.prototype.compare=function(e,t){return e===t},t.prototype._next=function(e){var t;try{var r=this.keySelector;t=r?r(e):e}catch(e){return this.destination.error(e)}var n=!1;if(this.hasKey)try{n=(0,this.compare)(this.key,t)}catch(e){return this.destination.error(e)}else this.hasKey=!0;n||(this.key=t,this.destination.next(e))},t}(v);function bt(e,t,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),"function"==typeof t?function(n){return n.pipe(bt((function(r,n){return ze(e(r,n)).pipe(x((function(e,i){return t(r,e,n,i)})))}),r))}:("number"==typeof t&&(r=t),function(t){return t.lift(new gt(e,r))})}var gt=function(){function e(e,t){void 0===t&&(t=Number.POSITIVE_INFINITY),this.project=e,this.concurrent=t}return e.prototype.call=function(e,t){return t.subscribe(new mt(e,this.project,this.concurrent))},e}(),mt=function(e){function t(t,r,n){void 0===n&&(n=Number.POSITIVE_INFINITY);var i=e.call(this,t)||this;return i.project=r,i.concurrent=n,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return n(t,e),t.prototype._next=function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)},t.prototype._tryNext=function(e){var t,r=this.index++;try{t=this.project(e,r)}catch(e){return void this.destination.error(e)}this.active++,this._innerSub(t)},t.prototype._innerSub=function(e){var t=new ot(this),r=this.destination;r.add(t);var n=at(e,t);n!==t&&r.add(n)},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},t.prototype.notifyNext=function(e){this.destination.next(e)},t.prototype.notifyComplete=function(){var e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(st);function St(e){return function(t){var r=new xt(e),n=t.lift(r);return r.caught=n}}var xt=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new _t(e,this.selector,this.caught))},e}(),_t=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.selector=r,i.caught=n,i}return n(t,e),t.prototype.error=function(t){if(!this.isStopped){var r=void 0;try{r=this.selector(t,this.caught)}catch(t){return void e.prototype.error.call(this,t)}this._unsubscribeAndRecycle();var n=new ot(this);this.add(n);var i=at(r,n);i!==n&&this.add(i)}},t}(st);new Set(["sourcegraph/code-stats-insights","sourcegraph/search-insights"]);function Ot(e,t){if(!Te(e.subjects)&&e.subjects){const r=e.subjects.find((e=>e.subject.__typename===t));if(r&&!Te(r.settings))return r.settings?.extensions}}var wt=r(3961),At=r.n(wt);class Tt extends p{constructor(e){super((()=>{e[$]()}))}}const Rt=(e,t)=>{const r=new p;t&&t.add(r);const n=ze(Pe(e)?e:Promise.resolve(e)).pipe(bt((e=>(r.add(new Tt(e)),{[E](){return this},subscribe(...t){let r;if("function"==typeof t[0])r={[F]:!0,next:t[0]||At(),error:t[1]?e=>t[1](Re(e)):At(),complete:t[2]||At()};else{const e=t[0]||{};r={[F]:!0,next:e.next?t=>e.next(t):At(),error:e.error?t=>e.error(Re(t)):At(),complete:e.complete?()=>e.complete():At()}}return Ne(e.subscribe(r))}}))));return Object.assign(n,{proxySubscription:r})};var Ct=r(1070),It=r.n(Ct);let Nt;!function(e){e[e.Operator=0]="Operator",e[e.Identifier=1]="Identifier",e[e.String=2]="String",e[e.TemplateHead=3]="TemplateHead",e[e.TemplateMiddle=4]="TemplateMiddle",e[e.TemplateTail=5]="TemplateTail",e[e.NoSubstitutionTemplate=6]="NoSubstitutionTemplate",e[e.Number=7]="Number"}(Nt||(Nt={}));const Pt={"&":{"&":!0},"|":{"|":!0},"=":{"\0":!0,"=":{"\0":!0,"=":!0}},"!":{"\0":!0,"=":{"\0":!0,"=":!0}},"<":{"\0":!0,"=":!0},">":{"\0":!0,"=":!0},"^":!0,"}":!0,"(":!0,")":!0,",":!0,"+":!0,"-":!0,"*":!0,"/":!0,"%":!0};function Dt(e){return"\t"===e||" "===e||"\xa0"===e}function Lt(e){return e>="0"&&e<="9"}function Ut(e){return"_"===e||function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"}(e)}function Mt(e){return Ut(e)||Lt(e)||"."===e}class jt{expression="";length=0;_index=0;marker=0;curlyStack=0;get index(){return this._index}reset(e){this.expression=e,this.length=e.length,this._index=0,this.curlyStack=0}next(){if(this.skipSpaces(),this._index>=this.length)return;this.marker=this._index;const e=this.scanNext();if(void 0!==e)return e;throw new SyntaxError(`Unexpected character ${JSON.stringify(this.peekNextChar())} (at ${this.index})`)}peek(){const e=this._index,t=this.curlyStack;let r;try{r=this.next()}catch{r=void 0}if(this._index=e,this.curlyStack=t,r)return{type:r.type,value:r.value}}scanNext(){let e=this.scanString();return void 0!==e?e:(e=this.scanTemplate(),void 0!==e?e:(e=this.scanNumber(),void 0!==e?e:(e=this.scanOperator(),void 0!==e?e:(e=this.scanIdentifier(),void 0!==e?e:void 0))))}peekNextChar(e=0){const t=this._index+e;return t<this.length?this.expression.charAt(t):"\0"}getNextChar(){let e="\0";const t=this._index;return t<this.length&&(e=this.expression.charAt(t),this._index+=1),e}createToken(e,t){return{type:e,value:t,start:this.marker,end:this._index}}skipSpaces(){for(;this._index<this.length;){if(!Dt(this.peekNextChar()))break;this.getNextChar()}}scanOperator(){let e=Pt,t="";for(;e&&!0!==e;){const r=this.peekNextChar();e=e[r],e&&(t+=r,this.getNextChar())}if("}"===t&&this.curlyStack--,""!==t)return this.createToken(Nt.Operator,t)}scanIdentifier(){let e=this.peekNextChar();if(!Ut(e))return;let t=this.getNextChar();for(;e=this.peekNextChar(),Mt(e);)t+=this.getNextChar();return this.createToken(Nt.Identifier,t)}scanString(){const e=this.peekNextChar();if("'"!==e&&'"'!==e)return;this.getNextChar();let t=!1,r="";for(;this._index<this.length;){const n=this.getNextChar();if(n===e){t=!0;break}r+="\\"===n?Gt(this.getNextChar()):n}if(!t)throw new Error(`Unterminated string literal (at ${this.index})`);return this.createToken(Nt.String,r)}scanTemplate(){const e=this.peekNextChar();if(!("`"===e||"}"===e&&this.curlyStack>0))return;this.getNextChar();const t="`"===e;return this.doScanTemplate(t)}backtick(){return!0}doScanTemplate(e){let t,r=!1,n=!1,i=!1,o="";for(;this._index<this.length;){const e=this.getNextChar();if("`"===e&&this.backtick()){r=!0,n=!0;break}if("\\"===e)o+=Gt(this.getNextChar());else{if("$"===e){if("{"===this.peekNextChar()){this.curlyStack++,this.getNextChar(),n=!0,i=!0;break}}o+=e}}if(e||this.curlyStack--,this.backtick()){if(!n)throw new Error(`Unterminated template literal (at ${this.index})`)}else this._index===this.length&&(r=!0);return t=e&&n&&!i?Nt.NoSubstitutionTemplate:e?Nt.TemplateHead:r?Nt.TemplateTail:Nt.TemplateMiddle,this.createToken(t,o)}scanNumber(){let e=this.peekNextChar();if(!Lt(e)&&"."!==e)return;let t="";if("."!==e)for(t=this.getNextChar();e=this.peekNextChar(),Lt(e);)t+=this.getNextChar();if("."===e)for(t+=this.getNextChar();e=this.peekNextChar(),Lt(e);)t+=this.getNextChar();if("e"===e||"E"===e){if(t+=this.getNextChar(),e=this.peekNextChar(),"+"!==e&&"-"!==e&&!Lt(e))throw e=`character ${JSON.stringify(e)}`,this._index>=this.length&&(e="<end>"),new SyntaxError(`Unexpected ${e} after the exponent sign (at ${this.index})`);for(t+=this.getNextChar();e=this.peekNextChar(),Lt(e);)t+=this.getNextChar()}if("."===t)throw new SyntaxError(`Expected decimal digits after the dot sign (at ${this.index})`);return this.createToken(Nt.Number,t)}}class kt extends jt{next(){return 0===this._index?this.doScanTemplate(!0):super.next()}backtick(){return 0!==this.curlyStack}}function Gt(e){switch(e){case"n":return"\n";case"r":return"\r";case"t":return"\t";default:return e}}class Ht{parse(e){this.lexer||(this.lexer=new jt),this.lexer.reset(e);const t=this.parseExpression(),r=this.lexer.next();if(void 0!==r)throw new SyntaxError(`Unexpected token at end of input: ${JSON.stringify(r.value)} (at ${this.lexer.index})`);return t}parseArgumentList(){const e=[];for(;;){const t=this.parseExpression();if(void 0===t)throw new Error(`Parse error on token in arguments list: ${JSON.stringify(this.lexer.peek())} (at ${this.lexer.index})`);e.push(t);if(!Ft(this.lexer.peek(),","))break;this.lexer.next()}return e}parseFunctionCall(e){let t=this.lexer.next();if(!Ft(t,"("))throw new SyntaxError(`Expected "(" in function call ${JSON.stringify(e)} (at ${this.lexer.index})`);t=this.lexer.peek();const r=Ft(t,")")?[]:this.parseArgumentList();if(t=this.lexer.next(),!Ft(t,")"))throw new SyntaxError(`Expected ")" in function call ${JSON.stringify(e)} (at ${this.lexer.index})`);return{FunctionCall:{name:e,args:r}}}parseTemplateParts(){const e=[];for(;;){const t=this.lexer.peek();if(!t)break;if(t.type===Nt.TemplateTail){t.value&&e.push({Literal:{type:Nt.String,value:t.value}}),this.lexer.next();break}Ft(t,"}")?this.lexer.next():t.type===Nt.TemplateMiddle?(t.value&&e.push({Literal:{type:Nt.String,value:t.value}}),this.lexer.next()):e.push(this.parseExpression())}return e}parseTemplate(){const e=this.lexer.peek();if(void 0===e)throw new SyntaxError(`Unexpected termination of expression at beginning of template (at ${this.lexer.index})`);if(e.type===Nt.NoSubstitutionTemplate)return this.lexer.next(),{Literal:{type:Nt.String,value:e.value}};if(e.type===Nt.TemplateHead||e.type===Nt.TemplateMiddle){this.lexer.next();const t=this.parseTemplateParts();return e.value&&t.unshift({Literal:{type:Nt.String,value:e.value}}),{Template:{parts:t}}}throw new SyntaxError(`Unexpected token at beginning of template: ${JSON.stringify(e.value)} (at ${this.lexer.index})`)}parsePrimary(){const e=this.lexer.peek();if(void 0===e)throw new SyntaxError(`Unexpected termination of expression (at ${this.lexer.index})`);if(e.type===Nt.Identifier)return this.lexer.next(),Ft(this.lexer.peek(),"(")?this.parseFunctionCall(e.value):{Identifier:e.value};if(e.type===Nt.String||e.type===Nt.Number)return this.lexer.next(),{Literal:{type:e.type,value:e.value}};if(e.type===Nt.NoSubstitutionTemplate||e.type===Nt.TemplateHead||e.type===Nt.TemplateMiddle)return this.parseTemplate();if(Ft(e,"(")){this.lexer.next();const e=this.parseAdditive();if(!Ft(this.lexer.next(),")"))throw new SyntaxError(`Expected ")" (at ${this.lexer.index})`);return e}throw new SyntaxError(`Parse error on token: ${JSON.stringify(e.value)} (at ${this.lexer.index})`)}parseUnary(){const e=this.lexer.peek();if(void 0!==e&&(Ft(e,"-")||Ft(e,"+")||Ft(e,"!"))){this.lexer.next();const t=this.parseUnary();return{Unary:{operator:e.value,expression:t}}}return this.parsePrimary()}parseMultiplicative(){let e=this.parseUnary(),t=this.lexer.peek();for(;void 0!==t&&(Ft(t,"*")||Ft(t,"/")||Ft(t,"%"));)this.lexer.next(),e={Binary:{operator:t.value,left:e,right:this.parseUnary()}},t=this.lexer.peek();return e}parseAdditive(){let e=this.parseMultiplicative(),t=this.lexer.peek();for(;void 0!==t&&(Ft(t,"+")||Ft(t,"-")||Ft(t,"==")||Ft(t,"!=")||Ft(t,"===")||Ft(t,"!==")||Ft(t,"<")||Ft(t,">")||Ft(t,"<=")||Ft(t,">=")||Ft(t,"&&")||Ft(t,"||"));)this.lexer.next(),e={Binary:{operator:t.value,left:e,right:this.parseMultiplicative()}},t=this.lexer.peek();return e}parseExpression(){return this.parseAdditive()}}class Bt extends Ht{parse(e){this.lexer||(this.lexer=new kt),this.lexer.reset(e);const t=this.parseTemplate(),r=this.lexer.next();if(void 0!==r)throw new SyntaxError(`Unexpected token at end of template input: ${JSON.stringify(r.value)} (at ${this.lexer.index})`);return t}}function Ft(e,t){return void 0!==e&&e.type===Nt.Operator&&e.value===t}class Vt{constructor(e){this.root=e}exec(e){return Kt(this.root,e)}}class $t extends Vt{}function Wt(e){return new Vt((new Ht).parse(e))}function Yt(e){return new $t((new Bt).parse(e))}const zt={get:(e,t)=>e?.[t]??void 0,json:e=>JSON.stringify(e),sub:(e,t,r)=>e.replaceAll(t,r)};function Kt(e,t){if("Literal"in e)switch(e.Literal.type){case Nt.String:return e.Literal.value;case Nt.Number:return parseFloat(e.Literal.value);default:throw new SyntaxError(`Unrecognized literal of type ${Nt[e.Literal.type]}`)}if("Template"in e){const r=[];for(const n of e.Template.parts)r.push(Kt(n,t));return r.join("")}if("Binary"in e){const r=Kt(e.Binary.left,t),n=()=>Kt(e.Binary.right,t);switch(e.Binary.operator){case"&&":return r&&n();case"||":return r||n();case"==":return r==n();case"!=":return r!=n();case"===":return r===n();case"!==":return r!==n();case"<":return r<n();case">":return r>n();case"<=":return r<=n();case">=":return r>=n();case"+":return r+n();case"-":return r-n();case"*":return r*n();case"/":return r/n();case"^":return r^n();case"%":return r%n();default:throw new SyntaxError(`Invalid operator: ${e.Binary.operator}`)}}if("Unary"in e){const r=Kt(e.Unary.expression,t);switch(e.Unary.operator){case"!":return!r;case"+":return r;case"-":return-r;default:throw new SyntaxError(`Invalid operator: ${e.Unary.operator}`)}}if("Identifier"in e){switch(e.Identifier){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"context":return t}return t[e.Identifier]}if("FunctionCall"in e){const r=e.FunctionCall,n=zt[r.name];if("function"==typeof n){return n(...r.args.map((e=>Kt(e,t))))}throw new SyntaxError(`Undefined function: ${r.name}`)}throw new SyntaxError("Unrecognized syntax node")}function Jt(e){if(0===e.length)return{};if(1===e.length)return e[0];const t={};for(const r of e){if(r.actions)try{t.actions?t.actions=[...t.actions,...r.actions]:t.actions=[...r.actions]}catch{}if(r.menus)try{if(t.menus)for(const[e,n]of Object.entries(r.menus)){const r=t.menus[e];try{t.menus[e]=r?[...r,...n]:[...n]}catch{}}else t.menus={...r.menus}}catch{}if(r.searchFilters)try{t.searchFilters?t.searchFilters=[...t.searchFilters,...r.searchFilters]:t.searchFilters=[...r.searchFilters]}catch{}}return t}function qt(e,t){return t?.map((t=>({...t,title:t.title?.exec(e),disabledTitle:t.disabledTitle?.exec(e),category:t.category?.exec(e),description:t.description?.exec(e),iconURL:t.iconURL?.exec(e),actionItem:t.actionItem&&{...t.actionItem,label:t.actionItem.label?.exec(e),description:t.actionItem.description?.exec(e),iconURL:t.actionItem.iconURL?.exec(e),iconDescription:t.actionItem.iconDescription?.exec(e),pressed:t.actionItem.pressed?.exec(e)},commandArguments:t.commandArguments?.map((t=>t instanceof Vt?t.exec(e):t))})))}function Xt(e){return{...e,menus:e.menus&&It()(e.menus,(e=>e?.map((e=>({...e,when:"string"==typeof e.when?Wt(e.when):void 0,disabledWhen:"string"==typeof e.disabledWhen?Wt(e.disabledWhen):void 0}))))),actions:e&&(t=e.actions,t?.map((e=>({...e,title:Qt(e.title,Yt),disabledTitle:Qt(e.disabledTitle,Yt),category:Qt(e.category,Yt),description:Qt(e.description,Yt),iconURL:Qt(e.iconURL,Yt),actionItem:e.actionItem&&{...e.actionItem,label:Qt(e.actionItem.label,Yt),description:Qt(e.actionItem.description,Yt),iconURL:Qt(e.actionItem.iconURL,Yt),iconDescription:Qt(e.actionItem.iconDescription,Yt),pressed:Qt(e.actionItem.pressed,(e=>Wt(e)))},commandArguments:e.commandArguments?.map((e=>"string"==typeof e?Yt(e):e))}))))};var t}const Qt=(e,t)=>void 0===e?void 0:t(e);function Zt(e,t){const r=new De(new Set),n=t.pipe(function(e,t){var r=arguments.length>=2;return function(n){return n.pipe(e?Je((function(t,r){return e(t,r,n)})):b,I(1),r?Qe(t):tt((function(){return new Ke})))}}((e=>e)),ct((()=>Rt(e.getEnabledExtensions())))),i=new Set,o=Ve([r,n]).pipe(pt((([e,t])=>{const r=function(e,t){const r=new Set([...t].map((e=>`onLanguage:${e}`)));return e.filter((e=>{try{if(!e.manifest){const t=/^sourcegraph\/lang-(.*)$/.exec(e.id);return M(t?`Extension ${e.id} has been renamed to sourcegraph/${t[1]}. It's safe to remove ${e.id} from your settings.`:`Extension ${e.id} was not found. Remove it from settings to suppress this warning.`),!1}return Te(e.manifest)?(M(e.manifest),!1):e.manifest.activationEvents?e.manifest.activationEvents.some((e=>"*"===e||r.has(e))):(M(`Extension ${e.id} has no activation events, so it will never be activated.`),!1)}catch(e){U(e)}return!1}))}(t,e);for(const e of r)i.has(e.id)||i.add(e.id)})),x((([,e])=>e?e.filter((e=>i.has(e.id))):[])),vt(((e,t)=>function(e,t){const r=new Set(e.map((({id:e})=>e))),n=new Set(t.map((({id:e})=>e)));for(const e of r)if(!n.has(e))return!1;for(const e of n)if(!r.has(e))return!1;return!0}(e,t))));return{activeLanguages:r,activeExtensions:o}}const er=new Set(["sourcegraph/code-stats-insights","sourcegraph/search-insights"]);function tr(e,t,r,n,i=nr,o=ir){const s=new Set,a=new Map,c=new Map;var u,l;return Ve([e.activeExtensions]).pipe((u=([n])=>{const u=new Set,l=new Map,f=new Set;for(const e of n)er.has(e.id)||(f.add(e.id),s.has(e.id)||l.set(e.id,e));for(const e of s)f.has(e)||u.add(e);const p=[...l.values()].map((e=>"scriptURL"in e?e.scriptURL:function(e){if(!e.manifest)throw new Error(`extension ${JSON.stringify(e.id)}: no manifest found`);if(Te(e.manifest))throw new Error(`extension ${JSON.stringify(e.id)}: invalid manifest: ${e.manifest.message}`);if(!e.manifest.url)throw new Error(`extension ${JSON.stringify(e.id)}: no "url" property in manifest`);return e.manifest.url}(e)));return me({toActivate:[...l.values()].map(((e,t)=>({id:e.id,manifest:e.manifest,scriptURL:p[t]}))).filter((e=>"string"==typeof e.scriptURL)),toDeactivate:u}).pipe(pt((({toActivate:e})=>{for(const t of e)if(t.manifest&&!Te(t.manifest)&&t.manifest.contributes){const e=Xt(t.manifest.contributes);a.set(t.id,e),c.set(t.id,e)}})),x((({toActivate:n,toDeactivate:s})=>{const a=Ot(e.settings.value,"DefaultSettings")||{};return ze(Promise.all([n.map((async({id:e,scriptURL:n})=>{if(!a[e])try{const r=function(e){const t=e.split("/");return 3===t.length?{host:t[0],publisher:t[1],name:t[2]}:{publisher:t[0]??"",name:t[1]??"",isSourcegraphExtension:"sourcegraph"===t[0]}}(e).host?await async function(e){const t=(new TextEncoder).encode(e),r=await crypto.subtle.digest("SHA-256",t),n=[...new Uint8Array(r)];return btoa(String.fromCharCode(...n))}(e):e;t.logEvent("ExtensionActivation",{extension_id:r}).catch((()=>{}))}catch(t){U(`Fail to log ExtensionActivation event for extension ${e}:`,Re(t))}return L(`Activating Sourcegraph extension: ${e}`),i(e,n,r).catch((t=>U(`Error activating extension ${e}:`,Re(t))))})),[...s].map((e=>o(e).catch((t=>U(`Error deactivating extension ${e}:`,Re(t))))))]))})),x((()=>({activated:l,deactivated:u}))),St((e=>(U("Uncaught error during extension activation",e),[]))))},bt(u,l,1))).subscribe((({activated:t,deactivated:r})=>{const n=[...r].map((e=>a.get(e))).filter(Boolean);for(const e of r)s.delete(e),a.delete(e);for(const[e]of t)s.add(e);c.size>0&&(e.contributions.next([...e.contributions.value,...c.values()]),c.clear()),n.length>0&&e.contributions.next(e.contributions.value.filter((e=>!n.includes(e)))),!1===e.haveInitialExtensionsLoaded.value&&e.haveInitialExtensionsLoaded.next(!0)}))}const rr=new Map;async function nr(e,t,r){try{or(r(e));const n={};self.exports=n,self.module={exports:n},self.importScripts(t)}catch(r){throw new Error(`error thrown while executing extension ${JSON.stringify(e)} bundle (in importScripts of ${t}): ${String(r)}`)}const n=self.module.exports;if(delete self.exports,delete self.module,!("activate"in n))throw new Error(`extension bundle for ${JSON.stringify(e)} has no exported activate function (in ${t})`);const i=new p,o="function"==typeof n.deactivate?n.deactivate:null;rr.set(e,(async()=>{try{o&&await Promise.resolve(o())}finally{i.unsubscribe()}})),await(async e=>e())((()=>n.activate({subscriptions:i}))).catch((t=>{throw t=Re(t),Object.assign(new Error(`error during extension ${JSON.stringify(e)} activate function: ${String(t.stack||t)}`),{error:t})}))}async function ir(e){const t=rr.get(e);t&&(rr.delete(e),await Promise.resolve(t()))}function or(e){let t=!1;globalThis.require=r=>{if("sourcegraph"===r){if(!t)return t=!0,e;throw new Error("require: Sourcegraph extension API can only be imported once")}throw new Error(`require: module not found: ${r}`)}}function sr(e){return e.settings.pipe(x((e=>function(e){if(!e?.["extensions.activeLoggers"])return new Set;const t=e["extensions.activeLoggers"];if(!Array.isArray(t))return new Set;return new Set(t)}(e.final)))).subscribe((t=>e.activeLoggers=t))}var ar=r(8643),cr=r.n(ar);function ur(e){return function(t){return t.lift(new lr(e))}}var lr=function(){function e(e){this.value=e}return e.prototype.call=function(e,t){return t.subscribe(new fr(e,this.value))},e}(),fr=function(e){function t(t,r){var n=e.call(this,t)||this;return n.value=r,n}return n(t,e),t.prototype._next=function(e){this.destination.next(this.value)},t}(v),pr=r(162);const hr={Text:"text",Read:"read",Write:"write"};function dr(e,t){return e.next([...e.value,t]),{unsubscribe:()=>e.next(e.value.filter((e=>e!==t)))}}function vr(e,t,r){const n=Object.assign(e.settings.pipe(ur(void 0)),{get:()=>{const r=e.settings.value.final;return{value:r,get:e=>r[e],update:(e,r)=>t.applySettingsEdit({path:[e],value:r}),toJSON:()=>r}}}),i={get textDocuments(){return[...e.textDocuments.values()]},get roots(){return e.roots.value},get versionContext(){},get searchContext(){return e.searchContext},onDidOpenTextDocument:e.openedTextDocuments.asObservable(),openedTextDocuments:e.openedTextDocuments.asObservable(),onDidChangeRoots:e.roots.pipe(ur(void 0)),rootChanges:e.rootChanges.asObservable(),versionContextChanges:R,searchContextChanges:e.searchContextChanges.asObservable()},o={get visibleViewComponents(){const t=[...e.viewComponents.entries()];return cr()(t,0).map((([,e])=>e))},get activeViewComponent(){return e.activeViewComponentChanges.value},activeViewComponentChanges:e.activeViewComponentChanges.asObservable()},s={get activeWindow(){return o},activeWindowChanges:new De(o).asObservable(),get windows(){return[o]},log:At()},a={executeCommand:(e,...r)=>t.executeCommand(e,r),registerCommand:(e,r)=>Ne(t.registerCommand(e,te(r)))},c={registerHoverProvider:(t,r)=>dr(e.hoverProviders,{selector:t,provider:r}),registerDocumentHighlightProvider:(t,r)=>dr(e.documentHighlightProviders,{selector:t,provider:r}),registerDefinitionProvider:(t,r)=>dr(e.definitionProviders,{selector:t,provider:r}),registerReferenceProvider:(t,r)=>dr(e.referenceProviders,{selector:t,provider:r}),registerLocationProvider:(t,r,n)=>dr(e.locationProviders,{selector:r,provider:{id:t,provider:n}}),registerTypeDefinitionProvider:()=>(M("sourcegraph.languages.registerTypeDefinitionProvider was removed. Use sourcegraph.languages.registerLocationProvider instead."),{unsubscribe:()=>{}}),registerImplementationProvider:()=>(M("sourcegraph.languages.registerImplementationProvider was removed. Use sourcegraph.languages.registerLocationProvider instead."),{unsubscribe:()=>{}}),registerCompletionItemProvider:()=>(M("sourcegraph.languages.registerCompletionItemProvider was removed."),{unsubscribe:()=>{}})},u={execute:(e,r)=>t.requestGraphQL(e,r)};return function(o){return{URI:URL,Position:pr.Position,Range:pr.Range,Selection:pr.Selection,Location:pr.Location,MarkupKind:pr.MarkupKind,DocumentHighlightKind:hr,app:{...s,log:(...r)=>{e.activeLoggers.has(o)&&t.logExtensionMessage(`\u{1f9e9} %c${o}`,"background-color: lightgrey;",...r).catch((e=>{U("Error sending extension message to main thread:",e)}))}},workspace:i,configuration:n,languages:c,commands:a,graphQL:u,internal:{sync:()=>(async()=>{await t.ping()})(),updateContext:t=>Ro(t,e),sourcegraphURL:new URL(r.sourcegraphURL),clientApplication:r.clientApplication}}}}var yr=r(7520),Er=r.n(yr),br=r(5870),gr=r.n(br);function mr(){return void 0===(e=1)&&(e=Number.POSITIVE_INFINITY),bt(b,e);var e}const Sr="loading";var xr=function(){function e(e){this.resultSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new _r(e,this.resultSelector))},e}(),_r=function(e){function t(t,r,n){void 0===n&&(n=Object.create(null));var i=e.call(this,t)||this;return i.resultSelector=r,i.iterators=[],i.active=0,i.resultSelector="function"==typeof r?r:void 0,i}return n(t,e),t.prototype._next=function(e){var t=this.iterators;u(e)?t.push(new wr(e)):"function"==typeof e[je]?t.push(new Or(e[je]())):t.push(new Ar(this.destination,this,e))},t.prototype._complete=function(){var e=this.iterators,t=e.length;if(this.unsubscribe(),0!==t){this.active=t;for(var r=0;r<t;r++){var n=e[r];if(n.stillUnsubscribed)this.destination.add(n.subscribe());else this.active--}}else this.destination.complete()},t.prototype.notifyInactive=function(){this.active--,0===this.active&&this.destination.complete()},t.prototype.checkIterators=function(){for(var e=this.iterators,t=e.length,r=this.destination,n=0;n<t;n++){if("function"==typeof(s=e[n]).hasValue&&!s.hasValue())return}var i=!1,o=[];for(n=0;n<t;n++){var s,a=(s=e[n]).next();if(s.hasCompleted()&&(i=!0),a.done)return void r.complete();o.push(a.value)}this.resultSelector?this._tryresultSelector(o):r.next(o),i&&r.complete()},t.prototype._tryresultSelector=function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(v),Or=function(){function e(e){this.iterator=e,this.nextResult=e.next()}return e.prototype.hasValue=function(){return!0},e.prototype.next=function(){var e=this.nextResult;return this.nextResult=this.iterator.next(),e},e.prototype.hasCompleted=function(){var e=this.nextResult;return Boolean(e&&e.done)},e}(),wr=function(){function e(e){this.array=e,this.index=0,this.length=0,this.length=e.length}return e.prototype[je]=function(){return this},e.prototype.next=function(e){var t=this.index++,r=this.array;return t<this.length?{value:r[t],done:!1}:{value:null,done:!0}},e.prototype.hasValue=function(){return this.array.length>this.index},e.prototype.hasCompleted=function(){return this.array.length===this.index},e}(),Ar=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.parent=r,i.observable=n,i.stillUnsubscribed=!0,i.buffer=[],i.isComplete=!1,i}return n(t,e),t.prototype[je]=function(){return this},t.prototype.next=function(){var e=this.buffer;return 0===e.length&&this.isComplete?{value:null,done:!0}:{value:e.shift(),done:!1}},t.prototype.hasValue=function(){return this.buffer.length>0},t.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},t.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},t.prototype.notifyNext=function(e){this.buffer.push(e),this.parent.checkIterators()},t.prototype.subscribe=function(){return at(this.observable,new ot(this))},t}(st),Tr=1,Rr=function(){return Promise.resolve()}(),Cr={};function Ir(e){return e in Cr&&(delete Cr[e],!0)}var Nr=function(e){var t=Tr++;return Cr[t]=!0,Rr.then((function(){return Ir(t)&&e()})),t},Pr=function(e){Ir(e)},Dr=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return n(t,e),t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!==n&&n>0?e.prototype.requestAsyncId.call(this,t,r,n):(t.actions.push(this),t.scheduled||(t.scheduled=Nr(t.flush.bind(t,null))))},t.prototype.recycleAsyncId=function(t,r,n){if(void 0===n&&(n=0),null!==n&&n>0||null===n&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,n);0===t.actions.length&&(Pr(r),t.scheduled=void 0)},t}(le),Lr=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var t,r=this.actions,n=-1,i=r.length;e=e||r.shift();do{if(t=e.execute(e.state,e.delay))break}while(++n<i&&(e=r.shift()));if(this.active=!1,t){for(;++n<i&&(e=r.shift());)e.unsubscribe();throw t}},t}(he))(Dr),Ur=r(9391),Mr=r(8926),jr=r(7958),kr=r(2505);function Gr(e,t){switch(e.length){case 0:return me([]);case 1:return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[e.length-1];return"function"==typeof r&&e.pop(),ge(e,void 0).lift(new xr(r))}(...e);default:return new Ur.Observable((0,jr.subscribeToArray)(e)).lift(new Hr(t))}}class Hr{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new Br(e,this.defaultValue))}}class Br extends Mr.OuterSubscriber{activeObservables=0;values=[];observables=[];scheduled=!1;constructor(e,t){super(e),this.defaultValue=t}_next(e){void 0!==this.defaultValue&&this.values.push(this.defaultValue),this.observables.push(e)}_complete(){this.activeObservables=this.observables.length;for(let e=0;e<this.observables.length;e++)this.add((0,kr.D)(this,this.observables[e],this.observables[e],e))}notifyComplete(){this.activeObservables--,0===this.activeObservables&&this.destination.complete&&this.destination.complete()}notifyNext(e,t,r){this.values[r]=t,1!==this.activeObservables?this.scheduled||(this.scheduled=!0,Lr.schedule((()=>{this.scheduled&&this.destination.next&&this.destination.next(this.values.slice()),this.scheduled=!1}))):this.destination.next&&this.destination.next(this.values.slice())}}const Fr=e=>null!=e;var Vr=r(8307);function $r(e){const t=(0,Vr.basename)(e),r=function(e){const t=e.split(".");if(1===t.length)return"";if(2===t.length&&""===t[0])return"";return t[t.length-1].toLowerCase()}(e);return function(e){switch(e.toLowerCase()){case"dockerfile":return"dockerfile";case"build":case"workspace":return"starlark";default:return}}(t)||function(e){switch(e.toLowerCase()){case"adb":case"ada":case"ads":return"ada";case"cls":case"apex":case"trigger":return"apex";case"as":return"actionscript";case"apacheconf":return"apache";case"applescript":case"scpt":return"applescript";case"sh":case"bash":case"zsh":return"shell";case"clj":case"cljs":case"cljx":return"clojure";case"css":return"css";case"cmake":case"cmake.in":case"in":return"cmake";case"coffee":case"cake":case"cson":case"cjsx":case"iced":return"coffescript";case"cs":case"csx":return"csharp";case"c":case"cc":case"cpp":case"cxx":case"c++":case"h++":case"hh":case"h":case"hpp":case"pc":case"pcc":return"cpp";case"cu":case"cuh":return"cuda";case"dart":return"dart";case"diff":case"patch":return"diff";case"jinja":return"django";case"bat":case"cmd":return"dos";case"ex":case"exs":return"elixir";case"elm":return"elm";case"erl":return"erlang";case"f":case"for":case"frt":case"fr":case"forth":case"4th":case"fth":return"fortran";case"fs":return"fsharp";case"go":return"go";case"graphql":return"graphql";case"groovy":return"groovy";case"haml":return"haml";case"hbs":case"handlebars":return"handlebars";case"hs":case"hsc":return"haskell";case"htm":case"html":case"xhtml":return"html";case"ini":case"cfg":case"prefs":case"pro":case"properties":return"ini";case"java":return"java";case"js":case"jsx":case"es":case"es6":case"mjs":case"jss":case"jsm":return"javascript";case"json":case"sublime_metrics":case"sublime_session":case"sublime-keymap":case"sublime-mousemap":case"sublime-project":case"sublime-settings":case"sublime-workspace":return"json";case"jsonnet":case"libsonnet":return"jsonnet";case"jl":return"julia";case"kt":case"ktm":case"kts":return"kotlin";case"less":return"less";case"lisp":case"asd":case"cl":case"lsp":case"l":case"ny":case"podsl":case"sexp":case"el":return"lisp";case"lua":case"fcgi":case"nse":case"pd_lua":case"rbxs":case"wlua":return"lua";case"mk":case"mak":return"makefile";case"md":case"mkdown":case"mkd":return"markdown";case"nginxconf":return"nginx";case"m":case"mm":return"objectivec";case"ml":case"eliom":case"eliomi":case"ml4":case"mli":case"mll":case"mly":case"re":return"ocaml";case"p":case"pas":case"pp":return"pascal";case"pl":case"al":case"cgi":case"perl":case"ph":case"plx":case"pm":case"pod":case"psgi":case"t":return"perl";case"php":case"phtml":case"php3":case"php4":case"php5":case"php6":case"php7":case"phps":return"php";case"ps1":case"psd1":case"psm1":return"powershell";case"proto":return"protobuf";case"py":case"pyc":case"pyd":case"pyo":case"pyw":case"pyz":return"python";case"r":case"rd":case"rsx":return"r";case"repro":return"reprolang";case"rb":case"builder":case"eye":case"gemspec":case"god":case"jbuilder":case"mspec":case"pluginspec":case"podspec":case"rabl":case"rake":case"rbuild":case"rbw":case"rbx":case"ru":case"ruby":case"spec":case"thor":case"watchr":return"ruby";case"rs":case"rs.in":return"rust";case"sass":case"scss":return"scss";case"sbt":case"sc":case"scala":return"scala";case"bzl":case"bazel":return"starlark";case"strato":return"strato";case"scm":case"sch":case"sls":case"sps":case"ss":return"scheme";case"st":return"smalltalk";case"sql":return"sql";case"styl":return"stylus";case"swift":return"swift";case"thrift":return"thrift";case"ts":case"tsx":return"typescript";case"twig":return"twig";case"vb":return"vbnet";case"vbs":return"vbscrip";case"v":case"veo":case"sv":case"svh":case"svi":return"verilog";case"vhd":case"vhdl":return"vhdl";case"vim":return"vim";case"xlsg":return"xlsg";case"xml":case"adml":case"admx":case"ant":case"axml":case"builds":case"ccxml":case"clixml":case"cproject":case"csl":case"csproj":case"ct":case"dita":case"ditamap":case"ditaval":case"dll.config":case"dotsettings":case"filters":case"fsproj":case"fxml":case"glade":case"gml":case"grxml":case"iml":case"ivy":case"jelly":case"jsproj":case"kml":case"launch":case"mdpolicy":case"mjml":case"mod":case"mxml":case"nproj":case"nuspec":case"odd":case"osm":case"pkgproj":case"plist":case"props":case"ps1xml":case"psc1":case"pt":case"rdf":case"resx":case"rss":case"scxml":case"sfproj":case"srdf":case"storyboard":case"stTheme":case"sublime-snippet":case"targets":case"tmCommand":case"tml":case"tmLanguage":case"tmPreferences":case"tmSnippet":case"tmTheme":case"ui":case"urdf":case"ux":case"vbproj":case"vcxproj":case"vsixmanifest":case"vssettings":case"vstemplate":case"vxml":case"wixproj":case"wsdl":case"wsf":case"wxi":case"wxl":case"wxs":case"x3d":case"xacro":case"xaml":case"xib":case"xlf":case"xliff":case"xmi":case"xml.dist":case"xproj":case"xsd":case"xspec":case"xul":case"zcml":return"xml";case"zig":return"zig";case"yml":case"yaml":return"yaml";default:return}}(r)||"plaintext"}var Wr=r(8360);const Yr=["Assembly","Bash","C","C++","C#","CSS","Dart","Elixir","Erlang","Go","GraphQL","Groovy","Haskell","HTML","Java","JavaScript","Kotlin","JSON","Julia","Lua","Markdown","Objective-C","OCaml","PHP","PowerShell","Python","R","Ruby","Rust","Sass","Scala","SQL","Swift","Terraform","TypeScript","VBA","XML","YAML","Zig"],zr=r.n(Wr)()(Yr.concat(["1C Enterprise","2-Dimensional Array","4D","ABAP","ABAP CDS","ABNF","ActionScript","Ada","Adobe Font Metrics","Agda","AGS Script","AIDL","AL","Alloy","Alpine Abuild","Altium Designer","AMPL","AngelScript","Ant Build System","ANTLR","ApacheConf","Apex","API Blueprint","APL","Apollo Guidance Computer","AppleScript","Arc","AsciiDoc","ASL","ASN.1","AspectJ","ASP.NET","Assembly","Astro","Asymptote","ATS","Augeas","AutoHotkey","AutoIt","Avro IDL","Awk","Ballerina","BASIC","Batchfile","Beef","Befunge","Berry","BibTeX","Bicep","Bison","BitBake","Blade","BlitzBasic","BlitzMax","Bluespec","Boo","Boogie","Brainfuck","Brightscript","Browserslist","C","C#","C++","C2hs Haskell","Cabal Config","Cadence","Cairo","CameLIGO","Cap'n Proto","CartoCSS","Ceylon","Chapel","Charity","ChucK","CIL","Cirru","Clarion","Clarity","Classic ASP","Clean","Click","CLIPS","Clojure","Closure Templates","Cloud Firestore Security Rules","CMake","C-ObjDump","COBOL","CODEOWNERS","CodeQL","CoffeeScript","ColdFusion","ColdFusion CFC","COLLADA","Common Lisp","Common Workflow Language","Component Pascal","CoNLL-U","Cool","Coq","Cpp-ObjDump","Creole","Crystal","CSON","Csound","Csound Document","Csound Score","CSS","CSV","Cuda","CUE","Cue Sheet","cURL Config","Curry","CWeb","Cycript","Cython","D","Dafny","Darcs Patch","Dart","DataWeave","Debian Package Control File","DenizenScript","desktop","Dhall","Diff","DIGITAL Command Language","dircolors","DirectX 3D File","DM","DNS Zone","D-ObjDump","Dockerfile","Dogescript","DTrace","Dylan","E","Eagle","Earthly","Easybuild","EBNF","eC","Ecere Projects","ECL","ECLiPSe","EditorConfig","Edje Data Collection","edn","Eiffel","EJS","Elixir","Elm","Emacs Lisp","E-mail","EmberScript","EQ","Erlang","Euphoria","F#","F*","Factor","Fancy","Fantom","Faust","Fennel","FIGlet Font","Filebench WML","Filterscript","fish","Fluent","FLUX","Formatted","Forth","Fortran","Fortran Free Form","FreeBasic","FreeMarker","Frege","Futhark","Game Maker Language","GAML","GAMS","GAP","GCC Machine Description","G-code","GDB","GDScript","GEDCOM","Gemfile.lock","Genero","Genero Forms","Genie","Genshi","Gentoo Ebuild","Gentoo Eclass","Gerber Image","Gettext Catalog","Gherkin","Git Attributes","Git Config","Gleam","GLSL","Glyph","Glyph Bitmap Distribution Format","GN","Gnuplot","Go","Go Checksums","Golo","Go Module","Gosu","Grace","Gradle","Grammatical Framework","Graph Modeling Language","GraphQL","Graphviz (DOT)","Groovy","Groovy Server Pages","GSC","Hack","Haml","Handlebars","HAProxy","Harbour","Haskell","Haxe","HCL","HiveQL","HLSL","HolyC","hoon","HTML","HTML+ECR","HTML+EEX","HTML+ERB","HTML+PHP","HTML+Razor","HTTP","HXML","Hy","HyPhy","IDL","Idris","Ignore List","IGOR Pro","ImageJ Macro","Inform 7","INI","Inno Setup","Io","Ioke","IRC log","Isabelle","Isabelle ROOT","J","Janet","JAR Manifest","Jasmin","Java","Java Properties","JavaScript","JavaScript+ERB","Java Server Pages","Jest Snapshot","JFlex","Jinja","Jison","Jison Lex","Jolie","jq","JSON","JSON5","JSONiq","JSONLD","Jsonnet","JSON with Comments","Julia","Jupyter Notebook","Kaitai Struct","KakouneScript","KiCad Layout","KiCad Legacy Layout","KiCad Schematic","Kit","Kotlin","KRL","Kusto","kvlang","LabVIEW","Lark","Lasso","Latte","Lean","Less","Lex","LFE","LigoLANG","LilyPond","Limbo","Linker Script","Linux Kernel Module","Liquid","Literate Agda","Literate CoffeeScript","Literate Haskell","LiveScript","LLVM","Logos","Logtalk","LOLCODE","LookML","LoomScript","LSL","LTspice Symbol","Lua","M","M4","M4Sugar","Macaulay2","Makefile","Mako","Markdown","Marko","Mask","Mathematica","MATLAB","Maven POM","Max","MAXScript","mcfunction","Mercury","Meson","Metal","Microsoft Developer Studio Project","Microsoft Visual Studio Solution","MiniD","MiniYAML","Mint","Mirah","mIRC Script","MLIR","Modelica","Modula-2","Modula-3","Module Management System","Monkey","Monkey C","Moocode","MoonScript","Motoko","Motorola 68K Assembly","MQL4","MQL5","MTML","MUF","mupad","Muse","Mustache","Myghty","nanorc","NASL","NCL","Nearley","Nemerle","NEON","nesC","NetLinx","NetLinx+ERB","NetLogo","NewLisp","Nextflow","Nginx","Nim","Ninja","Nit","Nix","NL","NPM Config","NSIS","Nu","NumPy","Nunjucks","NWScript","ObjDump","Object Data Instance Notation","Objective-C","Objective-C++","Objective-J","ObjectScript","OCaml","Odin","Omgrofl","ooc","Opa","Opal","OpenCL","OpenEdge ABL","Open Policy Agent","OpenQASM","OpenRC runscript","OpenSCAD","OpenStep Property List","OpenType Feature File","Org","Ox","Oxygene","Oz","P4","Pan","Papyrus","Parrot","Parrot Assembly","Parrot Internal Representation","Pascal","Pawn","PEG.js","Pep8","Perl","PHP","Pic","Pickle","PicoLisp","PigLatin","Pike","PlantUML","PLpgSQL","PLSQL","Pod","Pod 6","PogoScript","Pony","PostCSS","PostScript","POV-Ray SDL","PowerBuilder","PowerShell","Prisma","Processing","Procfile","Proguard","Prolog","Promela","Propeller Spin","Protocol Buffer","Protocol Buffer Text Format","Public Key","Pug","Puppet","PureBasic","Pure Data","PureScript","Python","Python console","Python traceback","q","Q#","QMake","QML","Qt Script","Quake","R","Racket","Ragel","Raku","RAML","Rascal","Raw token data","RDoc","Readline Config","REALbasic","Reason","ReasonLIGO","Rebol","Record Jar","Red","Redcode","Redirect Rules","Regular Expression","RenderScript","Ren'Py","ReScript","reStructuredText","REXX","Rich Text Format","Ring","Riot","RMarkdown","RobotFramework","robots.txt","Roff","Roff Manpage","Rouge","RPC","RPGLE","RPM Spec","Ruby","RUNOFF","Rust","Sage","SaltStack","SAS","Sass","Scala","Scaml","Scheme","Scilab","SCSS","sed","Self","SELinux Policy","ShaderLab","Shell","ShellCheck Config","ShellSession","Shen","Sieve","Singularity","Slash","Slice","Slim","Smali","Smalltalk","Smarty","SmPL","SMT","Solidity","Soong","SourcePawn","SPARQL","Spline Font Database","SQF","SQL","SQLPL","Squirrel","SRecode Template","SSH Config","Stan","Standard ML","Starlark","Stata","STON","StringTemplate","Stylus","SubRip Text","SugarSS","SuperCollider","Svelte","SVG","Swift","SWIG","SystemVerilog","Talon","Tcl","Tcsh","Tea","Terra","TeX","Texinfo","Text","Textile","TextMate Properties","Thrift","TI Program","TLA","TOML","TSQL","TSV","TSX","Turing","Turtle","Twig","TXL","Type Language","TypeScript","Unified Parallel C","Unity3D Asset","Unix Assembly","Uno","UnrealScript","UrWeb","V","Vala","Valve Data Format","VBA","VBScript","VCL","Verilog","VHDL","Vim Help File","Vim Script","Vim Snippet","Visual Basic .NET","Volt","Vue","Vyper","Wavefront Material","Wavefront Object","wdl","WebAssembly","WebIDL","Web Ontology Language","WebVTT","Wget Config","Wikitext","Win32 Message File","Windows Registry Entries","wisp","Witcher Script","Wollok","World of Warcraft Addon Data","X10","xBase","X BitMap","XC","XCompose","X Font Directory Index","XML","XML Property List","Xojo","Xonsh","XPages","X PixMap","XProc","XQuery","XS","XSLT","Xtend","Yacc","YAML","YANG","YARA","YASnippet","ZAP","Zeek","ZenScript","Zephir","Zig","ZIL","Zimpl"])),Kr=e=>"repo"===e?[{label:"has.path(...)",insertText:"has.path(${1:CHANGELOG})",asSnippet:!0,description:"Search only inside repositories that contain matching file paths"},{label:"has.content(...)",insertText:"has.content(${1:TODO})",asSnippet:!0,description:"Search only inside repositories that contain matching file contents "},{label:"has.file(...)",insertText:"has.file(path:${1:CHANGELOG} content:${2:fix})",asSnippet:!0,description:"Search only in repositories that contain matching file paths and contents"},{label:"has.topic(...)",insertText:"has.topic(${1})",description:"Search only inside repositories that have a matching GitHub tag",asSnippet:!0},{label:"has.commit.after(...)",insertText:"has.commit.after(${1:1 month ago})",asSnippet:!0,description:"Search only in repositories that have been committed to since then"},{label:"has.description(...)",insertText:"has.description(${1})",asSnippet:!0,description:"Search only inside repositories whose description matches"},{label:"has.tag(...)",insertText:"has.tag(${1})",asSnippet:!0,description:"Search only inside repositories tagged with a given tag"},{label:"has(...)",insertText:"has(${1:key}:${2:value})",description:"Search only inside repositories having a specified key:value pair",asSnippet:!0},{label:"has.key(...)",insertText:"has.key(${1})",description:"Search only inside repositories having a specifiec key with any value",asSnippet:!0}]:"file"===e?[{label:"has.content(...)",insertText:"has.content(${1:TODO})",asSnippet:!0,description:"Search only inside files whose contents match a pattern"},{label:"has.owner(...)",insertText:"has.owner(${1})",asSnippet:!0,description:"Search only inside files that have a specific owner"}]:[],Jr=[{name:"repo"},{name:"file",fields:[{name:"directory"},{name:"path"},{name:"owners"}]},{name:"content"},{name:"symbol",fields:[{name:"file"},{name:"module"},{name:"namespace"},{name:"package"},{name:"class"},{name:"method"},{name:"property"},{name:"field"},{name:"constructor"},{name:"enum"},{name:"interface"},{name:"function"},{name:"variable"},{name:"constant"},{name:"string"},{name:"number"},{name:"boolean"},{name:"array"},{name:"object"},{name:"key"},{name:"null"},{name:"enum-member"},{name:"struct"},{name:"event"},{name:"operator"},{name:"type-parameter"}]},{name:"commit",fields:[{name:"diff",fields:[{name:"added"},{name:"removed"}]}]}],qr=new Set(Jr.map((e=>e.name))),Xr=(e,t)=>{if(t<0)return[];const r=[];for(const n of e)r.push(`${n.name}`),n.fields&&r.push(...Xr(n.fields,t-1).map((e=>`${n.name}.`+e)));return r};let Qr,Zr;!function(e){e.after="after",e.archived="archived",e.author="author",e.before="before",e.case="case",e.committer="committer",e.content="content",e.context="context",e.count="count",e.file="file",e.fork="fork",e.lang="lang",e.message="message",e.patterntype="patterntype",e.repo="repo",e.repohascommitafter="repohascommitafter",e.repohasfile="repohasfile",e.rev="rev",e.select="select",e.timeout="timeout",e.type="type",e.visibility="visibility"}(Qr||(Qr={})),function(e){e.f="file",e.path="file",e.l="lang",e.language="lang",e.m="message",e.msg="message",e.r="repo",e.revision="rev",e.since="after",e.until="before"}(Zr||(Zr={}));const en=[...Object.keys(Qr),...Object.keys(Zr)];let tn;!function(e){e.author="-author",e.committer="-committer",e.content="-content",e.f="-f",e.file="-file",e.path="-path",e.l="-l",e.lang="-lang",e.language="-language",e.message="-message",e.r="-r",e.repo="-repo",e.repohasfile="-repohasfile"}(tn||(tn={}));Object.values(tn),Qr.author,Qr.committer,Qr.content,Qr.file,Qr.file,Qr.file,Qr.lang,Qr.lang,Qr.lang,Qr.message,Qr.repo,Qr.repo,Qr.repohasfile;const rn=[{label:"Search a GitHub organization",insertText:"^github\\.com/${1:ORGANIZATION}/.*",asSnippet:!0},{label:"Search a single GitHub repository",insertText:"^github\\.com/${1:ORGANIZATION}/${2:REPO-NAME}$",asSnippet:!0},{label:"Search for repositories with fuzzy string search",insertText:"${1:STRING}",asSnippet:!0}];Qr.after,Qr.archived,Qr.author,Qr.before,Qr.case,Qr.committer,Qr.content,Qr.context,Qr.count,Qr.file,Qr.fork,Qr.lang,Qr.message,Qr.patterntype,Qr.repo,Qr.repohascommitafter,Qr.repohasfile,Qr.rev,Qr.select,Qr.timeout,Qr.type,Qr.visibility;function nn(e){const t={label:e};return/\s/.test(e)&&(t.insertText=`"${e}"`),t}let on,sn,an,cn,un,ln,fn,pn,hn,dn,vn,yn,En,bn,gn,mn,Sn,xn,_n,On,wn,An,Tn,Rn,Cn,In,Nn,Pn,Dn,Ln,Un,Mn,jn,kn,Gn,Hn,Bn,Fn,Vn,$n,Wn,Yn,zn,Kn,Jn,qn,Xn,Qn,Zn,ei,ti,ri,ni,ii,oi,si,ai,ci,ui,li,fi,pi,hi,di,vi,yi,Ei,bi,gi,mi,Si,xi,_i,Oi,wi,Ai,Ti;!function(e){e.APPROVED="APPROVED",e.PENDING="PENDING",e.REJECTED="REJECTED"}(on||(on={})),function(e){e.ERROR="ERROR",e.INFO="INFO",e.WARNING="WARNING"}(sn||(sn={})),function(e){e.CUSTOM="CUSTOM",e.LAST_MONTH="LAST_MONTH",e.LAST_THREE_MONTHS="LAST_THREE_MONTHS",e.LAST_WEEK="LAST_WEEK"}(an||(an={})),function(e){e.DAILY="DAILY",e.WEEKLY="WEEKLY"}(cn||(cn={})),function(e){e.CREATE="CREATE",e.MODIFY="MODIFY"}(un||(un={})),function(e){e.QUEUE_POSITION="QUEUE_POSITION",e.STATE="STATE"}(ln||(ln={})),function(e){e.CUSTOM="CUSTOM",e.DB_BACKED="DB_BACKED",e.PERIODIC="PERIODIC",e.PERIODIC_WITH_METRICS="PERIODIC_WITH_METRICS"}(fn||(fn={})),function(e){e.CLOSED="CLOSED",e.DRAFT="DRAFT",e.OPEN="OPEN"}(pn||(pn={})),function(e){e.LOCAL="LOCAL",e.REMOTE="REMOTE"}(hn||(hn={})),function(e){e.CANCELED="CANCELED",e.CANCELING="CANCELING",e.COMPLETED="COMPLETED",e.FAILED="FAILED",e.PENDING="PENDING",e.PROCESSING="PROCESSING",e.QUEUED="QUEUED"}(dn||(dn={})),function(e){e.COMPLETED="COMPLETED",e.ERRORED="ERRORED",e.FAILED="FAILED",e.PROCESSING="PROCESSING",e.QUEUED="QUEUED"}(vn||(vn={})),function(e){e.CANCELED="CANCELED",e.CANCELING="CANCELING",e.COMPLETED="COMPLETED",e.FAILED="FAILED",e.PENDING="PENDING",e.PROCESSING="PROCESSING",e.QUEUED="QUEUED",e.SKIPPED="SKIPPED"}(yn||(yn={})),function(e){e.COMPLETED="COMPLETED",e.FAILED="FAILED",e.PROCESSING="PROCESSING"}(En||(En={})),function(e){e.CLOSE="CLOSE",e.COMMENT="COMMENT",e.DETACH="DETACH",e.MERGE="MERGE",e.PUBLISH="PUBLISH",e.REENQUEUE="REENQUEUE"}(bn||(bn={})),function(e){e.ERROR="ERROR",e.NOT_FOUND="NOT_FOUND",e.SUCCESS="SUCCESS"}(gn||(gn={})),function(e){e.FAILED="FAILED",e.PASSED="PASSED",e.PENDING="PENDING"}(mn||(mn={})),function(e){e.CLOSED="CLOSED",e.DELETED="DELETED",e.DRAFT="DRAFT",e.MERGED="MERGED",e.OPEN="OPEN",e.READONLY="READONLY"}(Sn||(Sn={})),function(e){e.PUBLISHED="PUBLISHED",e.UNPUBLISHED="UNPUBLISHED"}(xn||(xn={})),function(e){e.COMPLETED="COMPLETED",e.ERRORED="ERRORED",e.FAILED="FAILED",e.PROCESSING="PROCESSING",e.QUEUED="QUEUED",e.SCHEDULED="SCHEDULED"}(_n||(_n={})),function(e){e.APPROVED="APPROVED",e.CHANGES_REQUESTED="CHANGES_REQUESTED",e.COMMENTED="COMMENTED",e.DISMISSED="DISMISSED",e.PENDING="PENDING"}(On||(On={})),function(e){e.ARCHIVE="ARCHIVE",e.CLOSE="CLOSE",e.DETACH="DETACH",e.IMPORT="IMPORT",e.PUBLISH="PUBLISH",e.PUBLISH_DRAFT="PUBLISH_DRAFT",e.PUSH="PUSH",e.REATTACH="REATTACH",e.REOPEN="REOPEN",e.SLEEP="SLEEP",e.SYNC="SYNC",e.UNDRAFT="UNDRAFT",e.UPDATE="UPDATE"}(wn||(wn={})),function(e){e.BRANCH="BRANCH",e.EXISTING="EXISTING"}(An||(An={})),function(e){e.CLOSED="CLOSED",e.DELETED="DELETED",e.DRAFT="DRAFT",e.FAILED="FAILED",e.MERGED="MERGED",e.OPEN="OPEN",e.PROCESSING="PROCESSING",e.READONLY="READONLY",e.RETRYING="RETRYING",e.SCHEDULED="SCHEDULED",e.UNPUBLISHED="UNPUBLISHED"}(Tn||(Tn={})),function(e){e.CLONED="CLONED",e.CLONING="CLONING",e.NOT_CLONED="NOT_CLONED"}(Rn||(Rn={})),function(e){e.ERROR="ERROR",e.SUCCESS="SUCCESS"}(Cn||(Cn={})),function(e){e.ERROR="ERROR",e.HINT="HINT",e.INFORMATION="INFORMATION",e.WARNING="WARNING"}(In||(In={})),function(e){e.ADDED="ADDED",e.DELETED="DELETED",e.UNCHANGED="UNCHANGED"}(Nn||(Nn={})),function(e){e.BACKEND="BACKEND",e.CODEHOSTINTEGRATION="CODEHOSTINTEGRATION",e.CODY="CODY",e.IDEEXTENSION="IDEEXTENSION",e.STATICWEB="STATICWEB",e.WEB="WEB"}(Pn||(Pn={})),function(e){e.ERROR="ERROR",e.PENDING="PENDING",e.SUCCESS="SUCCESS"}(Dn||(Dn={})),function(e){e.OUTDATED="OUTDATED",e.UP_TO_DATE="UP_TO_DATE",e.VERSION_AHEAD="VERSION_AHEAD"}(Ln||(Ln={})),function(e){e.BATCHES="BATCHES",e.CODEINTEL="CODEINTEL"}(Un||(Un={})),function(e){e.AWSCODECOMMIT="AWSCODECOMMIT",e.AZUREDEVOPS="AZUREDEVOPS",e.BITBUCKETCLOUD="BITBUCKETCLOUD",e.BITBUCKETSERVER="BITBUCKETSERVER",e.GERRIT="GERRIT",e.GITHUB="GITHUB",e.GITLAB="GITLAB",e.GITOLITE="GITOLITE",e.GOMODULES="GOMODULES",e.JVMPACKAGES="JVMPACKAGES",e.NPMPACKAGES="NPMPACKAGES",e.OTHER="OTHER",e.PAGURE="PAGURE",e.PERFORCE="PERFORCE",e.PHABRICATOR="PHABRICATOR",e.PYTHONPACKAGES="PYTHONPACKAGES",e.RUBYPACKAGES="RUBYPACKAGES",e.RUSTPACKAGES="RUSTPACKAGES"}(Mn||(Mn={})),function(e){e.CANCELED="CANCELED",e.CANCELING="CANCELING",e.COMPLETED="COMPLETED",e.ERRORED="ERRORED",e.FAILED="FAILED",e.PROCESSING="PROCESSING",e.QUEUED="QUEUED"}(jn||(jn={})),function(e){e.GIT_BLOB="GIT_BLOB",e.GIT_COMMIT="GIT_COMMIT",e.GIT_TAG="GIT_TAG",e.GIT_TREE="GIT_TREE",e.GIT_UNKNOWN="GIT_UNKNOWN"}(kn||(kn={})),function(e){e.AUTHORED_OR_COMMITTED_AT="AUTHORED_OR_COMMITTED_AT"}(Gn||(Gn={})),function(e){e.GIT_BRANCH="GIT_BRANCH",e.GIT_REF_OTHER="GIT_REF_OTHER",e.GIT_TAG="GIT_TAG"}(Hn||(Hn={})),function(e){e.AUTHOR="AUTHOR",e.DATE="DATE",e.LANG="LANG",e.PATH="PATH",e.REPO="REPO"}(Bn||(Bn={})),function(e){e.HTML_HIGHLIGHT="HTML_HIGHLIGHT",e.HTML_PLAINTEXT="HTML_PLAINTEXT",e.JSON_SCIP="JSON_SCIP"}(Fn||(Fn={})),function(e){e.COMPLETED="COMPLETED",e.FAILED="FAILED",e.NEW="NEW",e.PROCESSING="PROCESSING",e.QUEUED="QUEUED",e.UNKNOWN="UNKNOWN"}(Vn||(Vn={})),function(e){e.CRITICAL="CRITICAL",e.NORMAL="NORMAL"}($n||($n={})),function(e){e.INVALID_AGGREGATION_MODE_FOR_QUERY="INVALID_AGGREGATION_MODE_FOR_QUERY",e.INVALID_QUERY="INVALID_QUERY",e.OTHER_ERROR="OTHER_ERROR",e.TIMEOUT_EXTENSION_AVAILABLE="TIMEOUT_EXTENSION_AVAILABLE",e.TIMEOUT_NO_EXTENSION_AVAILABLE="TIMEOUT_NO_EXTENSION_AVAILABLE"}(Wn||(Wn={})),function(e){e.FILE="FILE",e.MARKDOWN="MARKDOWN",e.QUERY="QUERY",e.SYMBOL="SYMBOL"}(Yn||(Yn={})),function(e){e.NOTEBOOK_CREATED_AT="NOTEBOOK_CREATED_AT",e.NOTEBOOK_STAR_COUNT="NOTEBOOK_STAR_COUNT",e.NOTEBOOK_UPDATED_AT="NOTEBOOK_UPDATED_AT"}(zn||(zn={})),function(e){e.ACCEPT="ACCEPT",e.REJECT="REJECT"}(Kn||(Kn={})),function(e){e.CODEOWNERS_FILE_ENTRY="CODEOWNERS_FILE_ENTRY"}(Jn||(Jn={})),function(e){e.ALLOW="ALLOW",e.BLOCK="BLOCK"}(qn||(qn={})),function(e){e.GOMODULES="GOMODULES",e.JVMPACKAGES="JVMPACKAGES",e.NPMPACKAGES="NPMPACKAGES",e.PYTHONPACKAGES="PYTHONPACKAGES",e.RUBYPACKAGES="RUBYPACKAGES",e.RUSTPACKAGES="RUSTPACKAGES"}(Xn||(Xn={})),function(e){e.BATCH_CHANGES="BATCH_CHANGES"}(Qn||(Qn={})),function(e){e.HIGH="HIGH",e.LOW="LOW",e.MEDIUM="MEDIUM"}(Zn||(Zn={})),function(e){e.REASON_EXTERNAL_ACCOUNT_ADDED="REASON_EXTERNAL_ACCOUNT_ADDED",e.REASON_EXTERNAL_ACCOUNT_DELETED="REASON_EXTERNAL_ACCOUNT_DELETED",e.REASON_GITHUB_ORG_MEMBER_ADDED_EVENT="REASON_GITHUB_ORG_MEMBER_ADDED_EVENT",e.REASON_GITHUB_ORG_MEMBER_REMOVED_EVENT="REASON_GITHUB_ORG_MEMBER_REMOVED_EVENT",e.REASON_GITHUB_REPO_EVENT="REASON_GITHUB_REPO_EVENT",e.REASON_GITHUB_REPO_MADE_PRIVATE_EVENT="REASON_GITHUB_REPO_MADE_PRIVATE_EVENT",e.REASON_GITHUB_TEAM_ADDED_TO_REPO_EVENT="REASON_GITHUB_TEAM_ADDED_TO_REPO_EVENT",e.REASON_GITHUB_TEAM_REMOVED_FROM_REPO_EVENT="REASON_GITHUB_TEAM_REMOVED_FROM_REPO_EVENT",e.REASON_GITHUB_USER_ADDED_EVENT="REASON_GITHUB_USER_ADDED_EVENT",e.REASON_GITHUB_USER_EVENT="REASON_GITHUB_USER_EVENT",e.REASON_GITHUB_USER_MEMBERSHIP_ADDED_EVENT="REASON_GITHUB_USER_MEMBERSHIP_ADDED_EVENT",e.REASON_GITHUB_USER_MEMBERSHIP_REMOVED_EVENT="REASON_GITHUB_USER_MEMBERSHIP_REMOVED_EVENT",e.REASON_GITHUB_USER_REMOVED_EVENT="REASON_GITHUB_USER_REMOVED_EVENT",e.REASON_MANUAL_REPO_SYNC="REASON_MANUAL_REPO_SYNC",e.REASON_MANUAL_USER_SYNC="REASON_MANUAL_USER_SYNC",e.REASON_REPO_NO_PERMS="REASON_REPO_NO_PERMS",e.REASON_REPO_OUTDATED_PERMS="REASON_REPO_OUTDATED_PERMS",e.REASON_REPO_UPDATED_FROM_CODE_HOST="REASON_REPO_UPDATED_FROM_CODE_HOST",e.REASON_USER_ACCEPTED_ORG_INVITE="REASON_USER_ACCEPTED_ORG_INVITE",e.REASON_USER_ADDED_TO_ORG="REASON_USER_ADDED_TO_ORG",e.REASON_USER_EMAIL_REMOVED="REASON_USER_EMAIL_REMOVED",e.REASON_USER_EMAIL_VERIFIED="REASON_USER_EMAIL_VERIFIED",e.REASON_USER_NO_PERMS="REASON_USER_NO_PERMS",e.REASON_USER_OUTDATED_PERMS="REASON_USER_OUTDATED_PERMS",e.REASON_USER_REMOVED_FROM_ORG="REASON_USER_REMOVED_FROM_ORG"}(ei||(ei={})),function(e){e.MANUAL="MANUAL",e.SCHEDULE="SCHEDULE",e.SOURCEGRAPH="SOURCEGRAPH",e.UNKNOWN="UNKNOWN",e.WEBHOOK="WEBHOOK"}(ti||(ti={})),function(e){e.REPOSITORY="REPOSITORY",e.USER="USER"}(ri||(ri={})),function(e){e.CANCELED="CANCELED",e.COMPLETED="COMPLETED",e.ERRORED="ERRORED",e.FAILED="FAILED",e.PROCESSING="PROCESSING",e.QUEUED="QUEUED"}(ni||(ni={})),function(e){e.COMPLETED="COMPLETED",e.DELETED="DELETED",e.DELETING="DELETING",e.INDEXING="INDEXING",e.INDEXING_COMPLETED="INDEXING_COMPLETED",e.INDEXING_ERRORED="INDEXING_ERRORED",e.PROCESSING="PROCESSING",e.PROCESSING_ERRORED="PROCESSING_ERRORED",e.QUEUED_FOR_INDEXING="QUEUED_FOR_INDEXING",e.QUEUED_FOR_PROCESSING="QUEUED_FOR_PROCESSING",e.UPLOADING_INDEX="UPLOADING_INDEX"}(ii||(ii={})),function(e){e.CANCELED="CANCELED",e.COMPLETED="COMPLETED",e.ERRORED="ERRORED",e.FAILED="FAILED",e.PROCESSING="PROCESSING",e.QUEUED="QUEUED"}(oi||(oi={})),function(e){e.REPO_CREATED_AT="REPO_CREATED_AT",e.REPOSITORY_CREATED_AT="REPOSITORY_CREATED_AT",e.REPOSITORY_NAME="REPOSITORY_NAME",e.SIZE="SIZE"}(si||(si={})),function(e){e.READ="READ"}(ai||(ai={})),function(e){e.AUTHOR="AUTHOR",e.CAPTURE_GROUP="CAPTURE_GROUP",e.PATH="PATH",e.REPO="REPO"}(ci||(ci={})),function(e){e.SEARCH_CONTEXT_SPEC="SEARCH_CONTEXT_SPEC",e.SEARCH_CONTEXT_UPDATED_AT="SEARCH_CONTEXT_UPDATED_AT"}(ui||(ui={})),function(e){e.keyword="keyword",e.literal="literal",e.lucky="lucky",e.regexp="regexp",e.standard="standard",e.structural="structural"}(li||(li={})),function(e){e.JSON="JSON",e.MERMAID="MERMAID",e.SEXP="SEXP"}(fi||(fi={})),function(e){e.JOB_TREE="JOB_TREE",e.PARSE_TREE="PARSE_TREE"}(pi||(pi={})),function(e){e.BASIC="BASIC",e.MAXIMAL="MAXIMAL",e.MINIMAL="MINIMAL"}(hi||(hi={})),function(e){e.V1="V1",e.V2="V2",e.V3="V3"}(di||(di={})),function(e){e.ASC="ASC",e.DESC="DESC"}(vi||(vi={})),function(e){e.DATE_ADDED="DATE_ADDED",e.LEXICOGRAPHICAL="LEXICOGRAPHICAL",e.RESULT_COUNT="RESULT_COUNT"}(yi||(yi={})),function(e){e.CREATED_AT="CREATED_AT",e.DELETED_AT="DELETED_AT",e.EMAIL="EMAIL",e.EVENTS_COUNT="EVENTS_COUNT",e.LAST_ACTIVE_AT="LAST_ACTIVE_AT",e.SITE_ADMIN="SITE_ADMIN",e.USERNAME="USERNAME"}(Ei||(Ei={})),function(e){e.ASSISTANT="ASSISTANT",e.HUMAN="HUMAN"}(bi||(bi={})),function(e){e.FIX_SECURITY_VULNERABILITIES="FIX_SECURITY_VULNERABILITIES",e.IMPROVE_CODE_QUALITY="IMPROVE_CODE_QUALITY",e.RESPOND_TO_INCIDENTS="RESPOND_TO_INCIDENTS",e.REUSE_CODE="REUSE_CODE",e.UNDERSTAND_NEW_CODE="UNDERSTAND_NEW_CODE"}(gi||(gi={})),function(e){e.ARRAY="ARRAY",e.BOOLEAN="BOOLEAN",e.CLASS="CLASS",e.CONSTANT="CONSTANT",e.CONSTRUCTOR="CONSTRUCTOR",e.ENUM="ENUM",e.ENUMMEMBER="ENUMMEMBER",e.EVENT="EVENT",e.FIELD="FIELD",e.FILE="FILE",e.FUNCTION="FUNCTION",e.INTERFACE="INTERFACE",e.KEY="KEY",e.METHOD="METHOD",e.MODULE="MODULE",e.NAMESPACE="NAMESPACE",e.NULL="NULL",e.NUMBER="NUMBER",e.OBJECT="OBJECT",e.OPERATOR="OPERATOR",e.PACKAGE="PACKAGE",e.PROPERTY="PROPERTY",e.STRING="STRING",e.STRUCT="STRUCT",e.TYPEPARAMETER="TYPEPARAMETER",e.UNKNOWN="UNKNOWN",e.VARIABLE="VARIABLE"}(mi||(mi={})),function(e){e.DAY="DAY",e.HOUR="HOUR",e.MONTH="MONTH",e.WEEK="WEEK",e.YEAR="YEAR"}(Si||(Si={})),function(e){e.ALL_TIME="ALL_TIME",e.THIS_MONTH="THIS_MONTH",e.THIS_WEEK="THIS_WEEK",e.TODAY="TODAY"}(xi||(xi={})),function(e){e.CODEINTEL="CODEINTEL",e.CODEINTELINTEGRATION="CODEINTELINTEGRATION",e.CODEINTELINTEGRATIONREFS="CODEINTELINTEGRATIONREFS",e.CODEINTELREFS="CODEINTELREFS",e.PAGEVIEW="PAGEVIEW",e.SEARCHQUERY="SEARCHQUERY",e.STAGEAUTOMATE="STAGEAUTOMATE",e.STAGECODE="STAGECODE",e.STAGECONFIGURE="STAGECONFIGURE",e.STAGEDEPLOY="STAGEDEPLOY",e.STAGEMANAGE="STAGEMANAGE",e.STAGEMONITOR="STAGEMONITOR",e.STAGEPACKAGE="STAGEPACKAGE",e.STAGEPLAN="STAGEPLAN",e.STAGEREVIEW="STAGEREVIEW",e.STAGESECURE="STAGESECURE",e.STAGEVERIFY="STAGEVERIFY"}(_i||(_i={})),function(e){e.REPO_NAME_ASC="REPO_NAME_ASC",e.REPO_NAME_DESC="REPO_NAME_DESC"}(Oi||(Oi={})),function(e){e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.INPUT_OBJECT="INPUT_OBJECT",e.LIST="LIST",e.NON_NULL="NON_NULL"}(wi||(wi={})),function(e){e[e.Literal=1]="Literal",e[e.Regexp=2]="Regexp",e[e.Structural=3]="Structural"}(Ai||(Ai={})),function(e){e.Or="or",e.And="and",e.Not="not"}(Ti||(Ti={}));const Ri=(e,t,r=!1)=>({type:"literal",value:e,range:t,quoted:r}),Ci=(...e)=>(t,r)=>{const n=[];for(const i of e){const e=i(t,r);if("success"===e.type)return e;n.push(e.expected)}return{type:"error",expected:`One of: ${n.join(", ")}`,at:r}},Ii=e=>(t,r)=>{if(t[r]!==e)return{type:"error",expected:e,at:r};let n=r+1;for(;t[n]&&(t[n]!==e||"\\"===t[n-1]);)n+=1;return t[n]?{type:"success",term:Ri(t.slice(r+1,n),{start:r,end:n+1},!0)}:{type:"error",expected:e,at:n}},Ni=(e,t,r)=>(e.source.startsWith("^")||(e=new RegExp(`^${e.source}`,e.flags)),(n,i)=>{const o=n.slice(Math.max(0,i));if(!o)return{type:"error",expected:r||`/${e.source}/`,at:i};const s=o.match(e);if(!s)return{type:"error",expected:r||`/${e.source}/`,at:i};const a={start:i,end:i+s[0].length};return{type:"success",term:t?"function"==typeof t?t(s[0],a):t:{type:"literal",value:s[0],range:a}}}),Pi=(e,t)=>{let r=t,n=0,i="";const o=[],s=()=>{i=e[r],r+=1};if(!Vi(e,t))return{type:"error",expected:"no recognized filter or keyword",at:t};for(;void 0!==e[r];){if(s(),i.match(/\s/)&&0===n){r-=1;break}if("("===i){if(!Vi(e,r))return{type:"error",expected:"no recognized filter or keyword",at:r};n+=1,o.push(i)}else if(")"===i){if(n-=1,n<0&&r>1){r-=1,n=0;break}o.push(i)}else if(" "===i){if(!Vi(e,r))return{type:"error",expected:"no recognized filter or keyword",at:r};o.push(i)}else if("\\"===i){if(void 0!==e[r]){s(),o.push("\\",i);continue}o.push(i)}else o.push(i)}return 0!==n?{type:"error",expected:"no unbalanced parentheses",at:r}:{type:"success",term:Ri(o.join(""),{start:t,end:r})}},Di=Ni(/\s+/,((e,t)=>({type:"whitespace",range:t}))),Li=Ni(/[^\s)]+/),Ui=Ni(/(not|NOT)/,((e,{start:t,end:r})=>({type:"keyword",value:e,range:{start:t,end:r},kind:Ti.Not}))),Mi=Ni(/(and|AND)/,((e,{start:t,end:r})=>({type:"keyword",value:e,range:{start:t,end:r},kind:Ti.And}))),ji=Ni(/(or|OR)/,((e,{start:t,end:r})=>({type:"keyword",value:e,range:{start:t,end:r},kind:Ti.Or}))),ki=Ci(Mi,ji,Ui),Gi=(Ni(/\/\/.*/,((e,{start:t,end:r})=>({type:"comment",value:e,range:{start:t,end:r}}))),Ni(new RegExp(`-?(${en.join("|")})+(?=:)`,"i"))),Hi=(Ci(Ii('"'),Ii("'"),Pi,Li),Ni(/\(/,((e,t)=>({type:"openingParen",range:t}))),Ni(/\)/,((e,t)=>({type:"closingParen",range:t})))),Bi=(e,t)=>(r,n)=>{const i=e(r,n);if("error"===i.type)return i;let o;const s=[];if(Array.isArray(i.term))for(const e of i.term)s.push(e),o=e.range.end;else s.push(i.term),o=i.term.range.end;if(o&&void 0!==r[o]){const e=t(r,o);if("error"===e.type)return e;s.push(e.term),o=e.term.range.end}return{type:"success",term:s}},Fi=Ci(Gi,Bi(ki,Di)),Vi=(e,t)=>"success"!==Fi(e,t).type;Ci(Di,Hi);let $i;!function(e){e.Global="Global",e.Subexpression="Subexpression"}($i||($i={}));r(3119);let Wi,Yi;!function(e){e[e.userInput=0]="userInput"}(Wi||(Wi={})),function(e){e[e.Focus=1]="Focus",e[e.ShowSuggestions=3]="ShowSuggestions",e[e.Blur=4]="Blur"}(Yi||(Yi={}));r(6024);let zi,Ki;!function(e){e[e.DEFAULT=0]="DEFAULT",e[e.USER_SETTINGS=1]="USER_SETTINGS",e[e.URL=2]="URL"}(zi||(zi={})),function(e){e[e.Precise=0]="Precise",e[e.SmartSearch=1]="SmartSearch"}(Ki||(Ki={}));const Ji=e=>{const t=e.split(",");if(1===t.length)return{line:parseInt(e,10),character:0};if(2===t.length)return{line:parseInt(t[0],10),character:parseInt(t[1],10)};throw new Error("unexpected position: "+e)};function qi(e){const t=new URL(e),r=t.hostname+decodeURIComponent(t.pathname),n=decodeURIComponent(t.search.slice("?".length))||void 0;let i;n?.match(/[\dA-f]{40}/)&&(i=n);const o=t.hash.slice("#".length).split(":").map(decodeURIComponent);let s,a,c;if(1===o.length&&(s=o[0]),2===o.length){s=o[0];const e=o[1],t=e.split("-");if(1===t.length&&(a=Ji(t[0])),2===t.length&&(c={start:Ji(t[0]),end:Ji(t[1])}),t.length>2)throw new Error("unexpected range or position: "+e)}if(o.length>2)throw new Error("unexpected fragment: "+t.hash);return{repoName:r,revision:n,commitID:i,filePath:s||void 0,position:a,range:c}}var Xi=r(185),Qi=r.n(Xi);function Zi(e,t){for(const n of(r=e,Array.isArray(r)&&(0===r.length||function(e){return"string"==typeof e||function(e){const t=e;return"string"==typeof t.language||"string"==typeof t.scheme||"string"==typeof t.pattern}(e)}(r[0]))?[e]:e))if(eo(n,t))return!0;var r;return!1}function eo(e,t){return 0!==function(e,t,r){let n=0;for(const i of e){const e=to(i,t,r);if(10===e)return e;e>n&&(n=e)}return n}(e,new URL(t.uri),t.languageId)}function to(e,t,r){if("string"==typeof e)return"*"===e?5:e===r?10:0;const{language:n,scheme:i,pattern:o,baseUri:s}=e;if(!n&&!i&&!o)return 5;let a=0;if(i)if(t.protocol===i+":")a=10;else{if("*"!==i)return 0;a=5}if(s){if(!t.href.startsWith(s.toString()))return 0;a=5}if(n)if(n===r)a=10;else{if("*"!==n)return 0;a=Math.max(a,5)}if(o){const e=decodeURIComponent("git:"===t.protocol?t.hash.slice(1):t.pathname.replace(/^\//,""));if(e.endsWith(o)||Qi()(e,o))a=10;else{if(!e||!Qi()(e,o,{dot:!0,matchBase:!0}))return 0;a=5}}return a}class ro{[F]=!0;constructor(e,t){this.document=t,this.resource=e.resource,this.viewerId=e.viewerId,this.isActive=e.isActive,this.update(e)}selectionsChanges=new De([]);type="CodeEditor";get selection(){return this.selectionsChanges.value.length>0?this.selectionsChanges.value[0]:null}get selections(){return this.selectionsChanges.value}update(e){const t=e.selections.map((e=>pr.Selection.fromPlain(e)));Er()(t,this.selections)||this.selectionsChanges.next(t)}toJSON(){return{type:this.type,document:this.document}}}var no=r(5776),io=r.n(no);const oo=e=>({[F]:!0,subscribe:t=>te(e.subscribe({next:e=>{t.next(e)},error:e=>{t.error(e&&{message:e.message,name:e.name,stack:e.stack})},complete:()=>{t.complete()}}))});function so(e,t=io()){let r;var n,i,o;return r=e&&(Pe(e)||(o=e)&&(o instanceof m||"function"==typeof o.lift&&"function"==typeof o.subscribe)||"object"==typeof(i=e)&&null!==i&&D("subscribe")(i)&&"function"==typeof i.subscribe)?ze(e).pipe(x(t)):(e=>"object"==typeof e&&null!==e&&"function"==typeof e[Symbol.asyncIterator])(e)?(n=e,new m((e=>{const t=n[Symbol.asyncIterator]();let r=!1,i=!1;return function n(){t.next().then((t=>{if(!r)return t.done?(i=!0,void e.complete()):(e.next(t.value),n())}),(t=>{e.error(t)}))}(),()=>{r=!0,!i&&t.throw&&t.throw(new Ce).catch((()=>{}))}}))).pipe(x(t)):me(t(e)),r}r(6039),r(1101);function ao(e){return null!==e.subjects&&!e.subjects.some((e=>Te(e.settings)))&&null!==e.final&&!Te(e.final)}class co{[F]=!0;type="DirectoryViewer";constructor(e){this.isActive=e.isActive,this.viewerId=e.viewerId,this.resource=e.resource,this.directory={uri:new URL(e.resource)}}}class uo{constructor(e,t){this.index=e,this.remainder=t}}class lo{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}getCount(){return this.values.length}insertValues(e,t){e=po(e);const r=this.values,n=this.prefixSum,i=t.length;return 0!==i&&(this.values=new Uint32Array(r.length+i),this.values.set(r.subarray(0,e),0),this.values.set(r.subarray(e),e+i),this.values.set(t,e),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(n.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}changeValue(e,t){return e=po(e),t=po(t),this.values[e]!==t&&(this.values[e]=t,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)}removeValues(e,t){e=po(e),t=po(t);const r=this.values,n=this.prefixSum;if(e>=r.length)return!1;const i=r.length-e;return t>=i&&(t=i),0!==t&&(this.values=new Uint32Array(r.length-t),this.values.set(r.subarray(0,e),0),this.values.set(r.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(n.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalValue(){return 0===this.values.length?0:this._getAccumulatedValue(this.values.length-1)}getAccumulatedValue(e){return e<0?0:(e=po(e),this._getAccumulatedValue(e))}_getAccumulatedValue(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let r=t;r<=e;r++)this.prefixSum[r]=this.prefixSum[r-1]+this.values[r];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalValue();let t=0,r=this.values.length-1,n=0,i=0,o=0;for(;t<=r;)if(n=t+(r-t)/2|0,i=this.prefixSum[n],o=i-this.values[n],e<o)r=n-1;else{if(!(e>=i))break;t=n+1}return new uo(n,e-o)}}const fo=4294967295;function po(e){return e<0?0:e>fo?fo:0|e}const ho=/(-?\d*\.\d\w*)|([^\s"'(),;<>?[\\\]`{}]+)/g;class vo{constructor(e){this.model=e,this._eol=yo(e.text||""),this._lines=void 0!==e.text?e.text.split(this._eol):[],this.uri=this.model.uri,this.languageId=this.model.languageId,this.text=this.model.text}update({text:e}){this.model={...this.model,text:e},this._eol=yo(e||""),this._lines=void 0!==e?e.split(this._eol):[],this.text=e}offsetAt(e){return this.throwIfNoModelText(),e=this.validatePosition(e),this.lineStarts.getAccumulatedValue(e.line-1)+e.character}positionAt(e){this.throwIfNoModelText(),e=Math.floor(e),e=Math.max(0,e);const t=this.lineStarts.getIndexOf(e),r=this._lines[t.index].length,n=Math.min(t.remainder,r);return new pr.Position(t.index,n)}validatePosition(e){if(this.throwIfNoModelText(),!(e instanceof pr.Position))throw new TypeError("invalid argument");let{line:t,character:r}=e,n=!1;if(t<0)t=0,r=0,n=!0;else if(t>=this._lines.length)t=this._lines.length-1,r=this._lines[t].length,n=!0;else{const e=this._lines[t].length;r<0?(r=0,n=!0):r>e&&(r=e,n=!0)}return n?new pr.Position(t,r):e}validateRange(e){if(this.throwIfNoModelText(),!(e instanceof pr.Range))throw new TypeError("invalid argument");const t=this.validatePosition(e.start),r=this.validatePosition(e.end);return t===e.start&&r===e.end?e:new pr.Range(t.line,t.character,r.line,r.character)}getWordRangeAtPosition(e){this.throwIfNoModelText();const t=function(e,t){if(ho.lastIndex=0,!ho.exec(t))return null;const r=t.lastIndexOf(" ",e-1)+1;for(ho.lastIndex=r;;){const r=ho.exec(t);if(!r)return null;const n=r.index||0;if(n<=e&&ho.lastIndex>=e)return{word:r[0],startColumn:n,endColumn:ho.lastIndex}}}((e=this.validatePosition(e)).character,this._lines[e.line]);if(t)return new pr.Range(e.line,t.startColumn,e.line,t.endColumn)}getText(e){if(this.throwIfNoModelText(),!(e=e?this.validateRange(e):void 0))return this.text;const{start:t,end:r}=e;if(t.line===r.line)return this._lines[t.line].slice(t.character,r.character);let n="";for(let e=t.line;e<=r.line;e++)e===t.line?n+=this._lines[e].slice(t.character):e===r.line?n+=this._lines[e].slice(0,r.character):n+=this._lines[e];return n}_lineStarts=null;get lineStarts(){if(!this._lineStarts){const e=this._eol.length,t=this._lines.length,r=new Uint32Array(t);for(let n=0;n<t;n++)r[n]=this._lines[n].length+e;this._lineStarts=new lo(r)}return this._lineStarts}throwIfNoModelText(){if(void 0===this.model.text)throw new Error("model text is not available")}toJSON(){return this.model}}function yo(e){for(let t=0;t<e.length;t++){const r=e.charAt(t);if("\r"===r)return t+1<e.length&&"\n"===e.charAt(t+1)?"\r\n":"\r";if("\n"===r)return"\n"}return"\n"}function Eo(e){return new pr.Position(e.line,e.character)}function bo(e){return{uri:e.uri.href,range:go(e.range),aggregableBadges:e.aggregableBadges}}function go(e){if(e)return e instanceof pr.Range?e.toJSON():e}class mo{constructor({uri:e,inputRevision:t}){this.uri=new URL(e),this.inputRevision=t}}function So(e){const t=t=>{const r=e.textDocuments.get(t);if(!r)throw new Error(`Text document does not exist with URI ${t}`);return r},r=t=>{const r=e.viewComponents.get(t);if(!r)throw new wo(t);return r};return{haveInitialExtensionsLoaded:()=>oo(e.haveInitialExtensionsLoaded.asObservable()),syncSettingsData:t=>e.settings.next(Object.freeze(t)),getWorkspaceRoots:()=>oo(e.roots.pipe(x((e=>e.map((({uri:e,inputRevision:t})=>({uri:e.href,inputRevision:t}))))))),addWorkspaceRoot:t=>{e.roots.next(Object.freeze([...e.roots.value,new mo(t)])),e.rootChanges.next()},removeWorkspaceRoot:t=>{e.roots.next(Object.freeze(e.roots.value.filter((e=>e.uri.href!==t)))),e.rootChanges.next()},setSearchContext:t=>{e.searchContext=t,e.searchContextChanges.next(t)},getHover:r=>{const n=t(r.textDocument.uri),i=Eo(r.position);return oo(_o(e.hoverProviders,(e=>xo(n,e,(({selector:e})=>e))),(({provider:e})=>e.provideHover(n,i)),(e=>function(e){const t=[],r=new Map;let n;for(const i of e)if(i){i.contents?.value&&t.push({value:i.contents.value,kind:i.contents.kind||pr.MarkupKind.PlainText});for(const e of i.aggregableBadges||[])r.set(e.text,e);i.range&&!n&&(n=i.range instanceof pr.Range?i.range.toPlain():i.range)}return 0===t.length?null:{contents:t,...n?{range:n}:{},aggregatedBadges:[...r.values()].sort(((e,t)=>e.text.localeCompare(t.text)))}}(Oo(e)))))},getDocumentHighlights:r=>{const n=t(r.textDocument.uri),i=Eo(r.position);return oo(_o(e.documentHighlightProviders,(e=>xo(n,e,(({selector:e})=>e))),(({provider:e})=>e.provideDocumentHighlights(n,i)),Oo).pipe(x((e=>e.isLoading?[]:e.result))))},getDefinition:r=>{const n=t(r.textDocument.uri),i=Eo(r.position);return oo(_o(e.definitionProviders,(e=>xo(n,e,(({selector:e})=>e))),(({provider:e})=>e.provideDefinition(n,i)),(e=>Oo(e).map(bo))))},getReferences:(r,n)=>{const i=t(r.textDocument.uri),o=Eo(r.position);return oo(_o(e.referenceProviders,(e=>xo(i,e,(({selector:e})=>e))),(({provider:e})=>e.provideReferences(i,o,n)),(e=>Oo(e).map(bo))))},hasReferenceProvidersForDocument:r=>{const n=t(r.textDocument.uri);return oo(e.referenceProviders.pipe(x((e=>0!==xo(n,e,(({selector:e})=>e)).length))))},getLocations:(r,n)=>{const i=t(n.textDocument.uri),o=Eo(n.position);return oo(_o(e.locationProviders,(e=>xo(i,e.filter((({provider:e})=>r===e.id)),(({selector:e})=>e))),(({provider:e})=>e.provider.provideLocations(i,o)),(e=>Oo(e).map(bo))))},addViewerIfNotExists:r=>{const n="viewer#"+e.lastViewerId++;let i;switch("CodeEditor"===r.type&&e.modelReferences.increment(r.resource),r.type){case"CodeEditor":{const e=t(r.resource);i=new ro({...r,viewerId:n},e);break}case"DirectoryViewer":i=new co({...r,viewerId:n})}return e.viewComponents.set(n,i),r.isActive&&e.activeViewComponentChanges.next(i),e.viewerUpdates.next({viewerId:n,action:"addition",type:r.type}),{viewerId:n}},removeViewer:({viewerId:n})=>{const i=r(n);e.viewComponents.delete(n),e.activeViewComponentChanges.value?.viewerId===n&&e.activeViewComponentChanges.next(void 0),e.viewerUpdates.next({viewerId:n,action:"removal",type:i.type}),"CodeEditor"===i.type&&e.modelReferences.decrement(i.resource)&&(r=>{const n=t(r);e.textDocuments.delete(r),e.languageReferences.decrement(n.languageId)&&e.activeLanguages.next(new Set(e.languageReferences.keys()))})(i.resource)},viewerUpdates:()=>oo(e.viewerUpdates.asObservable()),setEditorSelections:({viewerId:e},t)=>{const n=r(e);!function(e,t){if(e.type!==t)throw new Error(`Viewer ID ${e.viewerId} is type ${e.type}, expected ${t}`)}(n,"CodeEditor"),n.update({selections:t})},addTextDocumentIfNotExists:t=>{if(e.textDocuments.has(t.uri))return;const r=new vo(t);e.textDocuments.set(t.uri,r),e.openedTextDocuments.next(r),e.languageReferences.increment(t.languageId)&&e.activeLanguages.next(new Set(e.languageReferences.keys()))},getActiveViewComponentChanges:()=>oo(e.activeViewComponentChanges),getActiveCodeEditorPosition:()=>oo(e.activeViewComponentChanges.pipe(ct((e=>"CodeEditor"!==e?.type?me(null):e.selectionsChanges.pipe(x((t=>{const r=t[0];if(!r)return null;return r.start.line===r.end.line&&r.start.character===r.end.character&&-1===r.start.character?null:{textDocument:{uri:e.resource},position:{line:r.start.line,character:r.start.character}}}))))))),updateContext:t=>Ro(t,e),registerContributions:t=>{const r=Xt(t);return te(dr(e.contributions,r))},getContributions:({scope:r,extraContext:n,returnInactiveMenuItems:i}={})=>oo(Ve([e.contributions,e.activeViewComponentChanges.pipe(x((e=>{if(e)switch(e.type){case"CodeEditor":{const{languageId:r}=t(e.resource);return Object.assign(e,{model:{languageId:r}})}case"DirectoryViewer":return e}}))),e.settings,e.context]).pipe(x((([e,t,o,s])=>{n&&(s={...s,...n});const a=function(e,t,r,n){const i={...r};if(ao(t))for(const[e,r]of Object.entries(t.final))i[`config.${e}`]=r;const o=n||e||null;if(o&&(i.component=!0),"CodeEditor"===o?.type){i.resource=!0,i["resource.uri"]=o.resource,i["resource.basename"]=(0,Vr.basename)(o.resource),i["resource.dirname"]=(0,Vr.dirname)(o.resource),i["resource.extname"]=(0,Vr.extname)(o.resource),i["resource.language"]=o.model.languageId,i["resource.type"]="textDocument";const e=new URL(o.resource);i["resource.repo"]=`${e.hostname}${e.pathname}`,i["resource.commit"]=e.search.slice(1),i["resource.path"]=e.hash.slice(1),i["component.type"]="CodeEditor",i["component.selections"]=o.selections,o.selections.length>0&&(i["component.selection"]=o.selections[0]||null,i["component.selection.start"]=o.selections[0]?o.selections[0].start:null,i["component.selection.end"]=o.selections[0]?o.selections[0].end:null,i["component.selection.start.line"]=o.selections[0]?o.selections[0].start.line:null,i["component.selection.start.character"]=o.selections[0]?o.selections[0].start.character:null,i["component.selection.end.line"]=o.selections[0]?o.selections[0].end.line:null,i["component.selection.end.character"]=o.selections[0]?o.selections[0].end.character:null)}return"panelView"===o?.type&&(i["panel.activeView.id"]=o.id,i["panel.activeView.hasLocations"]=o.hasLocations),i}(t,o,s,r);return e.map((e=>{try{const t=function(e,t){return{...t,menus:t.menus&&It()(t.menus,(t=>t?.map((t=>({...t,when:t.when&&!!t.when.exec(e),disabledWhen:t.disabledWhen&&!!t.disabledWhen.exec(e)}))))),actions:qt(e,t.actions)}}(a,e);return i?t:function(e){return e.menus?{...e,menus:It()(e.menus,(e=>e?.filter((e=>!1!==e.when))))}:e}(t)}catch(t){return U("Discarding contributions: evaluating expressions or templates failed.",{contributions:e,error:t}),{}}}))})),x(Jt),vt(Er()))),getActiveExtensions:()=>oo(e.activeExtensions)}}function xo(e,t,r){return t.filter((t=>Zi(r(t),{uri:e.uri,languageId:$r(qi(e.uri).filePath||"")})))}function _o(e,t,r,n,i=!0){const o=(...e)=>{i&&U("Provider errored:",...e)};return e.pipe(x((e=>t(e))),ct((e=>Gr(e.map((e=>function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return mr()(me.apply(void 0,e))}([Sr],so((e=>{try{return r(e)}catch(e){return o(e),null}})(e)).pipe(Qe(null),St((e=>(o(e),[null]))))))))))).pipe(Qe([]),x((e=>({isLoading:e.some((e=>e===Sr)),result:n(e)}))),vt(((e,t)=>Er()(e,t))))}function Oo(e){return e.filter((r=Sr,t=e=>e===r,e=>!t(e))).flatMap(gr()).filter(Fr);var t,r}class wo extends Error{name="ViewerNotFoundError";constructor(e){super(`Viewer not found: ${e}`)}}class Ao{refCount=new Map;increment(e){const t=this.refCount.get(e);return void 0===t?(this.refCount.set(e,1),!0):(this.refCount.set(e,t+1),!1)}decrement(e){const t=this.refCount.get(e);if(void 0===t)throw new Error(`No refCount for key: ${String(e)}`);return 1===t?(this.refCount.delete(e),!0):(this.refCount.set(e,t-1),!1)}keys(){return this.refCount.keys()}delete(e){return this.refCount.delete(e)}}function To(e){const t=new p;let r=!1;const n=new Promise((n=>{K((i=>{if(r)throw new Error("extension host is already initialized");r=!0;const{subscription:o,extensionAPI:s,extensionHostAPI:a}=function(e,t){const r=new p,{extensionAPI:n,extensionHostAPI:i,subscription:o}=function(e,t){const r=new p;!function(){const e={canHandle:Ie,serialize:e=>[e.href,[]],deserialize:e=>new URL(e)};z.set("URL",e)}();const n=new we(1),i=q(t.proxy),o=function(e,t,r){let n=new De(new Set),i=me([]);return null!==t&&null!==r&&({activeLanguages:n,activeExtensions:i}=Zt(t,r)),{haveInitialExtensionsLoaded:new De(!1),roots:new De([]),rootChanges:new ce,searchContextChanges:new ce,searchContext:void 0,settings:new De(e.initialSettings),hoverProviders:new De([]),documentHighlightProviders:new De([]),definitionProviders:new De([]),referenceProviders:new De([]),locationProviders:new De([]),context:new De({"clientApplication.isSourcegraph":"sourcegraph"===e.clientApplication,"clientApplication.extensionAPIVersion.major":3}),contributions:new De([]),lastViewerId:0,textDocuments:new Map,openedTextDocuments:new ce,viewComponents:new Map,activeLanguages:n,languageReferences:new Ao,modelReferences:new Ao,activeViewComponentChanges:new De(void 0),viewerUpdates:new ce,activeExtensions:i,activeLoggers:new Set}}(e,i,n),s=So(o),a=vr(o,i,e);r.add(tr(o,i,a)),r.add(sr(o));const c={[F]:!0,ping:()=>"pong",mainThreadAPIInitialized:()=>{n.next(!0)},...s},u=a("DEFAULT");return{extensionHostAPI:c,extensionAPI:u,subscription:r}}(t,e);return r.add(o),or(n),r.add((()=>{globalThis.require=()=>{throw new Error("require: Sourcegraph extension API was unsubscribed")}})),{subscription:r,extensionAPI:n,extensionHostAPI:i}}(e,i);return t.add(o),n(s),a}),e.expose)}));return{unsubscribe:()=>t.unsubscribe(),extensionAPI:n}}function Ro(e,t){if(B()(t.context.value,e))return;const r={};for(const[n,i]of Object.entries(t.context.value))null!==e[n]&&(r[n]=i);for(const[t,n]of Object.entries(e))null!==n&&(r[t]=n);t.context.next(r)}const Co=e=>"object"==typeof e&&null!==e&&D("endpoints")(e)&&(e=>k()(e)&&D("proxy")(e)&&D("expose")(e)&&G(e.proxy)&&G(e.expose))(e.endpoints);!async function(){try{const e=await w(self,"message").pipe(I(1)).toPromise();if(!Co(e.data))throw new Error("First message event in extension host worker was not a well-formed InitMessage");const{endpoints:t}=e.data,r=To(t);self.addEventListener("unload",(()=>r.unsubscribe()))}catch(e){U("Error starting the extension host:",e),self.close()}}()})()})();
|