@sourcegraph/code-host-integration 0.0.80 → 0.0.82
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 +6 -6
- package/css/style.bundle.css +2 -2
- package/extensions/revision.txt +1 -0
- package/extensions/sourcegraph-apex/extension.js +528 -0
- package/extensions/sourcegraph-apex/package.json +137 -0
- package/extensions/sourcegraph-clojure/extension.js +528 -0
- package/extensions/sourcegraph-clojure/package.json +137 -0
- package/extensions/sourcegraph-cobol/extension.js +528 -0
- package/extensions/sourcegraph-cobol/package.json +137 -0
- package/extensions/sourcegraph-cpp/extension.js +528 -0
- package/extensions/sourcegraph-cpp/package.json +137 -0
- package/extensions/sourcegraph-csharp/extension.js +528 -0
- package/extensions/sourcegraph-csharp/package.json +137 -0
- package/extensions/sourcegraph-cuda/extension.js +528 -0
- package/extensions/sourcegraph-cuda/package.json +137 -0
- package/extensions/sourcegraph-dart/extension.js +528 -0
- package/extensions/sourcegraph-dart/package.json +137 -0
- package/extensions/sourcegraph-elixir/extension.js +528 -0
- package/extensions/sourcegraph-elixir/package.json +137 -0
- package/extensions/sourcegraph-erlang/extension.js +528 -0
- package/extensions/sourcegraph-erlang/package.json +137 -0
- package/extensions/sourcegraph-go/extension.js +528 -0
- package/extensions/sourcegraph-go/package.json +137 -0
- package/extensions/sourcegraph-graphql/extension.js +528 -0
- package/extensions/sourcegraph-graphql/package.json +137 -0
- package/extensions/sourcegraph-groovy/extension.js +528 -0
- package/extensions/sourcegraph-groovy/package.json +137 -0
- package/extensions/sourcegraph-haskell/extension.js +528 -0
- package/extensions/sourcegraph-haskell/package.json +137 -0
- package/extensions/sourcegraph-java/extension.js +528 -0
- package/extensions/sourcegraph-java/package.json +137 -0
- package/extensions/sourcegraph-jsonnet/extension.js +528 -0
- package/extensions/sourcegraph-jsonnet/package.json +137 -0
- package/extensions/sourcegraph-kotlin/extension.js +528 -0
- package/extensions/sourcegraph-kotlin/package.json +137 -0
- package/extensions/sourcegraph-lisp/extension.js +528 -0
- package/extensions/sourcegraph-lisp/package.json +137 -0
- package/extensions/sourcegraph-lua/extension.js +528 -0
- package/extensions/sourcegraph-lua/package.json +137 -0
- package/extensions/sourcegraph-ocaml/extension.js +528 -0
- package/extensions/sourcegraph-ocaml/package.json +137 -0
- package/extensions/sourcegraph-pascal/extension.js +528 -0
- package/extensions/sourcegraph-pascal/package.json +137 -0
- package/extensions/sourcegraph-perl/extension.js +528 -0
- package/extensions/sourcegraph-perl/package.json +137 -0
- package/extensions/sourcegraph-php/extension.js +528 -0
- package/extensions/sourcegraph-php/package.json +137 -0
- package/extensions/sourcegraph-powershell/extension.js +528 -0
- package/extensions/sourcegraph-powershell/package.json +137 -0
- package/extensions/sourcegraph-protobuf/extension.js +528 -0
- package/extensions/sourcegraph-protobuf/package.json +137 -0
- package/extensions/sourcegraph-python/extension.js +528 -0
- package/extensions/sourcegraph-python/package.json +137 -0
- package/extensions/sourcegraph-r/extension.js +528 -0
- package/extensions/sourcegraph-r/package.json +137 -0
- package/extensions/sourcegraph-ruby/extension.js +528 -0
- package/extensions/sourcegraph-ruby/package.json +137 -0
- package/extensions/sourcegraph-rust/extension.js +528 -0
- package/extensions/sourcegraph-rust/package.json +137 -0
- package/extensions/sourcegraph-scala/extension.js +528 -0
- package/extensions/sourcegraph-scala/package.json +137 -0
- package/extensions/sourcegraph-shell/extension.js +528 -0
- package/extensions/sourcegraph-shell/package.json +137 -0
- package/extensions/sourcegraph-starlark/extension.js +528 -0
- package/extensions/sourcegraph-starlark/package.json +137 -0
- package/extensions/sourcegraph-strato/extension.js +528 -0
- package/extensions/sourcegraph-strato/package.json +137 -0
- package/extensions/sourcegraph-swift/extension.js +528 -0
- package/extensions/sourcegraph-swift/package.json +137 -0
- package/extensions/sourcegraph-tcl/extension.js +528 -0
- package/extensions/sourcegraph-tcl/package.json +137 -0
- package/extensions/sourcegraph-thrift/extension.js +528 -0
- package/extensions/sourcegraph-thrift/package.json +137 -0
- package/extensions/sourcegraph-typescript/extension.js +528 -0
- package/extensions/sourcegraph-typescript/package.json +138 -0
- package/extensions/sourcegraph-verilog/extension.js +528 -0
- package/extensions/sourcegraph-verilog/package.json +137 -0
- package/extensions/sourcegraph-vhdl/extension.js +528 -0
- package/extensions/sourcegraph-vhdl/package.json +137 -0
- package/package.json +1 -1
- package/scripts/extensionHostWorker.bundle.js +1 -1
- package/scripts/integration.bundle.js +34 -29
- package/scripts/phabricator.bundle.js +34 -29
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var e={8703:(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"}},8337:(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")}},8838:(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(1350)),n(r(4554)),n(r(3353)),n(r(1483)),n(r(8703))},1350:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(4554),i=r(3353),o=r(4776);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},4554:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(8337);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},3353:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(8337),i=r(4554);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},1483:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(4554),i=r(3353);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},4776:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isURL=e=>!!e&&"function"==typeof e.toString&&e.href===e.toString()},3535: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},70:(e,t,r)=>{var n=r(7489),i=r(3535);e.exports=function(e){if(!e)return[];"{}"===e.substr(0,2)&&(e="\\{\\}"+e.substr(2));return y(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 b(e,t){return e>=t}function y(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,g=o.body.indexOf(",")>=0;if(!f&&!g)return o.post.match(/,.*\}/)?y(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=y(s[0],!1).map(h)).length)return(E=o.post.length?y(o.post,!1):[""]).map((function(e){return o.pre+s[0]+e}));var m,x=o.pre,E=o.post.length?y(o.post,!1):[""];if(f){var w=l(s[0]),S=l(s[1]),_=Math.max(s[0].length,s[1].length),O=3==s.length?Math.abs(l(s[2])):1,T=v;S<w&&(O*=-1,T=b);var A=s.some(d);m=[];for(var P=w;T(P,S);P+=O){var C;if(u)"\\"===(C=String.fromCharCode(P))&&(C="");else if(C=String(P),A){var I=_-C.length;if(I>0){var R=new Array(I+1).join("0");C=P<0?"-"+R+C.slice(1):R+C}}m.push(C)}}else m=n(s,(function(e){return y(e,!1)}));for(var N=0;N<m.length;N++)for(var L=0;L<E.length;L++){var j=x+m[N]+E[L];(!t||f||j)&&r.push(j)}return r}},7489: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)}},942:(e,t,r)=>{var n=r(8613),i=r(8283),o=r(8046),s=r(3414),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.USE_FUNCTION_CONSTRUCTOR=!!e.USE_FUNCTION_CONSTRUCTOR),n(e,l)&&(s.USE_FUNCTION_CONSTRUCTOR=e.AsyncIteratorPrototype))}},4435:(e,t,r)=>{var n=r(6599),i=r(2756),o=TypeError;e.exports=function(e){if(n(e))return e;throw o(i(e)+" is not a function")}},5517:(e,t,r)=>{var n=r(6599),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")}},4634:(e,t,r)=>{var n=r(26),i=r(9692),o=r(6973).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}},6345:(e,t,r)=>{var n=r(9407),i=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw i("Incorrect invocation")}},5511:(e,t,r)=>{var n=r(1043),i=String,o=TypeError;e.exports=function(e){if(n(e))return e;throw o(i(e)+" is not an object")}},2353:(e,t,r)=>{"use strict";var n=r(6365),i=r(8004),o=r(6640),s=r(7655),a=r(3658),c=r(898),u=r(9720),l=r(3500),f=r(8816),p=r(3706),h=Array;e.exports=function(e){var t=o(e),r=c(this),d=arguments.length,v=d>1?arguments[1]:void 0,b=void 0!==v;b&&(v=n(v,d>2?arguments[2]:void 0));var y,g,m,x,E,w,S=p(t),_=0;if(!S||this===h&&a(S))for(y=u(t),g=r?new this(y):h(y);y>_;_++)w=b?v(t[_],_):t[_],l(g,_,w);else for(E=(x=f(t,S)).next,g=r?new this:[];!(m=i(E,x)).done;_++)w=b?s(x,v,[m.value,_],!0):m.value,l(g,_,w);return g.length=_,g}},7830:(e,t,r)=>{var n=r(6603),i=r(9211),o=r(9720),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)}},8022:(e,t,r)=>{var n=r(9211),i=r(9720),o=r(3500),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}},7097:(e,t,r)=>{var n=r(7497);e.exports=n([].slice)},4027:(e,t,r)=>{var n=r(8022),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},7655:(e,t,r)=>{var n=r(5511),i=r(5772);e.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(t){i(e,"throw",t)}}},4518:(e,t,r)=>{var n=r(7497),i=n({}.toString),o=n("".slice);e.exports=function(e){return o(i(e),8,-1)}},2796:(e,t,r)=>{var n=r(3026),i=r(6599),o=r(4518),s=r(26)("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}},4327:(e,t,r)=>{var n=r(8613),i=r(8872),o=r(3276),s=r(6973);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))}}},6760:(e,t,r)=>{var n=r(8898);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},980:(e,t,r)=>{"use strict";var n=r(5592).IteratorPrototype,i=r(9692),o=r(5398),s=r(4198),a=r(2536),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}},9382:(e,t,r)=>{var n=r(909),i=r(6973),o=r(5398);e.exports=n?function(e,t,r){return i.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},5398:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},3500:(e,t,r)=>{"use strict";var n=r(7369),i=r(6973),o=r(5398);e.exports=function(e,t,r){var s=n(t);s in e?i.f(e,s,o(0,r)):e[s]=r}},159:(e,t,r)=>{var n=r(9645),i=r(6973);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)}},8993:(e,t,r)=>{var n=r(6599),i=r(9382),o=r(9645),s=r(6577);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}},325:(e,t,r)=>{var n=r(8993);e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},6577:(e,t,r)=>{var n=r(800),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}},2315:(e,t,r)=>{"use strict";var n=r(8646),i=r(8004),o=r(781),s=r(2656),a=r(6599),c=r(980),u=r(1052),l=r(6907),f=r(4198),p=r(9382),h=r(8993),d=r(26),v=r(2536),b=r(5592),y=s.PROPER,g=s.CONFIGURABLE,m=b.IteratorPrototype,x=b.BUGGY_SAFARI_ITERATORS,E=d("iterator"),w="keys",S="values",_="entries",O=function(){return this};e.exports=function(e,t,r,s,d,b,T){c(r,t,s);var A,P,C,I=function(e){if(e===d&&D)return D;if(!x&&e in L)return L[e];switch(e){case w:case S:case _:return function(){return new r(this,e)}}return function(){return new r(this)}},R=t+" Iterator",N=!1,L=e.prototype,j=L[E]||L["@@iterator"]||d&&L[d],D=!x&&j||I(d),M="Array"==t&&L.entries||j;if(M&&(A=u(M.call(new e)))!==Object.prototype&&A.next&&(o||u(A)===m||(l?l(A,m):a(A[E])||h(A,E,O)),f(A,R,!0,!0),o&&(v[R]=O)),y&&d==S&&j&&j.name!==S&&(!o&&g?p(L,"name",S):(N=!0,D=function(){return i(j,this)})),d)if(P={values:I(S),keys:b?D:I(w),entries:I(_)},T)for(C in P)(x||N||!(C in L))&&h(L,C,P[C]);else n({target:t,proto:!0,forced:x||N},P);return o&&!T||L[E]===D||h(L,E,D,{name:d}),v[t]=D,P}},6637:(e,t,r)=>{var n=r(4871),i=r(8613),o=r(5223),s=r(6973).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});i(t,e)||s(t,e,{value:o.f(e)})}},909:(e,t,r)=>{var n=r(8898);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4764:(e,t,r)=>{var n=r(800),i=r(1043),o=n.document,s=i(o)&&i(o.createElement);e.exports=function(e){return s?o.createElement(e):{}}},9364:(e,t,r)=>{var n=r(7670);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},9040:(e,t,r)=>{var n=r(4518),i=r(800);e.exports="process"==n(i.process)},7670:(e,t,r)=>{var n=r(4817);e.exports=n("navigator","userAgent")||""},7903:(e,t,r)=>{var n,i,o=r(800),s=r(7670),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},1836:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},8646:(e,t,r)=>{var n=r(800),i=r(3276).f,o=r(9382),s=r(8993),a=r(6577),c=r(4327),u=r(8046);e.exports=function(e,t){var r,l,f,p,h,d=e.target,v=e.global,b=e.stat;if(r=v?n:b?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+(b?".":"#")+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)}}},8898:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},9356:(e,t,r)=>{var n=r(3985),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)})},6365:(e,t,r)=>{var n=r(7497),i=r(4435),o=r(3985),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)}}},3985:(e,t,r)=>{var n=r(8898);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},8004:(e,t,r)=>{var n=r(3985),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},2656:(e,t,r)=>{var n=r(909),i=r(8613),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}},7497:(e,t,r)=>{var n=r(3985),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)}}},4817:(e,t,r)=>{var n=r(800),i=r(6599),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]}},3706:(e,t,r)=>{var n=r(2796),i=r(4287),o=r(2536),s=r(26)("iterator");e.exports=function(e){if(null!=e)return i(e,s)||i(e,"@@iterator")||o[n(e)]}},8816:(e,t,r)=>{var n=r(8004),i=r(4435),o=r(5511),s=r(2756),a=r(3706),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")}},4287:(e,t,r)=>{var n=r(4435);e.exports=function(e,t){var r=e[t];return null==r?void 0:n(r)}},800:(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")()},8613:(e,t,r)=>{var n=r(7497),i=r(6640),o=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},555:e=>{e.exports={}},7876:(e,t,r)=>{var n=r(4817);e.exports=n("document","documentElement")},5393:(e,t,r)=>{var n=r(909),i=r(8898),o=r(4764);e.exports=!n&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},4783:(e,t,r)=>{var n=r(7497),i=r(8898),o=r(4518),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},735:(e,t,r)=>{var n=r(7497),i=r(6599),o=r(3414),s=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return s(e)}),e.exports=o.inspectSource},4495:(e,t,r)=>{var n,i,o,s=r(7519),a=r(800),c=r(7497),u=r(1043),l=r(9382),f=r(8613),p=r(3414),h=r(1544),d=r(555),v="Object already initialized",b=a.TypeError,y=a.WeakMap;if(s||p.state){var g=p.state||(p.state=new y),m=c(g.get),x=c(g.has),E=c(g.set);n=function(e,t){if(x(g,e))throw new b(v);return t.facade=e,E(g,e,t),t},i=function(e){return m(g,e)||{}},o=function(e){return x(g,e)}}else{var w=h("state");d[w]=!0,n=function(e,t){if(f(e,w))throw new b(v);return t.facade=e,l(e,w,t),t},i=function(e){return f(e,w)?e[w]:{}},o=function(e){return f(e,w)}}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 b("Incompatible receiver, "+e+" required");return r}}}},3658:(e,t,r)=>{var n=r(26),i=r(2536),o=n("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||s[o]===e)}},8283:(e,t,r)=>{var n=r(4518);e.exports=Array.isArray||function(e){return"Array"==n(e)}},6599:e=>{e.exports=function(e){return"function"==typeof e}},898:(e,t,r)=>{var n=r(7497),i=r(8898),o=r(6599),s=r(2796),a=r(4817),c=r(735),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}},b=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}};b.sham=!0,e.exports=!f||i((function(){var e;return v(v.call)||!v(Object)||!v((function(){e=!0}))||e}))?b:v},8046:(e,t,r)=>{var n=r(8898),i=r(6599),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},1043:(e,t,r)=>{var n=r(6599);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},781:e=>{e.exports=!1},9611:(e,t,r)=>{var n=r(4817),i=r(6599),o=r(9407),s=r(2674),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))}},5772:(e,t,r)=>{var n=r(8004),i=r(5511),o=r(4287);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}},5592:(e,t,r)=>{"use strict";var n,i,o,s=r(8898),a=r(6599),c=r(9692),u=r(1052),l=r(8993),f=r(26),p=r(781),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}},2536:e=>{e.exports={}},9720:(e,t,r)=>{var n=r(3310);e.exports=function(e){return n(e.length)}},9645:(e,t,r)=>{var n=r(8898),i=r(6599),o=r(8613),s=r(909),a=r(2656).CONFIGURABLE,c=r(735),u=r(4495),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")},6612:e=>{var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},8654:(e,t,r)=>{var n=r(7903),i=r(8898);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},9824:(e,t,r)=>{var n=r(8898),i=r(26),o=r(781),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}))},7519:(e,t,r)=>{var n=r(800),i=r(6599),o=r(735),s=n.WeakMap;e.exports=i(s)&&/native code/.test(o(s))},7738:(e,t,r)=>{"use strict";var n=r(909),i=r(7497),o=r(8004),s=r(8898),a=r(3555),c=r(2610),u=r(8858),l=r(6640),f=r(4783),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,b=f(arguments[s++]),y=p?d(a(b),p(b)):a(b),g=y.length,m=0;g>m;)v=y[m++],n&&!o(h,b,v)||(r[v]=b[v]);return r}:p},9692:(e,t,r)=>{var n,i=r(5511),o=r(3110),s=r(1836),a=r(555),c=r(7876),u=r(4764),l=r(1544),f=l("IE_PROTO"),p=function(){},h=function(e){return"<script>"+e+"</"+"script>"},d=function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t;v="undefined"!=typeof document?document.domain&&n?d(n):((t=u("iframe")).style.display="none",c.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):d(n);for(var r=s.length;r--;)delete v.prototype[s[r]];return v()};a[f]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(p.prototype=i(e),r=new p,p.prototype=null,r[f]=e):r=v(),void 0===t?r:o.f(r,t)}},3110:(e,t,r)=>{var n=r(909),i=r(2089),o=r(6973),s=r(5511),a=r(6603),c=r(3555);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}},6973:(e,t,r)=>{var n=r(909),i=r(5393),o=r(2089),s=r(5511),a=r(7369),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.writable){var n=l(e,t);n&&n.writable&&(e[t]=r.value,r={configurable:p in r?r.configurable:n.configurable,enumerable:f in r?r.enumerable:n.enumerable,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}},3276:(e,t,r)=>{var n=r(909),i=r(8004),o=r(8858),s=r(5398),a=r(6603),c=r(7369),u=r(8613),l=r(5393),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])}},2107:(e,t,r)=>{var n=r(7967),i=r(1836).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},2610:(e,t)=>{t.f=Object.getOwnPropertySymbols},1052:(e,t,r)=>{var n=r(8613),i=r(6599),o=r(6640),s=r(1544),a=r(6760),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}},9407:(e,t,r)=>{var n=r(7497);e.exports=n({}.isPrototypeOf)},7967:(e,t,r)=>{var n=r(7497),i=r(8613),o=r(6603),s=r(7830).indexOf,a=r(555),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}},3555:(e,t,r)=>{var n=r(7967),i=r(1836);e.exports=Object.keys||function(e){return n(e,i)}},8858:(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},6907:(e,t,r)=>{var n=r(7497),i=r(5511),o=r(5517);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)},83:(e,t,r)=>{var n=r(8004),i=r(6599),o=r(1043),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")}},8872:(e,t,r)=>{var n=r(4817),i=r(7497),o=r(2107),s=r(2610),a=r(5511),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}},4871:(e,t,r)=>{var n=r(800);e.exports=n},8401:e=>{var t=TypeError;e.exports=function(e){if(null==e)throw t("Can't call method on "+e);return e}},4198:(e,t,r)=>{var n=r(6973).f,i=r(8613),o=r(26)("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!i(e,o)&&n(e,o,{configurable:!0,value:t})}},1544:(e,t,r)=>{var n=r(9829),i=r(9386),o=n("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},3414:(e,t,r)=>{var n=r(800),i=r(6577),o="__core-js_shared__",s=n[o]||i(o,{});e.exports=s},9829:(e,t,r)=>{var n=r(781),i=r(3414);(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"})},8214:(e,t,r)=>{var n=r(7497),i=r(9802),o=r(2518),s=r(8401),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)}},629:(e,t,r)=>{"use strict";var n=r(7497),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),b=n("".split),y=n("".toLowerCase),g=function(e){return e+22+75*(e<26)},m=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))},x=function(e){var t,r,n=[],o=(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)).length,s=128,u=0,v=72;for(t=0;t<e.length;t++)(r=e[t])<128&&d(n,f(r));var b=n.length,y=b;for(b&&d(n,"-");y<o;){var x=i;for(t=0;t<e.length;t++)(r=e[t])>=s&&r<x&&(x=r);var E=y+1;if(x-s>l((i-u)/E))throw c(a);for(u+=(x-s)*E,s=x,t=0;t<e.length;t++){if((r=e[t])<s&&++u>i)throw c(a);if(r==s){for(var w=u,S=36;;){var _=S<=v?1:S>=v+26?26:S-v;if(w<_)break;var O=w-_,T=36-_;d(n,f(g(_+O%T))),w=l(O/T),S+=36}d(n,f(g(w))),v=m(u,E,y==b),u=0,y++}}u++,s++}return h(n,"")};e.exports=function(e){var t,r,n=[],i=b(v(y(e),s,"."),".");for(t=0;t<i.length;t++)r=i[t],d(n,u(o,r)?"xn--"+x(r):r);return h(n,".")}},5767:(e,t,r)=>{var n,i,o,s,a=r(800),c=r(9356),u=r(6365),l=r(6599),f=r(8613),p=r(8898),h=r(7876),d=r(7097),v=r(4764),b=r(7539),y=r(9364),g=r(9040),m=a.setImmediate,x=a.clearImmediate,E=a.process,w=a.Dispatch,S=a.Function,_=a.MessageChannel,O=a.String,T=0,A={},P="onreadystatechange";try{n=a.location}catch(e){}var C=function(e){if(f(A,e)){var t=A[e];delete A[e],t()}},I=function(e){return function(){C(e)}},R=function(e){C(e.data)},N=function(e){a.postMessage(O(e),n.protocol+"//"+n.host)};m&&x||(m=function(e){b(arguments.length,1);var t=l(e)?e:S(e),r=d(arguments,1);return A[++T]=function(){c(t,void 0,r)},i(T),T},x=function(e){delete A[e]},g?i=function(e){E.nextTick(I(e))}:w&&w.now?i=function(e){w.now(I(e))}:_&&!y?(s=(o=new _).port2,o.port1.onmessage=R,i=u(s.postMessage,s)):a.addEventListener&&l(a.postMessage)&&!a.importScripts&&n&&"file:"!==n.protocol&&!p(N)?(i=N,a.addEventListener("message",R,!1)):i=P in v("script")?function(e){h.appendChild(v("script")).onreadystatechange=function(){h.removeChild(this),C(e)}}:function(e){setTimeout(I(e),0)}),e.exports={set:m,clear:x}},9211:(e,t,r)=>{var n=r(9802),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)}},6603:(e,t,r)=>{var n=r(4783),i=r(8401);e.exports=function(e){return n(i(e))}},9802:(e,t,r)=>{var n=r(6612);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},3310:(e,t,r)=>{var n=r(9802),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},6640:(e,t,r)=>{var n=r(8401),i=Object;e.exports=function(e){return i(n(e))}},1736:(e,t,r)=>{var n=r(8004),i=r(1043),o=r(9611),s=r(4287),a=r(83),c=r(26),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)}},7369:(e,t,r)=>{var n=r(1736),i=r(9611);e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},3026:(e,t,r)=>{var n={};n[r(26)("toStringTag")]="z",e.exports="[object z]"===String(n)},2518:(e,t,r)=>{var n=r(2796),i=String;e.exports=function(e){if("Symbol"===n(e))throw TypeError("Cannot convert a Symbol value to a string");return i(e)}},2756:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},9386:(e,t,r)=>{var n=r(7497),i=0,o=Math.random(),s=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++i+o,36)}},2674:(e,t,r)=>{var n=r(8654);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},2089:(e,t,r)=>{var n=r(909),i=r(8898);e.exports=n&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},7539:e=>{var t=TypeError;e.exports=function(e,r){if(e<r)throw t("Not enough arguments");return e}},5223:(e,t,r)=>{var n=r(26);t.f=n},26:(e,t,r)=>{var n=r(800),i=r(9829),o=r(8613),s=r(9386),a=r(8654),c=r(2674),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]}},2357:(e,t,r)=>{"use strict";var n=r(6603),i=r(4634),o=r(2536),s=r(4495),a=r(6973).f,c=r(2315),u=r(781),l=r(909),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){}},1794:(e,t,r)=>{"use strict";var n=r(8214).charAt,i=r(2518),o=r(4495),s=r(2315),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})}))},2588:(e,t,r)=>{r(6637)("observable")},4449:(e,t,r)=>{var n=r(8646),i=r(800),o=r(5767).clear;n({global:!0,bind:!0,enumerable:!0,forced:i.clearImmediate!==o},{clearImmediate:o})},5287:(e,t,r)=>{r(4449),r(9067)},9067:(e,t,r)=>{var n=r(8646),i=r(800),o=r(5767).set;n({global:!0,bind:!0,enumerable:!0,forced:i.setImmediate!==o},{setImmediate:o})},9213:(e,t,r)=>{"use strict";r(2357);var n=r(8646),i=r(800),o=r(8004),s=r(7497),a=r(909),c=r(9824),u=r(8993),l=r(325),f=r(4198),p=r(980),h=r(4495),d=r(6345),v=r(6599),b=r(8613),y=r(6365),g=r(2796),m=r(5511),x=r(1043),E=r(2518),w=r(9692),S=r(5398),_=r(8816),O=r(3706),T=r(7539),A=r(26),P=r(4027),C=A("iterator"),I="URLSearchParams",R="URLSearchParamsIterator",N=h.set,L=h.getterFor(I),j=h.getterFor(R),D=Object.getOwnPropertyDescriptor,M=function(e){if(!a)return i[e];var t=D(i,e);return t&&t.value},U=M("fetch"),k=M("Request"),G=M("Headers"),F=k&&k.prototype,B=G&&G.prototype,V=i.RegExp,H=i.TypeError,$=i.decodeURIComponent,W=i.encodeURIComponent,z=s("".charAt),Y=s([].join),J=s([].push),q=s("".replace),K=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]=V("((?:%[\\da-f]{2}){"+e+"})","gi"))},ne=function(e){try{return $(e)}catch(t){return e}},ie=function(e){var t=q(e,ee," "),r=4;try{return $(t)}catch(e){for(;r;)t=q(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 q(W(e),oe,ae)},ue=p((function(e,t){N(this,{type:R,iterator:_(L(e).entries),kind:t})}),"Iterator",(function(){var e=j(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&&(x(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===z(e,0)?Z(e,1):e:E(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=O(e);if(u)for(r=(t=_(e,u)).next;!(n=o(r,t)).done;){if(s=(i=_(m(n.value))).next,(a=o(s,i)).done||(c=o(s,i)).done||!o(s,i).done)throw H("Expected sequence with length 2");J(this.entries,{key:E(a.value),value:E(c.value)})}else for(var l in e)b(e,l)&&J(this.entries,{key:l,value:E(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(K(r)),value:ie(Y(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 Y(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){T(arguments.length,2);var r=L(this);J(r.entries,{key:E(e),value:E(t)}),r.updateURL()},delete:function(e){T(arguments.length,1);for(var t=L(this),r=t.entries,n=E(e),i=0;i<r.length;)r[i].key===n?Q(r,i,1):i++;t.updateURL()},get:function(e){T(arguments.length,1);for(var t=L(this).entries,r=E(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){T(arguments.length,1);for(var t=L(this).entries,r=E(e),n=[],i=0;i<t.length;i++)t[i].key===r&&J(n,t[i].value);return n},has:function(e){T(arguments.length,1);for(var t=L(this).entries,r=E(e),n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){T(arguments.length,1);for(var r,n=L(this),i=n.entries,o=!1,s=E(e),a=E(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=L(this);P(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=L(this).entries,n=y(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 L(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(x(e)){var t,r=e.body;if(g(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"),w(e,{body:S(0,E(r)),headers:S(0,t)})}return e};if(v(U)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return U(e,arguments.length>1?ve(arguments[1]):{})}}),v(k)){var be=function(e){return d(this,F),new k(e,arguments.length>1?ve(arguments[1]):{})};F.constructor=be,be.prototype=F,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:be})}}e.exports={URLSearchParams:fe,getState:L}},8328:(e,t,r)=>{r(9213)},5728:(e,t,r)=>{"use strict";r(1794);var n,i=r(8646),o=r(909),s=r(9824),a=r(800),c=r(6365),u=r(7497),l=r(8993),f=r(159),p=r(6345),h=r(8613),d=r(7738),v=r(2353),b=r(8022),y=r(8214).codeAt,g=r(629),m=r(2518),x=r(4198),E=r(7539),w=r(9213),S=r(4495),_=S.set,O=S.getterFor("URL"),T=w.URLSearchParams,A=w.getState,P=a.URL,C=a.TypeError,I=a.parseInt,R=Math.floor,N=Math.pow,L=u("".charAt),j=u(/./.exec),D=u([].join),M=u(1..toString),U=u([].pop),k=u([].push),G=u("".replace),F=u([].shift),B=u("".split),V=u("".slice),H=u("".toLowerCase),$=u([].unshift),W="Invalid scheme",z="Invalid host",Y="Invalid port",J=/[a-z]/i,q=/[\d+-.a-z]/i,K=/\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=R(e/256);return D(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=y(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&&j(J,L(e,0))&&(":"==(r=L(e,1))||!t&&"|"==r)},he=function(e){var t;return e.length>1&&pe(V(e,0,2))&&(2==e.length||"/"===(t=L(e,2))||"\\"===t||"?"===t||"#"===t)},de=function(e){return"."===e||"%2e"===H(e)},ve={},be={},ye={},ge={},me={},xe={},Ee={},we={},Se={},_e={},Oe={},Te={},Ae={},Pe={},Ce={},Ie={},Re={},Ne={},Le={},je={},De={},Me=function(e,t,r){var n,i,o,s=m(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=A(new T)).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,y=!1,g=!1;for(e=m(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||!j(J,o)){if(t)return W;l=ye;continue}p+=H(o),l=be;break;case be:if(o&&(j(q,o)||"+"==o||"-"==o||"."==o))p+=H(o);else{if(":"!=o){if(t)return W;p="",l=ye,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=Pe:u.isSpecial()&&r&&r.scheme==u.scheme?l=ge:u.isSpecial()?l=we:"/"==i[f+1]?(l=me,f++):(u.cannotBeABaseURL=!0,k(u.path,""),l=Le)}break;case ye:if(!r||r.cannotBeABaseURL&&"#"!=o)return W;if(r.cannotBeABaseURL&&"#"==o){u.scheme=r.scheme,u.path=b(r.path),u.query=r.query,u.fragment="",u.cannotBeABaseURL=!0,l=De;break}l="file"==r.scheme?Pe:xe;continue;case ge:if("/"!=o||"/"!=i[f+1]){l=xe;continue}l=Se,f++;break;case me:if("/"==o){l=_e;break}l=Ne;continue;case xe: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=b(r.path),u.query=r.query;else if("/"==o||"\\"==o&&u.isSpecial())l=Ee;else if("?"==o)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=b(r.path),u.query="",l=je;else{if("#"!=o){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=b(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=b(r.path),u.query=r.query,u.fragment="",l=De}break;case Ee: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=_e}else l=Se;break;case we:if(l=Se,"/"!=o||"/"!=L(p,f+1))continue;f++;break;case Se:if("/"!=o&&"\\"!=o){l=_e;continue}break;case _e:if("@"==o){d&&(p="%40"+p),d=!0,s=v(p);for(var x=0;x<s.length;x++){var E=s[x];if(":"!=E||g){var w=le(E,ue);g?u.password+=w:u.username+=w}else g=!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=Oe}else p+=o;break;case Oe:case Te:if(t&&"file"==u.scheme){l=Ie;continue}if(":"!=o||y){if(o==n||"/"==o||"?"==o||"#"==o||"\\"==o&&u.isSpecial()){if(u.isSpecial()&&""==p)return z;if(t&&""==p&&(u.includesCredentials()||null!==u.port))return;if(a=u.parseHost(p))return a;if(p="",l=Re,t)return;continue}"["==o?y=!0:"]"==o&&(y=!1),p+=o}else{if(""==p)return z;if(a=u.parseHost(p))return a;if(p="",l=Ae,t==Te)return}break;case Ae:if(!j(K,o)){if(o==n||"/"==o||"?"==o||"#"==o||"\\"==o&&u.isSpecial()||t){if(""!=p){var S=I(p,10);if(S>65535)return Y;u.port=u.isSpecial()&&S===fe[u.scheme]?null:S,p=""}if(t)return;l=Re;continue}return Y}p+=o;break;case Pe:if(u.scheme="file","/"==o||"\\"==o)l=Ce;else{if(!r||"file"!=r.scheme){l=Ne;continue}if(o==n)u.host=r.host,u.path=b(r.path),u.query=r.query;else if("?"==o)u.host=r.host,u.path=b(r.path),u.query="",l=je;else{if("#"!=o){he(D(b(i,f),""))||(u.host=r.host,u.path=b(r.path),u.shortenPath()),l=Ne;continue}u.host=r.host,u.path=b(r.path),u.query=r.query,u.fragment="",l=De}}break;case Ce:if("/"==o||"\\"==o){l=Ie;break}r&&"file"==r.scheme&&!he(D(b(i,f),""))&&(pe(r.path[0],!0)?k(u.path,r.path[0]):u.host=r.host),l=Ne;continue;case Ie:if(o==n||"/"==o||"\\"==o||"?"==o||"#"==o){if(!t&&pe(p))l=Ne;else if(""==p){if(u.host="",t)return;l=Re}else{if(a=u.parseHost(p))return a;if("localhost"==u.host&&(u.host=""),t)return;p="",l=Re}continue}p+=o;break;case Re: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=De;else u.query="",l=je;break;case Ne:if(o==n||"/"==o||"\\"==o&&u.isSpecial()||!t&&("?"==o||"#"==o)){if(".."===(c=H(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=L(p,0)+":"),k(u.path,p)),p="","file"==u.scheme&&(o==n||"?"==o||"#"==o))for(;u.path.length>1&&""===u.path[0];)F(u.path);"?"==o?(u.query="",l=je):"#"==o&&(u.fragment="",l=De)}else p+=le(o,ce);break;case Le:"?"==o?(u.query="",l=je):"#"==o?(u.fragment="",l=De):o!=n&&(u.path[0]+=le(o,se));break;case je:t||"#"!=o?o!=n&&("'"==o&&u.isSpecial()?u.query+="%27":u.query+="#"==o?"%23":le(o,se)):(u.fragment="",l=De);break;case De:o!=n&&(u.fragment+=le(o,ae))}f++}},parseHost:function(e){var t,r,n;if("["==L(e,0)){if("]"!=L(e,e.length-1))return z;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 L(e,f)};if(":"==p()){if(":"!=L(e,1))return;f+=2,l=++u}for(;p();){if(8==u)return;if(":"!=p()){for(t=r=0;r<4&&j(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(!j(K,p()))return;for(;j(K,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}(V(e,1,-1))))return z;this.host=t}else if(this.isSpecial()){if(e=g(e),j(te,e))return z;if(null===(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"==L(i,0)&&(o=j(Q,i)?16:8,i=V(i,8==o?1:2)),""===i)s=0;else{if(!j(10==o?Z:8==o?X: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>=N(256,5-t))return null}else if(s>255)return null;for(a=U(r),n=0;n<r.length;n++)a+=r[n]*N(256,3-n);return a}(e)))return z;this.host=t}else{if(j(re,e))return z;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?"/"+D(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 Ue(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(m(e)+":",ve)},getUsername:function(){return this.username},setUsername:function(e){var t=v(m(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(m(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,Oe)},getHostname:function(){var e=this.host;return null===e?"":oe(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Te)},getPort:function(){var e=this.port;return null===e?"":m(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=m(e))?this.port=null:this.parse(e,Ae))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+D(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Re))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=m(e))?this.query=null:("?"==L(e,0)&&(e=V(e,1)),this.query="",this.parse(e,je)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=m(e))?("#"==L(e,0)&&(e=V(e,1)),this.fragment="",this.parse(e,De)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Ue=function(e){var t=p(this,ke),r=E(arguments.length,1)>1?arguments[1]:void 0,n=_(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=Ue.prototype,Ge=function(e,t){return{get:function(){return O(this)[e]()},set:t&&function(e){return O(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 O(this).serialize()}),{enumerable:!0}),l(ke,"toString",(function(){return O(this).serialize()}),{enumerable:!0}),P){var Fe=P.createObjectURL,Be=P.revokeObjectURL;Fe&&l(Ue,"createObjectURL",c(Fe,P)),Be&&l(Ue,"revokeObjectURL",c(Be,P))}x(Ue,"URL"),i({global:!0,constructor:!0,forced:!s,sham:!o},{URL:Ue})},9227:(e,t,r)=>{r(5728)},8981:(e,t,r)=>{var n=r(7791)(r(3478),"DataView");e.exports=n},8031:(e,t,r)=>{var n=r(5264),i=r(6778),o=r(8861),s=r(1867),a=r(9796);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},8289:(e,t,r)=>{var n=r(5249),i=r(4553),o=r(5104),s=r(17),a=r(5117);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},1063:(e,t,r)=>{var n=r(7791)(r(3478),"Map");e.exports=n},6484:(e,t,r)=>{var n=r(1409),i=r(6231),o=r(1963),s=r(8810),a=r(4960);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},3366:(e,t,r)=>{var n=r(7791)(r(3478),"Promise");e.exports=n},1538:(e,t,r)=>{var n=r(7791)(r(3478),"Set");e.exports=n},8261:(e,t,r)=>{var n=r(6484),i=r(7538),o=r(5377);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},5325:(e,t,r)=>{var n=r(8289),i=r(1849),o=r(9712),s=r(3077),a=r(2930),c=r(5518);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},1658:(e,t,r)=>{var n=r(3478).Symbol;e.exports=n},3467:(e,t,r)=>{var n=r(3478).Uint8Array;e.exports=n},4428:(e,t,r)=>{var n=r(7791)(r(3478),"WeakMap");e.exports=n},6797: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)}},7615:e=>{e.exports=function(e,t,r,n){for(var i=-1,o=null==e?0:e.length;++i<o;){var s=e[i];t(n,s,r(s),e)}return n}},1321: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}},6493: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}},7079:(e,t,r)=>{var n=r(7748);e.exports=function(e,t){return!!(null==e?0:e.length)&&n(e,t,0)>-1}},8616: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}},2932:(e,t,r)=>{var n=r(4079),i=r(7632),o=r(2615),s=r(28),a=r(5661),c=r(1653),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 b in e)!t&&!u.call(e,b)||h&&("length"==b||f&&("offset"==b||"parent"==b)||p&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||a(b,v))||d.push(b);return d}},7309: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}},9676: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}},4938: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}},3780:(e,t,r)=>{var n=r(508),i=r(4865),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)}},2784:(e,t,r)=>{var n=r(4865);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},8835:(e,t,r)=>{var n=r(9668);e.exports=function(e,t,r,i){return n(e,(function(e,n,o){t(i,e,r(e),o)})),i}},3585:(e,t,r)=>{var n=r(2654),i=r(2749);e.exports=function(e,t){return e&&n(t,i(t),e)}},4683:(e,t,r)=>{var n=r(2654),i=r(8530);e.exports=function(e,t){return e&&n(t,i(t),e)}},508:(e,t,r)=>{var n=r(6569);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},7864:(e,t,r)=>{var n=r(5325),i=r(1321),o=r(3780),s=r(3585),a=r(4683),c=r(1855),u=r(1176),l=r(9270),f=r(1751),p=r(294),h=r(671),d=r(6968),v=r(1381),b=r(8582),y=r(2375),g=r(2615),m=r(28),x=r(8866),E=r(8603),w=r(6159),S=r(2749),_=r(8530),O="[object Arguments]",T="[object Function]",A="[object Object]",P={};P[O]=P["[object Array]"]=P["[object ArrayBuffer]"]=P["[object DataView]"]=P["[object Boolean]"]=P["[object Date]"]=P["[object Float32Array]"]=P["[object Float64Array]"]=P["[object Int8Array]"]=P["[object Int16Array]"]=P["[object Int32Array]"]=P["[object Map]"]=P["[object Number]"]=P[A]=P["[object RegExp]"]=P["[object Set]"]=P["[object String]"]=P["[object Symbol]"]=P["[object Uint8Array]"]=P["[object Uint8ClampedArray]"]=P["[object Uint16Array]"]=P["[object Uint32Array]"]=!0,P["[object Error]"]=P[T]=P["[object WeakMap]"]=!1,e.exports=function e(t,r,C,I,R,N){var L,j=1&r,D=2&r,M=4&r;if(C&&(L=R?C(t,I,R,N):C(t)),void 0!==L)return L;if(!E(t))return t;var U=g(t);if(U){if(L=v(t),!j)return u(t,L)}else{var k=d(t),G=k==T||"[object GeneratorFunction]"==k;if(m(t))return c(t,j);if(k==A||k==O||G&&!R){if(L=D||G?{}:y(t),!j)return D?f(t,a(L,t)):l(t,s(L,t))}else{if(!P[k])return R?t:{};L=b(t,k,j)}}N||(N=new n);var F=N.get(t);if(F)return F;N.set(t,L),w(t)?t.forEach((function(n){L.add(e(n,r,C,n,t,N))})):x(t)&&t.forEach((function(n,i){L.set(i,e(n,r,C,i,t,N))}));var B=U?void 0:(M?D?h:p:D?_:S)(t);return i(B||t,(function(n,i){B&&(n=t[i=n]),o(L,i,e(n,r,C,i,t,N))})),L}},7508:(e,t,r)=>{var n=r(8603),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},9668:(e,t,r)=>{var n=r(4330),i=r(4029)(n);e.exports=i},8969: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}},745:(e,t,r)=>{var n=r(9676),i=r(5143);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}},9387:(e,t,r)=>{var n=r(7889)();e.exports=n},4330:(e,t,r)=>{var n=r(9387),i=r(2749);e.exports=function(e,t){return e&&n(e,t,i)}},7614:(e,t,r)=>{var n=r(4853),i=r(9535);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}},1714:(e,t,r)=>{var n=r(9676),i=r(2615);e.exports=function(e,t,r){var o=t(e);return i(e)?o:n(o,r(e))}},2085:(e,t,r)=>{var n=r(1658),i=r(1693),o=r(9191),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)}},9843:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},7748:(e,t,r)=>{var n=r(8969),i=r(9136),o=r(6930);e.exports=function(e,t,r){return t==t?o(e,t,r):n(e,i,r)}},9618:(e,t,r)=>{var n=r(2085),i=r(9363);e.exports=function(e){return i(e)&&"[object Arguments]"==n(e)}},2706:(e,t,r)=>{var n=r(4978),i=r(9363);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))}},4978:(e,t,r)=>{var n=r(5325),i=r(6910),o=r(7163),s=r(1689),a=r(6968),c=r(2615),u=r(28),l=r(1653),f="[object Arguments]",p="[object Array]",h="[object Object]",d=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,v,b,y){var g=c(e),m=c(t),x=g?p:a(e),E=m?p:a(t),w=(x=x==f?h:x)==h,S=(E=E==f?h:E)==h,_=x==E;if(_&&u(e)){if(!u(t))return!1;g=!0,w=!1}if(_&&!w)return y||(y=new n),g||l(e)?i(e,t,r,v,b,y):o(e,t,x,r,v,b,y);if(!(1&r)){var O=w&&d.call(e,"__wrapped__"),T=S&&d.call(t,"__wrapped__");if(O||T){var A=O?e.value():e,P=T?t.value():t;return y||(y=new n),b(A,P,r,v,y)}}return!!_&&(y||(y=new n),s(e,t,r,v,b,y))}},7533:(e,t,r)=>{var n=r(6968),i=r(9363);e.exports=function(e){return i(e)&&"[object Map]"==n(e)}},8116:(e,t,r)=>{var n=r(5325),i=r(2706);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}},9136:e=>{e.exports=function(e){return e!=e}},697:(e,t,r)=>{var n=r(8911),i=r(6481),o=r(8603),s=r(8143),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))}},6941:(e,t,r)=>{var n=r(6968),i=r(9363);e.exports=function(e){return i(e)&&"[object Set]"==n(e)}},3677:(e,t,r)=>{var n=r(2085),i=r(2413),o=r(9363),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)]}},544:(e,t,r)=>{var n=r(5346),i=r(6572),o=r(672),s=r(2615),a=r(4272);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)}},8819:(e,t,r)=>{var n=r(1105),i=r(7762),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}},2809:(e,t,r)=>{var n=r(8603),i=r(1105),o=r(6383),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}},3671:(e,t,r)=>{var n=r(9668),i=r(9174);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}},5346:(e,t,r)=>{var n=r(8116),i=r(8676),o=r(7187);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)}}},6572:(e,t,r)=>{var n=r(2706),i=r(5472),o=r(4170),s=r(6955),a=r(219),c=r(7187),u=r(9535);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)}}},840:(e,t,r)=>{var n=r(7309),i=r(7614),o=r(544),s=r(3671),a=r(7648),c=r(7888),u=r(4292),l=r(672),f=r(2615);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)}))}},5898:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},9916:(e,t,r)=>{var n=r(7614);e.exports=function(e){return function(t){return n(t,e)}}},1494:(e,t,r)=>{var n=r(672),i=r(5112),o=r(6618);e.exports=function(e,t){return o(i(e,t,n),e+"")}},3389:(e,t,r)=>{var n=r(7578),i=r(6569),o=r(672),s=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:o;e.exports=s},7648:e=>{e.exports=function(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e}},4079:e=>{e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},9134:(e,t,r)=>{var n=r(1658),i=r(7309),o=r(2615),s=r(1365),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}},7888:e=>{e.exports=function(e){return function(t){return e(t)}}},2744:(e,t,r)=>{var n=r(8261),i=r(7079),o=r(8616),s=r(9161),a=r(4438),c=r(1956);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 b=e[u],y=t?t(b):b;if(b=r||0!==b?b:0,p&&y==y){for(var g=d.length;g--;)if(d[g]===y)continue e;t&&d.push(y),h.push(b)}else l(d,y,r)||(d!==h&&d.push(y),h.push(b))}return h}},9161:e=>{e.exports=function(e,t){return e.has(t)}},4853:(e,t,r)=>{var n=r(2615),i=r(6955),o=r(1229),s=r(7115);e.exports=function(e,t){return n(e)?e:i(e,t)?[e]:o(s(e))}},9474:(e,t,r)=>{var n=r(3467);e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},1855:(e,t,r)=>{e=r.nmd(e);var n=r(3478),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}},6341:(e,t,r)=>{var n=r(9474);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},2564:e=>{var t=/\w*$/;e.exports=function(e){var r=new e.constructor(e.source,t.exec(e));return r.lastIndex=e.lastIndex,r}},5676:(e,t,r)=>{var n=r(1658),i=n?n.prototype:void 0,o=i?i.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},5464:(e,t,r)=>{var n=r(9474);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},3702:(e,t,r)=>{var n=r(1365);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}},4292:(e,t,r)=>{var n=r(3702);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}},1176: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}},2654:(e,t,r)=>{var n=r(3780),i=r(508);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}},9270:(e,t,r)=>{var n=r(2654),i=r(4868);e.exports=function(e,t){return n(e,i(e),t)}},1751:(e,t,r)=>{var n=r(2654),i=r(905);e.exports=function(e,t){return n(e,i(e),t)}},7037:(e,t,r)=>{var n=r(3478)["__core-js_shared__"];e.exports=n},3027:(e,t,r)=>{var n=r(7615),i=r(8835),o=r(544),s=r(2615);e.exports=function(e,t){return function(r,a){var c=s(r)?n:i,u=t?t():{};return c(r,e,o(a,2),u)}}},4029:(e,t,r)=>{var n=r(9174);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}}},7889: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}}},4438:(e,t,r)=>{var n=r(1538),i=r(7021),o=r(1956),s=n&&1/o(new n([,-0]))[1]==1/0?function(e){return new n(e)}:i;e.exports=s},6569:(e,t,r)=>{var n=r(7791),i=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},6910:(e,t,r)=>{var n=r(8261),i=r(4938),o=r(9161);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,b=2&r?new n:void 0;for(c.set(e,t),c.set(t,e);++d<l;){var y=e[d],g=t[d];if(s)var m=u?s(g,y,d,t,e,c):s(y,g,d,e,t,c);if(void 0!==m){if(m)continue;v=!1;break}if(b){if(!i(t,(function(e,t){if(!o(b,t)&&(y===e||a(y,e,r,s,c)))return b.push(t)}))){v=!1;break}}else if(y!==g&&!a(y,g,r,s,c)){v=!1;break}}return c.delete(e),c.delete(t),v}},7163:(e,t,r)=>{var n=r(1658),i=r(3467),o=r(4865),s=r(6910),a=r(5695),c=r(1956),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 b=s(h(e),h(t),n,u,f,p);return p.delete(e),b;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},1689:(e,t,r)=>{var n=r(294),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 b=c;++f<l;){var y=e[p=u[f]],g=t[p];if(o)var m=c?o(g,y,p,t,e,a):o(y,g,p,e,t,a);if(!(void 0===m?y===g||s(y,g,r,o,a):m)){v=!1;break}b||(b="constructor"==p)}if(v&&!b){var x=e.constructor,E=t.constructor;x==E||!("constructor"in e)||!("constructor"in t)||"function"==typeof x&&x instanceof x&&"function"==typeof E&&E instanceof E||(v=!1)}return a.delete(e),a.delete(t),v}},521:(e,t,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},294:(e,t,r)=>{var n=r(1714),i=r(4868),o=r(2749);e.exports=function(e){return n(e,o,i)}},671:(e,t,r)=>{var n=r(1714),i=r(905),o=r(8530);e.exports=function(e){return n(e,o,i)}},9768:(e,t,r)=>{var n=r(5348);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},8676:(e,t,r)=>{var n=r(219),i=r(2749);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}},7791:(e,t,r)=>{var n=r(697),i=r(1430);e.exports=function(e,t){var r=i(e,t);return n(r)?r:void 0}},6180:(e,t,r)=>{var n=r(7318)(Object.getPrototypeOf,Object);e.exports=n},1693:(e,t,r)=>{var n=r(1658),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}},4868:(e,t,r)=>{var n=r(6493),i=r(7918),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},905:(e,t,r)=>{var n=r(9676),i=r(6180),o=r(4868),s=r(7918),a=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,o(e)),e=i(e);return t}:s;e.exports=a},6968:(e,t,r)=>{var n=r(8981),i=r(1063),o=r(3366),s=r(1538),a=r(4428),c=r(2085),u=r(8143),l="[object Map]",f="[object Promise]",p="[object Set]",h="[object WeakMap]",d="[object DataView]",v=u(n),b=u(i),y=u(o),g=u(s),m=u(a),x=c;(n&&x(new n(new ArrayBuffer(1)))!=d||i&&x(new i)!=l||o&&x(o.resolve())!=f||s&&x(new s)!=p||a&&x(new a)!=h)&&(x=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 b:return l;case y:return f;case g:return p;case m:return h}return t}),e.exports=x},1430:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},3587:(e,t,r)=>{var n=r(4853),i=r(7632),o=r(2615),s=r(5661),a=r(2413),c=r(9535);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))}},5264:(e,t,r)=>{var n=r(8179);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},6778:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},8861:(e,t,r)=>{var n=r(8179),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}},1867:(e,t,r)=>{var n=r(8179),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:i.call(t,e)}},9796:(e,t,r)=>{var n=r(8179);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}},1381: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}},8582:(e,t,r)=>{var n=r(9474),i=r(6341),o=r(2564),s=r(5676),a=r(5464);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]":return new c;case"[object Number]":case"[object String]":return new c(e);case"[object RegExp]":return o(e);case"[object Set]":return new c;case"[object Symbol]":return s(e)}}},2375:(e,t,r)=>{var n=r(7508),i=r(6180),o=r(1105);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:n(i(e))}},5143:(e,t,r)=>{var n=r(1658),i=r(7632),o=r(2615),s=n?n.isConcatSpreadable:void 0;e.exports=function(e){return o(e)||i(e)||!!(s&&e&&e[s])}},5661: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}},659:(e,t,r)=>{var n=r(4865),i=r(9174),o=r(5661),s=r(8603);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)}},6955:(e,t,r)=>{var n=r(2615),i=r(1365),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))}},5348:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},6481:(e,t,r)=>{var n,i=r(7037),o=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!o&&o in e}},1105:e=>{var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},219:(e,t,r)=>{var n=r(8603);e.exports=function(e){return e==e&&!n(e)}},5249:e=>{e.exports=function(){this.__data__=[],this.size=0}},4553:(e,t,r)=>{var n=r(2784),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)}},5104:(e,t,r)=>{var n=r(2784);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},17:(e,t,r)=>{var n=r(2784);e.exports=function(e){return n(this.__data__,e)>-1}},5117:(e,t,r)=>{var n=r(2784);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}},1409:(e,t,r)=>{var n=r(8031),i=r(8289),o=r(1063);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||i),string:new n}}},6231:(e,t,r)=>{var n=r(9768);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},1963:(e,t,r)=>{var n=r(9768);e.exports=function(e){return n(this,e).get(e)}},8810:(e,t,r)=>{var n=r(9768);e.exports=function(e){return n(this,e).has(e)}},4960:(e,t,r)=>{var n=r(9768);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}},5695:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}},7187:e=>{e.exports=function(e,t){return function(r){return null!=r&&(r[e]===t&&(void 0!==t||e in Object(r)))}}},7657:(e,t,r)=>{var n=r(5167);e.exports=function(e){var t=n(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}},8179:(e,t,r)=>{var n=r(7791)(Object,"create");e.exports=n},7762:(e,t,r)=>{var n=r(7318)(Object.keys,Object);e.exports=n},6383:e=>{e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},6282:(e,t,r)=>{e=r.nmd(e);var n=r(521),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},9191:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},7318:e=>{e.exports=function(e,t){return function(r){return e(t(r))}}},5112:(e,t,r)=>{var n=r(6797),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)}}},3478:(e,t,r)=>{var n=r(521),i="object"==typeof self&&self&&self.Object===Object&&self,o=n||i||Function("return this")();e.exports=o},7538:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},5377:e=>{e.exports=function(e){return this.__data__.has(e)}},1956:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},6618:(e,t,r)=>{var n=r(3389),i=r(7910)(n);e.exports=i},7910: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)}}},1849:(e,t,r)=>{var n=r(8289);e.exports=function(){this.__data__=new n,this.size=0}},9712:e=>{e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},3077:e=>{e.exports=function(e){return this.__data__.get(e)}},2930:e=>{e.exports=function(e){return this.__data__.has(e)}},5518:(e,t,r)=>{var n=r(8289),i=r(1063),o=r(6484);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}},6930: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}},1229:(e,t,r)=>{var n=r(7657),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},9535:(e,t,r)=>{var n=r(1365);e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}},8143: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""}},8202:(e,t,r)=>{var n=r(2615);e.exports=function(){if(!arguments.length)return[];var e=arguments[0];return n(e)?e:[e]}},4207:(e,t,r)=>{var n=r(7864);e.exports=function(e){return n(e,5)}},7578:e=>{e.exports=function(e){return function(){return e}}},4865:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},5472:(e,t,r)=>{var n=r(7614);e.exports=function(e,t,r){var i=null==e?void 0:n(e,t);return void 0===i?r:i}},2497:(e,t,r)=>{var n=r(508),i=r(3027),o=Object.prototype.hasOwnProperty,s=i((function(e,t,r){o.call(e,r)?e[r].push(t):n(e,r,[t])}));e.exports=s},4170:(e,t,r)=>{var n=r(9843),i=r(3587);e.exports=function(e,t){return null!=e&&i(e,t,n)}},672:e=>{e.exports=function(e){return e}},7632:(e,t,r)=>{var n=r(9618),i=r(9363),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},2615:e=>{var t=Array.isArray;e.exports=t},9174:(e,t,r)=>{var n=r(8911),i=r(2413);e.exports=function(e){return null!=e&&i(e.length)&&!n(e)}},28:(e,t,r)=>{e=r.nmd(e);var n=r(3478),i=r(8338),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},2164:(e,t,r)=>{var n=r(2706);e.exports=function(e,t){return n(e,t)}},8911:(e,t,r)=>{var n=r(2085),i=r(8603);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}},2413:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},8866:(e,t,r)=>{var n=r(7533),i=r(7888),o=r(6282),s=o&&o.isMap,a=s?i(s):n;e.exports=a},2452:(e,t,r)=>{var n=r(8116),i=r(8676);e.exports=function(e,t){return e===t||n(e,t,i(t))}},8603:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},9363:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},8523:(e,t,r)=>{var n=r(2085),i=r(6180),o=r(9363),s=Function.prototype,a=Object.prototype,c=s.toString,u=a.hasOwnProperty,l=c.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=n(e))return!1;var t=i(e);if(null===t)return!0;var r=u.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&c.call(r)==l}},6159:(e,t,r)=>{var n=r(6941),i=r(7888),o=r(6282),s=o&&o.isSet,a=s?i(s):n;e.exports=a},1365:(e,t,r)=>{var n=r(2085),i=r(9363);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==n(e)}},1653:(e,t,r)=>{var n=r(3677),i=r(7888),o=r(6282),s=o&&o.isTypedArray,a=s?i(s):n;e.exports=a},2749:(e,t,r)=>{var n=r(2932),i=r(8819),o=r(9174);e.exports=function(e){return o(e)?n(e):i(e)}},8530:(e,t,r)=>{var n=r(2932),i=r(2809),o=r(9174);e.exports=function(e){return o(e)?n(e,!0):i(e)}},7831:(e,t,r)=>{var n=r(508),i=r(4330),o=r(544);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}},5167:(e,t,r)=>{var n=r(6484);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},7021:e=>{e.exports=function(){}},4272:(e,t,r)=>{var n=r(5898),i=r(9916),o=r(6955),s=r(9535);e.exports=function(e){return o(e)?n(s(e)):i(e)}},3234:(e,t,r)=>{var n=r(745),i=r(840),o=r(1494),s=r(659),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},7918:e=>{e.exports=function(){return[]}},8338:e=>{e.exports=function(){return!1}},7115:(e,t,r)=>{var n=r(9134);e.exports=function(e){return null==e?"":n(e)}},6705:(e,t,r)=>{var n=r(2744);e.exports=function(e){return e&&e.length?n(e):[]}},9588:(e,t,r)=>{var n=r(7115),i=0;e.exports=function(e){var t=++i;return n(e)+t}},1781:(e,t,r)=>{e.exports=p,p.Minimatch=h;var n=function(){try{return r(4245)}catch(e){}}()||{sep:"/"};p.sep=n.sep;var i=p.GLOBSTAR=h.GLOBSTAR={},o=r(70),s={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},a="[^/]",c="[^/]*?",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,y=-1,g=-1,m="."===e.charAt(0)?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",x=this;function E(){if(n){switch(n){case"*":o+=c,l=!0;break;case"?":o+=a,l=!0;break;default:o+="\\"+n}x.debug("clearStateChar %j %j",n,o),n=!1}}for(var w,S=0,_=e.length;S<_&&(w=e.charAt(S));S++)if(this.debug("%s\t%s %s %j",e,S,o,w),f&&u[w])o+="\\"+w,f=!1;else switch(w){case"/":return!1;case"\\":E(),f=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",e,S,o,w),d){this.debug(" in class"),"!"===w&&S===g+1&&(w="^"),o+=w;continue}x.debug("call clearStateChar %j",n),E(),n=w,r.noext&&E();continue;case"(":if(d){o+="(";continue}if(!n){o+="\\(";continue}p.push({type:n,start:S-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}E(),l=!0;var O=p.pop();o+=O.close,"!"===O.type&&h.push(O),O.reEnd=o.length;continue;case"|":if(d||!p.length||f){o+="\\|",f=!1;continue}E(),o+="|";continue;case"[":if(E(),d){o+="\\"+w;continue}d=!0,g=S,y=o.length,o+=w;continue;case"]":if(S===g+1||!d){o+="\\"+w,f=!1;continue}var T=e.substring(g+1,S);try{RegExp("["+T+"]")}catch(e){var A=this.parse(T,b);o=o.substr(0,y)+"\\["+A[0]+"\\]",l=l||A[1],d=!1;continue}l=!0,d=!1,o+=w;continue;default:E(),f?f=!1:!u[w]||"^"===w&&d||(o+="\\"),o+=w}d&&(T=e.substr(g+1),A=this.parse(T,b),o=o.substr(0,y)+"\\["+A[0],l=l||A[1]);for(O=p.pop();O;O=p.pop()){var P=o.slice(O.reStart+O.open.length);this.debug("setting tail",o,O),P=P.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(e,t,r){return r||(r="\\"),t+t+r+"|"})),this.debug("tail=%j\n %s",P,P,O,o);var C="*"===O.type?c:"?"===O.type?a:"\\"+O.type;l=!0,o=o.slice(0,O.reStart)+C+"\\("+P}E(),f&&(o+="\\\\");var I=!1;switch(o.charAt(0)){case"[":case".":case"(":I=!0}for(var R=h.length-1;R>-1;R--){var N=h[R],L=o.slice(0,N.reStart),j=o.slice(N.reStart,N.reEnd-8),D=o.slice(N.reEnd-8,N.reEnd),M=o.slice(N.reEnd);D+=M;var U=L.split("(").length-1,k=M;for(S=0;S<U;S++)k=k.replace(/\)[+*?]?/,"");var G="";""===(M=k)&&t!==b&&(G="$"),o=L+j+M+G+D}""!==o&&l&&(o="(?=.)"+o);I&&(o=m+o);if(t===b)return[o,l];if(!l)return function(e){return e.replace(/\\(.)/g,"$1")}(e);var F=r.nocase?"i":"";try{var B=new RegExp("^"+o+"$",F)}catch(e){return new RegExp("$.")}return B._glob=e,B._src=o,B};var b={};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?")}},4245:(e,t,r)=>{"use strict";var n=r(6591);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},6591: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}},518: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])})(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(5146).Subscriber);t.InnerSubscriber=o},3621:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(8445),i=r(7859),o=r(8516),s=r(6581),a=r(1279),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},1804:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1279),i=r(6137);t.empty={closed:!0,next:function(e){},error:function(e){if(n.config.useDeprecatedSynchronousErrorHandling)throw e;i.hostReportError(e)},complete:function(){}}},6451: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])})(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(5146).Subscriber);t.OuterSubscriber=o},5146: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])})(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(7261),s=r(1804),a=r(1786),c=r(2372),u=r(1279),l=r(6137),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},1786:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(9235),i=r(2030),o=r(7261),s=r(2618),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},1279:(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}}},8186:(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},8516:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"},2372:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rxSubscriber="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),t.$$rxSubscriber=t.rxSubscriber},2618:(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},8445:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5146);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}},6137:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hostReportError=function(e){setTimeout((function(){throw e}),0)}},5082:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.identity=function(e){return e}},9235:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArray=Array.isArray||function(e){return e&&"number"==typeof e.length}},8975:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArrayLike=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},7261:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFunction=function(e){return"function"==typeof e}},2030:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isObject=function(e){return null!==e&&"object"==typeof e}},4328:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPromise=function(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}},6581:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5082);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},9346:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2723),i=r(6386),o=r(5983),s=r(6588),a=r(8975),c=r(4328),u=r(2030),l=r(8186),f=r(8516);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.")}},2723:(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()}}},5983:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(8186);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}}},6588:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(8516);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)}}},6386:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(6137);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}}},5478:(e,t,r)=>{"use strict";var n=r(518),i=r(9346),o=r(3621);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)}},7859:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5146),i=r(2372),o=r(1804);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(942);r.n(e)()({usePolyfill:["URL","URLSearchParams"]});r(5287),r(9227),r(8328),r(2588);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])})(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 b(o,r));break}default:o.syncErrorThrowable=!0,o.destination=new b(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),b=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 y=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}();function g(e){return e}function m(e){return 0===e.length?g:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}var x=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=E(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[y]=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:m(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=E(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 E(e){if(e||(e=s.Promise||Promise),!e)throw new Error("no Promise impl found");return e}function w(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 S(e,t))}}var S=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new _(e,this.project,this.thisArg))},e}(),_=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 O(e,t,r,n){return i(r)&&(n=r,r=void 0),n?O(e,t,r).pipe(w((function(e){return u(e)?n.apply(void 0,e):n(e)}))):new x((function(n){T(e,t,(function(e){arguments.length>1?n.next(Array.prototype.slice.call(arguments)):n.next(e)}),n,r)}))}function T(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++)T(e[u],t,r,n,i)}n.add(o)}var A=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}(),P=new x((function(e){return e.complete()}));function C(e){return e?function(e){return new x((function(t){return e.schedule((function(){return t.complete()}))}))}(e):P}function I(e){return function(t){return 0===e?C():t.lift(new R(e))}}var R=function(){function e(e){if(this.total=e,this.total<0)throw new A}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 L=e=>t=>t===e,j=e=>t=>!e(t),D=e=>t=>e in t,M=(e,t)=>r=>t(r[e]);function U(...e){return t=>e.every((e=>e(t)))}var k=r(8603),G=r.n(k);const F=e=>G()(e)&&D("addEventListener")(e)&&D("removeEventListener")(e)&&D("postMessage")(e)&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener&&"function"==typeof e.postMessage;var B=r(2452),V=r.n(B);const H=Symbol("Comlink.proxy"),$=Symbol("Comlink.endpoint"),W=Symbol("Comlink.releaseProxy"),z=Symbol("Comlink.thrown"),Y=e=>"object"==typeof e&&null!==e||"function"==typeof e,J=new Map([["proxy",{canHandle:e=>Y(e)&&e[H],serialize(e){const{port1:t,port2:r}=new MessageChannel;return q(e,t),[r,[r]]},deserialize:e=>(e.start(),Q(e))}],["throw",{canHandle:e=>Y(e)&&z 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 q(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(ie);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]]=ie(n.data.value),c=!0;break;case 2:c=r.apply(t,a);break;case 3:c=re(new r(...a));break;case 4:{const{port1:t,port2:r}=new MessageChannel;q(e,r),c=function(e,t){return te.set(e,t),e}(t,[t])}break;case 5:c=void 0}}catch(e){c={value:e,[z]:0}}Promise.resolve(c).catch((e=>({value:e,[z]:0}))).then((e=>{const[n,s]=ne(e);t.postMessage(Object.assign(Object.assign({},n),{id:i}),s),5===o&&(t.removeEventListener("message",r),K(t))}))})),t.start&&t.start()}function K(e){(function(e){return"MessagePort"===e.constructor.name})(e)&&e.close()}function Q(e,t){return Z(e,[],t)}function X(e){if(e)throw new Error("Proxy has been released and is not useable")}function Z(e,t=[],r=function(){}){let n=!1;const i=new Proxy(r,{get(r,o){if(X(n),o===W)return()=>oe(e,{type:5,path:t.map((e=>e.toString()))}).then((()=>{K(e),n=!0}));if("then"===o){if(0===t.length)return{then:()=>i};const r=oe(e,{type:0,path:t.map((e=>e.toString()))}).then(ie);return r.then.bind(r)}return Z(e,[...t,o])},set(r,i,o){X(n);const[s,a]=ne(o);return oe(e,{type:1,path:[...t,i].map((e=>e.toString())),value:s},a).then(ie)},apply(r,i,o){X(n);const s=t[t.length-1];if(s===$)return oe(e,{type:4}).then(ie);if("bind"===s)return Z(e,t.slice(0,-1));const[a,c]=ee(o);return oe(e,{type:2,path:t.map((e=>e.toString())),argumentList:a},c).then(ie)},construct(r,i){X(n);const[o,s]=ee(i);return oe(e,{type:3,path:t.map((e=>e.toString())),argumentList:o},s).then(ie)}});return i}function ee(e){const t=e.map(ne);return[t.map((e=>e[0])),(r=t.map((e=>e[1])),Array.prototype.concat.apply([],r))];var r}const te=new WeakMap;function re(e){return Object.assign(e,{[H]:!0})}function ne(e){for(const[t,r]of J)if(r.canHandle(e)){const[n,i]=r.serialize(e);return[{type:3,name:t,value:n},i]}return[{type:0,value:e},te.get(e)||[]]}function ie(e){switch(e.type){case 3:return J.get(e.name).deserialize(e.value);case 0:return e.value}}function oe(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 se=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}(),ae=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),ce=function(e){function t(t){var r=e.call(this,t)||this;return r.destination=t,r}return n(t,e),t}(v),ue=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 ce(this)},t.prototype.lift=function(e){var t=new le(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new se;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 se;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 se;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 se;return e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){if(this.closed)throw new se;return this.hasError?(e.error(this.thrownError),p.EMPTY):this.isStopped?(e.complete(),p.EMPTY):(this.observers.push(e),new ae(this,e))},t.prototype.asObservable=function(){var e=new x;return e.source=this,e},t.create=function(e,t){return new le(e,t)},t}(x),le=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}(ue),fe=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)),pe=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}(fe),he=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}(),de=function(e){function t(r,n){void 0===n&&(n=he.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}(he),ve=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t}(de))(pe);function be(e){return e&&"function"==typeof e.schedule}var ye,ge=function(e){return function(t){for(var r=0,n=e.length;r<n&&!t.closed;r++)t.next(e[r]);t.complete()}};function me(e,t){return new x((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 xe(e,t){return t?me(e,t):new x(ge(e))}function Ee(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[e.length-1];return be(r)?(e.pop(),me(e,r)):xe(e)}function we(e,t){return new x(t?function(r){return t.schedule(Se,0,{error:e,subscriber:r})}:function(t){return t.error(e)})}function Se(e){var t=e.error;e.subscriber.error(t)}ye||(ye={});var _e=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 Ee(this.value);case"E":return we(this.error);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 Oe=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 Te(e,this.destination)))},t.prototype._next=function(e){this.scheduleMessage(_e.createNext(e))},t.prototype._error=function(e){this.scheduleMessage(_e.createError(e)),this.unsubscribe()},t.prototype._complete=function(){this.scheduleMessage(_e.createComplete()),this.unsubscribe()},t}(v),Te=function(){return function(e,t){this.notification=e,this.destination=t}}(),Ae=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 Pe(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 se;if(this.isStopped||this.hasError?t=p.EMPTY:(this.observers.push(e),t=new ae(this,e)),i&&e.add(e=new Oe(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||ve).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}(ue),Pe=function(){return function(e,t){this.time=e,this.value=t}}();const Ce=e=>"object"==typeof e&&null!==e&&("stack"in e||"message"in e)&&!("__typename"in e),Ie=e=>e instanceof Error?e:Ce(e)?Object.assign(new Error(e.message),e):new Error(String(e));class Re extends Error{name="AbortError";message="Aborted"}const Ne=e=>"object"==typeof e&&null!==e&&D("href")(e)&&D("toString")(e)&&"function"==typeof e.toString&&e.href===e.toString();const Le=e=>new p((async()=>{const t=await e;await t.unsubscribe(),"function"==typeof t[W]&&t[W]()})),je=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 se;return this._value},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(ue),Me=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 ke(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var Ge=ke(),Fe=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function Be(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}var Ve=function(e){if(e&&"function"==typeof e[y])return n=e,function(e){var t=n[y]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(Fe(e))return ge(e);if(Be(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[Ge])return t=e,function(e){for(var r=t[Ge]();;){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 He(e,t,r,n,i){if(void 0===i&&(i=new Ue(e,r,n)),!i.closed)return t instanceof x?t.subscribe(i):Ve(t)(i)}var $e={};function We(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=void 0,n=void 0;return be(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]),xe(e,n).lift(new ze(r))}var ze=function(){function e(e){this.resultSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new Ye(e,this.resultSelector))},e}(),Ye=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($e),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(He(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===$e?--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}(Me);function Je(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[y]}(e))return function(e,t){return new x((function(r){var n=new p;return n.add(t.schedule((function(){var i=e[y]();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(Be(e))return function(e,t){return new x((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 me(e,t);if(function(e){return e&&"function"==typeof e[Ge]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new x((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[Ge](),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 qe(e,t){return t?Je(e,t):e instanceof x?e:new x(Ve(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 Qe(e,t){return function(r){return r.lift(new Xe(e,t))}}var Xe=function(){function e(e,t){this.predicate=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new Ze(e,this.predicate,this.thisArg))},e}(),Ze=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 et(e){return void 0===e&&(e=null),function(t){return t.lift(new tt(e))}}var tt=function(){function e(e){this.defaultValue=e}return e.prototype.call=function(e,t){return t.subscribe(new rt(e,this.defaultValue))},e}(),rt=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 nt(e){return void 0===e&&(e=st),function(t){return t.lift(new it(e))}}var it=function(){function e(e){this.errorFactory=e}return e.prototype.call=function(e,t){return t.subscribe(new ot(e,this.errorFactory))},e}(),ot=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 st(){return new Ke}function at(e,t){var r=arguments.length>=2;return function(n){return n.pipe(e?Qe((function(t,r){return e(t,r,n)})):g,I(1),r?et(t):nt((function(){return new Ke})))}}var ct=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),ut=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 lt(e,t){if(!t.closed){if(e instanceof x)return e.subscribe(t);var r;try{r=Ve(e)(t)}catch(e){t.error(e)}return r}}function ft(e,t){return"function"==typeof t?function(r){return r.pipe(ft((function(r,n){return qe(e(r,n)).pipe(w((function(e,i){return t(r,e,n,i)})))})))}:function(t){return t.lift(new pt(e))}}var pt=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new ht(e,this.project))},e}(),ht=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 ct(this),n=this.destination;n.add(r),this.innerSubscription=lt(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}(ut);function dt(){}function vt(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 yt(e,this.nextOrObserver,this.error,this.complete))},e}(),yt=function(e){function t(t,r,n,o){var s=e.call(this,t)||this;return s._tapNext=dt,s._tapError=dt,s._tapComplete=dt,s._tapError=n||dt,s._tapComplete=o||dt,i(r)?(s._context=s,s._tapNext=r):r&&(s._context=r,s._tapNext=r.next||dt,s._tapError=r.error||dt,s._tapComplete=r.complete||dt),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 gt(e,t){return function(r){return r.lift(new mt(e,t))}}var mt=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 Et(e,t,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),"function"==typeof t?function(n){return n.pipe(Et((function(r,n){return qe(e(r,n)).pipe(w((function(e,i){return t(r,e,n,i)})))}),r))}:("number"==typeof t&&(r=t),function(t){return t.lift(new wt(e,r))})}var wt=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 St(e,this.project,this.concurrent))},e}(),St=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 ct(this),r=this.destination;r.add(t);var n=lt(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}(ut);function _t(e){return function(t){var r=new Ot(e),n=t.lift(r);return r.caught=n}}var Ot=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new Tt(e,this.selector,this.caught))},e}(),Tt=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 ct(this);this.add(n);var i=lt(r,n);i!==n&&this.add(i)}},t}(ut);function At(){return function(e){return e.lift(new Pt(e))}}var Pt=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var r=this.connectable;r._refCount++;var n=new Ct(e,r),i=t.subscribe(n);return n.closed||(n.connection=r.connect()),i},e}(),Ct=function(e){function t(t,r){var n=e.call(this,t)||this;return n.connectable=r,n}return n(t,e),t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var r=this.connection,n=e._connection;this.connection=null,!n||r&&n!==r||n.unsubscribe()}}else this.connection=null},t}(v),It=function(e){function t(t,r){var n=e.call(this)||this;return n.source=t,n.subjectFactory=r,n._refCount=0,n._isComplete=!1,n}return n(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new p).add(this.source.subscribe(new Nt(this.getSubject(),this))),e.closed&&(this._connection=null,e=p.EMPTY)),e},t.prototype.refCount=function(){return At()(this)},t}(x),Rt=function(){var e=It.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}}(),Nt=function(e){function t(t,r){var n=e.call(this,t)||this;return n.connectable=r,n}return n(t,e),t.prototype._error=function(t){this._unsubscribe(),e.prototype._error.call(this,t)},t.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},t}(ce);var Lt=function(){function e(e,t){this.subjectFactory=e,this.selector=t}return e.prototype.call=function(e,t){var r=this.selector,n=this.subjectFactory(),i=r(n).subscribe(e);return i.add(t.subscribe(n)),i},e}();function jt(e,t,r,n){r&&"function"!=typeof r&&(n=r);var i="function"==typeof r?r:void 0,o=new Ae(e,t,n);return function(e){return function(e,t){return function(r){var n;if(n="function"==typeof e?e:function(){return e},"function"==typeof t)return r.lift(new Lt(n,t));var i=Object.create(r,Rt);return i.source=r,i.subjectFactory=n,i}}((function(){return o}),i)(e)}}let Dt=0;r(8523);new Set(["blue","yellow","orange","pink","red","purple","green","grey"]);new Set(["sourcegraph/code-stats-insights","sourcegraph/search-insights"]);function Mt(e,t){if(!Ce(e.subjects)&&e.subjects){const r=e.subjects.find((e=>e.subject.__typename===t));if(r&&!Ce(r.settings))return r.settings?.extensions}}var Ut=r(7021),kt=r.n(Ut);class Gt extends p{constructor(e){super((()=>{e[W]()}))}}const Ft=(e,t)=>{const r=new p;t&&t.add(r);const n=qe(je(e)?e:Promise.resolve(e)).pipe(Et((e=>(r.add(new Gt(e)),{[y](){return this},subscribe(...t){let r;if("function"==typeof t[0])r={[H]:!0,next:t[0]||kt(),error:t[1]?e=>t[1](Ie(e)):kt(),complete:t[2]||kt()};else{const e=t[0]||{};r={[H]:!0,next:e.next?t=>e.next(t):kt(),error:e.error?t=>e.error(Ie(t)):kt(),complete:e.complete?()=>e.complete():kt()}}return Le(e.subscribe(r))}}))));return Object.assign(n,{proxySubscription:r})};var Bt=r(7831),Vt=r.n(Bt);let Ht;!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"}(Ht||(Ht={}));const $t={"&":{"&":!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 Wt(e){return"\t"===e||" "===e||"\xa0"===e}function zt(e){return e>="0"&&e<="9"}function Yt(e){return"_"===e||function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"}(e)}function Jt(e){return Yt(e)||zt(e)||"."===e}class qt{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(!Wt(this.peekNextChar()))break;this.getNextChar()}}scanOperator(){let e=$t,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(Ht.Operator,t)}scanIdentifier(){let e=this.peekNextChar();if(!Yt(e))return;let t=this.getNextChar();for(;e=this.peekNextChar(),Jt(e);)t+=this.getNextChar();return this.createToken(Ht.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?Qt(this.getNextChar()):n}if(!t)throw new Error(`Unterminated string literal (at ${this.index})`);return this.createToken(Ht.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+=Qt(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?Ht.NoSubstitutionTemplate:e?Ht.TemplateHead:r?Ht.TemplateTail:Ht.TemplateMiddle,this.createToken(t,o)}scanNumber(){let e=this.peekNextChar();if(!zt(e)&&"."!==e)return;let t="";if("."!==e)for(t=this.getNextChar();e=this.peekNextChar(),zt(e);)t+=this.getNextChar();if("."===e)for(t+=this.getNextChar();e=this.peekNextChar(),zt(e);)t+=this.getNextChar();if("e"===e||"E"===e){if(t+=this.getNextChar(),e=this.peekNextChar(),"+"!==e&&"-"!==e&&!zt(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(),zt(e);)t+=this.getNextChar()}if("."===t)throw new SyntaxError(`Expected decimal digits after the dot sign (at ${this.index})`);return this.createToken(Ht.Number,t)}}class Kt extends qt{next(){return 0===this._index?this.doScanTemplate(!0):super.next()}backtick(){return 0!==this.curlyStack}}function Qt(e){switch(e){case"n":return"\n";case"r":return"\r";case"t":return"\t";default:return e}}class Xt{parse(e){this.lexer||(this.lexer=new qt),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(!er(this.lexer.peek(),","))break;this.lexer.next()}return e}parseFunctionCall(e){let t=this.lexer.next();if(!er(t,"("))throw new SyntaxError(`Expected "(" in function call ${JSON.stringify(e)} (at ${this.lexer.index})`);t=this.lexer.peek();const r=er(t,")")?[]:this.parseArgumentList();if(t=this.lexer.next(),!er(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===Ht.TemplateTail){t.value&&e.push({Literal:{type:Ht.String,value:t.value}}),this.lexer.next();break}er(t,"}")?this.lexer.next():t.type===Ht.TemplateMiddle?(t.value&&e.push({Literal:{type:Ht.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===Ht.NoSubstitutionTemplate)return this.lexer.next(),{Literal:{type:Ht.String,value:e.value}};if(e.type===Ht.TemplateHead||e.type===Ht.TemplateMiddle){this.lexer.next();const t=this.parseTemplateParts();return e.value&&t.unshift({Literal:{type:Ht.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===Ht.Identifier)return this.lexer.next(),er(this.lexer.peek(),"(")?this.parseFunctionCall(e.value):{Identifier:e.value};if(e.type===Ht.String||e.type===Ht.Number)return this.lexer.next(),{Literal:{type:e.type,value:e.value}};if(e.type===Ht.NoSubstitutionTemplate||e.type===Ht.TemplateHead||e.type===Ht.TemplateMiddle)return this.parseTemplate();if(er(e,"(")){this.lexer.next();const e=this.parseAdditive();if(!er(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&&(er(e,"-")||er(e,"+")||er(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&&(er(t,"*")||er(t,"/")||er(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&&(er(t,"+")||er(t,"-")||er(t,"==")||er(t,"!=")||er(t,"===")||er(t,"!==")||er(t,"<")||er(t,">")||er(t,"<=")||er(t,">=")||er(t,"&&")||er(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 Zt extends Xt{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 er(e,t){return void 0!==e&&e.type===Ht.Operator&&e.value===t}class tr{constructor(e){this.root=e}exec(e){return sr(this.root,e)}}class rr extends tr{}function nr(e){return new tr((new Xt).parse(e))}function ir(e){return new rr((new Zt).parse(e))}const or={get:(e,t)=>e?.[t]??void 0,json:e=>JSON.stringify(e),sub:(e,t,r)=>e.replaceAll(t,r)};function sr(e,t){if("Literal"in e)switch(e.Literal.type){case Ht.String:return e.Literal.value;case Ht.Number:return parseFloat(e.Literal.value);default:throw new SyntaxError(`Unrecognized literal of type ${Ht[e.Literal.type]}`)}if("Template"in e){const r=[];for(const n of e.Template.parts)r.push(sr(n,t));return r.join("")}if("Binary"in e){const r=sr(e.Binary.left,t),n=()=>sr(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=sr(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=or[r.name];if("function"==typeof n){return n(...r.args.map((e=>sr(e,t))))}throw new SyntaxError(`Undefined function: ${r.name}`)}throw new SyntaxError("Unrecognized syntax node")}function ar(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 cr(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 tr?t.exec(e):t))})))}function ur(e){return{...e,menus:e.menus&&Vt()(e.menus,(e=>e?.map((e=>({...e,when:"string"==typeof e.when?nr(e.when):void 0,disabledWhen:"string"==typeof e.disabledWhen?nr(e.disabledWhen):void 0}))))),actions:e&&(t=e.actions,t?.map((e=>({...e,title:lr(e.title,ir),disabledTitle:lr(e.disabledTitle,ir),category:lr(e.category,ir),description:lr(e.description,ir),iconURL:lr(e.iconURL,ir),actionItem:e.actionItem&&{...e.actionItem,label:lr(e.actionItem.label,ir),description:lr(e.actionItem.description,ir),iconURL:lr(e.actionItem.iconURL,ir),iconDescription:lr(e.actionItem.iconDescription,ir),pressed:lr(e.actionItem.pressed,(e=>nr(e)))},commandArguments:e.commandArguments?.map((e=>"string"==typeof e?ir(e):e))}))))};var t}const lr=(e,t)=>void 0===e?void 0:t(e);function fr(e,t){const r=new De(new Set),n=t.pipe(at((e=>e)),ft((()=>Ft(e.getEnabledExtensions())))),i=new Set;return{activeLanguages:r,activeExtensions:We([r,n]).pipe(vt((([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 t?console.warn(`Extension ${e.id} has been renamed to sourcegraph/${t[1]}. It's safe to remove ${e.id} from your settings.`):console.warn(`Extension ${e.id} was not found. Remove it from settings to suppress this warning.`),!1}return Ce(e.manifest)?(console.warn(e.manifest),!1):e.manifest.activationEvents?e.manifest.activationEvents.some((e=>"*"===e||r.has(e))):(console.warn(`Extension ${e.id} has no activation events, so it will never be activated.`),!1)}catch(e){console.error(e)}return!1}))}(t,e);for(const e of r)i.has(e.id)||i.add(e.id)})),w((([,e])=>e?e.filter((e=>i.has(e.id))):[])),gt(((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))))}}const pr=new Set(["sourcegraph/code-stats-insights","sourcegraph/search-insights"]);function hr(e,t,r,n,i=vr,o=br){const s=function(e,t){const r=new Map;let n=Dt;return(i,o=!1)=>{n<Dt&&(r.clear(),n=Dt);const s=t(i),a=r.get(s);if(!o&&a)return a;const c=e(i).pipe(jt(),At(),vt({error:()=>{r.delete(s)}}));return r.set(s,c),c}}((()=>n.pipe(at((e=>e)),ft((()=>qe(t.getScriptURLForExtension()).pipe(w((e=>function(t){return e?e(t):Promise.resolve(t)}))))))),(()=>"getScriptURL")),a=new Set,c=new Map,u=new Map;var l,f;return We([e.activeExtensions,s(null)]).pipe((l=([n,s])=>{const l=new Set,f=new Map,p=new Set;for(const e of n)pr.has(e.id)||(p.add(e.id),a.has(e.id)||f.set(e.id,e));for(const e of a)p.has(e)||l.add(e);return qe(s([...f.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(Ce(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)))).then((e=>({toActivate:[...f.values()].map(((t,r)=>({id:t.id,manifest:t.manifest,scriptURL:e[r]}))).filter((e=>"string"==typeof e.scriptURL)),toDeactivate:l})))).pipe(vt((({toActivate:e})=>{for(const t of e)if(t.manifest&&!Ce(t.manifest)&&t.manifest.contributes){const e=ur(t.manifest.contributes);c.set(t.id,e),u.set(t.id,e)}})),w((({toActivate:n,toDeactivate:s})=>{const a=Mt(e.settings.value,"DefaultSettings")||{};return qe(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){console.error(`Fail to log ExtensionActivation event for extension ${e}:`,Ie(t))}return console.log(`Activating Sourcegraph extension: ${e}`),i(e,n,r).catch((t=>console.error(`Error activating extension ${e}:`,Ie(t))))})),[...s].map((e=>o(e).catch((t=>console.error(`Error deactivating extension ${e}:`,Ie(t))))))]))})),w((()=>({activated:f,deactivated:l}))),_t((e=>(console.error("Uncaught error during extension activation",e),[]))))},Et(l,f,1))).subscribe((({activated:t,deactivated:r})=>{const n=[...r].map((e=>c.get(e))).filter(Boolean);for(const e of r)a.delete(e),c.delete(e);for(const[e]of t)a.add(e);u.size>0&&(e.contributions.next([...e.contributions.value,...u.values()]),u.clear()),n.length>0&&e.contributions.next(e.contributions.value.filter((e=>!n.includes(e)))),!1===e.haveInitialExtensionsLoaded.value&&e.haveInitialExtensionsLoaded.next(!0)}))}const dr=new Map;async function vr(e,t,r){try{yr(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;dr.set(e,(async()=>{try{o&&await Promise.resolve(o())}finally{i.unsubscribe()}})),await(async e=>e())((()=>n.activate({subscriptions:i}))).catch((t=>{throw t=Ie(t),Object.assign(new Error(`error during extension ${JSON.stringify(e)} activate function: ${String(t.stack||t)}`),{error:t})}))}async function br(e){const t=dr.get(e);t&&(dr.delete(e),await Promise.resolve(t()))}function yr(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 gr(e){return e.settings.pipe(w((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 mr=r(3234),xr=r.n(mr);function Er(e){return function(t){return t.lift(new wr(e))}}var wr=function(){function e(e){this.value=e}return e.prototype.call=function(e,t){return t.subscribe(new Sr(e,this.value))},e}(),Sr=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),_r=new de(fe);function Or(e,t){return void 0===t&&(t=_r),function(r){return r.lift(new Tr(e,t))}}var Tr=function(){function e(e,t){this.dueTime=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new Ar(e,this.dueTime,this.scheduler))},e}(),Ar=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(Pr,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 Pr(e){e.debouncedNext()}var Cr=r(8838),Ir=r(9588),Rr=r.n(Ir),Nr=r(2164),Lr=r.n(Nr);const jr=()=>({key:Rr()("TextDocumentDecorationType")});function Dr(e){const t="object"==typeof e&&null!==e&&D("after")(e)&&e.after&&"object"==typeof e.after&&D("contentText")(e.after)&&"string"==typeof e.after.contentText,r="object"==typeof e&&null!==e&&D("meter")(e)&&e.meter&&"object"==typeof e.meter&&D("value")(e.meter)&&"number"==typeof e.meter.value;if(!t&&!r)return!1;return!("object"==typeof e&&null!==e&&D("after")(e)&&e.after&&"object"==typeof e.after&&D("contentText")(e.after)&&"object"==typeof e.after.contentText)}const Mr=()=>({key:Rr()("StatusBarItemType")}),Ur=jr();class kr{[H]=!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}_decorationsByType=new Map;_mergedDecorations=new De([]);get mergedDecorations(){return this._mergedDecorations}setDecorations(e,t){e=e||Ur,this._decorationsByType.set(e,t.map(Vr)),this._mergedDecorations.next([...this._decorationsByType.values()].flat().filter((e=>!Fr(e))))}_statusBarItemsByType=new Map;_mergedStatusBarItems=new De([]);get mergedStatusBarItems(){return this._mergedStatusBarItems}setStatusBarItem(e,t){this._statusBarItemsByType.set(e,{...t,...e}),this._mergedStatusBarItems.next([...this._statusBarItemsByType.values()].flat().filter((e=>Br(e))))}update(e){const t=e.selections.map((e=>Cr.Selection.fromPlain(e)));Lr()(t,this.selections)||this.selectionsChanges.next(t)}toJSON(){return{type:this.type,document:this.document}}}const Gr=e=>Array.isArray(e)?e.every(Gr):"object"==typeof e&&null!==e?Object.values(e).every(Gr):!e,Fr=({range:e,isWholeLine:t,...r})=>Gr(r),Br=({key:e,text:t})=>!!e&&!!t;function Vr(e){return{...e,range:e.range.toJSON()}}var Hr=r(672),$r=r.n(Hr);const Wr=e=>({[H]:!0,subscribe:t=>re(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 zr(e,t=$r()){let r;var n,i,o;return r=e&&(je(e)||(o=e)&&(o instanceof x||"function"==typeof o.lift&&"function"==typeof o.subscribe)||"object"==typeof(i=e)&&null!==i&&D("subscribe")(i)&&"function"==typeof i.subscribe)?qe(e).pipe(w(t)):(e=>"object"==typeof e&&null!==e&&"function"==typeof e[Symbol.asyncIterator])(e)?(n=e,new x((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 Re).catch((()=>{}))}}))).pipe(w(t)):Ee(t(e)),r}const Yr={Text:"text",Read:"read",Write:"write"};var Jr=r(2497),qr=r.n(Jr),Kr=r(8202),Qr=r.n(Kr);function Xr(){return void 0===(e=1)&&(e=Number.POSITIVE_INFINITY),Et(g,e);var e}function Zr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Xr()(Ee.apply(void 0,e))}const en="loading";var tn=function(){function e(e){this.resultSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new rn(e,this.resultSelector))},e}(),rn=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 on(e)):"function"==typeof e[Ge]?t.push(new nn(e[Ge]())):t.push(new sn(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),nn=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}(),on=function(){function e(e){this.array=e,this.index=0,this.length=0,this.length=e.length}return e.prototype[Ge]=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}(),sn=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[Ge]=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 lt(this.observable,new ct(this))},t}(ut),an=1,cn=function(){return Promise.resolve()}(),un={};function ln(e){return e in un&&(delete un[e],!0)}var fn=function(e){var t=an++;return un[t]=!0,cn.then((function(){return ln(t)&&e()})),t},pn=function(e){ln(e)},hn=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=fn(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&&(pn(r),t.scheduled=void 0)},t}(fe),dn=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}(de))(hn),vn=r(3621),bn=r(6451),yn=r(2723),gn=r(5478);function mn(e,t){switch(e.length){case 0:return Ee([]);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(),xe(e,void 0).lift(new tn(r))}(...e);default:return new vn.Observable((0,yn.subscribeToArray)(e)).lift(new xn(t))}}class xn{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new En(e,this.defaultValue))}}class En extends bn.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,gn.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,dn.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 wn=e=>null!=e;var Sn=r(4245);function _n(e){const t=(0,Sn.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"repro";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"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"yml":case"yaml":return"yaml";default:return}}(r)||"plaintext"}var On=r(6705);const Tn=["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"],An=r.n(On)()(Tn.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"])),Pn=[{name:"repo"},{name:"file",fields:[{name:"directory"},{name:"path"}]},{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=(e,t)=>{if(t<0)return[];const r=[];for(const n of e)r.push(`${n.name}`),n.fields&&r.push(...Cn(n.fields,t-1).map((e=>`${n.name}.`+e)));return r};let In,Rn;!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"}(In||(In={})),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"}(Rn||(Rn={}));const Nn=[...Object.keys(In),...Object.keys(Rn)];let Ln;!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"}(Ln||(Ln={}));Object.values(Ln),In.author,In.committer,In.content,In.file,In.file,In.file,In.lang,In.lang,In.lang,In.message,In.repo,In.repo,In.repohasfile;const jn=[{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}];In.after,In.archived,In.author,In.before,In.case,In.committer,In.content,In.context,In.count,In.file,In.fork,In.lang,In.message,In.patterntype,In.repo,In.repohascommitafter,In.repohasfile,In.rev,In.select,In.timeout,In.type,In.visibility;function Dn(e){const t={label:e};return/\s/.test(e)&&(t.insertText=`"${e}"`),t}let Mn,Un,kn,Gn,Fn,Bn,Vn,Hn,$n,Wn,zn,Yn,Jn,qn,Kn,Qn,Xn,Zn,ei,ti,ri,ni,ii,oi,si,ai,ci,ui,li,fi,pi,hi,di,vi,bi,yi,gi,mi,xi,Ei,wi,Si,_i,Oi,Ti,Ai,Pi,Ci,Ii,Ri,Ni,Li,ji,Di,Mi,Ui,ki,Gi,Fi;!function(e){e.READ="READ"}(Mn||(Mn={})),function(e){e.UNPUBLISHED="UNPUBLISHED",e.PUBLISHED="PUBLISHED"}(Un||(Un={})),function(e){e.SCHEDULED="SCHEDULED",e.QUEUED="QUEUED",e.PROCESSING="PROCESSING",e.ERRORED="ERRORED",e.FAILED="FAILED",e.COMPLETED="COMPLETED"}(kn||(kn={})),function(e){e.DRAFT="DRAFT",e.OPEN="OPEN",e.CLOSED="CLOSED",e.MERGED="MERGED",e.READONLY="READONLY",e.DELETED="DELETED"}(Gn||(Gn={})),function(e){e.APPROVED="APPROVED",e.CHANGES_REQUESTED="CHANGES_REQUESTED",e.PENDING="PENDING",e.COMMENTED="COMMENTED",e.DISMISSED="DISMISSED"}(Fn||(Fn={})),function(e){e.PENDING="PENDING",e.PASSED="PASSED",e.FAILED="FAILED"}(Bn||(Bn={})),function(e){e.UNPUBLISHED="UNPUBLISHED",e.FAILED="FAILED",e.RETRYING="RETRYING",e.SCHEDULED="SCHEDULED",e.PROCESSING="PROCESSING",e.OPEN="OPEN",e.DRAFT="DRAFT",e.CLOSED="CLOSED",e.MERGED="MERGED",e.READONLY="READONLY",e.DELETED="DELETED"}(Vn||(Vn={})),function(e){e.PUSH="PUSH",e.UPDATE="UPDATE",e.UNDRAFT="UNDRAFT",e.PUBLISH="PUBLISH",e.PUBLISH_DRAFT="PUBLISH_DRAFT",e.SYNC="SYNC",e.IMPORT="IMPORT",e.CLOSE="CLOSE",e.REOPEN="REOPEN",e.SLEEP="SLEEP",e.DETACH="DETACH",e.ARCHIVE="ARCHIVE",e.REATTACH="REATTACH"}(Hn||(Hn={})),function(e){e.EXISTING="EXISTING",e.BRANCH="BRANCH"}($n||($n={})),function(e){e.QUEUED="QUEUED",e.PROCESSING="PROCESSING",e.ERRORED="ERRORED",e.FAILED="FAILED",e.COMPLETED="COMPLETED"}(Wn||(Wn={})),function(e){e.REPO_NAME_ASC="REPO_NAME_ASC",e.REPO_NAME_DESC="REPO_NAME_DESC"}(zn||(zn={})),function(e){e.SKIPPED="SKIPPED",e.PENDING="PENDING",e.QUEUED="QUEUED",e.PROCESSING="PROCESSING",e.FAILED="FAILED",e.COMPLETED="COMPLETED",e.CANCELING="CANCELING",e.CANCELED="CANCELED"}(Yn||(Yn={})),function(e){e.OPEN="OPEN",e.CLOSED="CLOSED",e.DRAFT="DRAFT"}(Jn||(Jn={})),function(e){e.COMMENT="COMMENT",e.DETACH="DETACH",e.REENQUEUE="REENQUEUE",e.MERGE="MERGE",e.CLOSE="CLOSE",e.PUBLISH="PUBLISH"}(qn||(qn={})),function(e){e.PROCESSING="PROCESSING",e.COMPLETED="COMPLETED",e.FAILED="FAILED"}(Kn||(Kn={})),function(e){e.PENDING="PENDING",e.PROCESSING="PROCESSING",e.FAILED="FAILED",e.COMPLETED="COMPLETED",e.QUEUED="QUEUED",e.CANCELING="CANCELING",e.CANCELED="CANCELED"}(Qn||(Qn={})),function(e){e.LOCAL="LOCAL",e.REMOTE="REMOTE"}(Xn||(Xn={})),function(e){e.NORMAL="NORMAL",e.CRITICAL="CRITICAL"}(Zn||(Zn={})),function(e){e.PENDING="PENDING",e.SUCCESS="SUCCESS",e.ERROR="ERROR"}(ei||(ei={})),function(e){e.PROCESSING="PROCESSING",e.ERRORED="ERRORED",e.COMPLETED="COMPLETED",e.QUEUED="QUEUED",e.UPLOADING="UPLOADING",e.DELETING="DELETING",e.DELETED="DELETED"}(ti||(ti={})),function(e){e.CREATE="CREATE",e.MODIFY="MODIFY"}(ri||(ri={})),function(e){e.PROCESSING="PROCESSING",e.ERRORED="ERRORED",e.COMPLETED="COMPLETED",e.QUEUED="QUEUED"}(ni||(ni={})),function(e){e.LANGUAGE_SUPPORTED="LANGUAGE_SUPPORTED",e.PROJECT_STRUCTURE_SUPPORTED="PROJECT_STRUCTURE_SUPPORTED",e.INDEX_JOB_INFERED="INDEX_JOB_INFERED"}(ii||(ii={})),function(e){e.UNKNOWN="UNKNOWN",e.NATIVE="NATIVE",e.THIRD_PARTY="THIRD_PARTY"}(oi||(oi={})),function(e){e.UNSUPPORTED="UNSUPPORTED",e.BASIC="BASIC"}(si||(si={})),function(e){e.HOUR="HOUR",e.DAY="DAY",e.WEEK="WEEK",e.MONTH="MONTH",e.YEAR="YEAR"}(ai||(ai={})),function(e){e.RESULT_COUNT="RESULT_COUNT",e.LEXICOGRAPHICAL="LEXICOGRAPHICAL",e.DATE_ADDED="DATE_ADDED"}(ci||(ci={})),function(e){e.ASC="ASC",e.DESC="DESC"}(ui||(ui={})),function(e){e.REPO="REPO",e.LANG="LANG",e.PATH="PATH",e.AUTHOR="AUTHOR",e.DATE="DATE"}(li||(li={})),function(e){e.REPO="REPO",e.PATH="PATH",e.AUTHOR="AUTHOR",e.CAPTURE_GROUP="CAPTURE_GROUP"}(fi||(fi={})),function(e){e.INVALID_QUERY="INVALID_QUERY",e.INVALID_AGGREGATION_MODE_FOR_QUERY="INVALID_AGGREGATION_MODE_FOR_QUERY",e.TIMEOUT_EXTENSION_AVAILABLE="TIMEOUT_EXTENSION_AVAILABLE",e.TIMEOUT_NO_EXTENSION_AVAILABLE="TIMEOUT_NO_EXTENSION_AVAILABLE",e.OTHER_ERROR="OTHER_ERROR"}(pi||(pi={})),function(e){e.NOTEBOOK_UPDATED_AT="NOTEBOOK_UPDATED_AT",e.NOTEBOOK_CREATED_AT="NOTEBOOK_CREATED_AT",e.NOTEBOOK_STAR_COUNT="NOTEBOOK_STAR_COUNT"}(hi||(hi={})),function(e){e.MARKDOWN="MARKDOWN",e.QUERY="QUERY",e.FILE="FILE",e.SYMBOL="SYMBOL",e.COMPUTE="COMPUTE"}(di||(di={})),function(e){e.WEB="WEB",e.CODEHOSTINTEGRATION="CODEHOSTINTEGRATION",e.BACKEND="BACKEND",e.STATICWEB="STATICWEB",e.IDEEXTENSION="IDEEXTENSION"}(vi||(vi={})),function(e){e.UNDERSTAND_NEW_CODE="UNDERSTAND_NEW_CODE",e.FIX_SECURITY_VULNERABILITIES="FIX_SECURITY_VULNERABILITIES",e.REUSE_CODE="REUSE_CODE",e.RESPOND_TO_INCIDENTS="RESPOND_TO_INCIDENTS",e.IMPROVE_CODE_QUALITY="IMPROVE_CODE_QUALITY"}(bi||(bi={})),function(e){e.V1="V1",e.V2="V2",e.V3="V3"}(yi||(yi={})),function(e){e.standard="standard",e.literal="literal",e.regexp="regexp",e.structural="structural",e.lucky="lucky",e.keyword="keyword"}(gi||(gi={})),function(e){e.AWSCODECOMMIT="AWSCODECOMMIT",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.RUSTPACKAGES="RUSTPACKAGES"}(mi||(mi={})),function(e){e.QUEUED="QUEUED",e.PROCESSING="PROCESSING",e.ERRORED="ERRORED",e.FAILED="FAILED",e.COMPLETED="COMPLETED"}(xi||(xi={})),function(e){e.ADDED="ADDED",e.UNCHANGED="UNCHANGED",e.DELETED="DELETED"}(Ei||(Ei={})),function(e){e.ERROR="ERROR",e.WARNING="WARNING",e.INFORMATION="INFORMATION",e.HINT="HINT"}(wi||(wi={})),function(e){e.UNKNOWN="UNKNOWN",e.FILE="FILE",e.MODULE="MODULE",e.NAMESPACE="NAMESPACE",e.PACKAGE="PACKAGE",e.CLASS="CLASS",e.METHOD="METHOD",e.PROPERTY="PROPERTY",e.FIELD="FIELD",e.CONSTRUCTOR="CONSTRUCTOR",e.ENUM="ENUM",e.INTERFACE="INTERFACE",e.FUNCTION="FUNCTION",e.VARIABLE="VARIABLE",e.CONSTANT="CONSTANT",e.STRING="STRING",e.NUMBER="NUMBER",e.BOOLEAN="BOOLEAN",e.ARRAY="ARRAY",e.OBJECT="OBJECT",e.KEY="KEY",e.NULL="NULL",e.ENUMMEMBER="ENUMMEMBER",e.STRUCT="STRUCT",e.EVENT="EVENT",e.OPERATOR="OPERATOR",e.TYPEPARAMETER="TYPEPARAMETER"}(Si||(Si={})),function(e){e.GIT_BRANCH="GIT_BRANCH",e.GIT_TAG="GIT_TAG",e.GIT_REF_OTHER="GIT_REF_OTHER"}(_i||(_i={})),function(e){e.AUTHORED_OR_COMMITTED_AT="AUTHORED_OR_COMMITTED_AT"}(Oi||(Oi={})),function(e){e.GIT_COMMIT="GIT_COMMIT",e.GIT_TAG="GIT_TAG",e.GIT_TREE="GIT_TREE",e.GIT_BLOB="GIT_BLOB",e.GIT_UNKNOWN="GIT_UNKNOWN"}(Ti||(Ti={})),function(e){e.HTML_PLAINTEXT="HTML_PLAINTEXT",e.HTML_HIGHLIGHT="HTML_HIGHLIGHT",e.JSON_SCIP="JSON_SCIP"}(Ai||(Ai={})),function(e){e.ACCEPT="ACCEPT",e.REJECT="REJECT"}(Pi||(Pi={})),function(e){e.REPOSITORY_NAME="REPOSITORY_NAME",e.REPO_CREATED_AT="REPO_CREATED_AT",e.REPOSITORY_CREATED_AT="REPOSITORY_CREATED_AT"}(Ci||(Ci={})),function(e){e.INFO="INFO",e.WARNING="WARNING",e.ERROR="ERROR"}(Ii||(Ii={})),function(e){e.PAGEVIEW="PAGEVIEW",e.SEARCHQUERY="SEARCHQUERY",e.CODEINTEL="CODEINTEL",e.CODEINTELREFS="CODEINTELREFS",e.CODEINTELINTEGRATION="CODEINTELINTEGRATION",e.CODEINTELINTEGRATIONREFS="CODEINTELINTEGRATIONREFS",e.STAGEMANAGE="STAGEMANAGE",e.STAGEPLAN="STAGEPLAN",e.STAGECODE="STAGECODE",e.STAGEREVIEW="STAGEREVIEW",e.STAGEVERIFY="STAGEVERIFY",e.STAGEPACKAGE="STAGEPACKAGE",e.STAGEDEPLOY="STAGEDEPLOY",e.STAGECONFIGURE="STAGECONFIGURE",e.STAGEMONITOR="STAGEMONITOR",e.STAGESECURE="STAGESECURE",e.STAGEAUTOMATE="STAGEAUTOMATE"}(Ri||(Ri={})),function(e){e.TODAY="TODAY",e.THIS_WEEK="THIS_WEEK",e.THIS_MONTH="THIS_MONTH",e.ALL_TIME="ALL_TIME"}(Ni||(Ni={})),function(e){e.LAST_THREE_MONTHS="LAST_THREE_MONTHS",e.LAST_MONTH="LAST_MONTH",e.LAST_WEEK="LAST_WEEK",e.CUSTOM="CUSTOM"}(Li||(Li={})),function(e){e.DAILY="DAILY",e.WEEKLY="WEEKLY"}(ji||(ji={})),function(e){e.USERNAME="USERNAME",e.EMAIL="EMAIL",e.EVENTS_COUNT="EVENTS_COUNT",e.LAST_ACTIVE_AT="LAST_ACTIVE_AT",e.CREATED_AT="CREATED_AT",e.DELETED_AT="DELETED_AT",e.SITE_ADMIN="SITE_ADMIN"}(Di||(Di={})),function(e){e.NOT_CLONED="NOT_CLONED",e.CLONING="CLONING",e.CLONED="CLONED"}(Mi||(Mi={})),function(e){e.SEARCH_CONTEXT_SPEC="SEARCH_CONTEXT_SPEC",e.SEARCH_CONTEXT_UPDATED_AT="SEARCH_CONTEXT_UPDATED_AT"}(Ui||(Ui={})),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"}(ki||(ki={})),function(e){e[e.Literal=1]="Literal",e[e.Regexp=2]="Regexp",e[e.Structural=3]="Structural"}(Gi||(Gi={})),function(e){e.Or="or",e.And="and",e.Not="not"}(Fi||(Fi={}));const Bi=(e,t,r=!1)=>({type:"literal",value:e,range:t,quoted:r}),Vi=(...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}},Hi=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:Bi(t.slice(r+1,n),{start:r,end:n+1},!0)}:{type:"error",expected:e,at:n}},$i=(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}}}),Wi=(e,t)=>{let r=t,n=0,i="";const o=[],s=()=>{i=e[r],r+=1};if(!ro(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(!ro(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(!ro(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:Bi(o.join(""),{start:t,end:r})}},zi=$i(/\s+/,((e,t)=>({type:"whitespace",range:t}))),Yi=$i(/[^\s)]+/),Ji=$i(/(not|NOT)/,((e,{start:t,end:r})=>({type:"keyword",value:e,range:{start:t,end:r},kind:Fi.Not}))),qi=$i(/(and|AND)/,((e,{start:t,end:r})=>({type:"keyword",value:e,range:{start:t,end:r},kind:Fi.And}))),Ki=$i(/(or|OR)/,((e,{start:t,end:r})=>({type:"keyword",value:e,range:{start:t,end:r},kind:Fi.Or}))),Qi=Vi(qi,Ki,Ji),Xi=($i(/\/\/.*/,((e,{start:t,end:r})=>({type:"comment",value:e,range:{start:t,end:r}}))),$i(new RegExp(`-?(${Nn.join("|")})+(?=:)`,"i"))),Zi=(Vi(Hi('"'),Hi("'"),Wi,Yi),$i(/\(/,((e,t)=>({type:"openingParen",range:t}))),$i(/\)/,((e,t)=>({type:"closingParen",range:t})))),eo=(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}},to=Vi(Xi,eo(Qi,zi)),ro=(e,t)=>"success"!==to(e,t).type;Vi(zi,Zi);let no;!function(e){e.Global="Global",e.Subexpression="Subexpression"}(no||(no={}));const io=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 oo(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=io(t[0])),2===t.length&&(c={start:io(t[0]),end:io(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 so=r(1781),ao=r.n(so);function co(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(uo(n,t))return!0;var r;return!1}function uo(e,t){return 0!==function(e,t,r){let n=0;for(const i of e){const e=lo(i,t,r);if(10===e)return e;e>n&&(n=e)}return n}(e,new URL(t.uri),t.languageId)}function lo(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)||ao()(e,o))a=10;else{if(!e||!ao()(e,o,{dot:!0,matchBase:!0}))return 0;a=5}}return a}r(8911),r(4207);function fo(e,t,r,n){const i={...r};if(null!==(o=t).subjects&&!o.subjects.some((e=>Ce(e.settings)))&&null!==o.final&&!Ce(o.final))for(const[e,r]of Object.entries(t.final))i[`config.${e}`]=r;var o;const s=n||e||null;if(s&&(i.component=!0),"CodeEditor"===s?.type){i.resource=!0,i["resource.uri"]=s.resource,i["resource.basename"]=(0,Sn.basename)(s.resource),i["resource.dirname"]=(0,Sn.dirname)(s.resource),i["resource.extname"]=(0,Sn.extname)(s.resource),i["resource.language"]=s.model.languageId,i["resource.type"]="textDocument";const e=new URL(s.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"]=s.selections,s.selections.length>0&&(i["component.selection"]=s.selections[0]||null,i["component.selection.start"]=s.selections[0]?s.selections[0].start:null,i["component.selection.end"]=s.selections[0]?s.selections[0].end:null,i["component.selection.start.line"]=s.selections[0]?s.selections[0].start.line:null,i["component.selection.start.character"]=s.selections[0]?s.selections[0].start.character:null,i["component.selection.end.line"]=s.selections[0]?s.selections[0].end.line:null,i["component.selection.end.character"]=s.selections[0]?s.selections[0].end.character:null)}return"panelView"===s?.type&&(i["panel.activeView.id"]=s.id,i["panel.activeView.hasLocations"]=s.hasLocations),i}class po{[H]=!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 ho=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 vo(e,this.accumulator,this.seed,this.hasSeed))},e}(),vo=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 bo="ColdCallViewProviderStart";function yo(e,t,r=2){return t.pipe(ft((t=>qe(t).pipe(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[e.length-1];return be(r)?(e.pop(),function(t){return Zr(e,t,r)}):function(t){return Zr(e,t)}}(bo),Et(((t,r)=>t!==bo?zr(t.viewProvider.provideView(e)).pipe(et(null),_t((e=>{console.error("View provider errored:",e);const{message:t,name:r,stack:n}=Ie(e);return[{message:t,name:r,stack:n}]})),w((e=>({id:t.id,view:e,index:r})))):Ee(bo)),r),function(e,t){var r=!1;return arguments.length>=2&&(r=!0),function(n){return n.lift(new ho(e,t,r))}}(((e,t)=>{if(t===bo)return e;const{index:r,...n}=t;return e[r-1]=n,e}),[...t.map((e=>({id:e.id,view:void 0})))])))),w((e=>e.filter(U(wn,M("view",j(L(null))))))))}class go{constructor(e,t){this.index=e,this.remainder=t}}class mo{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=Eo(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=Eo(e),t=Eo(t),this.values[e]!==t&&(this.values[e]=t,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)}removeValues(e,t){e=Eo(e),t=Eo(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=Eo(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 go(n,e-o)}}const xo=4294967295;function Eo(e){return e<0?0:e>xo?xo:0|e}const wo=/(-?\d*\.\d\w*)|([^\s"'(),;<>?[\\\]`{}]+)/g;class So{constructor(e){this.model=e,this._eol=_o(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=_o(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 Cr.Position(t.index,n)}validatePosition(e){if(this.throwIfNoModelText(),!(e instanceof Cr.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 Cr.Position(t,r):e}validateRange(e){if(this.throwIfNoModelText(),!(e instanceof Cr.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 Cr.Range(t.line,t.character,r.line,r.character)}getWordRangeAtPosition(e){this.throwIfNoModelText();const t=function(e,t){if(wo.lastIndex=0,!wo.exec(t))return null;const r=t.lastIndexOf(" ",e-1)+1;for(wo.lastIndex=r;;){const r=wo.exec(t);if(!r)return null;const n=r.index||0;if(n<=e&&wo.lastIndex>=e)return{word:r[0],startColumn:n,endColumn:wo.lastIndex}}}((e=this.validatePosition(e)).character,this._lines[e.line]);if(t)return new Cr.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 mo(r)}return this._lineStarts}throwIfNoModelText(){if(void 0===this.model.text)throw new Error("model text is not available")}toJSON(){return this.model}}function _o(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 Oo(e){return new Cr.Position(e.line,e.character)}function To(e){return{uri:e.uri.href,range:Ao(e.range),aggregableBadges:e.aggregableBadges}}function Ao(e){if(e)return e instanceof Cr.Range?e.toJSON():e}class Po{constructor({uri:e,inputRevision:t}){this.uri=new URL(e),this.inputRevision=t}}function Co(e,t){return e.next([...e.value,t]),{unsubscribe:()=>e.next(e.value.filter((e=>e!==t)))}}function Io(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 jo(t);return r};return{haveInitialExtensionsLoaded:()=>Wr(e.haveInitialExtensionsLoaded.asObservable()),syncSettingsData:t=>e.settings.next(Object.freeze(t)),getWorkspaceRoots:()=>Wr(e.roots.pipe(w((e=>e.map((({uri:e,inputRevision:t})=>({uri:e.href,inputRevision:t}))))))),addWorkspaceRoot:t=>{e.roots.next(Object.freeze([...e.roots.value,new Po(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)},transformSearchQuery:t=>Wr(e.queryTransformers.pipe(ft((e=>e.reduce(((e,t)=>e.pipe(Et((e=>{const r=t.transformQuery(e);return r instanceof Promise?qe(r):Ee(r)})))),Ee(t)))))),getHover:r=>{const n=t(r.textDocument.uri),i=Oo(r.position);return Wr(No(e.hoverProviders,(e=>Ro(n,e,(({selector:e})=>e))),(({provider:e})=>e.provideHover(n,i)),(e=>function(e){const t=[],r=[],n=new Map;let i;for(const o of e)if(o){o.contents?.value&&t.push({value:o.contents.value,kind:o.contents.kind||Cr.MarkupKind.PlainText}),o.alerts&&r.push(...o.alerts);for(const e of o.aggregableBadges||[])n.set(e.text,e);o.range&&!i&&(i=o.range instanceof Cr.Range?o.range.toPlain():o.range)}return 0===t.length?null:{contents:t,alerts:r,...i?{range:i}:{},aggregatedBadges:[...n.values()].sort(((e,t)=>e.text.localeCompare(t.text)))}}(Lo(e)))))},getDocumentHighlights:r=>{const n=t(r.textDocument.uri),i=Oo(r.position);return Wr(No(e.documentHighlightProviders,(e=>Ro(n,e,(({selector:e})=>e))),(({provider:e})=>e.provideDocumentHighlights(n,i)),Lo).pipe(w((e=>e.isLoading?[]:e.result))))},getDefinition:r=>{const n=t(r.textDocument.uri),i=Oo(r.position);return Wr(No(e.definitionProviders,(e=>Ro(n,e,(({selector:e})=>e))),(({provider:e})=>e.provideDefinition(n,i)),(e=>Lo(e).map(To))))},getReferences:(r,n)=>{const i=t(r.textDocument.uri),o=Oo(r.position);return Wr(No(e.referenceProviders,(e=>Ro(i,e,(({selector:e})=>e))),(({provider:e})=>e.provideReferences(i,o,n)),(e=>Lo(e).map(To))))},hasReferenceProvidersForDocument:r=>{const n=t(r.textDocument.uri);return Wr(e.referenceProviders.pipe(w((e=>0!==Ro(n,e,(({selector:e})=>e)).length))))},getLocations:(r,n)=>{const i=t(n.textDocument.uri),o=Oo(n.position);return Wr(No(e.locationProviders,(e=>Ro(i,e.filter((({provider:e})=>r===e.id)),(({selector:e})=>e))),(({provider:e})=>e.provider.provideLocations(i,o)),(e=>Lo(e).map(To))))},getFileDecorations:t=>Wr(0===t.files.length?P:No(e.fileDecorationProviders,$r(),(e=>e.provideFileDecorations(t)),Lo).pipe(w((({result:e})=>qr()(e.filter(Dr),(({uri:e})=>oo(e).filePath||e)))))),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 kr({...r,viewerId:n},e);break}case"DirectoryViewer":i=new po({...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:()=>Wr(e.viewerUpdates.asObservable()),setEditorSelections:({viewerId:e},t)=>{const n=r(e);Do(n,"CodeEditor"),n.update({selections:t})},getTextDecorations:({viewerId:e})=>{const t=r(e);return Do(t,"CodeEditor"),Wr(t.mergedDecorations)},addTextDocumentIfNotExists:t=>{if(e.textDocuments.has(t.uri))return;const r=new So(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:()=>Wr(e.activeViewComponentChanges),getActiveCodeEditorPosition:()=>Wr(e.activeViewComponentChanges.pipe(ft((e=>"CodeEditor"!==e?.type?Ee(null):e.selectionsChanges.pipe(w((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=>Bo(t,e),registerContributions:t=>{const r=ur(t);return re(Co(e.contributions,r))},getContributions:({scope:r,extraContext:n,returnInactiveMenuItems:i}={})=>Wr(We([e.contributions,e.activeViewComponentChanges.pipe(w((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(w((([e,t,o,s])=>{n&&(s={...s,...n});const a=fo(t,o,s,r);return e.map((e=>{try{const t=function(e,t){return{...t,menus:t.menus&&Vt()(t.menus,(t=>t?.map((t=>({...t,when:t.when&&!!t.when.exec(e),disabledWhen:t.disabledWhen&&!!t.disabledWhen.exec(e)}))))),actions:cr(e,t.actions)}}(a,e);return i?t:function(e){return e.menus?{...e,menus:Vt()(e.menus,(e=>e?.filter((e=>!1!==e.when))))}:e}(t)}catch(t){return console.log("Discarding contributions: evaluating expressions or templates failed.",{contributions:e,error:t}),{}}}))})),w(ar),gt(Lr()))),getPlainNotifications:()=>Wr(e.plainNotifications.asObservable()),getProgressNotifications:()=>Wr(e.progressNotifications.asObservable()),getPanelViews:()=>Wr(e.panelViews.pipe(ft((e=>We([...e]))),Or(0))),getInsightViewById:(t,r)=>Wr(e.insightsPageViewProviders.pipe(ft((e=>{const n=e.find((e=>e.id.split(".").slice(0,-1).join(".")===t));return n?zr(n.viewProvider.provideView(r)):we(new Error(`Couldn't find view with id ${t}`))})),_t((e=>{console.error("View provider errored:",e);const{message:t,name:r,stack:n}=Ie(e);return Ee({message:t,name:r,stack:n})})),w((e=>({id:t,view:e}))))),getInsightsViews:(t,r)=>function(e,t,r){const n=new Set(r),i=t.pipe(w((e=>e.filter((e=>{if(r){const t=e.id.split(".").slice(0,-1).join(".");return n.has(t)}return!0})))),Or(0));return Wr(yo(e,i))}(t,e.insightsPageViewProviders,r),getHomepageViews:t=>Wr(Mo(t,e.homepageViewProviders)),getDirectoryViews:t=>Wr(Mo({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=>Wr(Mo(t,e.globalPageViewProviders)),getStatusBarItems:({viewerId:e})=>{const t=r(e);return"CodeEditor"!==t.type?Wr(P):Wr(t.mergedStatusBarItems.pipe(Or(0),w((e=>e.sort(((e,t)=>e.text[0].toLowerCase().charCodeAt(0)-t.text[0].toLowerCase().charCodeAt(0)))))))},getLinkPreviews:t=>Wr(No(e.linkPreviewProviders,(e=>e.filter((e=>t.startsWith(e.urlMatchPattern)))),(({provider:e})=>e.provideLinkPreview(new URL(t))),(e=>function(e){const t=e.filter(wn).filter((e=>"loading"!==e)),r=t.filter(M("content",wn)),n=t.filter(M("hover",wn));if(0===n.length&&0===r.length)return null;return{content:r.map((({content:e})=>e)),hover:n.map((({hover:e})=>e))}}(e))).pipe(w((e=>e.isLoading?null:e.result)))),getActiveExtensions:()=>Wr(e.activeExtensions)}}function Ro(e,t,r){return t.filter((t=>co(r(t),{uri:e.uri,languageId:_n(oo(e.uri).filePath||"")})))}function No(e,t,r,n,i=!0){const o=(...e)=>{i&&console.error("Provider errored:",...e)};return e.pipe(w((e=>t(e))),ft((e=>mn(e.map((e=>Zr([en],zr((e=>{try{return r(e)}catch(e){return o(e),null}})(e)).pipe(et(null),_t((e=>(o(e),[null]))))))))))).pipe(et([]),w((e=>({isLoading:e.some((e=>e===en)),result:n(e)}))),gt(((e,t)=>Lr()(e,t))))}function Lo(e){return e.filter(j(L(en))).flatMap(Qr()).filter(wn)}class jo extends Error{name="ViewerNotFoundError";constructor(e){super(`Viewer not found: ${e}`)}}function Do(e,t){if(e.type!==t)throw new Error(`Viewer ID ${e.viewerId} is type ${e.type}, expected ${t}`)}function Mo(e,t){return t.pipe(Or(0),ft((t=>We([Ee(null),...t.map((({viewProvider:t,id:r})=>Zr([void 0],zr(t.provideView(e)).pipe(et(null),_t((e=>{console.error("View provider errored:",e);const{message:t,name:r,stack:n}=Ie(e);return[{message:t,name:r,stack:n}]})))).pipe(w((e=>({id:r,view:e}))))))]))),w((e=>e.filter(U(wn,M("view",j(L(null))))))))}const Uo={Error:1,Warning:2,Info:3,Log:4,Success:5};function ko(e,t,r){const n=Object.assign(e.settings.pipe(Er(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(Er(void 0)),rootChanges:e.rootChanges.asObservable(),versionContextChanges:P,searchContextChanges:e.searchContextChanges.asObservable()},o=async t=>{const r=new Ae(1);return e.progressNotifications.next(re({baseNotification:{message:t.title,type:Uo.Log},progress:Wr(r.asObservable())})),{next:e=>{r.next(e)},error:e=>{const t=Ie(e);r.error({message:t.message,name:t.name,stack:t.stack})},complete:()=>{r.complete()}}},s={get visibleViewComponents(){const t=[...e.viewComponents.entries()];return xr()(t,0).map((([,e])=>e))},get activeViewComponent(){return e.activeViewComponentChanges.value},activeViewComponentChanges:e.activeViewComponentChanges.asObservable(),showNotification:(t,r)=>{e.plainNotifications.next({message:t,type:r})},withProgress:async(e,t)=>{const r=await o(e);try{const e=t(r);return r.complete(),await e}catch(e){throw r.error(e),e}},showProgress:e=>o(e),showMessage:e=>t.showMessage(e),showInputBox:e=>t.showInputBox(e)},a={get activeWindow(){return s},activeWindowChanges:new De(s).asObservable(),get windows(){return[s]},registerFileDecorationProvider:t=>Co(e.fileDecorationProviders,t),createPanelView:t=>{const r=new De({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=Co(e.panelViews,r.pipe(Or(0)));return n},registerViewProvider:(t,r)=>{switch(r.where){case"insightsPage":return Co(e.insightsPageViewProviders,{id:t,viewProvider:r});case"directory":return Co(e.directoryViewProviders,{id:t,viewProvider:r});case"global/page":return Co(e.globalPageViewProviders,{id:t,viewProvider:r});case"homepage":return Co(e.homepageViewProviders,{id:t,viewProvider:r})}},createDecorationType:jr,createStatusBarItemType:Mr,log:kt()},c={executeCommand:(e,...r)=>t.executeCommand(e,r),registerCommand:(e,r)=>Le(t.registerCommand(e,re(r)))},u={registerQueryTransformer:t=>Co(e.queryTransformers,t)},l={registerHoverProvider:(t,r)=>Co(e.hoverProviders,{selector:t,provider:r}),registerDocumentHighlightProvider:(t,r)=>Co(e.documentHighlightProviders,{selector:t,provider:r}),registerDefinitionProvider:(t,r)=>Co(e.definitionProviders,{selector:t,provider:r}),registerReferenceProvider:(t,r)=>Co(e.referenceProviders,{selector:t,provider:r}),registerLocationProvider:(t,r,n)=>Co(e.locationProviders,{selector:r,provider:{id:t,provider:n}}),registerTypeDefinitionProvider:()=>(console.warn("sourcegraph.languages.registerTypeDefinitionProvider was removed. Use sourcegraph.languages.registerLocationProvider instead."),{unsubscribe:()=>{}}),registerImplementationProvider:()=>(console.warn("sourcegraph.languages.registerImplementationProvider was removed. Use sourcegraph.languages.registerLocationProvider instead."),{unsubscribe:()=>{}}),registerCompletionItemProvider:()=>(console.warn("sourcegraph.languages.registerCompletionItemProvider was removed."),{unsubscribe:()=>{}})},f={execute:(e,r)=>t.requestGraphQL(e,r)},p={registerLinkPreviewProvider:(t,r)=>Co(e.linkPreviewProviders,{urlMatchPattern:t,provider:r})};return function(o){return{URI:URL,Position:Cr.Position,Range:Cr.Range,Selection:Cr.Selection,Location:Cr.Location,MarkupKind:Cr.MarkupKind,NotificationType:Uo,DocumentHighlightKind:Yr,app:{...a,log:(...r)=>{e.activeLoggers.has(o)&&t.logExtensionMessage(`\u{1f9e9} %c${o}`,"background-color: lightgrey;",...r).catch((e=>{console.error("Error sending extension message to main thread:",e)}))}},workspace:i,configuration:n,languages:l,search:u,commands:c,graphQL:f,content:p,internal:{sync:()=>(async()=>{await t.ping()})(),updateContext:t=>Bo(t,e),sourcegraphURL:new URL(r.sourcegraphURL),clientApplication:r.clientApplication}}}}class Go{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 Fo(e){const t=new p;let r=!1;return{unsubscribe:()=>t.unsubscribe(),extensionAPI:new Promise((n=>{q((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:Ne,serialize:e=>[e.href,[]],deserialize:e=>new URL(e)};J.set("URL",e)}();const n=new Ae(1),i=Q(t.proxy),o=function(e,t,r){let n=new De(new Set),i=Ee([]);return null!==t&&null!==r&&({activeLanguages:n,activeExtensions:i}=fr(t,r)),{haveInitialExtensionsLoaded:new De(!1),roots:new De([]),rootChanges:new ue,searchContextChanges:new ue,searchContext:void 0,settings:new De(e.initialSettings),queryTransformers:new De([]),hoverProviders:new De([]),documentHighlightProviders:new De([]),definitionProviders:new De([]),referenceProviders:new De([]),locationProviders:new De([]),fileDecorationProviders:new De([]),context:new De({"clientApplication.isSourcegraph":"sourcegraph"===e.clientApplication,"clientApplication.extensionAPIVersion.major":3}),contributions:new De([]),lastViewerId:0,textDocuments:new Map,openedTextDocuments:new ue,viewComponents:new Map,activeLanguages:n,languageReferences:new Go,modelReferences:new Go,activeViewComponentChanges:new De(void 0),viewerUpdates:new ue,plainNotifications:new Ae(3),progressNotifications:new Ae(3),panelViews:new De([]),insightsPageViewProviders:new De([]),homepageViewProviders:new De([]),globalPageViewProviders:new De([]),directoryViewProviders:new De([]),linkPreviewProviders:new De([]),activeExtensions:i,activeLoggers:new Set}}(e,i,n),s=Io(o),a=ko(o,i,e);r.add(hr(o,i,a,n)),r.add(gr(o));const c={[H]:!0,ping:()=>"pong",mainThreadAPIInitialized:()=>{n.next(!0)},...s},u=a("DEFAULT");return{extensionHostAPI:c,extensionAPI:u,subscription:r}}(t,e);return r.add(o),yr(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)}))}}function Bo(e,t){if(V()(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 Vo=e=>"object"==typeof e&&null!==e&&D("endpoints")(e)&&(e=>G()(e)&&D("proxy")(e)&&D("expose")(e)&&F(e.proxy)&&F(e.expose))(e.endpoints);!async function(){try{const e=await O(self,"message").pipe(I(1)).toPromise();if(!Vo(e.data))throw new Error("First message event in extension host worker was not a well-formed InitMessage");const{endpoints:t}=e.data,r=Fo(t);self.addEventListener("unload",(()=>r.unsubscribe()))}catch(e){console.error("Error starting the extension host:",e),self.close()}}()})()})();
|
|
1
|
+
(()=>{var e={8703:(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"}},8337:(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")}},8838:(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(1350)),n(r(4554)),n(r(3353)),n(r(1483)),n(r(8703))},1350:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(4554),i=r(3353),o=r(4776);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},4554:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(8337);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},3353:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(8337),i=r(4554);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},1483:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(4554),i=r(3353);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},4776:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isURL=e=>!!e&&"function"==typeof e.toString&&e.href===e.toString()},3535: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},70:(e,t,r)=>{var n=r(7489),i=r(3535);e.exports=function(e){if(!e)return[];"{}"===e.substr(0,2)&&(e="\\{\\}"+e.substr(2));return y(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 b(e,t){return e>=t}function y(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,g=o.body.indexOf(",")>=0;if(!f&&!g)return o.post.match(/,.*\}/)?y(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=y(s[0],!1).map(h)).length)return(x=o.post.length?y(o.post,!1):[""]).map((function(e){return o.pre+s[0]+e}));var m,E=o.pre,x=o.post.length?y(o.post,!1):[""];if(f){var w=l(s[0]),S=l(s[1]),_=Math.max(s[0].length,s[1].length),O=3==s.length?Math.abs(l(s[2])):1,T=v;S<w&&(O*=-1,T=b);var A=s.some(d);m=[];for(var P=w;T(P,S);P+=O){var C;if(u)"\\"===(C=String.fromCharCode(P))&&(C="");else if(C=String(P),A){var I=_-C.length;if(I>0){var R=new Array(I+1).join("0");C=P<0?"-"+R+C.slice(1):R+C}}m.push(C)}}else m=n(s,(function(e){return y(e,!1)}));for(var N=0;N<m.length;N++)for(var L=0;L<x.length;L++){var j=E+m[N]+x[L];(!t||f||j)&&r.push(j)}return r}},7489: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)}},942:(e,t,r)=>{var n=r(8613),i=r(8283),o=r(8046),s=r(3414),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.USE_FUNCTION_CONSTRUCTOR=!!e.USE_FUNCTION_CONSTRUCTOR),n(e,l)&&(s.USE_FUNCTION_CONSTRUCTOR=e.AsyncIteratorPrototype))}},4435:(e,t,r)=>{var n=r(6599),i=r(2756),o=TypeError;e.exports=function(e){if(n(e))return e;throw o(i(e)+" is not a function")}},5517:(e,t,r)=>{var n=r(6599),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")}},4634:(e,t,r)=>{var n=r(26),i=r(9692),o=r(6973).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}},6345:(e,t,r)=>{var n=r(9407),i=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw i("Incorrect invocation")}},5511:(e,t,r)=>{var n=r(1043),i=String,o=TypeError;e.exports=function(e){if(n(e))return e;throw o(i(e)+" is not an object")}},2353:(e,t,r)=>{"use strict";var n=r(6365),i=r(8004),o=r(6640),s=r(7655),a=r(3658),c=r(898),u=r(9720),l=r(3500),f=r(8816),p=r(3706),h=Array;e.exports=function(e){var t=o(e),r=c(this),d=arguments.length,v=d>1?arguments[1]:void 0,b=void 0!==v;b&&(v=n(v,d>2?arguments[2]:void 0));var y,g,m,E,x,w,S=p(t),_=0;if(!S||this===h&&a(S))for(y=u(t),g=r?new this(y):h(y);y>_;_++)w=b?v(t[_],_):t[_],l(g,_,w);else for(x=(E=f(t,S)).next,g=r?new this:[];!(m=i(x,E)).done;_++)w=b?s(E,v,[m.value,_],!0):m.value,l(g,_,w);return g.length=_,g}},7830:(e,t,r)=>{var n=r(6603),i=r(9211),o=r(9720),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)}},8022:(e,t,r)=>{var n=r(9211),i=r(9720),o=r(3500),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}},7097:(e,t,r)=>{var n=r(7497);e.exports=n([].slice)},4027:(e,t,r)=>{var n=r(8022),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},7655:(e,t,r)=>{var n=r(5511),i=r(5772);e.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(t){i(e,"throw",t)}}},4518:(e,t,r)=>{var n=r(7497),i=n({}.toString),o=n("".slice);e.exports=function(e){return o(i(e),8,-1)}},2796:(e,t,r)=>{var n=r(3026),i=r(6599),o=r(4518),s=r(26)("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}},4327:(e,t,r)=>{var n=r(8613),i=r(8872),o=r(3276),s=r(6973);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))}}},6760:(e,t,r)=>{var n=r(8898);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},980:(e,t,r)=>{"use strict";var n=r(5592).IteratorPrototype,i=r(9692),o=r(5398),s=r(4198),a=r(2536),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}},9382:(e,t,r)=>{var n=r(909),i=r(6973),o=r(5398);e.exports=n?function(e,t,r){return i.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},5398:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},3500:(e,t,r)=>{"use strict";var n=r(7369),i=r(6973),o=r(5398);e.exports=function(e,t,r){var s=n(t);s in e?i.f(e,s,o(0,r)):e[s]=r}},159:(e,t,r)=>{var n=r(9645),i=r(6973);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)}},8993:(e,t,r)=>{var n=r(6599),i=r(9382),o=r(9645),s=r(6577);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}},325:(e,t,r)=>{var n=r(8993);e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},6577:(e,t,r)=>{var n=r(800),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}},2315:(e,t,r)=>{"use strict";var n=r(8646),i=r(8004),o=r(781),s=r(2656),a=r(6599),c=r(980),u=r(1052),l=r(6907),f=r(4198),p=r(9382),h=r(8993),d=r(26),v=r(2536),b=r(5592),y=s.PROPER,g=s.CONFIGURABLE,m=b.IteratorPrototype,E=b.BUGGY_SAFARI_ITERATORS,x=d("iterator"),w="keys",S="values",_="entries",O=function(){return this};e.exports=function(e,t,r,s,d,b,T){c(r,t,s);var A,P,C,I=function(e){if(e===d&&D)return D;if(!E&&e in L)return L[e];switch(e){case w:case S:case _:return function(){return new r(this,e)}}return function(){return new r(this)}},R=t+" Iterator",N=!1,L=e.prototype,j=L[x]||L["@@iterator"]||d&&L[d],D=!E&&j||I(d),M="Array"==t&&L.entries||j;if(M&&(A=u(M.call(new e)))!==Object.prototype&&A.next&&(o||u(A)===m||(l?l(A,m):a(A[x])||h(A,x,O)),f(A,R,!0,!0),o&&(v[R]=O)),y&&d==S&&j&&j.name!==S&&(!o&&g?p(L,"name",S):(N=!0,D=function(){return i(j,this)})),d)if(P={values:I(S),keys:b?D:I(w),entries:I(_)},T)for(C in P)(E||N||!(C in L))&&h(L,C,P[C]);else n({target:t,proto:!0,forced:E||N},P);return o&&!T||L[x]===D||h(L,x,D,{name:d}),v[t]=D,P}},6637:(e,t,r)=>{var n=r(4871),i=r(8613),o=r(5223),s=r(6973).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});i(t,e)||s(t,e,{value:o.f(e)})}},909:(e,t,r)=>{var n=r(8898);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4764:(e,t,r)=>{var n=r(800),i=r(1043),o=n.document,s=i(o)&&i(o.createElement);e.exports=function(e){return s?o.createElement(e):{}}},9364:(e,t,r)=>{var n=r(7670);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},9040:(e,t,r)=>{var n=r(4518),i=r(800);e.exports="process"==n(i.process)},7670:(e,t,r)=>{var n=r(4817);e.exports=n("navigator","userAgent")||""},7903:(e,t,r)=>{var n,i,o=r(800),s=r(7670),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},1836:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},8646:(e,t,r)=>{var n=r(800),i=r(3276).f,o=r(9382),s=r(8993),a=r(6577),c=r(4327),u=r(8046);e.exports=function(e,t){var r,l,f,p,h,d=e.target,v=e.global,b=e.stat;if(r=v?n:b?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+(b?".":"#")+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)}}},8898:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},9356:(e,t,r)=>{var n=r(3985),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)})},6365:(e,t,r)=>{var n=r(7497),i=r(4435),o=r(3985),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)}}},3985:(e,t,r)=>{var n=r(8898);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},8004:(e,t,r)=>{var n=r(3985),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},2656:(e,t,r)=>{var n=r(909),i=r(8613),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}},7497:(e,t,r)=>{var n=r(3985),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)}}},4817:(e,t,r)=>{var n=r(800),i=r(6599),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]}},3706:(e,t,r)=>{var n=r(2796),i=r(4287),o=r(2536),s=r(26)("iterator");e.exports=function(e){if(null!=e)return i(e,s)||i(e,"@@iterator")||o[n(e)]}},8816:(e,t,r)=>{var n=r(8004),i=r(4435),o=r(5511),s=r(2756),a=r(3706),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")}},4287:(e,t,r)=>{var n=r(4435);e.exports=function(e,t){var r=e[t];return null==r?void 0:n(r)}},800:(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")()},8613:(e,t,r)=>{var n=r(7497),i=r(6640),o=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},555:e=>{e.exports={}},7876:(e,t,r)=>{var n=r(4817);e.exports=n("document","documentElement")},5393:(e,t,r)=>{var n=r(909),i=r(8898),o=r(4764);e.exports=!n&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},4783:(e,t,r)=>{var n=r(7497),i=r(8898),o=r(4518),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},735:(e,t,r)=>{var n=r(7497),i=r(6599),o=r(3414),s=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return s(e)}),e.exports=o.inspectSource},4495:(e,t,r)=>{var n,i,o,s=r(7519),a=r(800),c=r(7497),u=r(1043),l=r(9382),f=r(8613),p=r(3414),h=r(1544),d=r(555),v="Object already initialized",b=a.TypeError,y=a.WeakMap;if(s||p.state){var g=p.state||(p.state=new y),m=c(g.get),E=c(g.has),x=c(g.set);n=function(e,t){if(E(g,e))throw new b(v);return t.facade=e,x(g,e,t),t},i=function(e){return m(g,e)||{}},o=function(e){return E(g,e)}}else{var w=h("state");d[w]=!0,n=function(e,t){if(f(e,w))throw new b(v);return t.facade=e,l(e,w,t),t},i=function(e){return f(e,w)?e[w]:{}},o=function(e){return f(e,w)}}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 b("Incompatible receiver, "+e+" required");return r}}}},3658:(e,t,r)=>{var n=r(26),i=r(2536),o=n("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||s[o]===e)}},8283:(e,t,r)=>{var n=r(4518);e.exports=Array.isArray||function(e){return"Array"==n(e)}},6599:e=>{e.exports=function(e){return"function"==typeof e}},898:(e,t,r)=>{var n=r(7497),i=r(8898),o=r(6599),s=r(2796),a=r(4817),c=r(735),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}},b=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}};b.sham=!0,e.exports=!f||i((function(){var e;return v(v.call)||!v(Object)||!v((function(){e=!0}))||e}))?b:v},8046:(e,t,r)=>{var n=r(8898),i=r(6599),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},1043:(e,t,r)=>{var n=r(6599);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},781:e=>{e.exports=!1},9611:(e,t,r)=>{var n=r(4817),i=r(6599),o=r(9407),s=r(2674),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))}},5772:(e,t,r)=>{var n=r(8004),i=r(5511),o=r(4287);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}},5592:(e,t,r)=>{"use strict";var n,i,o,s=r(8898),a=r(6599),c=r(9692),u=r(1052),l=r(8993),f=r(26),p=r(781),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}},2536:e=>{e.exports={}},9720:(e,t,r)=>{var n=r(3310);e.exports=function(e){return n(e.length)}},9645:(e,t,r)=>{var n=r(8898),i=r(6599),o=r(8613),s=r(909),a=r(2656).CONFIGURABLE,c=r(735),u=r(4495),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")},6612:e=>{var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},8654:(e,t,r)=>{var n=r(7903),i=r(8898);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},9824:(e,t,r)=>{var n=r(8898),i=r(26),o=r(781),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}))},7519:(e,t,r)=>{var n=r(800),i=r(6599),o=r(735),s=n.WeakMap;e.exports=i(s)&&/native code/.test(o(s))},7738:(e,t,r)=>{"use strict";var n=r(909),i=r(7497),o=r(8004),s=r(8898),a=r(3555),c=r(2610),u=r(8858),l=r(6640),f=r(4783),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,b=f(arguments[s++]),y=p?d(a(b),p(b)):a(b),g=y.length,m=0;g>m;)v=y[m++],n&&!o(h,b,v)||(r[v]=b[v]);return r}:p},9692:(e,t,r)=>{var n,i=r(5511),o=r(3110),s=r(1836),a=r(555),c=r(7876),u=r(4764),l=r(1544),f=l("IE_PROTO"),p=function(){},h=function(e){return"<script>"+e+"</"+"script>"},d=function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t;v="undefined"!=typeof document?document.domain&&n?d(n):((t=u("iframe")).style.display="none",c.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):d(n);for(var r=s.length;r--;)delete v.prototype[s[r]];return v()};a[f]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(p.prototype=i(e),r=new p,p.prototype=null,r[f]=e):r=v(),void 0===t?r:o.f(r,t)}},3110:(e,t,r)=>{var n=r(909),i=r(2089),o=r(6973),s=r(5511),a=r(6603),c=r(3555);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}},6973:(e,t,r)=>{var n=r(909),i=r(5393),o=r(2089),s=r(5511),a=r(7369),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.writable){var n=l(e,t);n&&n.writable&&(e[t]=r.value,r={configurable:p in r?r.configurable:n.configurable,enumerable:f in r?r.enumerable:n.enumerable,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}},3276:(e,t,r)=>{var n=r(909),i=r(8004),o=r(8858),s=r(5398),a=r(6603),c=r(7369),u=r(8613),l=r(5393),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])}},2107:(e,t,r)=>{var n=r(7967),i=r(1836).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},2610:(e,t)=>{t.f=Object.getOwnPropertySymbols},1052:(e,t,r)=>{var n=r(8613),i=r(6599),o=r(6640),s=r(1544),a=r(6760),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}},9407:(e,t,r)=>{var n=r(7497);e.exports=n({}.isPrototypeOf)},7967:(e,t,r)=>{var n=r(7497),i=r(8613),o=r(6603),s=r(7830).indexOf,a=r(555),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}},3555:(e,t,r)=>{var n=r(7967),i=r(1836);e.exports=Object.keys||function(e){return n(e,i)}},8858:(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},6907:(e,t,r)=>{var n=r(7497),i=r(5511),o=r(5517);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)},83:(e,t,r)=>{var n=r(8004),i=r(6599),o=r(1043),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")}},8872:(e,t,r)=>{var n=r(4817),i=r(7497),o=r(2107),s=r(2610),a=r(5511),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}},4871:(e,t,r)=>{var n=r(800);e.exports=n},8401:e=>{var t=TypeError;e.exports=function(e){if(null==e)throw t("Can't call method on "+e);return e}},4198:(e,t,r)=>{var n=r(6973).f,i=r(8613),o=r(26)("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!i(e,o)&&n(e,o,{configurable:!0,value:t})}},1544:(e,t,r)=>{var n=r(9829),i=r(9386),o=n("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},3414:(e,t,r)=>{var n=r(800),i=r(6577),o="__core-js_shared__",s=n[o]||i(o,{});e.exports=s},9829:(e,t,r)=>{var n=r(781),i=r(3414);(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"})},8214:(e,t,r)=>{var n=r(7497),i=r(9802),o=r(2518),s=r(8401),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)}},629:(e,t,r)=>{"use strict";var n=r(7497),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),b=n("".split),y=n("".toLowerCase),g=function(e){return e+22+75*(e<26)},m=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))},E=function(e){var t,r,n=[],o=(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)).length,s=128,u=0,v=72;for(t=0;t<e.length;t++)(r=e[t])<128&&d(n,f(r));var b=n.length,y=b;for(b&&d(n,"-");y<o;){var E=i;for(t=0;t<e.length;t++)(r=e[t])>=s&&r<E&&(E=r);var x=y+1;if(E-s>l((i-u)/x))throw c(a);for(u+=(E-s)*x,s=E,t=0;t<e.length;t++){if((r=e[t])<s&&++u>i)throw c(a);if(r==s){for(var w=u,S=36;;){var _=S<=v?1:S>=v+26?26:S-v;if(w<_)break;var O=w-_,T=36-_;d(n,f(g(_+O%T))),w=l(O/T),S+=36}d(n,f(g(w))),v=m(u,x,y==b),u=0,y++}}u++,s++}return h(n,"")};e.exports=function(e){var t,r,n=[],i=b(v(y(e),s,"."),".");for(t=0;t<i.length;t++)r=i[t],d(n,u(o,r)?"xn--"+E(r):r);return h(n,".")}},5767:(e,t,r)=>{var n,i,o,s,a=r(800),c=r(9356),u=r(6365),l=r(6599),f=r(8613),p=r(8898),h=r(7876),d=r(7097),v=r(4764),b=r(7539),y=r(9364),g=r(9040),m=a.setImmediate,E=a.clearImmediate,x=a.process,w=a.Dispatch,S=a.Function,_=a.MessageChannel,O=a.String,T=0,A={},P="onreadystatechange";try{n=a.location}catch(e){}var C=function(e){if(f(A,e)){var t=A[e];delete A[e],t()}},I=function(e){return function(){C(e)}},R=function(e){C(e.data)},N=function(e){a.postMessage(O(e),n.protocol+"//"+n.host)};m&&E||(m=function(e){b(arguments.length,1);var t=l(e)?e:S(e),r=d(arguments,1);return A[++T]=function(){c(t,void 0,r)},i(T),T},E=function(e){delete A[e]},g?i=function(e){x.nextTick(I(e))}:w&&w.now?i=function(e){w.now(I(e))}:_&&!y?(s=(o=new _).port2,o.port1.onmessage=R,i=u(s.postMessage,s)):a.addEventListener&&l(a.postMessage)&&!a.importScripts&&n&&"file:"!==n.protocol&&!p(N)?(i=N,a.addEventListener("message",R,!1)):i=P in v("script")?function(e){h.appendChild(v("script")).onreadystatechange=function(){h.removeChild(this),C(e)}}:function(e){setTimeout(I(e),0)}),e.exports={set:m,clear:E}},9211:(e,t,r)=>{var n=r(9802),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)}},6603:(e,t,r)=>{var n=r(4783),i=r(8401);e.exports=function(e){return n(i(e))}},9802:(e,t,r)=>{var n=r(6612);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},3310:(e,t,r)=>{var n=r(9802),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},6640:(e,t,r)=>{var n=r(8401),i=Object;e.exports=function(e){return i(n(e))}},1736:(e,t,r)=>{var n=r(8004),i=r(1043),o=r(9611),s=r(4287),a=r(83),c=r(26),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)}},7369:(e,t,r)=>{var n=r(1736),i=r(9611);e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},3026:(e,t,r)=>{var n={};n[r(26)("toStringTag")]="z",e.exports="[object z]"===String(n)},2518:(e,t,r)=>{var n=r(2796),i=String;e.exports=function(e){if("Symbol"===n(e))throw TypeError("Cannot convert a Symbol value to a string");return i(e)}},2756:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},9386:(e,t,r)=>{var n=r(7497),i=0,o=Math.random(),s=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++i+o,36)}},2674:(e,t,r)=>{var n=r(8654);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},2089:(e,t,r)=>{var n=r(909),i=r(8898);e.exports=n&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},7539:e=>{var t=TypeError;e.exports=function(e,r){if(e<r)throw t("Not enough arguments");return e}},5223:(e,t,r)=>{var n=r(26);t.f=n},26:(e,t,r)=>{var n=r(800),i=r(9829),o=r(8613),s=r(9386),a=r(8654),c=r(2674),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]}},2357:(e,t,r)=>{"use strict";var n=r(6603),i=r(4634),o=r(2536),s=r(4495),a=r(6973).f,c=r(2315),u=r(781),l=r(909),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){}},1794:(e,t,r)=>{"use strict";var n=r(8214).charAt,i=r(2518),o=r(4495),s=r(2315),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})}))},2588:(e,t,r)=>{r(6637)("observable")},4449:(e,t,r)=>{var n=r(8646),i=r(800),o=r(5767).clear;n({global:!0,bind:!0,enumerable:!0,forced:i.clearImmediate!==o},{clearImmediate:o})},5287:(e,t,r)=>{r(4449),r(9067)},9067:(e,t,r)=>{var n=r(8646),i=r(800),o=r(5767).set;n({global:!0,bind:!0,enumerable:!0,forced:i.setImmediate!==o},{setImmediate:o})},9213:(e,t,r)=>{"use strict";r(2357);var n=r(8646),i=r(800),o=r(8004),s=r(7497),a=r(909),c=r(9824),u=r(8993),l=r(325),f=r(4198),p=r(980),h=r(4495),d=r(6345),v=r(6599),b=r(8613),y=r(6365),g=r(2796),m=r(5511),E=r(1043),x=r(2518),w=r(9692),S=r(5398),_=r(8816),O=r(3706),T=r(7539),A=r(26),P=r(4027),C=A("iterator"),I="URLSearchParams",R="URLSearchParamsIterator",N=h.set,L=h.getterFor(I),j=h.getterFor(R),D=Object.getOwnPropertyDescriptor,M=function(e){if(!a)return i[e];var t=D(i,e);return t&&t.value},U=M("fetch"),k=M("Request"),G=M("Headers"),B=k&&k.prototype,V=G&&G.prototype,F=i.RegExp,H=i.TypeError,$=i.decodeURIComponent,W=i.encodeURIComponent,z=s("".charAt),J=s([].join),Y=s([].push),q=s("".replace),K=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]=F("((?:%[\\da-f]{2}){"+e+"})","gi"))},ne=function(e){try{return $(e)}catch(t){return e}},ie=function(e){var t=q(e,ee," "),r=4;try{return $(t)}catch(e){for(;r;)t=q(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 q(W(e),oe,ae)},ue=p((function(e,t){N(this,{type:R,iterator:_(L(e).entries),kind:t})}),"Iterator",(function(){var e=j(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&&(E(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===z(e,0)?Z(e,1):e:x(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=O(e);if(u)for(r=(t=_(e,u)).next;!(n=o(r,t)).done;){if(s=(i=_(m(n.value))).next,(a=o(s,i)).done||(c=o(s,i)).done||!o(s,i).done)throw H("Expected sequence with length 2");Y(this.entries,{key:x(a.value),value:x(c.value)})}else for(var l in e)b(e,l)&&Y(this.entries,{key:l,value:x(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,"="),Y(this.entries,{key:ie(K(r)),value:ie(J(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],Y(r,ce(e.key)+"="+ce(e.value));return J(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){T(arguments.length,2);var r=L(this);Y(r.entries,{key:x(e),value:x(t)}),r.updateURL()},delete:function(e){T(arguments.length,1);for(var t=L(this),r=t.entries,n=x(e),i=0;i<r.length;)r[i].key===n?Q(r,i,1):i++;t.updateURL()},get:function(e){T(arguments.length,1);for(var t=L(this).entries,r=x(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){T(arguments.length,1);for(var t=L(this).entries,r=x(e),n=[],i=0;i<t.length;i++)t[i].key===r&&Y(n,t[i].value);return n},has:function(e){T(arguments.length,1);for(var t=L(this).entries,r=x(e),n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){T(arguments.length,1);for(var r,n=L(this),i=n.entries,o=!1,s=x(e),a=x(t),c=0;c<i.length;c++)(r=i[c]).key===s&&(o?Q(i,c--,1):(o=!0,r.value=a));o||Y(i,{key:s,value:a}),n.updateURL()},sort:function(){var e=L(this);P(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=L(this).entries,n=y(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 L(this).serialize()}),{enumerable:!0}),f(fe,I),n({global:!0,constructor:!0,forced:!c},{URLSearchParams:fe}),!c&&v(G)){var he=s(V.has),de=s(V.set),ve=function(e){if(E(e)){var t,r=e.body;if(g(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"),w(e,{body:S(0,x(r)),headers:S(0,t)})}return e};if(v(U)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return U(e,arguments.length>1?ve(arguments[1]):{})}}),v(k)){var be=function(e){return d(this,B),new k(e,arguments.length>1?ve(arguments[1]):{})};B.constructor=be,be.prototype=B,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:be})}}e.exports={URLSearchParams:fe,getState:L}},8328:(e,t,r)=>{r(9213)},5728:(e,t,r)=>{"use strict";r(1794);var n,i=r(8646),o=r(909),s=r(9824),a=r(800),c=r(6365),u=r(7497),l=r(8993),f=r(159),p=r(6345),h=r(8613),d=r(7738),v=r(2353),b=r(8022),y=r(8214).codeAt,g=r(629),m=r(2518),E=r(4198),x=r(7539),w=r(9213),S=r(4495),_=S.set,O=S.getterFor("URL"),T=w.URLSearchParams,A=w.getState,P=a.URL,C=a.TypeError,I=a.parseInt,R=Math.floor,N=Math.pow,L=u("".charAt),j=u(/./.exec),D=u([].join),M=u(1..toString),U=u([].pop),k=u([].push),G=u("".replace),B=u([].shift),V=u("".split),F=u("".slice),H=u("".toLowerCase),$=u([].unshift),W="Invalid scheme",z="Invalid host",J="Invalid port",Y=/[a-z]/i,q=/[\d+-.a-z]/i,K=/\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=R(e/256);return D(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=y(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&&j(Y,L(e,0))&&(":"==(r=L(e,1))||!t&&"|"==r)},he=function(e){var t;return e.length>1&&pe(F(e,0,2))&&(2==e.length||"/"===(t=L(e,2))||"\\"===t||"?"===t||"#"===t)},de=function(e){return"."===e||"%2e"===H(e)},ve={},be={},ye={},ge={},me={},Ee={},xe={},we={},Se={},_e={},Oe={},Te={},Ae={},Pe={},Ce={},Ie={},Re={},Ne={},Le={},je={},De={},Me=function(e,t,r){var n,i,o,s=m(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=A(new T)).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,y=!1,g=!1;for(e=m(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||!j(Y,o)){if(t)return W;l=ye;continue}p+=H(o),l=be;break;case be:if(o&&(j(q,o)||"+"==o||"-"==o||"."==o))p+=H(o);else{if(":"!=o){if(t)return W;p="",l=ye,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=Pe:u.isSpecial()&&r&&r.scheme==u.scheme?l=ge:u.isSpecial()?l=we:"/"==i[f+1]?(l=me,f++):(u.cannotBeABaseURL=!0,k(u.path,""),l=Le)}break;case ye:if(!r||r.cannotBeABaseURL&&"#"!=o)return W;if(r.cannotBeABaseURL&&"#"==o){u.scheme=r.scheme,u.path=b(r.path),u.query=r.query,u.fragment="",u.cannotBeABaseURL=!0,l=De;break}l="file"==r.scheme?Pe:Ee;continue;case ge:if("/"!=o||"/"!=i[f+1]){l=Ee;continue}l=Se,f++;break;case me:if("/"==o){l=_e;break}l=Ne;continue;case Ee: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=b(r.path),u.query=r.query;else if("/"==o||"\\"==o&&u.isSpecial())l=xe;else if("?"==o)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=b(r.path),u.query="",l=je;else{if("#"!=o){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=b(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=b(r.path),u.query=r.query,u.fragment="",l=De}break;case xe: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=_e}else l=Se;break;case we:if(l=Se,"/"!=o||"/"!=L(p,f+1))continue;f++;break;case Se:if("/"!=o&&"\\"!=o){l=_e;continue}break;case _e:if("@"==o){d&&(p="%40"+p),d=!0,s=v(p);for(var E=0;E<s.length;E++){var x=s[E];if(":"!=x||g){var w=le(x,ue);g?u.password+=w:u.username+=w}else g=!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=Oe}else p+=o;break;case Oe:case Te:if(t&&"file"==u.scheme){l=Ie;continue}if(":"!=o||y){if(o==n||"/"==o||"?"==o||"#"==o||"\\"==o&&u.isSpecial()){if(u.isSpecial()&&""==p)return z;if(t&&""==p&&(u.includesCredentials()||null!==u.port))return;if(a=u.parseHost(p))return a;if(p="",l=Re,t)return;continue}"["==o?y=!0:"]"==o&&(y=!1),p+=o}else{if(""==p)return z;if(a=u.parseHost(p))return a;if(p="",l=Ae,t==Te)return}break;case Ae:if(!j(K,o)){if(o==n||"/"==o||"?"==o||"#"==o||"\\"==o&&u.isSpecial()||t){if(""!=p){var S=I(p,10);if(S>65535)return J;u.port=u.isSpecial()&&S===fe[u.scheme]?null:S,p=""}if(t)return;l=Re;continue}return J}p+=o;break;case Pe:if(u.scheme="file","/"==o||"\\"==o)l=Ce;else{if(!r||"file"!=r.scheme){l=Ne;continue}if(o==n)u.host=r.host,u.path=b(r.path),u.query=r.query;else if("?"==o)u.host=r.host,u.path=b(r.path),u.query="",l=je;else{if("#"!=o){he(D(b(i,f),""))||(u.host=r.host,u.path=b(r.path),u.shortenPath()),l=Ne;continue}u.host=r.host,u.path=b(r.path),u.query=r.query,u.fragment="",l=De}}break;case Ce:if("/"==o||"\\"==o){l=Ie;break}r&&"file"==r.scheme&&!he(D(b(i,f),""))&&(pe(r.path[0],!0)?k(u.path,r.path[0]):u.host=r.host),l=Ne;continue;case Ie:if(o==n||"/"==o||"\\"==o||"?"==o||"#"==o){if(!t&&pe(p))l=Ne;else if(""==p){if(u.host="",t)return;l=Re}else{if(a=u.parseHost(p))return a;if("localhost"==u.host&&(u.host=""),t)return;p="",l=Re}continue}p+=o;break;case Re: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=De;else u.query="",l=je;break;case Ne:if(o==n||"/"==o||"\\"==o&&u.isSpecial()||!t&&("?"==o||"#"==o)){if(".."===(c=H(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=L(p,0)+":"),k(u.path,p)),p="","file"==u.scheme&&(o==n||"?"==o||"#"==o))for(;u.path.length>1&&""===u.path[0];)B(u.path);"?"==o?(u.query="",l=je):"#"==o&&(u.fragment="",l=De)}else p+=le(o,ce);break;case Le:"?"==o?(u.query="",l=je):"#"==o?(u.fragment="",l=De):o!=n&&(u.path[0]+=le(o,se));break;case je:t||"#"!=o?o!=n&&("'"==o&&u.isSpecial()?u.query+="%27":u.query+="#"==o?"%23":le(o,se)):(u.fragment="",l=De);break;case De:o!=n&&(u.fragment+=le(o,ae))}f++}},parseHost:function(e){var t,r,n;if("["==L(e,0)){if("]"!=L(e,e.length-1))return z;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 L(e,f)};if(":"==p()){if(":"!=L(e,1))return;f+=2,l=++u}for(;p();){if(8==u)return;if(":"!=p()){for(t=r=0;r<4&&j(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(!j(K,p()))return;for(;j(K,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))))return z;this.host=t}else if(this.isSpecial()){if(e=g(e),j(te,e))return z;if(null===(t=function(e){var t,r,n,i,o,s,a,c=V(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"==L(i,0)&&(o=j(Q,i)?16:8,i=F(i,8==o?1:2)),""===i)s=0;else{if(!j(10==o?Z:8==o?X: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>=N(256,5-t))return null}else if(s>255)return null;for(a=U(r),n=0;n<r.length;n++)a+=r[n]*N(256,3-n);return a}(e)))return z;this.host=t}else{if(j(re,e))return z;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?"/"+D(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 Ue(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(m(e)+":",ve)},getUsername:function(){return this.username},setUsername:function(e){var t=v(m(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(m(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,Oe)},getHostname:function(){var e=this.host;return null===e?"":oe(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Te)},getPort:function(){var e=this.port;return null===e?"":m(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=m(e))?this.port=null:this.parse(e,Ae))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+D(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Re))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=m(e))?this.query=null:("?"==L(e,0)&&(e=F(e,1)),this.query="",this.parse(e,je)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=m(e))?("#"==L(e,0)&&(e=F(e,1)),this.fragment="",this.parse(e,De)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Ue=function(e){var t=p(this,ke),r=x(arguments.length,1)>1?arguments[1]:void 0,n=_(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=Ue.prototype,Ge=function(e,t){return{get:function(){return O(this)[e]()},set:t&&function(e){return O(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 O(this).serialize()}),{enumerable:!0}),l(ke,"toString",(function(){return O(this).serialize()}),{enumerable:!0}),P){var Be=P.createObjectURL,Ve=P.revokeObjectURL;Be&&l(Ue,"createObjectURL",c(Be,P)),Ve&&l(Ue,"revokeObjectURL",c(Ve,P))}E(Ue,"URL"),i({global:!0,constructor:!0,forced:!s,sham:!o},{URL:Ue})},9227:(e,t,r)=>{r(5728)},8981:(e,t,r)=>{var n=r(7791)(r(3478),"DataView");e.exports=n},8031:(e,t,r)=>{var n=r(5264),i=r(6778),o=r(8861),s=r(1867),a=r(9796);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},8289:(e,t,r)=>{var n=r(5249),i=r(4553),o=r(5104),s=r(17),a=r(5117);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},1063:(e,t,r)=>{var n=r(7791)(r(3478),"Map");e.exports=n},6484:(e,t,r)=>{var n=r(1409),i=r(6231),o=r(1963),s=r(8810),a=r(4960);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},3366:(e,t,r)=>{var n=r(7791)(r(3478),"Promise");e.exports=n},1538:(e,t,r)=>{var n=r(7791)(r(3478),"Set");e.exports=n},8261:(e,t,r)=>{var n=r(6484),i=r(7538),o=r(5377);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},5325:(e,t,r)=>{var n=r(8289),i=r(1849),o=r(9712),s=r(3077),a=r(2930),c=r(5518);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},1658:(e,t,r)=>{var n=r(3478).Symbol;e.exports=n},3467:(e,t,r)=>{var n=r(3478).Uint8Array;e.exports=n},4428:(e,t,r)=>{var n=r(7791)(r(3478),"WeakMap");e.exports=n},6797: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)}},7615:e=>{e.exports=function(e,t,r,n){for(var i=-1,o=null==e?0:e.length;++i<o;){var s=e[i];t(n,s,r(s),e)}return n}},1321: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}},6493: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}},7079:(e,t,r)=>{var n=r(7748);e.exports=function(e,t){return!!(null==e?0:e.length)&&n(e,t,0)>-1}},8616: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}},2932:(e,t,r)=>{var n=r(4079),i=r(7632),o=r(2615),s=r(28),a=r(5661),c=r(1653),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 b in e)!t&&!u.call(e,b)||h&&("length"==b||f&&("offset"==b||"parent"==b)||p&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||a(b,v))||d.push(b);return d}},7309: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}},9676: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}},4938: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}},3780:(e,t,r)=>{var n=r(508),i=r(4865),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)}},2784:(e,t,r)=>{var n=r(4865);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},8835:(e,t,r)=>{var n=r(9668);e.exports=function(e,t,r,i){return n(e,(function(e,n,o){t(i,e,r(e),o)})),i}},3585:(e,t,r)=>{var n=r(2654),i=r(2749);e.exports=function(e,t){return e&&n(t,i(t),e)}},4683:(e,t,r)=>{var n=r(2654),i=r(8530);e.exports=function(e,t){return e&&n(t,i(t),e)}},508:(e,t,r)=>{var n=r(6569);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},7864:(e,t,r)=>{var n=r(5325),i=r(1321),o=r(3780),s=r(3585),a=r(4683),c=r(1855),u=r(1176),l=r(9270),f=r(1751),p=r(294),h=r(671),d=r(6968),v=r(1381),b=r(8582),y=r(2375),g=r(2615),m=r(28),E=r(8866),x=r(8603),w=r(6159),S=r(2749),_=r(8530),O="[object Arguments]",T="[object Function]",A="[object Object]",P={};P[O]=P["[object Array]"]=P["[object ArrayBuffer]"]=P["[object DataView]"]=P["[object Boolean]"]=P["[object Date]"]=P["[object Float32Array]"]=P["[object Float64Array]"]=P["[object Int8Array]"]=P["[object Int16Array]"]=P["[object Int32Array]"]=P["[object Map]"]=P["[object Number]"]=P[A]=P["[object RegExp]"]=P["[object Set]"]=P["[object String]"]=P["[object Symbol]"]=P["[object Uint8Array]"]=P["[object Uint8ClampedArray]"]=P["[object Uint16Array]"]=P["[object Uint32Array]"]=!0,P["[object Error]"]=P[T]=P["[object WeakMap]"]=!1,e.exports=function e(t,r,C,I,R,N){var L,j=1&r,D=2&r,M=4&r;if(C&&(L=R?C(t,I,R,N):C(t)),void 0!==L)return L;if(!x(t))return t;var U=g(t);if(U){if(L=v(t),!j)return u(t,L)}else{var k=d(t),G=k==T||"[object GeneratorFunction]"==k;if(m(t))return c(t,j);if(k==A||k==O||G&&!R){if(L=D||G?{}:y(t),!j)return D?f(t,a(L,t)):l(t,s(L,t))}else{if(!P[k])return R?t:{};L=b(t,k,j)}}N||(N=new n);var B=N.get(t);if(B)return B;N.set(t,L),w(t)?t.forEach((function(n){L.add(e(n,r,C,n,t,N))})):E(t)&&t.forEach((function(n,i){L.set(i,e(n,r,C,i,t,N))}));var V=U?void 0:(M?D?h:p:D?_:S)(t);return i(V||t,(function(n,i){V&&(n=t[i=n]),o(L,i,e(n,r,C,i,t,N))})),L}},7508:(e,t,r)=>{var n=r(8603),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},9668:(e,t,r)=>{var n=r(4330),i=r(4029)(n);e.exports=i},8969: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}},745:(e,t,r)=>{var n=r(9676),i=r(5143);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}},9387:(e,t,r)=>{var n=r(7889)();e.exports=n},4330:(e,t,r)=>{var n=r(9387),i=r(2749);e.exports=function(e,t){return e&&n(e,t,i)}},7614:(e,t,r)=>{var n=r(4853),i=r(9535);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}},1714:(e,t,r)=>{var n=r(9676),i=r(2615);e.exports=function(e,t,r){var o=t(e);return i(e)?o:n(o,r(e))}},2085:(e,t,r)=>{var n=r(1658),i=r(1693),o=r(9191),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)}},9843:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},7748:(e,t,r)=>{var n=r(8969),i=r(9136),o=r(6930);e.exports=function(e,t,r){return t==t?o(e,t,r):n(e,i,r)}},9618:(e,t,r)=>{var n=r(2085),i=r(9363);e.exports=function(e){return i(e)&&"[object Arguments]"==n(e)}},2706:(e,t,r)=>{var n=r(4978),i=r(9363);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))}},4978:(e,t,r)=>{var n=r(5325),i=r(6910),o=r(7163),s=r(1689),a=r(6968),c=r(2615),u=r(28),l=r(1653),f="[object Arguments]",p="[object Array]",h="[object Object]",d=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,v,b,y){var g=c(e),m=c(t),E=g?p:a(e),x=m?p:a(t),w=(E=E==f?h:E)==h,S=(x=x==f?h:x)==h,_=E==x;if(_&&u(e)){if(!u(t))return!1;g=!0,w=!1}if(_&&!w)return y||(y=new n),g||l(e)?i(e,t,r,v,b,y):o(e,t,E,r,v,b,y);if(!(1&r)){var O=w&&d.call(e,"__wrapped__"),T=S&&d.call(t,"__wrapped__");if(O||T){var A=O?e.value():e,P=T?t.value():t;return y||(y=new n),b(A,P,r,v,y)}}return!!_&&(y||(y=new n),s(e,t,r,v,b,y))}},7533:(e,t,r)=>{var n=r(6968),i=r(9363);e.exports=function(e){return i(e)&&"[object Map]"==n(e)}},8116:(e,t,r)=>{var n=r(5325),i=r(2706);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}},9136:e=>{e.exports=function(e){return e!=e}},697:(e,t,r)=>{var n=r(8911),i=r(6481),o=r(8603),s=r(8143),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))}},6941:(e,t,r)=>{var n=r(6968),i=r(9363);e.exports=function(e){return i(e)&&"[object Set]"==n(e)}},3677:(e,t,r)=>{var n=r(2085),i=r(2413),o=r(9363),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)]}},544:(e,t,r)=>{var n=r(5346),i=r(6572),o=r(672),s=r(2615),a=r(4272);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)}},8819:(e,t,r)=>{var n=r(1105),i=r(7762),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}},2809:(e,t,r)=>{var n=r(8603),i=r(1105),o=r(6383),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}},3671:(e,t,r)=>{var n=r(9668),i=r(9174);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}},5346:(e,t,r)=>{var n=r(8116),i=r(8676),o=r(7187);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)}}},6572:(e,t,r)=>{var n=r(2706),i=r(5472),o=r(4170),s=r(6955),a=r(219),c=r(7187),u=r(9535);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)}}},840:(e,t,r)=>{var n=r(7309),i=r(7614),o=r(544),s=r(3671),a=r(7648),c=r(7888),u=r(4292),l=r(672),f=r(2615);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)}))}},5898:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},9916:(e,t,r)=>{var n=r(7614);e.exports=function(e){return function(t){return n(t,e)}}},1494:(e,t,r)=>{var n=r(672),i=r(5112),o=r(6618);e.exports=function(e,t){return o(i(e,t,n),e+"")}},3389:(e,t,r)=>{var n=r(7578),i=r(6569),o=r(672),s=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:o;e.exports=s},7648:e=>{e.exports=function(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e}},4079:e=>{e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},9134:(e,t,r)=>{var n=r(1658),i=r(7309),o=r(2615),s=r(1365),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}},7888:e=>{e.exports=function(e){return function(t){return e(t)}}},2744:(e,t,r)=>{var n=r(8261),i=r(7079),o=r(8616),s=r(9161),a=r(4438),c=r(1956);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 b=e[u],y=t?t(b):b;if(b=r||0!==b?b:0,p&&y==y){for(var g=d.length;g--;)if(d[g]===y)continue e;t&&d.push(y),h.push(b)}else l(d,y,r)||(d!==h&&d.push(y),h.push(b))}return h}},9161:e=>{e.exports=function(e,t){return e.has(t)}},4853:(e,t,r)=>{var n=r(2615),i=r(6955),o=r(1229),s=r(7115);e.exports=function(e,t){return n(e)?e:i(e,t)?[e]:o(s(e))}},9474:(e,t,r)=>{var n=r(3467);e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},1855:(e,t,r)=>{e=r.nmd(e);var n=r(3478),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}},6341:(e,t,r)=>{var n=r(9474);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},2564:e=>{var t=/\w*$/;e.exports=function(e){var r=new e.constructor(e.source,t.exec(e));return r.lastIndex=e.lastIndex,r}},5676:(e,t,r)=>{var n=r(1658),i=n?n.prototype:void 0,o=i?i.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},5464:(e,t,r)=>{var n=r(9474);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},3702:(e,t,r)=>{var n=r(1365);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}},4292:(e,t,r)=>{var n=r(3702);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}},1176: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}},2654:(e,t,r)=>{var n=r(3780),i=r(508);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}},9270:(e,t,r)=>{var n=r(2654),i=r(4868);e.exports=function(e,t){return n(e,i(e),t)}},1751:(e,t,r)=>{var n=r(2654),i=r(905);e.exports=function(e,t){return n(e,i(e),t)}},7037:(e,t,r)=>{var n=r(3478)["__core-js_shared__"];e.exports=n},3027:(e,t,r)=>{var n=r(7615),i=r(8835),o=r(544),s=r(2615);e.exports=function(e,t){return function(r,a){var c=s(r)?n:i,u=t?t():{};return c(r,e,o(a,2),u)}}},4029:(e,t,r)=>{var n=r(9174);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}}},7889: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}}},4438:(e,t,r)=>{var n=r(1538),i=r(7021),o=r(1956),s=n&&1/o(new n([,-0]))[1]==1/0?function(e){return new n(e)}:i;e.exports=s},6569:(e,t,r)=>{var n=r(7791),i=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},6910:(e,t,r)=>{var n=r(8261),i=r(4938),o=r(9161);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,b=2&r?new n:void 0;for(c.set(e,t),c.set(t,e);++d<l;){var y=e[d],g=t[d];if(s)var m=u?s(g,y,d,t,e,c):s(y,g,d,e,t,c);if(void 0!==m){if(m)continue;v=!1;break}if(b){if(!i(t,(function(e,t){if(!o(b,t)&&(y===e||a(y,e,r,s,c)))return b.push(t)}))){v=!1;break}}else if(y!==g&&!a(y,g,r,s,c)){v=!1;break}}return c.delete(e),c.delete(t),v}},7163:(e,t,r)=>{var n=r(1658),i=r(3467),o=r(4865),s=r(6910),a=r(5695),c=r(1956),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 b=s(h(e),h(t),n,u,f,p);return p.delete(e),b;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},1689:(e,t,r)=>{var n=r(294),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 b=c;++f<l;){var y=e[p=u[f]],g=t[p];if(o)var m=c?o(g,y,p,t,e,a):o(y,g,p,e,t,a);if(!(void 0===m?y===g||s(y,g,r,o,a):m)){v=!1;break}b||(b="constructor"==p)}if(v&&!b){var E=e.constructor,x=t.constructor;E==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof E&&E instanceof E&&"function"==typeof x&&x instanceof x||(v=!1)}return a.delete(e),a.delete(t),v}},521:(e,t,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},294:(e,t,r)=>{var n=r(1714),i=r(4868),o=r(2749);e.exports=function(e){return n(e,o,i)}},671:(e,t,r)=>{var n=r(1714),i=r(905),o=r(8530);e.exports=function(e){return n(e,o,i)}},9768:(e,t,r)=>{var n=r(5348);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},8676:(e,t,r)=>{var n=r(219),i=r(2749);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}},7791:(e,t,r)=>{var n=r(697),i=r(1430);e.exports=function(e,t){var r=i(e,t);return n(r)?r:void 0}},6180:(e,t,r)=>{var n=r(7318)(Object.getPrototypeOf,Object);e.exports=n},1693:(e,t,r)=>{var n=r(1658),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}},4868:(e,t,r)=>{var n=r(6493),i=r(7918),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},905:(e,t,r)=>{var n=r(9676),i=r(6180),o=r(4868),s=r(7918),a=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,o(e)),e=i(e);return t}:s;e.exports=a},6968:(e,t,r)=>{var n=r(8981),i=r(1063),o=r(3366),s=r(1538),a=r(4428),c=r(2085),u=r(8143),l="[object Map]",f="[object Promise]",p="[object Set]",h="[object WeakMap]",d="[object DataView]",v=u(n),b=u(i),y=u(o),g=u(s),m=u(a),E=c;(n&&E(new n(new ArrayBuffer(1)))!=d||i&&E(new i)!=l||o&&E(o.resolve())!=f||s&&E(new s)!=p||a&&E(new a)!=h)&&(E=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 b:return l;case y:return f;case g:return p;case m:return h}return t}),e.exports=E},1430:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},3587:(e,t,r)=>{var n=r(4853),i=r(7632),o=r(2615),s=r(5661),a=r(2413),c=r(9535);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))}},5264:(e,t,r)=>{var n=r(8179);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},6778:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},8861:(e,t,r)=>{var n=r(8179),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}},1867:(e,t,r)=>{var n=r(8179),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:i.call(t,e)}},9796:(e,t,r)=>{var n=r(8179);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}},1381: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}},8582:(e,t,r)=>{var n=r(9474),i=r(6341),o=r(2564),s=r(5676),a=r(5464);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]":return new c;case"[object Number]":case"[object String]":return new c(e);case"[object RegExp]":return o(e);case"[object Set]":return new c;case"[object Symbol]":return s(e)}}},2375:(e,t,r)=>{var n=r(7508),i=r(6180),o=r(1105);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:n(i(e))}},5143:(e,t,r)=>{var n=r(1658),i=r(7632),o=r(2615),s=n?n.isConcatSpreadable:void 0;e.exports=function(e){return o(e)||i(e)||!!(s&&e&&e[s])}},5661: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}},659:(e,t,r)=>{var n=r(4865),i=r(9174),o=r(5661),s=r(8603);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)}},6955:(e,t,r)=>{var n=r(2615),i=r(1365),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))}},5348:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},6481:(e,t,r)=>{var n,i=r(7037),o=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!o&&o in e}},1105:e=>{var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},219:(e,t,r)=>{var n=r(8603);e.exports=function(e){return e==e&&!n(e)}},5249:e=>{e.exports=function(){this.__data__=[],this.size=0}},4553:(e,t,r)=>{var n=r(2784),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)}},5104:(e,t,r)=>{var n=r(2784);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},17:(e,t,r)=>{var n=r(2784);e.exports=function(e){return n(this.__data__,e)>-1}},5117:(e,t,r)=>{var n=r(2784);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}},1409:(e,t,r)=>{var n=r(8031),i=r(8289),o=r(1063);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||i),string:new n}}},6231:(e,t,r)=>{var n=r(9768);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},1963:(e,t,r)=>{var n=r(9768);e.exports=function(e){return n(this,e).get(e)}},8810:(e,t,r)=>{var n=r(9768);e.exports=function(e){return n(this,e).has(e)}},4960:(e,t,r)=>{var n=r(9768);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}},5695:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}},7187:e=>{e.exports=function(e,t){return function(r){return null!=r&&(r[e]===t&&(void 0!==t||e in Object(r)))}}},7657:(e,t,r)=>{var n=r(5167);e.exports=function(e){var t=n(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}},8179:(e,t,r)=>{var n=r(7791)(Object,"create");e.exports=n},7762:(e,t,r)=>{var n=r(7318)(Object.keys,Object);e.exports=n},6383:e=>{e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},6282:(e,t,r)=>{e=r.nmd(e);var n=r(521),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},9191:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},7318:e=>{e.exports=function(e,t){return function(r){return e(t(r))}}},5112:(e,t,r)=>{var n=r(6797),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)}}},3478:(e,t,r)=>{var n=r(521),i="object"==typeof self&&self&&self.Object===Object&&self,o=n||i||Function("return this")();e.exports=o},7538:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},5377:e=>{e.exports=function(e){return this.__data__.has(e)}},1956:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},6618:(e,t,r)=>{var n=r(3389),i=r(7910)(n);e.exports=i},7910: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)}}},1849:(e,t,r)=>{var n=r(8289);e.exports=function(){this.__data__=new n,this.size=0}},9712:e=>{e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},3077:e=>{e.exports=function(e){return this.__data__.get(e)}},2930:e=>{e.exports=function(e){return this.__data__.has(e)}},5518:(e,t,r)=>{var n=r(8289),i=r(1063),o=r(6484);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}},6930: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}},1229:(e,t,r)=>{var n=r(7657),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},9535:(e,t,r)=>{var n=r(1365);e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}},8143: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""}},8202:(e,t,r)=>{var n=r(2615);e.exports=function(){if(!arguments.length)return[];var e=arguments[0];return n(e)?e:[e]}},4207:(e,t,r)=>{var n=r(7864);e.exports=function(e){return n(e,5)}},7578:e=>{e.exports=function(e){return function(){return e}}},4865:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},5472:(e,t,r)=>{var n=r(7614);e.exports=function(e,t,r){var i=null==e?void 0:n(e,t);return void 0===i?r:i}},2497:(e,t,r)=>{var n=r(508),i=r(3027),o=Object.prototype.hasOwnProperty,s=i((function(e,t,r){o.call(e,r)?e[r].push(t):n(e,r,[t])}));e.exports=s},4170:(e,t,r)=>{var n=r(9843),i=r(3587);e.exports=function(e,t){return null!=e&&i(e,t,n)}},672:e=>{e.exports=function(e){return e}},7632:(e,t,r)=>{var n=r(9618),i=r(9363),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},2615:e=>{var t=Array.isArray;e.exports=t},9174:(e,t,r)=>{var n=r(8911),i=r(2413);e.exports=function(e){return null!=e&&i(e.length)&&!n(e)}},28:(e,t,r)=>{e=r.nmd(e);var n=r(3478),i=r(8338),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},2164:(e,t,r)=>{var n=r(2706);e.exports=function(e,t){return n(e,t)}},8911:(e,t,r)=>{var n=r(2085),i=r(8603);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}},2413:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},8866:(e,t,r)=>{var n=r(7533),i=r(7888),o=r(6282),s=o&&o.isMap,a=s?i(s):n;e.exports=a},2452:(e,t,r)=>{var n=r(8116),i=r(8676);e.exports=function(e,t){return e===t||n(e,t,i(t))}},8603:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},9363:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},8523:(e,t,r)=>{var n=r(2085),i=r(6180),o=r(9363),s=Function.prototype,a=Object.prototype,c=s.toString,u=a.hasOwnProperty,l=c.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=n(e))return!1;var t=i(e);if(null===t)return!0;var r=u.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&c.call(r)==l}},6159:(e,t,r)=>{var n=r(6941),i=r(7888),o=r(6282),s=o&&o.isSet,a=s?i(s):n;e.exports=a},1365:(e,t,r)=>{var n=r(2085),i=r(9363);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==n(e)}},1653:(e,t,r)=>{var n=r(3677),i=r(7888),o=r(6282),s=o&&o.isTypedArray,a=s?i(s):n;e.exports=a},2749:(e,t,r)=>{var n=r(2932),i=r(8819),o=r(9174);e.exports=function(e){return o(e)?n(e):i(e)}},8530:(e,t,r)=>{var n=r(2932),i=r(2809),o=r(9174);e.exports=function(e){return o(e)?n(e,!0):i(e)}},7831:(e,t,r)=>{var n=r(508),i=r(4330),o=r(544);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}},5167:(e,t,r)=>{var n=r(6484);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},7021:e=>{e.exports=function(){}},4272:(e,t,r)=>{var n=r(5898),i=r(9916),o=r(6955),s=r(9535);e.exports=function(e){return o(e)?n(s(e)):i(e)}},3234:(e,t,r)=>{var n=r(745),i=r(840),o=r(1494),s=r(659),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},7918:e=>{e.exports=function(){return[]}},8338:e=>{e.exports=function(){return!1}},7115:(e,t,r)=>{var n=r(9134);e.exports=function(e){return null==e?"":n(e)}},6705:(e,t,r)=>{var n=r(2744);e.exports=function(e){return e&&e.length?n(e):[]}},9588:(e,t,r)=>{var n=r(7115),i=0;e.exports=function(e){var t=++i;return n(e)+t}},1781:(e,t,r)=>{e.exports=p,p.Minimatch=h;var n=function(){try{return r(4245)}catch(e){}}()||{sep:"/"};p.sep=n.sep;var i=p.GLOBSTAR=h.GLOBSTAR={},o=r(70),s={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},a="[^/]",c="[^/]*?",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,y=-1,g=-1,m="."===e.charAt(0)?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",E=this;function x(){if(n){switch(n){case"*":o+=c,l=!0;break;case"?":o+=a,l=!0;break;default:o+="\\"+n}E.debug("clearStateChar %j %j",n,o),n=!1}}for(var w,S=0,_=e.length;S<_&&(w=e.charAt(S));S++)if(this.debug("%s\t%s %s %j",e,S,o,w),f&&u[w])o+="\\"+w,f=!1;else switch(w){case"/":return!1;case"\\":x(),f=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",e,S,o,w),d){this.debug(" in class"),"!"===w&&S===g+1&&(w="^"),o+=w;continue}E.debug("call clearStateChar %j",n),x(),n=w,r.noext&&x();continue;case"(":if(d){o+="(";continue}if(!n){o+="\\(";continue}p.push({type:n,start:S-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}x(),l=!0;var O=p.pop();o+=O.close,"!"===O.type&&h.push(O),O.reEnd=o.length;continue;case"|":if(d||!p.length||f){o+="\\|",f=!1;continue}x(),o+="|";continue;case"[":if(x(),d){o+="\\"+w;continue}d=!0,g=S,y=o.length,o+=w;continue;case"]":if(S===g+1||!d){o+="\\"+w,f=!1;continue}var T=e.substring(g+1,S);try{RegExp("["+T+"]")}catch(e){var A=this.parse(T,b);o=o.substr(0,y)+"\\["+A[0]+"\\]",l=l||A[1],d=!1;continue}l=!0,d=!1,o+=w;continue;default:x(),f?f=!1:!u[w]||"^"===w&&d||(o+="\\"),o+=w}d&&(T=e.substr(g+1),A=this.parse(T,b),o=o.substr(0,y)+"\\["+A[0],l=l||A[1]);for(O=p.pop();O;O=p.pop()){var P=o.slice(O.reStart+O.open.length);this.debug("setting tail",o,O),P=P.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(e,t,r){return r||(r="\\"),t+t+r+"|"})),this.debug("tail=%j\n %s",P,P,O,o);var C="*"===O.type?c:"?"===O.type?a:"\\"+O.type;l=!0,o=o.slice(0,O.reStart)+C+"\\("+P}x(),f&&(o+="\\\\");var I=!1;switch(o.charAt(0)){case"[":case".":case"(":I=!0}for(var R=h.length-1;R>-1;R--){var N=h[R],L=o.slice(0,N.reStart),j=o.slice(N.reStart,N.reEnd-8),D=o.slice(N.reEnd-8,N.reEnd),M=o.slice(N.reEnd);D+=M;var U=L.split("(").length-1,k=M;for(S=0;S<U;S++)k=k.replace(/\)[+*?]?/,"");var G="";""===(M=k)&&t!==b&&(G="$"),o=L+j+M+G+D}""!==o&&l&&(o="(?=.)"+o);I&&(o=m+o);if(t===b)return[o,l];if(!l)return function(e){return e.replace(/\\(.)/g,"$1")}(e);var B=r.nocase?"i":"";try{var V=new RegExp("^"+o+"$",B)}catch(e){return new RegExp("$.")}return V._glob=e,V._src=o,V};var b={};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?")}},4245:(e,t,r)=>{"use strict";var n=r(6591);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},6591: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}},518: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])})(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(5146).Subscriber);t.InnerSubscriber=o},3621:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(8445),i=r(7859),o=r(8516),s=r(6581),a=r(1279),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},1804:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1279),i=r(6137);t.empty={closed:!0,next:function(e){},error:function(e){if(n.config.useDeprecatedSynchronousErrorHandling)throw e;i.hostReportError(e)},complete:function(){}}},6451: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])})(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(5146).Subscriber);t.OuterSubscriber=o},5146: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])})(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(7261),s=r(1804),a=r(1786),c=r(2372),u=r(1279),l=r(6137),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},1786:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(9235),i=r(2030),o=r(7261),s=r(2618),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},1279:(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}}},8186:(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},8516:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"},2372:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rxSubscriber="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),t.$$rxSubscriber=t.rxSubscriber},2618:(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},8445:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5146);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}},6137:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hostReportError=function(e){setTimeout((function(){throw e}),0)}},5082:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.identity=function(e){return e}},9235:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArray=Array.isArray||function(e){return e&&"number"==typeof e.length}},8975:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArrayLike=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},7261:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFunction=function(e){return"function"==typeof e}},2030:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isObject=function(e){return null!==e&&"object"==typeof e}},4328:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPromise=function(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}},6581:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5082);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},9346:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2723),i=r(6386),o=r(5983),s=r(6588),a=r(8975),c=r(4328),u=r(2030),l=r(8186),f=r(8516);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.")}},2723:(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()}}},5983:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(8186);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}}},6588:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(8516);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)}}},6386:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(6137);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}}},5478:(e,t,r)=>{"use strict";var n=r(518),i=r(9346),o=r(3621);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)}},7859:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5146),i=r(2372),o=r(1804);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(942);r.n(e)()({usePolyfill:["URL","URLSearchParams"]});r(5287),r(9227),r(8328),r(2588);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])})(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 b(o,r));break}default:o.syncErrorThrowable=!0,o.destination=new b(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),b=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 y=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}();function g(e){return e}function m(e){return 0===e.length?g:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}var E=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=x(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[y]=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:m(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=x(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 x(e){if(e||(e=s.Promise||Promise),!e)throw new Error("no Promise impl found");return e}function w(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 S(e,t))}}var S=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new _(e,this.project,this.thisArg))},e}(),_=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 O(e,t,r,n){return i(r)&&(n=r,r=void 0),n?O(e,t,r).pipe(w((function(e){return u(e)?n.apply(void 0,e):n(e)}))):new E((function(n){T(e,t,(function(e){arguments.length>1?n.next(Array.prototype.slice.call(arguments)):n.next(e)}),n,r)}))}function T(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++)T(e[u],t,r,n,i)}n.add(o)}var A=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}(),P=new E((function(e){return e.complete()}));function C(e){return e?function(e){return new E((function(t){return e.schedule((function(){return t.complete()}))}))}(e):P}function I(e){return function(t){return 0===e?C():t.lift(new R(e))}}var R=function(){function e(e){if(this.total=e,this.total<0)throw new A}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 L=e=>t=>t===e,j=e=>t=>!e(t),D=e=>t=>e in t,M=(e,t)=>r=>t(r[e]);function U(...e){return t=>e.every((e=>e(t)))}var k=r(8603),G=r.n(k);const B=e=>G()(e)&&D("addEventListener")(e)&&D("removeEventListener")(e)&&D("postMessage")(e)&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener&&"function"==typeof e.postMessage;var V=r(2452),F=r.n(V);const H=Symbol("Comlink.proxy"),$=Symbol("Comlink.endpoint"),W=Symbol("Comlink.releaseProxy"),z=Symbol("Comlink.thrown"),J=e=>"object"==typeof e&&null!==e||"function"==typeof e,Y=new Map([["proxy",{canHandle:e=>J(e)&&e[H],serialize(e){const{port1:t,port2:r}=new MessageChannel;return q(e,t),[r,[r]]},deserialize:e=>(e.start(),Q(e))}],["throw",{canHandle:e=>J(e)&&z 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 q(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(ie);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]]=ie(n.data.value),c=!0;break;case 2:c=r.apply(t,a);break;case 3:c=re(new r(...a));break;case 4:{const{port1:t,port2:r}=new MessageChannel;q(e,r),c=function(e,t){return te.set(e,t),e}(t,[t])}break;case 5:c=void 0}}catch(e){c={value:e,[z]:0}}Promise.resolve(c).catch((e=>({value:e,[z]:0}))).then((e=>{const[n,s]=ne(e);t.postMessage(Object.assign(Object.assign({},n),{id:i}),s),5===o&&(t.removeEventListener("message",r),K(t))}))})),t.start&&t.start()}function K(e){(function(e){return"MessagePort"===e.constructor.name})(e)&&e.close()}function Q(e,t){return Z(e,[],t)}function X(e){if(e)throw new Error("Proxy has been released and is not useable")}function Z(e,t=[],r=function(){}){let n=!1;const i=new Proxy(r,{get(r,o){if(X(n),o===W)return()=>oe(e,{type:5,path:t.map((e=>e.toString()))}).then((()=>{K(e),n=!0}));if("then"===o){if(0===t.length)return{then:()=>i};const r=oe(e,{type:0,path:t.map((e=>e.toString()))}).then(ie);return r.then.bind(r)}return Z(e,[...t,o])},set(r,i,o){X(n);const[s,a]=ne(o);return oe(e,{type:1,path:[...t,i].map((e=>e.toString())),value:s},a).then(ie)},apply(r,i,o){X(n);const s=t[t.length-1];if(s===$)return oe(e,{type:4}).then(ie);if("bind"===s)return Z(e,t.slice(0,-1));const[a,c]=ee(o);return oe(e,{type:2,path:t.map((e=>e.toString())),argumentList:a},c).then(ie)},construct(r,i){X(n);const[o,s]=ee(i);return oe(e,{type:3,path:t.map((e=>e.toString())),argumentList:o},s).then(ie)}});return i}function ee(e){const t=e.map(ne);return[t.map((e=>e[0])),(r=t.map((e=>e[1])),Array.prototype.concat.apply([],r))];var r}const te=new WeakMap;function re(e){return Object.assign(e,{[H]:!0})}function ne(e){for(const[t,r]of Y)if(r.canHandle(e)){const[n,i]=r.serialize(e);return[{type:3,name:t,value:n},i]}return[{type:0,value:e},te.get(e)||[]]}function ie(e){switch(e.type){case 3:return Y.get(e.name).deserialize(e.value);case 0:return e.value}}function oe(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 se=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}(),ae=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),ce=function(e){function t(t){var r=e.call(this,t)||this;return r.destination=t,r}return n(t,e),t}(v),ue=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 ce(this)},t.prototype.lift=function(e){var t=new le(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new se;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 se;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 se;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 se;return e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){if(this.closed)throw new se;return this.hasError?(e.error(this.thrownError),p.EMPTY):this.isStopped?(e.complete(),p.EMPTY):(this.observers.push(e),new ae(this,e))},t.prototype.asObservable=function(){var e=new E;return e.source=this,e},t.create=function(e,t){return new le(e,t)},t}(E),le=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}(ue),fe=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)),pe=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}(fe),he=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}(),de=function(e){function t(r,n){void 0===n&&(n=he.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}(he),ve=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t}(de))(pe);function be(e){return e&&"function"==typeof e.schedule}var ye,ge=function(e){return function(t){for(var r=0,n=e.length;r<n&&!t.closed;r++)t.next(e[r]);t.complete()}};function me(e,t){return new E((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 Ee(e,t){return t?me(e,t):new E(ge(e))}function xe(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[e.length-1];return be(r)?(e.pop(),me(e,r)):Ee(e)}function we(e,t){return new E(t?function(r){return t.schedule(Se,0,{error:e,subscriber:r})}:function(t){return t.error(e)})}function Se(e){var t=e.error;e.subscriber.error(t)}ye||(ye={});var _e=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 xe(this.value);case"E":return we(this.error);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 Oe=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 Te(e,this.destination)))},t.prototype._next=function(e){this.scheduleMessage(_e.createNext(e))},t.prototype._error=function(e){this.scheduleMessage(_e.createError(e)),this.unsubscribe()},t.prototype._complete=function(){this.scheduleMessage(_e.createComplete()),this.unsubscribe()},t}(v),Te=function(){return function(e,t){this.notification=e,this.destination=t}}(),Ae=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 Pe(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 se;if(this.isStopped||this.hasError?t=p.EMPTY:(this.observers.push(e),t=new ae(this,e)),i&&e.add(e=new Oe(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||ve).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}(ue),Pe=function(){return function(e,t){this.time=e,this.value=t}}();const Ce=e=>"object"==typeof e&&null!==e&&("stack"in e||"message"in e)&&!("__typename"in e),Ie=e=>e instanceof Error?e:Ce(e)?Object.assign(new Error(e.message),e):new Error(String(e));class Re extends Error{name="AbortError";message="Aborted"}const Ne=e=>"object"==typeof e&&null!==e&&D("href")(e)&&D("toString")(e)&&"function"==typeof e.toString&&e.href===e.toString();const Le=e=>new p((async()=>{const t=await e;await t.unsubscribe(),"function"==typeof t[W]&&t[W]()})),je=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 se;return this._value},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(ue),Me=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 ke(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var Ge=ke(),Be=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function Ve(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}var Fe=function(e){if(e&&"function"==typeof e[y])return n=e,function(e){var t=n[y]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(Be(e))return ge(e);if(Ve(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[Ge])return t=e,function(e){for(var r=t[Ge]();;){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 He(e,t,r,n,i){if(void 0===i&&(i=new Ue(e,r,n)),!i.closed)return t instanceof E?t.subscribe(i):Fe(t)(i)}var $e={};function We(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=void 0,n=void 0;return be(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]),Ee(e,n).lift(new ze(r))}var ze=function(){function e(e){this.resultSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new Je(e,this.resultSelector))},e}(),Je=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($e),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(He(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===$e?--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}(Me);function Ye(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[y]}(e))return function(e,t){return new E((function(r){var n=new p;return n.add(t.schedule((function(){var i=e[y]();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(Ve(e))return function(e,t){return new E((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(Be(e))return me(e,t);if(function(e){return e&&"function"==typeof e[Ge]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new E((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[Ge](),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 qe(e,t){return t?Ye(e,t):e instanceof E?e:new E(Fe(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 Qe(e,t){return function(r){return r.lift(new Xe(e,t))}}var Xe=function(){function e(e,t){this.predicate=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new Ze(e,this.predicate,this.thisArg))},e}(),Ze=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 et(e){return void 0===e&&(e=null),function(t){return t.lift(new tt(e))}}var tt=function(){function e(e){this.defaultValue=e}return e.prototype.call=function(e,t){return t.subscribe(new rt(e,this.defaultValue))},e}(),rt=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 nt(e){return void 0===e&&(e=st),function(t){return t.lift(new it(e))}}var it=function(){function e(e){this.errorFactory=e}return e.prototype.call=function(e,t){return t.subscribe(new ot(e,this.errorFactory))},e}(),ot=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 st(){return new Ke}function at(e,t){var r=arguments.length>=2;return function(n){return n.pipe(e?Qe((function(t,r){return e(t,r,n)})):g,I(1),r?et(t):nt((function(){return new Ke})))}}var ct=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),ut=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 lt(e,t){if(!t.closed){if(e instanceof E)return e.subscribe(t);var r;try{r=Fe(e)(t)}catch(e){t.error(e)}return r}}function ft(e,t){return"function"==typeof t?function(r){return r.pipe(ft((function(r,n){return qe(e(r,n)).pipe(w((function(e,i){return t(r,e,n,i)})))})))}:function(t){return t.lift(new pt(e))}}var pt=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new ht(e,this.project))},e}(),ht=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 ct(this),n=this.destination;n.add(r),this.innerSubscription=lt(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}(ut);function dt(){}function vt(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 yt(e,this.nextOrObserver,this.error,this.complete))},e}(),yt=function(e){function t(t,r,n,o){var s=e.call(this,t)||this;return s._tapNext=dt,s._tapError=dt,s._tapComplete=dt,s._tapError=n||dt,s._tapComplete=o||dt,i(r)?(s._context=s,s._tapNext=r):r&&(s._context=r,s._tapNext=r.next||dt,s._tapError=r.error||dt,s._tapComplete=r.complete||dt),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 gt(e,t){return function(r){return r.lift(new mt(e,t))}}var mt=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 xt(e,t,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),"function"==typeof t?function(n){return n.pipe(xt((function(r,n){return qe(e(r,n)).pipe(w((function(e,i){return t(r,e,n,i)})))}),r))}:("number"==typeof t&&(r=t),function(t){return t.lift(new wt(e,r))})}var wt=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 St(e,this.project,this.concurrent))},e}(),St=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 ct(this),r=this.destination;r.add(t);var n=lt(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}(ut);function _t(e){return function(t){var r=new Ot(e),n=t.lift(r);return r.caught=n}}var Ot=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new Tt(e,this.selector,this.caught))},e}(),Tt=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 ct(this);this.add(n);var i=lt(r,n);i!==n&&this.add(i)}},t}(ut);function At(){return function(e){return e.lift(new Pt(e))}}var Pt=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var r=this.connectable;r._refCount++;var n=new Ct(e,r),i=t.subscribe(n);return n.closed||(n.connection=r.connect()),i},e}(),Ct=function(e){function t(t,r){var n=e.call(this,t)||this;return n.connectable=r,n}return n(t,e),t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var r=this.connection,n=e._connection;this.connection=null,!n||r&&n!==r||n.unsubscribe()}}else this.connection=null},t}(v),It=function(e){function t(t,r){var n=e.call(this)||this;return n.source=t,n.subjectFactory=r,n._refCount=0,n._isComplete=!1,n}return n(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new p).add(this.source.subscribe(new Nt(this.getSubject(),this))),e.closed&&(this._connection=null,e=p.EMPTY)),e},t.prototype.refCount=function(){return At()(this)},t}(E),Rt=function(){var e=It.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}}(),Nt=function(e){function t(t,r){var n=e.call(this,t)||this;return n.connectable=r,n}return n(t,e),t.prototype._error=function(t){this._unsubscribe(),e.prototype._error.call(this,t)},t.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},t}(ce);var Lt=function(){function e(e,t){this.subjectFactory=e,this.selector=t}return e.prototype.call=function(e,t){var r=this.selector,n=this.subjectFactory(),i=r(n).subscribe(e);return i.add(t.subscribe(n)),i},e}();function jt(e,t,r,n){r&&"function"!=typeof r&&(n=r);var i="function"==typeof r?r:void 0,o=new Ae(e,t,n);return function(e){return function(e,t){return function(r){var n;if(n="function"==typeof e?e:function(){return e},"function"==typeof t)return r.lift(new Lt(n,t));var i=Object.create(r,Rt);return i.source=r,i.subjectFactory=n,i}}((function(){return o}),i)(e)}}let Dt=0;r(8523);new Set(["blue","yellow","orange","pink","red","purple","green","grey"]);new Set(["sourcegraph/code-stats-insights","sourcegraph/search-insights"]);function Mt(e,t){if(!Ce(e.subjects)&&e.subjects){const r=e.subjects.find((e=>e.subject.__typename===t));if(r&&!Ce(r.settings))return r.settings?.extensions}}var Ut=r(7021),kt=r.n(Ut);class Gt extends p{constructor(e){super((()=>{e[W]()}))}}const Bt=(e,t)=>{const r=new p;t&&t.add(r);const n=qe(je(e)?e:Promise.resolve(e)).pipe(xt((e=>(r.add(new Gt(e)),{[y](){return this},subscribe(...t){let r;if("function"==typeof t[0])r={[H]:!0,next:t[0]||kt(),error:t[1]?e=>t[1](Ie(e)):kt(),complete:t[2]||kt()};else{const e=t[0]||{};r={[H]:!0,next:e.next?t=>e.next(t):kt(),error:e.error?t=>e.error(Ie(t)):kt(),complete:e.complete?()=>e.complete():kt()}}return Le(e.subscribe(r))}}))));return Object.assign(n,{proxySubscription:r})};var Vt=r(7831),Ft=r.n(Vt);let Ht;!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"}(Ht||(Ht={}));const $t={"&":{"&":!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 Wt(e){return"\t"===e||" "===e||"\xa0"===e}function zt(e){return e>="0"&&e<="9"}function Jt(e){return"_"===e||function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"}(e)}function Yt(e){return Jt(e)||zt(e)||"."===e}class qt{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(!Wt(this.peekNextChar()))break;this.getNextChar()}}scanOperator(){let e=$t,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(Ht.Operator,t)}scanIdentifier(){let e=this.peekNextChar();if(!Jt(e))return;let t=this.getNextChar();for(;e=this.peekNextChar(),Yt(e);)t+=this.getNextChar();return this.createToken(Ht.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?Qt(this.getNextChar()):n}if(!t)throw new Error(`Unterminated string literal (at ${this.index})`);return this.createToken(Ht.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+=Qt(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?Ht.NoSubstitutionTemplate:e?Ht.TemplateHead:r?Ht.TemplateTail:Ht.TemplateMiddle,this.createToken(t,o)}scanNumber(){let e=this.peekNextChar();if(!zt(e)&&"."!==e)return;let t="";if("."!==e)for(t=this.getNextChar();e=this.peekNextChar(),zt(e);)t+=this.getNextChar();if("."===e)for(t+=this.getNextChar();e=this.peekNextChar(),zt(e);)t+=this.getNextChar();if("e"===e||"E"===e){if(t+=this.getNextChar(),e=this.peekNextChar(),"+"!==e&&"-"!==e&&!zt(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(),zt(e);)t+=this.getNextChar()}if("."===t)throw new SyntaxError(`Expected decimal digits after the dot sign (at ${this.index})`);return this.createToken(Ht.Number,t)}}class Kt extends qt{next(){return 0===this._index?this.doScanTemplate(!0):super.next()}backtick(){return 0!==this.curlyStack}}function Qt(e){switch(e){case"n":return"\n";case"r":return"\r";case"t":return"\t";default:return e}}class Xt{parse(e){this.lexer||(this.lexer=new qt),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(!er(this.lexer.peek(),","))break;this.lexer.next()}return e}parseFunctionCall(e){let t=this.lexer.next();if(!er(t,"("))throw new SyntaxError(`Expected "(" in function call ${JSON.stringify(e)} (at ${this.lexer.index})`);t=this.lexer.peek();const r=er(t,")")?[]:this.parseArgumentList();if(t=this.lexer.next(),!er(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===Ht.TemplateTail){t.value&&e.push({Literal:{type:Ht.String,value:t.value}}),this.lexer.next();break}er(t,"}")?this.lexer.next():t.type===Ht.TemplateMiddle?(t.value&&e.push({Literal:{type:Ht.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===Ht.NoSubstitutionTemplate)return this.lexer.next(),{Literal:{type:Ht.String,value:e.value}};if(e.type===Ht.TemplateHead||e.type===Ht.TemplateMiddle){this.lexer.next();const t=this.parseTemplateParts();return e.value&&t.unshift({Literal:{type:Ht.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===Ht.Identifier)return this.lexer.next(),er(this.lexer.peek(),"(")?this.parseFunctionCall(e.value):{Identifier:e.value};if(e.type===Ht.String||e.type===Ht.Number)return this.lexer.next(),{Literal:{type:e.type,value:e.value}};if(e.type===Ht.NoSubstitutionTemplate||e.type===Ht.TemplateHead||e.type===Ht.TemplateMiddle)return this.parseTemplate();if(er(e,"(")){this.lexer.next();const e=this.parseAdditive();if(!er(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&&(er(e,"-")||er(e,"+")||er(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&&(er(t,"*")||er(t,"/")||er(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&&(er(t,"+")||er(t,"-")||er(t,"==")||er(t,"!=")||er(t,"===")||er(t,"!==")||er(t,"<")||er(t,">")||er(t,"<=")||er(t,">=")||er(t,"&&")||er(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 Zt extends Xt{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 er(e,t){return void 0!==e&&e.type===Ht.Operator&&e.value===t}class tr{constructor(e){this.root=e}exec(e){return sr(this.root,e)}}class rr extends tr{}function nr(e){return new tr((new Xt).parse(e))}function ir(e){return new rr((new Zt).parse(e))}const or={get:(e,t)=>e?.[t]??void 0,json:e=>JSON.stringify(e),sub:(e,t,r)=>e.replaceAll(t,r)};function sr(e,t){if("Literal"in e)switch(e.Literal.type){case Ht.String:return e.Literal.value;case Ht.Number:return parseFloat(e.Literal.value);default:throw new SyntaxError(`Unrecognized literal of type ${Ht[e.Literal.type]}`)}if("Template"in e){const r=[];for(const n of e.Template.parts)r.push(sr(n,t));return r.join("")}if("Binary"in e){const r=sr(e.Binary.left,t),n=()=>sr(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=sr(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=or[r.name];if("function"==typeof n){return n(...r.args.map((e=>sr(e,t))))}throw new SyntaxError(`Undefined function: ${r.name}`)}throw new SyntaxError("Unrecognized syntax node")}function ar(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 cr(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 tr?t.exec(e):t))})))}function ur(e){return{...e,menus:e.menus&&Ft()(e.menus,(e=>e?.map((e=>({...e,when:"string"==typeof e.when?nr(e.when):void 0,disabledWhen:"string"==typeof e.disabledWhen?nr(e.disabledWhen):void 0}))))),actions:e&&(t=e.actions,t?.map((e=>({...e,title:lr(e.title,ir),disabledTitle:lr(e.disabledTitle,ir),category:lr(e.category,ir),description:lr(e.description,ir),iconURL:lr(e.iconURL,ir),actionItem:e.actionItem&&{...e.actionItem,label:lr(e.actionItem.label,ir),description:lr(e.actionItem.description,ir),iconURL:lr(e.actionItem.iconURL,ir),iconDescription:lr(e.actionItem.iconDescription,ir),pressed:lr(e.actionItem.pressed,(e=>nr(e)))},commandArguments:e.commandArguments?.map((e=>"string"==typeof e?ir(e):e))}))))};var t}const lr=(e,t)=>void 0===e?void 0:t(e);function fr(e,t){const r=new De(new Set),n=t.pipe(at((e=>e)),ft((()=>Bt(e.getEnabledExtensions())))),i=new Set;return{activeLanguages:r,activeExtensions:We([r,n]).pipe(vt((([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 t?console.warn(`Extension ${e.id} has been renamed to sourcegraph/${t[1]}. It's safe to remove ${e.id} from your settings.`):console.warn(`Extension ${e.id} was not found. Remove it from settings to suppress this warning.`),!1}return Ce(e.manifest)?(console.warn(e.manifest),!1):e.manifest.activationEvents?e.manifest.activationEvents.some((e=>"*"===e||r.has(e))):(console.warn(`Extension ${e.id} has no activation events, so it will never be activated.`),!1)}catch(e){console.error(e)}return!1}))}(t,e);for(const e of r)i.has(e.id)||i.add(e.id)})),w((([,e])=>e?e.filter((e=>i.has(e.id))):[])),gt(((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))))}}const pr=new Set(["sourcegraph/code-stats-insights","sourcegraph/search-insights"]);function hr(e,t,r,n,i=vr,o=br){const s=function(e,t){const r=new Map;let n=Dt;return(i,o=!1)=>{n<Dt&&(r.clear(),n=Dt);const s=t(i),a=r.get(s);if(!o&&a)return a;const c=e(i).pipe(jt(),At(),vt({error:()=>{r.delete(s)}}));return r.set(s,c),c}}((()=>n.pipe(at((e=>e)),ft((()=>qe(t.getScriptURLForExtension()).pipe(w((e=>function(t){return e?e(t):Promise.resolve(t)}))))))),(()=>"getScriptURL")),a=new Set,c=new Map,u=new Map;var l,f;return We([e.activeExtensions,s(null)]).pipe((l=([n,s])=>{const l=new Set,f=new Map,p=new Set;for(const e of n)pr.has(e.id)||(p.add(e.id),a.has(e.id)||f.set(e.id,e));for(const e of a)p.has(e)||l.add(e);return qe(s([...f.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(Ce(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)))).then((e=>({toActivate:[...f.values()].map(((t,r)=>({id:t.id,manifest:t.manifest,scriptURL:e[r]}))).filter((e=>"string"==typeof e.scriptURL)),toDeactivate:l})))).pipe(vt((({toActivate:e})=>{for(const t of e)if(t.manifest&&!Ce(t.manifest)&&t.manifest.contributes){const e=ur(t.manifest.contributes);c.set(t.id,e),u.set(t.id,e)}})),w((({toActivate:n,toDeactivate:s})=>{const a=Mt(e.settings.value,"DefaultSettings")||{};return qe(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){console.error(`Fail to log ExtensionActivation event for extension ${e}:`,Ie(t))}return console.log(`Activating Sourcegraph extension: ${e}`),i(e,n,r).catch((t=>console.error(`Error activating extension ${e}:`,Ie(t))))})),[...s].map((e=>o(e).catch((t=>console.error(`Error deactivating extension ${e}:`,Ie(t))))))]))})),w((()=>({activated:f,deactivated:l}))),_t((e=>(console.error("Uncaught error during extension activation",e),[]))))},xt(l,f,1))).subscribe((({activated:t,deactivated:r})=>{const n=[...r].map((e=>c.get(e))).filter(Boolean);for(const e of r)a.delete(e),c.delete(e);for(const[e]of t)a.add(e);u.size>0&&(e.contributions.next([...e.contributions.value,...u.values()]),u.clear()),n.length>0&&e.contributions.next(e.contributions.value.filter((e=>!n.includes(e)))),!1===e.haveInitialExtensionsLoaded.value&&e.haveInitialExtensionsLoaded.next(!0)}))}const dr=new Map;async function vr(e,t,r){try{yr(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;dr.set(e,(async()=>{try{o&&await Promise.resolve(o())}finally{i.unsubscribe()}})),await(async e=>e())((()=>n.activate({subscriptions:i}))).catch((t=>{throw t=Ie(t),Object.assign(new Error(`error during extension ${JSON.stringify(e)} activate function: ${String(t.stack||t)}`),{error:t})}))}async function br(e){const t=dr.get(e);t&&(dr.delete(e),await Promise.resolve(t()))}function yr(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 gr(e){return e.settings.pipe(w((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 mr=r(3234),Er=r.n(mr);function xr(e){return function(t){return t.lift(new wr(e))}}var wr=function(){function e(e){this.value=e}return e.prototype.call=function(e,t){return t.subscribe(new Sr(e,this.value))},e}(),Sr=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),_r=new de(fe);function Or(e,t){return void 0===t&&(t=_r),function(r){return r.lift(new Tr(e,t))}}var Tr=function(){function e(e,t){this.dueTime=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new Ar(e,this.dueTime,this.scheduler))},e}(),Ar=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(Pr,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 Pr(e){e.debouncedNext()}var Cr=r(8838),Ir=r(9588),Rr=r.n(Ir),Nr=r(2164),Lr=r.n(Nr);const jr=()=>({key:Rr()("TextDocumentDecorationType")});function Dr(e){const t="object"==typeof e&&null!==e&&D("after")(e)&&e.after&&"object"==typeof e.after&&D("contentText")(e.after)&&"string"==typeof e.after.contentText,r="object"==typeof e&&null!==e&&D("meter")(e)&&e.meter&&"object"==typeof e.meter&&D("value")(e.meter)&&"number"==typeof e.meter.value;if(!t&&!r)return!1;return!("object"==typeof e&&null!==e&&D("after")(e)&&e.after&&"object"==typeof e.after&&D("contentText")(e.after)&&"object"==typeof e.after.contentText)}const Mr=()=>({key:Rr()("StatusBarItemType")}),Ur=jr();class kr{[H]=!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}_decorationsByType=new Map;_mergedDecorations=new De([]);get mergedDecorations(){return this._mergedDecorations}setDecorations(e,t){e=e||Ur,this._decorationsByType.set(e,t.map(Fr)),this._mergedDecorations.next([...this._decorationsByType.values()].flat().filter((e=>!Br(e))))}_statusBarItemsByType=new Map;_mergedStatusBarItems=new De([]);get mergedStatusBarItems(){return this._mergedStatusBarItems}setStatusBarItem(e,t){this._statusBarItemsByType.set(e,{...t,...e}),this._mergedStatusBarItems.next([...this._statusBarItemsByType.values()].flat().filter((e=>Vr(e))))}update(e){const t=e.selections.map((e=>Cr.Selection.fromPlain(e)));Lr()(t,this.selections)||this.selectionsChanges.next(t)}toJSON(){return{type:this.type,document:this.document}}}const Gr=e=>Array.isArray(e)?e.every(Gr):"object"==typeof e&&null!==e?Object.values(e).every(Gr):!e,Br=({range:e,isWholeLine:t,...r})=>Gr(r),Vr=({key:e,text:t})=>!!e&&!!t;function Fr(e){return{...e,range:e.range.toJSON()}}var Hr=r(672),$r=r.n(Hr);const Wr=e=>({[H]:!0,subscribe:t=>re(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 zr(e,t=$r()){let r;var n,i,o;return r=e&&(je(e)||(o=e)&&(o instanceof E||"function"==typeof o.lift&&"function"==typeof o.subscribe)||"object"==typeof(i=e)&&null!==i&&D("subscribe")(i)&&"function"==typeof i.subscribe)?qe(e).pipe(w(t)):(e=>"object"==typeof e&&null!==e&&"function"==typeof e[Symbol.asyncIterator])(e)?(n=e,new E((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 Re).catch((()=>{}))}}))).pipe(w(t)):xe(t(e)),r}const Jr={Text:"text",Read:"read",Write:"write"};var Yr=r(2497),qr=r.n(Yr),Kr=r(8202),Qr=r.n(Kr);function Xr(){return void 0===(e=1)&&(e=Number.POSITIVE_INFINITY),xt(g,e);var e}function Zr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Xr()(xe.apply(void 0,e))}const en="loading";var tn=function(){function e(e){this.resultSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new rn(e,this.resultSelector))},e}(),rn=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 on(e)):"function"==typeof e[Ge]?t.push(new nn(e[Ge]())):t.push(new sn(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),nn=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}(),on=function(){function e(e){this.array=e,this.index=0,this.length=0,this.length=e.length}return e.prototype[Ge]=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}(),sn=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[Ge]=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 lt(this.observable,new ct(this))},t}(ut),an=1,cn=function(){return Promise.resolve()}(),un={};function ln(e){return e in un&&(delete un[e],!0)}var fn=function(e){var t=an++;return un[t]=!0,cn.then((function(){return ln(t)&&e()})),t},pn=function(e){ln(e)},hn=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=fn(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&&(pn(r),t.scheduled=void 0)},t}(fe),dn=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}(de))(hn),vn=r(3621),bn=r(6451),yn=r(2723),gn=r(5478);function mn(e,t){switch(e.length){case 0:return xe([]);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(),Ee(e,void 0).lift(new tn(r))}(...e);default:return new vn.Observable((0,yn.subscribeToArray)(e)).lift(new En(t))}}class En{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new xn(e,this.defaultValue))}}class xn extends bn.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,gn.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,dn.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 wn=e=>null!=e;var Sn=r(4245);function _n(e){const t=(0,Sn.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"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"yml":case"yaml":return"yaml";default:return}}(r)||"plaintext"}var On=r(6705);const Tn=["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"],An=r.n(On)()(Tn.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"])),Pn=[{name:"repo"},{name:"file",fields:[{name:"directory"},{name:"path"}]},{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=(e,t)=>{if(t<0)return[];const r=[];for(const n of e)r.push(`${n.name}`),n.fields&&r.push(...Cn(n.fields,t-1).map((e=>`${n.name}.`+e)));return r};let In,Rn;!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"}(In||(In={})),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"}(Rn||(Rn={}));const Nn=[...Object.keys(In),...Object.keys(Rn)];let Ln;!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"}(Ln||(Ln={}));Object.values(Ln),In.author,In.committer,In.content,In.file,In.file,In.file,In.lang,In.lang,In.lang,In.message,In.repo,In.repo,In.repohasfile;const jn=[{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}];In.after,In.archived,In.author,In.before,In.case,In.committer,In.content,In.context,In.count,In.file,In.fork,In.lang,In.message,In.patterntype,In.repo,In.repohascommitafter,In.repohasfile,In.rev,In.select,In.timeout,In.type,In.visibility;function Dn(e){const t={label:e};return/\s/.test(e)&&(t.insertText=`"${e}"`),t}let Mn,Un,kn,Gn,Bn,Vn,Fn,Hn,$n,Wn,zn,Jn,Yn,qn,Kn,Qn,Xn,Zn,ei,ti,ri,ni,ii,oi,si,ai,ci,ui,li,fi,pi,hi,di,vi,bi,yi,gi,mi,Ei,xi,wi,Si,_i,Oi,Ti,Ai,Pi,Ci,Ii,Ri,Ni,Li,ji,Di,Mi,Ui,ki,Gi,Bi,Vi,Fi,Hi,$i;!function(e){e.READ="READ"}(Mn||(Mn={})),function(e){e.UNPUBLISHED="UNPUBLISHED",e.PUBLISHED="PUBLISHED"}(Un||(Un={})),function(e){e.SCHEDULED="SCHEDULED",e.QUEUED="QUEUED",e.PROCESSING="PROCESSING",e.ERRORED="ERRORED",e.FAILED="FAILED",e.COMPLETED="COMPLETED"}(kn||(kn={})),function(e){e.DRAFT="DRAFT",e.OPEN="OPEN",e.CLOSED="CLOSED",e.MERGED="MERGED",e.READONLY="READONLY",e.DELETED="DELETED"}(Gn||(Gn={})),function(e){e.APPROVED="APPROVED",e.CHANGES_REQUESTED="CHANGES_REQUESTED",e.PENDING="PENDING",e.COMMENTED="COMMENTED",e.DISMISSED="DISMISSED"}(Bn||(Bn={})),function(e){e.PENDING="PENDING",e.PASSED="PASSED",e.FAILED="FAILED"}(Vn||(Vn={})),function(e){e.UNPUBLISHED="UNPUBLISHED",e.FAILED="FAILED",e.RETRYING="RETRYING",e.SCHEDULED="SCHEDULED",e.PROCESSING="PROCESSING",e.OPEN="OPEN",e.DRAFT="DRAFT",e.CLOSED="CLOSED",e.MERGED="MERGED",e.READONLY="READONLY",e.DELETED="DELETED"}(Fn||(Fn={})),function(e){e.PUSH="PUSH",e.UPDATE="UPDATE",e.UNDRAFT="UNDRAFT",e.PUBLISH="PUBLISH",e.PUBLISH_DRAFT="PUBLISH_DRAFT",e.SYNC="SYNC",e.IMPORT="IMPORT",e.CLOSE="CLOSE",e.REOPEN="REOPEN",e.SLEEP="SLEEP",e.DETACH="DETACH",e.ARCHIVE="ARCHIVE",e.REATTACH="REATTACH"}(Hn||(Hn={})),function(e){e.EXISTING="EXISTING",e.BRANCH="BRANCH"}($n||($n={})),function(e){e.QUEUED="QUEUED",e.PROCESSING="PROCESSING",e.ERRORED="ERRORED",e.FAILED="FAILED",e.COMPLETED="COMPLETED"}(Wn||(Wn={})),function(e){e.REPO_NAME_ASC="REPO_NAME_ASC",e.REPO_NAME_DESC="REPO_NAME_DESC"}(zn||(zn={})),function(e){e.SKIPPED="SKIPPED",e.PENDING="PENDING",e.QUEUED="QUEUED",e.PROCESSING="PROCESSING",e.FAILED="FAILED",e.COMPLETED="COMPLETED",e.CANCELING="CANCELING",e.CANCELED="CANCELED"}(Jn||(Jn={})),function(e){e.OPEN="OPEN",e.CLOSED="CLOSED",e.DRAFT="DRAFT"}(Yn||(Yn={})),function(e){e.COMMENT="COMMENT",e.DETACH="DETACH",e.REENQUEUE="REENQUEUE",e.MERGE="MERGE",e.CLOSE="CLOSE",e.PUBLISH="PUBLISH"}(qn||(qn={})),function(e){e.PROCESSING="PROCESSING",e.COMPLETED="COMPLETED",e.FAILED="FAILED"}(Kn||(Kn={})),function(e){e.PENDING="PENDING",e.PROCESSING="PROCESSING",e.FAILED="FAILED",e.COMPLETED="COMPLETED",e.QUEUED="QUEUED",e.CANCELING="CANCELING",e.CANCELED="CANCELED"}(Qn||(Qn={})),function(e){e.LOCAL="LOCAL",e.REMOTE="REMOTE"}(Xn||(Xn={})),function(e){e.NORMAL="NORMAL",e.CRITICAL="CRITICAL"}(Zn||(Zn={})),function(e){e.PENDING="PENDING",e.SUCCESS="SUCCESS",e.ERROR="ERROR"}(ei||(ei={})),function(e){e.PROCESSING="PROCESSING",e.ERRORED="ERRORED",e.COMPLETED="COMPLETED",e.QUEUED="QUEUED",e.UPLOADING="UPLOADING",e.DELETING="DELETING",e.DELETED="DELETED"}(ti||(ti={})),function(e){e.CREATE="CREATE",e.MODIFY="MODIFY"}(ri||(ri={})),function(e){e.PROCESSING="PROCESSING",e.ERRORED="ERRORED",e.COMPLETED="COMPLETED",e.QUEUED="QUEUED"}(ni||(ni={})),function(e){e.LANGUAGE_SUPPORTED="LANGUAGE_SUPPORTED",e.PROJECT_STRUCTURE_SUPPORTED="PROJECT_STRUCTURE_SUPPORTED",e.INDEX_JOB_INFERED="INDEX_JOB_INFERED"}(ii||(ii={})),function(e){e.UNKNOWN="UNKNOWN",e.NATIVE="NATIVE",e.THIRD_PARTY="THIRD_PARTY"}(oi||(oi={})),function(e){e.UNSUPPORTED="UNSUPPORTED",e.BASIC="BASIC"}(si||(si={})),function(e){e.HOUR="HOUR",e.DAY="DAY",e.WEEK="WEEK",e.MONTH="MONTH",e.YEAR="YEAR"}(ai||(ai={})),function(e){e.RESULT_COUNT="RESULT_COUNT",e.LEXICOGRAPHICAL="LEXICOGRAPHICAL",e.DATE_ADDED="DATE_ADDED"}(ci||(ci={})),function(e){e.ASC="ASC",e.DESC="DESC"}(ui||(ui={})),function(e){e.REPO="REPO",e.LANG="LANG",e.PATH="PATH",e.AUTHOR="AUTHOR",e.DATE="DATE"}(li||(li={})),function(e){e.REPO="REPO",e.PATH="PATH",e.AUTHOR="AUTHOR",e.CAPTURE_GROUP="CAPTURE_GROUP"}(fi||(fi={})),function(e){e.INVALID_QUERY="INVALID_QUERY",e.INVALID_AGGREGATION_MODE_FOR_QUERY="INVALID_AGGREGATION_MODE_FOR_QUERY",e.TIMEOUT_EXTENSION_AVAILABLE="TIMEOUT_EXTENSION_AVAILABLE",e.TIMEOUT_NO_EXTENSION_AVAILABLE="TIMEOUT_NO_EXTENSION_AVAILABLE",e.OTHER_ERROR="OTHER_ERROR"}(pi||(pi={})),function(e){e.NOTEBOOK_UPDATED_AT="NOTEBOOK_UPDATED_AT",e.NOTEBOOK_CREATED_AT="NOTEBOOK_CREATED_AT",e.NOTEBOOK_STAR_COUNT="NOTEBOOK_STAR_COUNT"}(hi||(hi={})),function(e){e.MARKDOWN="MARKDOWN",e.QUERY="QUERY",e.FILE="FILE",e.SYMBOL="SYMBOL",e.COMPUTE="COMPUTE"}(di||(di={})),function(e){e.WEB="WEB",e.CODEHOSTINTEGRATION="CODEHOSTINTEGRATION",e.BACKEND="BACKEND",e.STATICWEB="STATICWEB",e.IDEEXTENSION="IDEEXTENSION"}(vi||(vi={})),function(e){e.UNDERSTAND_NEW_CODE="UNDERSTAND_NEW_CODE",e.FIX_SECURITY_VULNERABILITIES="FIX_SECURITY_VULNERABILITIES",e.REUSE_CODE="REUSE_CODE",e.RESPOND_TO_INCIDENTS="RESPOND_TO_INCIDENTS",e.IMPROVE_CODE_QUALITY="IMPROVE_CODE_QUALITY"}(bi||(bi={})),function(e){e.V1="V1",e.V2="V2",e.V3="V3"}(yi||(yi={})),function(e){e.standard="standard",e.literal="literal",e.regexp="regexp",e.structural="structural",e.lucky="lucky",e.keyword="keyword"}(gi||(gi={})),function(e){e.PARSE_TREE="PARSE_TREE",e.JOB_TREE="JOB_TREE"}(mi||(mi={})),function(e){e.MINIMAL="MINIMAL",e.BASIC="BASIC",e.MAXIMAL="MAXIMAL"}(Ei||(Ei={})),function(e){e.JSON="JSON",e.SEXP="SEXP",e.MERMAID="MERMAID"}(xi||(xi={})),function(e){e.OUTDATED="OUTDATED",e.UP_TO_DATE="UP_TO_DATE",e.VERSION_AHEAD="VERSION_AHEAD"}(wi||(wi={})),function(e){e.AWSCODECOMMIT="AWSCODECOMMIT",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.RUSTPACKAGES="RUSTPACKAGES"}(Si||(Si={})),function(e){e.QUEUED="QUEUED",e.PROCESSING="PROCESSING",e.ERRORED="ERRORED",e.FAILED="FAILED",e.COMPLETED="COMPLETED",e.CANCELING="CANCELING",e.CANCELED="CANCELED"}(_i||(_i={})),function(e){e.ADDED="ADDED",e.UNCHANGED="UNCHANGED",e.DELETED="DELETED"}(Oi||(Oi={})),function(e){e.ERROR="ERROR",e.WARNING="WARNING",e.INFORMATION="INFORMATION",e.HINT="HINT"}(Ti||(Ti={})),function(e){e.UNKNOWN="UNKNOWN",e.FILE="FILE",e.MODULE="MODULE",e.NAMESPACE="NAMESPACE",e.PACKAGE="PACKAGE",e.CLASS="CLASS",e.METHOD="METHOD",e.PROPERTY="PROPERTY",e.FIELD="FIELD",e.CONSTRUCTOR="CONSTRUCTOR",e.ENUM="ENUM",e.INTERFACE="INTERFACE",e.FUNCTION="FUNCTION",e.VARIABLE="VARIABLE",e.CONSTANT="CONSTANT",e.STRING="STRING",e.NUMBER="NUMBER",e.BOOLEAN="BOOLEAN",e.ARRAY="ARRAY",e.OBJECT="OBJECT",e.KEY="KEY",e.NULL="NULL",e.ENUMMEMBER="ENUMMEMBER",e.STRUCT="STRUCT",e.EVENT="EVENT",e.OPERATOR="OPERATOR",e.TYPEPARAMETER="TYPEPARAMETER"}(Ai||(Ai={})),function(e){e.GIT_BRANCH="GIT_BRANCH",e.GIT_TAG="GIT_TAG",e.GIT_REF_OTHER="GIT_REF_OTHER"}(Pi||(Pi={})),function(e){e.AUTHORED_OR_COMMITTED_AT="AUTHORED_OR_COMMITTED_AT"}(Ci||(Ci={})),function(e){e.GIT_COMMIT="GIT_COMMIT",e.GIT_TAG="GIT_TAG",e.GIT_TREE="GIT_TREE",e.GIT_BLOB="GIT_BLOB",e.GIT_UNKNOWN="GIT_UNKNOWN"}(Ii||(Ii={})),function(e){e.HTML_PLAINTEXT="HTML_PLAINTEXT",e.HTML_HIGHLIGHT="HTML_HIGHLIGHT",e.JSON_SCIP="JSON_SCIP"}(Ri||(Ri={})),function(e){e.ACCEPT="ACCEPT",e.REJECT="REJECT"}(Ni||(Ni={})),function(e){e.REPOSITORY_NAME="REPOSITORY_NAME",e.REPO_CREATED_AT="REPO_CREATED_AT",e.REPOSITORY_CREATED_AT="REPOSITORY_CREATED_AT"}(Li||(Li={})),function(e){e.INFO="INFO",e.WARNING="WARNING",e.ERROR="ERROR"}(ji||(ji={})),function(e){e.PAGEVIEW="PAGEVIEW",e.SEARCHQUERY="SEARCHQUERY",e.CODEINTEL="CODEINTEL",e.CODEINTELREFS="CODEINTELREFS",e.CODEINTELINTEGRATION="CODEINTELINTEGRATION",e.CODEINTELINTEGRATIONREFS="CODEINTELINTEGRATIONREFS",e.STAGEMANAGE="STAGEMANAGE",e.STAGEPLAN="STAGEPLAN",e.STAGECODE="STAGECODE",e.STAGEREVIEW="STAGEREVIEW",e.STAGEVERIFY="STAGEVERIFY",e.STAGEPACKAGE="STAGEPACKAGE",e.STAGEDEPLOY="STAGEDEPLOY",e.STAGECONFIGURE="STAGECONFIGURE",e.STAGEMONITOR="STAGEMONITOR",e.STAGESECURE="STAGESECURE",e.STAGEAUTOMATE="STAGEAUTOMATE"}(Di||(Di={})),function(e){e.TODAY="TODAY",e.THIS_WEEK="THIS_WEEK",e.THIS_MONTH="THIS_MONTH",e.ALL_TIME="ALL_TIME"}(Mi||(Mi={})),function(e){e.LAST_THREE_MONTHS="LAST_THREE_MONTHS",e.LAST_MONTH="LAST_MONTH",e.LAST_WEEK="LAST_WEEK",e.CUSTOM="CUSTOM"}(Ui||(Ui={})),function(e){e.DAILY="DAILY",e.WEEKLY="WEEKLY"}(ki||(ki={})),function(e){e.USERNAME="USERNAME",e.EMAIL="EMAIL",e.EVENTS_COUNT="EVENTS_COUNT",e.LAST_ACTIVE_AT="LAST_ACTIVE_AT",e.CREATED_AT="CREATED_AT",e.DELETED_AT="DELETED_AT",e.SITE_ADMIN="SITE_ADMIN"}(Gi||(Gi={})),function(e){e.NOT_CLONED="NOT_CLONED",e.CLONING="CLONING",e.CLONED="CLONED"}(Bi||(Bi={})),function(e){e.SEARCH_CONTEXT_SPEC="SEARCH_CONTEXT_SPEC",e.SEARCH_CONTEXT_UPDATED_AT="SEARCH_CONTEXT_UPDATED_AT"}(Vi||(Vi={})),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"}(Fi||(Fi={})),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"}($i||($i={}));const Wi=(e,t,r=!1)=>({type:"literal",value:e,range:t,quoted:r}),zi=(...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}},Ji=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:Wi(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}}}),qi=(e,t)=>{let r=t,n=0,i="";const o=[],s=()=>{i=e[r],r+=1};if(!so(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(!so(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(!so(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:Wi(o.join(""),{start:t,end:r})}},Ki=Yi(/\s+/,((e,t)=>({type:"whitespace",range:t}))),Qi=Yi(/[^\s)]+/),Xi=Yi(/(not|NOT)/,((e,{start:t,end:r})=>({type:"keyword",value:e,range:{start:t,end:r},kind:$i.Not}))),Zi=Yi(/(and|AND)/,((e,{start:t,end:r})=>({type:"keyword",value:e,range:{start:t,end:r},kind:$i.And}))),eo=Yi(/(or|OR)/,((e,{start:t,end:r})=>({type:"keyword",value:e,range:{start:t,end:r},kind:$i.Or}))),to=zi(Zi,eo,Xi),ro=(Yi(/\/\/.*/,((e,{start:t,end:r})=>({type:"comment",value:e,range:{start:t,end:r}}))),Yi(new RegExp(`-?(${Nn.join("|")})+(?=:)`,"i"))),no=(zi(Ji('"'),Ji("'"),qi,Qi),Yi(/\(/,((e,t)=>({type:"openingParen",range:t}))),Yi(/\)/,((e,t)=>({type:"closingParen",range:t})))),io=(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}},oo=zi(ro,io(to,Ki)),so=(e,t)=>"success"!==oo(e,t).type;zi(Ki,no);let ao;!function(e){e.Global="Global",e.Subexpression="Subexpression"}(ao||(ao={}));const co=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 uo(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=co(t[0])),2===t.length&&(c={start:co(t[0]),end:co(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 lo=r(1781),fo=r.n(lo);function po(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(ho(n,t))return!0;var r;return!1}function ho(e,t){return 0!==function(e,t,r){let n=0;for(const i of e){const e=vo(i,t,r);if(10===e)return e;e>n&&(n=e)}return n}(e,new URL(t.uri),t.languageId)}function vo(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)||fo()(e,o))a=10;else{if(!e||!fo()(e,o,{dot:!0,matchBase:!0}))return 0;a=5}}return a}r(8911),r(4207);function bo(e,t,r,n){const i={...r};if(null!==(o=t).subjects&&!o.subjects.some((e=>Ce(e.settings)))&&null!==o.final&&!Ce(o.final))for(const[e,r]of Object.entries(t.final))i[`config.${e}`]=r;var o;const s=n||e||null;if(s&&(i.component=!0),"CodeEditor"===s?.type){i.resource=!0,i["resource.uri"]=s.resource,i["resource.basename"]=(0,Sn.basename)(s.resource),i["resource.dirname"]=(0,Sn.dirname)(s.resource),i["resource.extname"]=(0,Sn.extname)(s.resource),i["resource.language"]=s.model.languageId,i["resource.type"]="textDocument";const e=new URL(s.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"]=s.selections,s.selections.length>0&&(i["component.selection"]=s.selections[0]||null,i["component.selection.start"]=s.selections[0]?s.selections[0].start:null,i["component.selection.end"]=s.selections[0]?s.selections[0].end:null,i["component.selection.start.line"]=s.selections[0]?s.selections[0].start.line:null,i["component.selection.start.character"]=s.selections[0]?s.selections[0].start.character:null,i["component.selection.end.line"]=s.selections[0]?s.selections[0].end.line:null,i["component.selection.end.character"]=s.selections[0]?s.selections[0].end.character:null)}return"panelView"===s?.type&&(i["panel.activeView.id"]=s.id,i["panel.activeView.hasLocations"]=s.hasLocations),i}class yo{[H]=!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 go=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 mo(e,this.accumulator,this.seed,this.hasSeed))},e}(),mo=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 Eo="ColdCallViewProviderStart";function xo(e,t,r=2){return t.pipe(ft((t=>qe(t).pipe(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[e.length-1];return be(r)?(e.pop(),function(t){return Zr(e,t,r)}):function(t){return Zr(e,t)}}(Eo),xt(((t,r)=>t!==Eo?zr(t.viewProvider.provideView(e)).pipe(et(null),_t((e=>{console.error("View provider errored:",e);const{message:t,name:r,stack:n}=Ie(e);return[{message:t,name:r,stack:n}]})),w((e=>({id:t.id,view:e,index:r})))):xe(Eo)),r),function(e,t){var r=!1;return arguments.length>=2&&(r=!0),function(n){return n.lift(new go(e,t,r))}}(((e,t)=>{if(t===Eo)return e;const{index:r,...n}=t;return e[r-1]=n,e}),[...t.map((e=>({id:e.id,view:void 0})))])))),w((e=>e.filter(U(wn,M("view",j(L(null))))))))}class wo{constructor(e,t){this.index=e,this.remainder=t}}class So{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=Oo(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=Oo(e),t=Oo(t),this.values[e]!==t&&(this.values[e]=t,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)}removeValues(e,t){e=Oo(e),t=Oo(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=Oo(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 wo(n,e-o)}}const _o=4294967295;function Oo(e){return e<0?0:e>_o?_o:0|e}const To=/(-?\d*\.\d\w*)|([^\s"'(),;<>?[\\\]`{}]+)/g;class Ao{constructor(e){this.model=e,this._eol=Po(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=Po(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 Cr.Position(t.index,n)}validatePosition(e){if(this.throwIfNoModelText(),!(e instanceof Cr.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 Cr.Position(t,r):e}validateRange(e){if(this.throwIfNoModelText(),!(e instanceof Cr.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 Cr.Range(t.line,t.character,r.line,r.character)}getWordRangeAtPosition(e){this.throwIfNoModelText();const t=function(e,t){if(To.lastIndex=0,!To.exec(t))return null;const r=t.lastIndexOf(" ",e-1)+1;for(To.lastIndex=r;;){const r=To.exec(t);if(!r)return null;const n=r.index||0;if(n<=e&&To.lastIndex>=e)return{word:r[0],startColumn:n,endColumn:To.lastIndex}}}((e=this.validatePosition(e)).character,this._lines[e.line]);if(t)return new Cr.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 So(r)}return this._lineStarts}throwIfNoModelText(){if(void 0===this.model.text)throw new Error("model text is not available")}toJSON(){return this.model}}function Po(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 Co(e){return new Cr.Position(e.line,e.character)}function Io(e){return{uri:e.uri.href,range:Ro(e.range),aggregableBadges:e.aggregableBadges}}function Ro(e){if(e)return e instanceof Cr.Range?e.toJSON():e}class No{constructor({uri:e,inputRevision:t}){this.uri=new URL(e),this.inputRevision=t}}function Lo(e,t){return e.next([...e.value,t]),{unsubscribe:()=>e.next(e.value.filter((e=>e!==t)))}}function jo(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 ko(t);return r};return{haveInitialExtensionsLoaded:()=>Wr(e.haveInitialExtensionsLoaded.asObservable()),syncSettingsData:t=>e.settings.next(Object.freeze(t)),getWorkspaceRoots:()=>Wr(e.roots.pipe(w((e=>e.map((({uri:e,inputRevision:t})=>({uri:e.href,inputRevision:t}))))))),addWorkspaceRoot:t=>{e.roots.next(Object.freeze([...e.roots.value,new No(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)},transformSearchQuery:t=>Wr(e.queryTransformers.pipe(ft((e=>e.reduce(((e,t)=>e.pipe(xt((e=>{const r=t.transformQuery(e);return r instanceof Promise?qe(r):xe(r)})))),xe(t)))))),getHover:r=>{const n=t(r.textDocument.uri),i=Co(r.position);return Wr(Mo(e.hoverProviders,(e=>Do(n,e,(({selector:e})=>e))),(({provider:e})=>e.provideHover(n,i)),(e=>function(e){const t=[],r=[],n=new Map;let i;for(const o of e)if(o){o.contents?.value&&t.push({value:o.contents.value,kind:o.contents.kind||Cr.MarkupKind.PlainText}),o.alerts&&r.push(...o.alerts);for(const e of o.aggregableBadges||[])n.set(e.text,e);o.range&&!i&&(i=o.range instanceof Cr.Range?o.range.toPlain():o.range)}return 0===t.length?null:{contents:t,alerts:r,...i?{range:i}:{},aggregatedBadges:[...n.values()].sort(((e,t)=>e.text.localeCompare(t.text)))}}(Uo(e)))))},getDocumentHighlights:r=>{const n=t(r.textDocument.uri),i=Co(r.position);return Wr(Mo(e.documentHighlightProviders,(e=>Do(n,e,(({selector:e})=>e))),(({provider:e})=>e.provideDocumentHighlights(n,i)),Uo).pipe(w((e=>e.isLoading?[]:e.result))))},getDefinition:r=>{const n=t(r.textDocument.uri),i=Co(r.position);return Wr(Mo(e.definitionProviders,(e=>Do(n,e,(({selector:e})=>e))),(({provider:e})=>e.provideDefinition(n,i)),(e=>Uo(e).map(Io))))},getReferences:(r,n)=>{const i=t(r.textDocument.uri),o=Co(r.position);return Wr(Mo(e.referenceProviders,(e=>Do(i,e,(({selector:e})=>e))),(({provider:e})=>e.provideReferences(i,o,n)),(e=>Uo(e).map(Io))))},hasReferenceProvidersForDocument:r=>{const n=t(r.textDocument.uri);return Wr(e.referenceProviders.pipe(w((e=>0!==Do(n,e,(({selector:e})=>e)).length))))},getLocations:(r,n)=>{const i=t(n.textDocument.uri),o=Co(n.position);return Wr(Mo(e.locationProviders,(e=>Do(i,e.filter((({provider:e})=>r===e.id)),(({selector:e})=>e))),(({provider:e})=>e.provider.provideLocations(i,o)),(e=>Uo(e).map(Io))))},getFileDecorations:t=>Wr(0===t.files.length?P:Mo(e.fileDecorationProviders,$r(),(e=>e.provideFileDecorations(t)),Uo).pipe(w((({result:e})=>qr()(e.filter(Dr),(({uri:e})=>uo(e).filePath||e)))))),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 kr({...r,viewerId:n},e);break}case"DirectoryViewer":i=new yo({...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:()=>Wr(e.viewerUpdates.asObservable()),setEditorSelections:({viewerId:e},t)=>{const n=r(e);Go(n,"CodeEditor"),n.update({selections:t})},getTextDecorations:({viewerId:e})=>{const t=r(e);return Go(t,"CodeEditor"),Wr(t.mergedDecorations)},addTextDocumentIfNotExists:t=>{if(e.textDocuments.has(t.uri))return;const r=new Ao(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:()=>Wr(e.activeViewComponentChanges),getActiveCodeEditorPosition:()=>Wr(e.activeViewComponentChanges.pipe(ft((e=>"CodeEditor"!==e?.type?xe(null):e.selectionsChanges.pipe(w((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=>Wo(t,e),registerContributions:t=>{const r=ur(t);return re(Lo(e.contributions,r))},getContributions:({scope:r,extraContext:n,returnInactiveMenuItems:i}={})=>Wr(We([e.contributions,e.activeViewComponentChanges.pipe(w((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(w((([e,t,o,s])=>{n&&(s={...s,...n});const a=bo(t,o,s,r);return e.map((e=>{try{const t=function(e,t){return{...t,menus:t.menus&&Ft()(t.menus,(t=>t?.map((t=>({...t,when:t.when&&!!t.when.exec(e),disabledWhen:t.disabledWhen&&!!t.disabledWhen.exec(e)}))))),actions:cr(e,t.actions)}}(a,e);return i?t:function(e){return e.menus?{...e,menus:Ft()(e.menus,(e=>e?.filter((e=>!1!==e.when))))}:e}(t)}catch(t){return console.log("Discarding contributions: evaluating expressions or templates failed.",{contributions:e,error:t}),{}}}))})),w(ar),gt(Lr()))),getPlainNotifications:()=>Wr(e.plainNotifications.asObservable()),getProgressNotifications:()=>Wr(e.progressNotifications.asObservable()),getPanelViews:()=>Wr(e.panelViews.pipe(ft((e=>We([...e]))),Or(0))),getInsightViewById:(t,r)=>Wr(e.insightsPageViewProviders.pipe(ft((e=>{const n=e.find((e=>e.id.split(".").slice(0,-1).join(".")===t));return n?zr(n.viewProvider.provideView(r)):we(new Error(`Couldn't find view with id ${t}`))})),_t((e=>{console.error("View provider errored:",e);const{message:t,name:r,stack:n}=Ie(e);return xe({message:t,name:r,stack:n})})),w((e=>({id:t,view:e}))))),getInsightsViews:(t,r)=>function(e,t,r){const n=new Set(r),i=t.pipe(w((e=>e.filter((e=>{if(r){const t=e.id.split(".").slice(0,-1).join(".");return n.has(t)}return!0})))),Or(0));return Wr(xo(e,i))}(t,e.insightsPageViewProviders,r),getHomepageViews:t=>Wr(Bo(t,e.homepageViewProviders)),getDirectoryViews:t=>Wr(Bo({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=>Wr(Bo(t,e.globalPageViewProviders)),getStatusBarItems:({viewerId:e})=>{const t=r(e);return"CodeEditor"!==t.type?Wr(P):Wr(t.mergedStatusBarItems.pipe(Or(0),w((e=>e.sort(((e,t)=>e.text[0].toLowerCase().charCodeAt(0)-t.text[0].toLowerCase().charCodeAt(0)))))))},getLinkPreviews:t=>Wr(Mo(e.linkPreviewProviders,(e=>e.filter((e=>t.startsWith(e.urlMatchPattern)))),(({provider:e})=>e.provideLinkPreview(new URL(t))),(e=>function(e){const t=e.filter(wn).filter((e=>"loading"!==e)),r=t.filter(M("content",wn)),n=t.filter(M("hover",wn));if(0===n.length&&0===r.length)return null;return{content:r.map((({content:e})=>e)),hover:n.map((({hover:e})=>e))}}(e))).pipe(w((e=>e.isLoading?null:e.result)))),getActiveExtensions:()=>Wr(e.activeExtensions)}}function Do(e,t,r){return t.filter((t=>po(r(t),{uri:e.uri,languageId:_n(uo(e.uri).filePath||"")})))}function Mo(e,t,r,n,i=!0){const o=(...e)=>{i&&console.error("Provider errored:",...e)};return e.pipe(w((e=>t(e))),ft((e=>mn(e.map((e=>Zr([en],zr((e=>{try{return r(e)}catch(e){return o(e),null}})(e)).pipe(et(null),_t((e=>(o(e),[null]))))))))))).pipe(et([]),w((e=>({isLoading:e.some((e=>e===en)),result:n(e)}))),gt(((e,t)=>Lr()(e,t))))}function Uo(e){return e.filter(j(L(en))).flatMap(Qr()).filter(wn)}class ko extends Error{name="ViewerNotFoundError";constructor(e){super(`Viewer not found: ${e}`)}}function Go(e,t){if(e.type!==t)throw new Error(`Viewer ID ${e.viewerId} is type ${e.type}, expected ${t}`)}function Bo(e,t){return t.pipe(Or(0),ft((t=>We([xe(null),...t.map((({viewProvider:t,id:r})=>Zr([void 0],zr(t.provideView(e)).pipe(et(null),_t((e=>{console.error("View provider errored:",e);const{message:t,name:r,stack:n}=Ie(e);return[{message:t,name:r,stack:n}]})))).pipe(w((e=>({id:r,view:e}))))))]))),w((e=>e.filter(U(wn,M("view",j(L(null))))))))}const Vo={Error:1,Warning:2,Info:3,Log:4,Success:5};function Fo(e,t,r){const n=Object.assign(e.settings.pipe(xr(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(xr(void 0)),rootChanges:e.rootChanges.asObservable(),versionContextChanges:P,searchContextChanges:e.searchContextChanges.asObservable()},o=async t=>{const r=new Ae(1);return e.progressNotifications.next(re({baseNotification:{message:t.title,type:Vo.Log},progress:Wr(r.asObservable())})),{next:e=>{r.next(e)},error:e=>{const t=Ie(e);r.error({message:t.message,name:t.name,stack:t.stack})},complete:()=>{r.complete()}}},s={get visibleViewComponents(){const t=[...e.viewComponents.entries()];return Er()(t,0).map((([,e])=>e))},get activeViewComponent(){return e.activeViewComponentChanges.value},activeViewComponentChanges:e.activeViewComponentChanges.asObservable(),showNotification:(t,r)=>{e.plainNotifications.next({message:t,type:r})},withProgress:async(e,t)=>{const r=await o(e);try{const e=t(r);return r.complete(),await e}catch(e){throw r.error(e),e}},showProgress:e=>o(e),showMessage:e=>t.showMessage(e),showInputBox:e=>t.showInputBox(e)},a={get activeWindow(){return s},activeWindowChanges:new De(s).asObservable(),get windows(){return[s]},registerFileDecorationProvider:t=>Lo(e.fileDecorationProviders,t),createPanelView:t=>{const r=new De({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=Lo(e.panelViews,r.pipe(Or(0)));return n},registerViewProvider:(t,r)=>{switch(r.where){case"insightsPage":return Lo(e.insightsPageViewProviders,{id:t,viewProvider:r});case"directory":return Lo(e.directoryViewProviders,{id:t,viewProvider:r});case"global/page":return Lo(e.globalPageViewProviders,{id:t,viewProvider:r});case"homepage":return Lo(e.homepageViewProviders,{id:t,viewProvider:r})}},createDecorationType:jr,createStatusBarItemType:Mr,log:kt()},c={executeCommand:(e,...r)=>t.executeCommand(e,r),registerCommand:(e,r)=>Le(t.registerCommand(e,re(r)))},u={registerQueryTransformer:t=>Lo(e.queryTransformers,t)},l={registerHoverProvider:(t,r)=>Lo(e.hoverProviders,{selector:t,provider:r}),registerDocumentHighlightProvider:(t,r)=>Lo(e.documentHighlightProviders,{selector:t,provider:r}),registerDefinitionProvider:(t,r)=>Lo(e.definitionProviders,{selector:t,provider:r}),registerReferenceProvider:(t,r)=>Lo(e.referenceProviders,{selector:t,provider:r}),registerLocationProvider:(t,r,n)=>Lo(e.locationProviders,{selector:r,provider:{id:t,provider:n}}),registerTypeDefinitionProvider:()=>(console.warn("sourcegraph.languages.registerTypeDefinitionProvider was removed. Use sourcegraph.languages.registerLocationProvider instead."),{unsubscribe:()=>{}}),registerImplementationProvider:()=>(console.warn("sourcegraph.languages.registerImplementationProvider was removed. Use sourcegraph.languages.registerLocationProvider instead."),{unsubscribe:()=>{}}),registerCompletionItemProvider:()=>(console.warn("sourcegraph.languages.registerCompletionItemProvider was removed."),{unsubscribe:()=>{}})},f={execute:(e,r)=>t.requestGraphQL(e,r)},p={registerLinkPreviewProvider:(t,r)=>Lo(e.linkPreviewProviders,{urlMatchPattern:t,provider:r})};return function(o){return{URI:URL,Position:Cr.Position,Range:Cr.Range,Selection:Cr.Selection,Location:Cr.Location,MarkupKind:Cr.MarkupKind,NotificationType:Vo,DocumentHighlightKind:Jr,app:{...a,log:(...r)=>{e.activeLoggers.has(o)&&t.logExtensionMessage(`\u{1f9e9} %c${o}`,"background-color: lightgrey;",...r).catch((e=>{console.error("Error sending extension message to main thread:",e)}))}},workspace:i,configuration:n,languages:l,search:u,commands:c,graphQL:f,content:p,internal:{sync:()=>(async()=>{await t.ping()})(),updateContext:t=>Wo(t,e),sourcegraphURL:new URL(r.sourcegraphURL),clientApplication:r.clientApplication}}}}class Ho{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 $o(e){const t=new p;let r=!1;return{unsubscribe:()=>t.unsubscribe(),extensionAPI:new Promise((n=>{q((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:Ne,serialize:e=>[e.href,[]],deserialize:e=>new URL(e)};Y.set("URL",e)}();const n=new Ae(1),i=Q(t.proxy),o=function(e,t,r){let n=new De(new Set),i=xe([]);return null!==t&&null!==r&&({activeLanguages:n,activeExtensions:i}=fr(t,r)),{haveInitialExtensionsLoaded:new De(!1),roots:new De([]),rootChanges:new ue,searchContextChanges:new ue,searchContext:void 0,settings:new De(e.initialSettings),queryTransformers:new De([]),hoverProviders:new De([]),documentHighlightProviders:new De([]),definitionProviders:new De([]),referenceProviders:new De([]),locationProviders:new De([]),fileDecorationProviders:new De([]),context:new De({"clientApplication.isSourcegraph":"sourcegraph"===e.clientApplication,"clientApplication.extensionAPIVersion.major":3}),contributions:new De([]),lastViewerId:0,textDocuments:new Map,openedTextDocuments:new ue,viewComponents:new Map,activeLanguages:n,languageReferences:new Ho,modelReferences:new Ho,activeViewComponentChanges:new De(void 0),viewerUpdates:new ue,plainNotifications:new Ae(3),progressNotifications:new Ae(3),panelViews:new De([]),insightsPageViewProviders:new De([]),homepageViewProviders:new De([]),globalPageViewProviders:new De([]),directoryViewProviders:new De([]),linkPreviewProviders:new De([]),activeExtensions:i,activeLoggers:new Set}}(e,i,n),s=jo(o),a=Fo(o,i,e);r.add(hr(o,i,a,n)),r.add(gr(o));const c={[H]:!0,ping:()=>"pong",mainThreadAPIInitialized:()=>{n.next(!0)},...s},u=a("DEFAULT");return{extensionHostAPI:c,extensionAPI:u,subscription:r}}(t,e);return r.add(o),yr(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)}))}}function Wo(e,t){if(F()(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 zo=e=>"object"==typeof e&&null!==e&&D("endpoints")(e)&&(e=>G()(e)&&D("proxy")(e)&&D("expose")(e)&&B(e.proxy)&&B(e.expose))(e.endpoints);!async function(){try{const e=await O(self,"message").pipe(I(1)).toPromise();if(!zo(e.data))throw new Error("First message event in extension host worker was not a well-formed InitMessage");const{endpoints:t}=e.data,r=$o(t);self.addEventListener("unload",(()=>r.unsubscribe()))}catch(e){console.error("Error starting the extension host:",e),self.close()}}()})()})();
|