@chillicream/nitro-embedded 20.0.0 → 20.0.2

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.
Files changed (60) hide show
  1. package/asset-manifest.json +35 -35
  2. package/index.html +1 -1
  3. package/package.json +1 -1
  4. package/service-worker.js +1 -1
  5. package/static/css/{styles.3e5f6824.css → styles.15b5693c.css} +1 -1
  6. package/static/js/110.e1d98b63.js +2 -0
  7. package/static/js/177.dbf43818.chunk.js +2 -0
  8. package/static/js/{762.76d2e08a.chunk.js.LICENSE.txt → 177.dbf43818.chunk.js.LICENSE.txt} +2 -0
  9. package/static/js/195.3c312188.chunk.js +1 -0
  10. package/static/js/224.08af227a.chunk.js +1 -0
  11. package/static/js/264.e1d98b63.js +1 -0
  12. package/static/js/522.3742b331.chunk.js +1 -0
  13. package/static/js/596.ffc50c59.chunk.js +1 -0
  14. package/static/js/81.3a5e0fef.chunk.js +1 -0
  15. package/static/js/86.e8257075.chunk.js +1 -0
  16. package/static/js/887.e1d98b63.js +2 -0
  17. package/static/js/{459.bb82ca7b.js.LICENSE.txt → 887.e1d98b63.js.LICENSE.txt} +1 -1
  18. package/static/js/907.e1d98b63.js +1 -0
  19. package/static/js/927.e1d98b63.js +1 -0
  20. package/static/js/936.e1d98b63.js +1 -0
  21. package/static/js/940.e1d98b63.js +1 -0
  22. package/static/js/996.99877939.chunk.js +1 -0
  23. package/static/js/editor.e1d98b63.js +1 -0
  24. package/static/js/graphql-engine.d7ab7d09.chunk.js +1 -0
  25. package/static/js/graphql-indexer.47a1123c.chunk.js +1 -0
  26. package/static/js/graphql.worker.e1d98b63.js +2 -0
  27. package/static/js/json.e1d98b63.js +2 -0
  28. package/static/js/main.e1d98b63.js +2 -0
  29. package/static/js/polyfills.e1d98b63.js +1 -0
  30. package/static/js/session.e85eaf27.chunk.js +1 -0
  31. package/static/js/yaml.worker.e1d98b63.js +1 -0
  32. package/static/js/110.bb82ca7b.js +0 -2
  33. package/static/js/195.6d82bb33.chunk.js +0 -1
  34. package/static/js/264.bb82ca7b.js +0 -1
  35. package/static/js/435.bb82ca7b.js +0 -1
  36. package/static/js/459.bb82ca7b.js +0 -102
  37. package/static/js/522.0da62492.chunk.js +0 -1
  38. package/static/js/692.94345d72.chunk.js +0 -1
  39. package/static/js/762.76d2e08a.chunk.js +0 -111
  40. package/static/js/785.6dfcf288.chunk.js +0 -1
  41. package/static/js/81.7ef63da7.chunk.js +0 -2
  42. package/static/js/86.a88d32a1.chunk.js +0 -1
  43. package/static/js/927.bb82ca7b.js +0 -1
  44. package/static/js/936.bb82ca7b.js +0 -1
  45. package/static/js/99.bb82ca7b.js +0 -1
  46. package/static/js/996.ed393652.chunk.js +0 -1
  47. package/static/js/editor.bb82ca7b.js +0 -1
  48. package/static/js/graphql-engine.781c9293.chunk.js +0 -1
  49. package/static/js/graphql-indexer.b0f0f3b9.chunk.js +0 -1
  50. package/static/js/graphql.worker.bb82ca7b.js +0 -2
  51. package/static/js/json.bb82ca7b.js +0 -2
  52. package/static/js/json.bb82ca7b.js.LICENSE.txt +0 -6
  53. package/static/js/main.bb82ca7b.js +0 -2
  54. package/static/js/polyfills.bb82ca7b.js +0 -1
  55. package/static/js/session.1b18a1e8.chunk.js +0 -1
  56. package/static/js/yaml.worker.bb82ca7b.js +0 -22
  57. /package/static/js/{110.bb82ca7b.js.LICENSE.txt → 110.e1d98b63.js.LICENSE.txt} +0 -0
  58. /package/static/js/{graphql.worker.bb82ca7b.js.LICENSE.txt → graphql.worker.e1d98b63.js.LICENSE.txt} +0 -0
  59. /package/static/js/{81.7ef63da7.chunk.js.LICENSE.txt → json.e1d98b63.js.LICENSE.txt} +0 -0
  60. /package/static/js/{main.bb82ca7b.js.LICENSE.txt → main.e1d98b63.js.LICENSE.txt} +0 -0
@@ -0,0 +1,2 @@
1
+ /*! For license information please see graphql.worker.e1d98b63.js.LICENSE.txt */
2
+ (()=>{var e={6676:(e,t)=>{"use strict";t.byteLength=function(e){var t=a(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,o=a(e),s=o[0],u=o[1],l=new i(function(e,t,n){return 3*(t+n)/4-n}(0,s,u)),c=0,d=u>0?s-4:s;for(n=0;n<d;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],l[c++]=t>>16&255,l[c++]=t>>8&255,l[c++]=255&t;2===u&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,l[c++]=255&t);1===u&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t);return l},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],s=16383,a=0,l=r-i;a<l;a+=s)o.push(u(e,a,a+s>l?l:a+s));1===i?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return o.join("")};for(var n=[],r=[],i="undefined"!==typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0;s<64;++s)n[s]=o[s],r[o.charCodeAt(s)]=s;function a(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,r){for(var i,o,s=[],a=t;a<r;a+=3)i=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),s.push(n[(o=i)>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return s.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},3325:(e,t,n)=>{"use strict";const r=n(6676),i=n(6897),o="function"===typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=u,t.SlowBuffer=function(e){+e!=e&&(e=0);return u.alloc(+e)},t.INSPECT_MAX_BYTES=50;const s=2147483647;function a(e){if(e>s)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,n){if("number"===typeof e){if("string"===typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return d(e)}return l(e,t,n)}function l(e,t,n){if("string"===typeof e)return function(e,t){"string"===typeof t&&""!==t||(t="utf8");if(!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const n=0|g(e,t);let r=a(n);const i=r.write(e,t);i!==n&&(r=r.slice(0,i));return r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(Q(e,Uint8Array)){const t=new Uint8Array(e);return h(t.buffer,t.byteOffset,t.byteLength)}return f(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(Q(e,ArrayBuffer)||e&&Q(e.buffer,ArrayBuffer))return h(e,t,n);if("undefined"!==typeof SharedArrayBuffer&&(Q(e,SharedArrayBuffer)||e&&Q(e.buffer,SharedArrayBuffer)))return h(e,t,n);if("number"===typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return u.from(r,t,n);const i=function(e){if(u.isBuffer(e)){const t=0|p(e.length),n=a(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!==typeof e.length||J(e.length)?a(0):f(e);if("Buffer"===e.type&&Array.isArray(e.data))return f(e.data)}(e);if(i)return i;if("undefined"!==typeof Symbol&&null!=Symbol.toPrimitive&&"function"===typeof e[Symbol.toPrimitive])return u.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!==typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function d(e){return c(e),a(e<0?0:0|p(e))}function f(e){const t=e.length<0?0:0|p(e.length),n=a(t);for(let r=0;r<t;r+=1)n[r]=255&e[r];return n}function h(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');let r;return r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),Object.setPrototypeOf(r,u.prototype),r}function p(e){if(e>=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|e}function g(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Q(e,ArrayBuffer))return e.byteLength;if("string"!==typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return H(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return z(e).length;default:if(i)return r?-1:H(e).length;t=(""+t).toLowerCase(),i=!0}}function m(e,t,n){let r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return C(this,t,n);case"utf8":case"utf-8":return I(this,t,n);case"ascii":return A(this,t,n);case"latin1":case"binary":return R(this,t,n);case"base64":return S(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function v(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,i){if(0===e.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),J(n=+n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"===typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:_(e,t,n,r,i);if("number"===typeof t)return t&=255,"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):_(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function _(e,t,n,r,i){let o,s=1,a=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;s=2,a/=2,u/=2,n/=2}function l(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){let r=-1;for(o=n;o<a;o++)if(l(e,o)===l(t,-1===r?0:o-r)){if(-1===r&&(r=o),o-r+1===u)return r*s}else-1!==r&&(o-=o-r),r=-1}else for(n+u>a&&(n=a-u),o=n;o>=0;o--){let n=!0;for(let r=0;r<u;r++)if(l(e,o+r)!==l(t,r)){n=!1;break}if(n)return o}return-1}function E(e,t,n,r){n=Number(n)||0;const i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;const o=t.length;let s;for(r>o/2&&(r=o/2),s=0;s<r;++s){const r=parseInt(t.substr(2*s,2),16);if(J(r))return s;e[n+s]=r}return s}function b(e,t,n,r){return W(H(t,e.length-n),e,n,r)}function D(e,t,n,r){return W(function(e){const t=[];for(let n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function N(e,t,n,r){return W(z(t),e,n,r)}function T(e,t,n,r){return W(function(e,t){let n,r,i;const o=[];for(let s=0;s<e.length&&!((t-=2)<0);++s)n=e.charCodeAt(s),r=n>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function S(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function I(e,t,n){n=Math.min(e.length,n);const r=[];let i=t;for(;i<n;){const t=e[i];let o=null,s=t>239?4:t>223?3:t>191?2:1;if(i+s<=n){let n,r,a,u;switch(s){case 1:t<128&&(o=t);break;case 2:n=e[i+1],128===(192&n)&&(u=(31&t)<<6|63&n,u>127&&(o=u));break;case 3:n=e[i+1],r=e[i+2],128===(192&n)&&128===(192&r)&&(u=(15&t)<<12|(63&n)<<6|63&r,u>2047&&(u<55296||u>57343)&&(o=u));break;case 4:n=e[i+1],r=e[i+2],a=e[i+3],128===(192&n)&&128===(192&r)&&128===(192&a)&&(u=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&a,u>65535&&u<1114112&&(o=u))}}null===o?(o=65533,s=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|1023&o),r.push(o),i+=s}return function(e){const t=e.length;if(t<=w)return String.fromCharCode.apply(String,e);let n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=w));return n}(r)}t.kMaxLength=s,u.TYPED_ARRAY_SUPPORT=function(){try{const e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),u.TYPED_ARRAY_SUPPORT||"undefined"===typeof console||"function"!==typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(e,t,n){return l(e,t,n)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(e,t,n){return function(e,t,n){return c(e),e<=0?a(e):void 0!==t?"string"===typeof n?a(e).fill(t,n):a(e).fill(t):a(e)}(e,t,n)},u.allocUnsafe=function(e){return d(e)},u.allocUnsafeSlow=function(e){return d(e)},u.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==u.prototype},u.compare=function(e,t){if(Q(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),Q(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,r=t.length;for(let i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);let n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;const r=u.allocUnsafe(t);let i=0;for(n=0;n<e.length;++n){let t=e[n];if(Q(t,Uint8Array))i+t.length>r.length?(u.isBuffer(t)||(t=u.from(t)),t.copy(r,i)):Uint8Array.prototype.set.call(r,t,i);else{if(!u.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(r,i)}i+=t.length}return r},u.byteLength=g,u.prototype._isBuffer=!0,u.prototype.swap16=function(){const e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)v(this,t,t+1);return this},u.prototype.swap32=function(){const e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)v(this,t,t+3),v(this,t+1,t+2);return this},u.prototype.swap64=function(){const e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)v(this,t,t+7),v(this,t+1,t+6),v(this,t+2,t+5),v(this,t+3,t+4);return this},u.prototype.toString=function(){const e=this.length;return 0===e?"":0===arguments.length?I(this,0,e):m.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){let e="";const n=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},o&&(u.prototype[o]=u.prototype.inspect),u.prototype.compare=function(e,t,n,r,i){if(Q(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;let o=(i>>>=0)-(r>>>=0),s=(n>>>=0)-(t>>>=0);const a=Math.min(o,s),l=this.slice(r,i),c=e.slice(t,n);for(let u=0;u<a;++u)if(l[u]!==c[u]){o=l[u],s=c[u];break}return o<s?-1:s<o?1:0},u.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},u.prototype.indexOf=function(e,t,n){return y(this,e,t,n,!0)},u.prototype.lastIndexOf=function(e,t,n){return y(this,e,t,n,!1)},u.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"===typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}const i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let o=!1;for(;;)switch(r){case"hex":return E(this,e,t,n);case"utf8":case"utf-8":return b(this,e,t,n);case"ascii":case"latin1":case"binary":return D(this,e,t,n);case"base64":return N(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const w=4096;function A(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function R(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function C(e,t,n){const r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let i="";for(let o=t;o<n;++o)i+=X[e[o]];return i}function O(e,t,n){const r=e.slice(t,n);let i="";for(let o=0;o<r.length-1;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function F(e,t,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function L(e,t,n,r,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function k(e,t,n,r,i){K(t,r,i,e,n,7);let o=Number(t&BigInt(4294967295));e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o;let s=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=s,s>>=8,e[n++]=s,s>>=8,e[n++]=s,s>>=8,e[n++]=s,n}function x(e,t,n,r,i){K(t,r,i,e,n,7);let o=Number(t&BigInt(4294967295));e[n+7]=o,o>>=8,e[n+6]=o,o>>=8,e[n+5]=o,o>>=8,e[n+4]=o;let s=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=s,s>>=8,e[n+2]=s,s>>=8,e[n+1]=s,s>>=8,e[n]=s,n+8}function P(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function M(e,t,n,r,o){return t=+t,n>>>=0,o||P(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function B(e,t,n,r,o){return t=+t,n>>>=0,o||P(e,0,n,8),i.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){const n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);const r=this.subarray(e,t);return Object.setPrototypeOf(r,u.prototype),r},u.prototype.readUintLE=u.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||F(e,t,this.length);let r=this[e],i=1,o=0;for(;++o<t&&(i*=256);)r+=this[e+o]*i;return r},u.prototype.readUintBE=u.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||F(e,t,this.length);let r=this[e+--t],i=1;for(;t>0&&(i*=256);)r+=this[e+--t]*i;return r},u.prototype.readUint8=u.prototype.readUInt8=function(e,t){return e>>>=0,t||F(e,1,this.length),this[e]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||F(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||F(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||F(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||F(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readBigUInt64LE=$((function(e){Y(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||q(e,this.length-8);const r=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,i=this[++e]+256*this[++e]+65536*this[++e]+n*2**24;return BigInt(r)+(BigInt(i)<<BigInt(32))})),u.prototype.readBigUInt64BE=$((function(e){Y(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||q(e,this.length-8);const r=t*2**24+65536*this[++e]+256*this[++e]+this[++e],i=this[++e]*2**24+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<<BigInt(32))+BigInt(i)})),u.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||F(e,t,this.length);let r=this[e],i=1,o=0;for(;++o<t&&(i*=256);)r+=this[e+o]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||F(e,t,this.length);let r=t,i=1,o=this[e+--r];for(;r>0&&(i*=256);)o+=this[e+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return e>>>=0,t||F(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||F(e,2,this.length);const n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){e>>>=0,t||F(e,2,this.length);const n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||F(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||F(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readBigInt64LE=$((function(e){Y(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||q(e,this.length-8);const r=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(r)<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+this[++e]*2**24)})),u.prototype.readBigInt64BE=$((function(e){Y(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||q(e,this.length-8);const r=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(r)<<BigInt(32))+BigInt(this[++e]*2**24+65536*this[++e]+256*this[++e]+n)})),u.prototype.readFloatLE=function(e,t){return e>>>=0,t||F(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||F(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||F(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||F(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){L(this,e,t,n,Math.pow(2,8*n)-1,0)}let i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){L(this,e,t,n,Math.pow(2,8*n)-1,0)}let i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},u.prototype.writeUint8=u.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,1,255,0),this[t]=255&e,t+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigUInt64LE=$((function(e){return k(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeBigUInt64BE=$((function(e){return x(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);L(this,e,t,n,r-1,-r)}let i=0,o=1,s=0;for(this[t]=255&e;++i<n&&(o*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/o|0)-s&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);L(this,e,t,n,r-1,-r)}let i=n-1,o=1,s=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/o|0)-s&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigInt64LE=$((function(e){return k(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeBigInt64BE=$((function(e){return x(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeFloatLE=function(e,t,n){return M(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return M(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return B(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return B(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(!u.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);const i=r-n;return this===e&&"function"===typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),i},u.prototype.fill=function(e,t,n,r){if("string"===typeof e){if("string"===typeof t?(r=t,t=0,n=this.length):"string"===typeof n&&(r=n,n=this.length),void 0!==r&&"string"!==typeof r)throw new TypeError("encoding must be a string");if("string"===typeof r&&!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===e.length){const t=e.charCodeAt(0);("utf8"===r&&t<128||"latin1"===r)&&(e=t)}}else"number"===typeof e?e&=255:"boolean"===typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;let i;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"===typeof e)for(i=t;i<n;++i)this[i]=e;else{const o=u.isBuffer(e)?e:u.from(e,r),s=o.length;if(0===s)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<n-t;++i)this[i+t]=o[i%s]}return this};const V={};function U(e,t,n){V[e]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name="".concat(this.name," [").concat(e,"]"),this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return"".concat(this.name," [").concat(e,"]: ").concat(this.message)}}}function j(e){let t="",n=e.length;const r="-"===e[0]?1:0;for(;n>=r+4;n-=3)t="_".concat(e.slice(n-3,n)).concat(t);return"".concat(e.slice(0,n)).concat(t)}function K(e,t,n,r,i,o){if(e>n||e<t){const r="bigint"===typeof t?"n":"";let i;throw i=o>3?0===t||t===BigInt(0)?">= 0".concat(r," and < 2").concat(r," ** ").concat(8*(o+1)).concat(r):">= -(2".concat(r," ** ").concat(8*(o+1)-1).concat(r,") and < 2 ** ")+"".concat(8*(o+1)-1).concat(r):">= ".concat(t).concat(r," and <= ").concat(n).concat(r),new V.ERR_OUT_OF_RANGE("value",i,e)}!function(e,t,n){Y(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||q(t,e.length-(n+1))}(r,i,o)}function Y(e,t){if("number"!==typeof e)throw new V.ERR_INVALID_ARG_TYPE(t,"number",e)}function q(e,t,n){if(Math.floor(e)!==e)throw Y(e,n),new V.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new V.ERR_BUFFER_OUT_OF_BOUNDS;throw new V.ERR_OUT_OF_RANGE(n||"offset",">= ".concat(n?1:0," and <= ").concat(t),e)}U("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?"".concat(e," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"}),RangeError),U("ERR_INVALID_ARG_TYPE",(function(e,t){return'The "'.concat(e,'" argument must be of type number. Received type ').concat(typeof t)}),TypeError),U("ERR_OUT_OF_RANGE",(function(e,t,n){let r='The value of "'.concat(e,'" is out of range.'),i=n;return Number.isInteger(n)&&Math.abs(n)>2**32?i=j(String(n)):"bigint"===typeof n&&(i=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(i=j(i)),i+="n"),r+=" It must be ".concat(t,". Received ").concat(i),r}),RangeError);const G=/[^+/0-9A-Za-z-_]/g;function H(e,t){let n;t=t||1/0;const r=e.length;let i=null;const o=[];for(let s=0;s<r;++s){if(n=e.charCodeAt(s),n>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function z(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(G,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function W(e,t,n,r){let i;for(i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function Q(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function J(e){return e!==e}const X=function(){const e="0123456789abcdef",t=new Array(256);for(let n=0;n<16;++n){const r=16*n;for(let i=0;i<16;++i)t[r+i]=e[n]+e[i]}return t}();function $(e){return"undefined"===typeof BigInt?Z:e}function Z(){throw new Error("BigInt not supported")}},3137:function(e,t,n){!function(t,r,i){var o;e.exports=(o=n(4703),n(3988),n(7766),n(7020),n(7755),function(){var e=o,t=e.lib.BlockCipher,n=e.algo,r=[],i=[],s=[],a=[],u=[],l=[],c=[],d=[],f=[],h=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var n=0,o=0;for(t=0;t<256;t++){var p=o^o<<1^o<<2^o<<3^o<<4;p=p>>>8^255&p^99,r[n]=p,i[p]=n;var g=e[n],m=e[g],v=e[m],y=257*e[p]^16843008*p;s[n]=y<<24|y>>>8,a[n]=y<<16|y>>>16,u[n]=y<<8|y>>>24,l[n]=y,y=16843009*v^65537*m^257*g^16843008*n,c[p]=y<<24|y>>>8,d[p]=y<<16|y>>>16,f[p]=y<<8|y>>>24,h[p]=y,n?(n=g^e[e[e[v^g]]],o^=e[e[o]]):n=o=1}}();var p=[0,1,2,4,8,16,32,64,128,27,54],g=n.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4,i=4*((this._nRounds=n+6)+1),o=this._keySchedule=[],s=0;s<i;s++)s<n?o[s]=t[s]:(l=o[s-1],s%n?n>6&&s%n==4&&(l=r[l>>>24]<<24|r[l>>>16&255]<<16|r[l>>>8&255]<<8|r[255&l]):(l=r[(l=l<<8|l>>>24)>>>24]<<24|r[l>>>16&255]<<16|r[l>>>8&255]<<8|r[255&l],l^=p[s/n|0]<<24),o[s]=o[s-n]^l);for(var a=this._invKeySchedule=[],u=0;u<i;u++){if(s=i-u,u%4)var l=o[s];else l=o[s-4];a[u]=u<4||s<=4?l:c[r[l>>>24]]^d[r[l>>>16&255]]^f[r[l>>>8&255]]^h[r[255&l]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,s,a,u,l,r)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,c,d,f,h,i),n=e[t+1],e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,r,i,o,s,a){for(var u=this._nRounds,l=e[t]^n[0],c=e[t+1]^n[1],d=e[t+2]^n[2],f=e[t+3]^n[3],h=4,p=1;p<u;p++){var g=r[l>>>24]^i[c>>>16&255]^o[d>>>8&255]^s[255&f]^n[h++],m=r[c>>>24]^i[d>>>16&255]^o[f>>>8&255]^s[255&l]^n[h++],v=r[d>>>24]^i[f>>>16&255]^o[l>>>8&255]^s[255&c]^n[h++],y=r[f>>>24]^i[l>>>16&255]^o[c>>>8&255]^s[255&d]^n[h++];l=g,c=m,d=v,f=y}g=(a[l>>>24]<<24|a[c>>>16&255]<<16|a[d>>>8&255]<<8|a[255&f])^n[h++],m=(a[c>>>24]<<24|a[d>>>16&255]<<16|a[f>>>8&255]<<8|a[255&l])^n[h++],v=(a[d>>>24]<<24|a[f>>>16&255]<<16|a[l>>>8&255]<<8|a[255&c])^n[h++],y=(a[f>>>24]<<24|a[l>>>16&255]<<16|a[c>>>8&255]<<8|a[255&d])^n[h++],e[t]=g,e[t+1]=m,e[t+2]=v,e[t+3]=y},keySize:8});e.AES=t._createHelper(g)}(),o.AES)}()},6722:function(e,t,n){!function(t,r,i){var o;e.exports=(o=n(4703),n(3988),n(7766),n(7020),n(7755),function(){var e=o,t=e.lib.BlockCipher,n=e.algo;const r=16,i=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],s=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var a={pbox:[],sbox:[]};function u(e,t){let n=t>>24&255,r=t>>16&255,i=t>>8&255,o=255&t,s=e.sbox[0][n]+e.sbox[1][r];return s^=e.sbox[2][i],s+=e.sbox[3][o],s}function l(e,t,n){let i,o=t,s=n;for(let a=0;a<r;++a)o^=e.pbox[a],s=u(e,o)^s,i=o,o=s,s=i;return i=o,o=s,s=i,s^=e.pbox[r],o^=e.pbox[r+1],{left:o,right:s}}function c(e,t,n){let i,o=t,s=n;for(let a=r+1;a>1;--a)o^=e.pbox[a],s=u(e,o)^s,i=o,o=s,s=i;return i=o,o=s,s=i,s^=e.pbox[1],o^=e.pbox[0],{left:o,right:s}}function d(e,t,n){for(let r=0;r<4;r++){e.sbox[r]=[];for(let t=0;t<256;t++)e.sbox[r][t]=s[r][t]}let o=0;for(let s=0;s<r+2;s++)e.pbox[s]=i[s]^t[o],o++,o>=n&&(o=0);let a=0,u=0,c=0;for(let i=0;i<r+2;i+=2)c=l(e,a,u),a=c.left,u=c.right,e.pbox[i]=a,e.pbox[i+1]=u;for(let r=0;r<4;r++)for(let t=0;t<256;t+=2)c=l(e,a,u),a=c.left,u=c.right,e.sbox[r][t]=a,e.sbox[r][t+1]=u;return!0}var f=n.Blowfish=t.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4;d(a,t,n)}},encryptBlock:function(e,t){var n=l(a,e[t],e[t+1]);e[t]=n.left,e[t+1]=n.right},decryptBlock:function(e,t){var n=c(a,e[t],e[t+1]);e[t]=n.left,e[t+1]=n.right},blockSize:2,keySize:4,ivSize:2});e.Blowfish=t._createHelper(f)}(),o.Blowfish)}()},7755:function(e,t,n){!function(t,r,i){var o;e.exports=(o=n(4703),n(7020),void(o.lib.Cipher||function(e){var t=o,n=t.lib,r=n.Base,i=n.WordArray,s=n.BufferedBlockAlgorithm,a=t.enc,u=(a.Utf8,a.Base64),l=t.algo.EvpKDF,c=n.Cipher=s.extend({cfg:r.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,n){this.cfg=this.cfg.extend(n),this._xformMode=e,this._key=t,this.reset()},reset:function(){s.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?_:v}return function(t){return{encrypt:function(n,r,i){return e(r).encrypt(t,n,r,i)},decrypt:function(n,r,i){return e(r).decrypt(t,n,r,i)}}}}()}),d=(n.StreamCipher=c.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),t.mode={}),f=n.BlockCipherMode=r.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),h=d.CBC=function(){var t=f.extend();function n(t,n,r){var i,o=this._iv;o?(i=o,this._iv=e):i=this._prevBlock;for(var s=0;s<r;s++)t[n+s]^=i[s]}return t.Encryptor=t.extend({processBlock:function(e,t){var r=this._cipher,i=r.blockSize;n.call(this,e,t,i),r.encryptBlock(e,t),this._prevBlock=e.slice(t,t+i)}}),t.Decryptor=t.extend({processBlock:function(e,t){var r=this._cipher,i=r.blockSize,o=e.slice(t,t+i);r.decryptBlock(e,t),n.call(this,e,t,i),this._prevBlock=o}}),t}(),p=(t.pad={}).Pkcs7={pad:function(e,t){for(var n=4*t,r=n-e.sigBytes%n,o=r<<24|r<<16|r<<8|r,s=[],a=0;a<r;a+=4)s.push(o);var u=i.create(s,r);e.concat(u)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},g=(n.BlockCipher=c.extend({cfg:c.cfg.extend({mode:h,padding:p}),reset:function(){var e;c.reset.call(this);var t=this.cfg,n=t.iv,r=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=r.createEncryptor:(e=r.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,n&&n.words):(this._mode=e.call(r,this,n&&n.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),n.CipherParams=r.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}})),m=(t.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,n=e.salt;return(n?i.create([1398893684,1701076831]).concat(n).concat(t):t).toString(u)},parse:function(e){var t,n=u.parse(e),r=n.words;return 1398893684==r[0]&&1701076831==r[1]&&(t=i.create(r.slice(2,4)),r.splice(0,4),n.sigBytes-=16),g.create({ciphertext:n,salt:t})}},v=n.SerializableCipher=r.extend({cfg:r.extend({format:m}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var i=e.createEncryptor(n,r),o=i.finalize(t),s=i.cfg;return g.create({ciphertext:o,key:n,iv:s.iv,algorithm:e,mode:s.mode,padding:s.padding,blockSize:e.blockSize,formatter:r.format})},decrypt:function(e,t,n,r){return r=this.cfg.extend(r),t=this._parse(t,r.format),e.createDecryptor(n,r).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),y=(t.kdf={}).OpenSSL={execute:function(e,t,n,r,o){if(r||(r=i.random(8)),o)s=l.create({keySize:t+n,hasher:o}).compute(e,r);else var s=l.create({keySize:t+n}).compute(e,r);var a=i.create(s.words.slice(t),4*n);return s.sigBytes=4*t,g.create({key:s,iv:a,salt:r})}},_=n.PasswordBasedCipher=v.extend({cfg:v.cfg.extend({kdf:y}),encrypt:function(e,t,n,r){var i=(r=this.cfg.extend(r)).kdf.execute(n,e.keySize,e.ivSize,r.salt,r.hasher);r.iv=i.iv;var o=v.encrypt.call(this,e,t,i.key,r);return o.mixIn(i),o},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var i=r.kdf.execute(n,e.keySize,e.ivSize,t.salt,r.hasher);return r.iv=i.iv,v.decrypt.call(this,e,t,i.key,r)}})}()))}()},4703:function(e,t,n){e.exports=function(){var e=e||function(e,t){var r;if("undefined"!==typeof window&&window.crypto&&(r=window.crypto),"undefined"!==typeof self&&self.crypto&&(r=self.crypto),"undefined"!==typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!==typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&"undefined"!==typeof n.g&&n.g.crypto&&(r=n.g.crypto),!r)try{r=n(477)}catch(m){}var i=function(){if(r){if("function"===typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(m){}if("function"===typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(m){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),s={},a=s.lib={},u=a.Base={extend:function(e){var t=o(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},l=a.WordArray=u.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:4*e.length},toString:function(e){return(e||d).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,i=e.sigBytes;if(this.clamp(),r%4)for(var o=0;o<i;o++){var s=n[o>>>2]>>>24-o%4*8&255;t[r+o>>>2]|=s<<24-(r+o)%4*8}else for(var a=0;a<i;a+=4)t[r+a>>>2]=n[a>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=u.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n<e;n+=4)t.push(i());return new l.init(t,e)}}),c=s.enc={},d=c.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i++){var o=t[i>>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new l.init(n,t/2)}},f=c.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i++){var o=t[i>>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new l.init(n,t)}},h=c.Utf8={stringify:function(e){try{return decodeURIComponent(escape(f.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return f.parse(unescape(encodeURIComponent(e)))}},p=a.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=h.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,i=r.words,o=r.sigBytes,s=this.blockSize,a=o/(4*s),u=(a=t?e.ceil(a):e.max((0|a)-this._minBufferSize,0))*s,c=e.min(4*u,o);if(u){for(var d=0;d<u;d+=s)this._doProcessBlock(i,d);n=i.splice(0,u),r.sigBytes-=c}return new l.init(n,c)},clone:function(){var e=u.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),g=(a.Hasher=p.extend({cfg:u.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){p.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new g.HMAC.init(e,n).finalize(t)}}}),s.algo={});return s}(Math);return e}()},3988:function(e,t,n){!function(t,r){var i;e.exports=(i=n(4703),function(){var e=i,t=e.lib.WordArray;function n(e,n,r){for(var i=[],o=0,s=0;s<n;s++)if(s%4){var a=r[e.charCodeAt(s-1)]<<s%4*2|r[e.charCodeAt(s)]>>>6-s%4*2;i[o>>>2]|=a<<24-o%4*8,o++}return t.create(i,o)}e.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var i=[],o=0;o<n;o+=3)for(var s=(t[o>>>2]>>>24-o%4*8&255)<<16|(t[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|t[o+2>>>2]>>>24-(o+2)%4*8&255,a=0;a<4&&o+.75*a<n;a++)i.push(r.charAt(s>>>6*(3-a)&63));var u=r.charAt(64);if(u)for(;i.length%4;)i.push(u);return i.join("")},parse:function(e){var t=e.length,r=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var o=0;o<r.length;o++)i[r.charCodeAt(o)]=o}var s=r.charAt(64);if(s){var a=e.indexOf(s);-1!==a&&(t=a)}return n(e,t,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),i.enc.Base64)}()},9367:function(e,t,n){!function(t,r){var i;e.exports=(i=n(4703),function(){var e=i,t=e.lib.WordArray;function n(e,n,r){for(var i=[],o=0,s=0;s<n;s++)if(s%4){var a=r[e.charCodeAt(s-1)]<<s%4*2|r[e.charCodeAt(s)]>>>6-s%4*2;i[o>>>2]|=a<<24-o%4*8,o++}return t.create(i,o)}e.enc.Base64url={stringify:function(e,t){void 0===t&&(t=!0);var n=e.words,r=e.sigBytes,i=t?this._safe_map:this._map;e.clamp();for(var o=[],s=0;s<r;s+=3)for(var a=(n[s>>>2]>>>24-s%4*8&255)<<16|(n[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|n[s+2>>>2]>>>24-(s+2)%4*8&255,u=0;u<4&&s+.75*u<r;u++)o.push(i.charAt(a>>>6*(3-u)&63));var l=i.charAt(64);if(l)for(;o.length%4;)o.push(l);return o.join("")},parse:function(e,t){void 0===t&&(t=!0);var r=e.length,i=t?this._safe_map:this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var s=0;s<i.length;s++)o[i.charCodeAt(s)]=s}var a=i.charAt(64);if(a){var u=e.indexOf(a);-1!==u&&(r=u)}return n(e,r,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"}}(),i.enc.Base64url)}()},7353:function(e,t,n){!function(t,r){var i;e.exports=(i=n(4703),function(){var e=i,t=e.lib.WordArray,n=e.enc;function r(e){return e<<8&4278255360|e>>>8&16711935}n.Utf16=n.Utf16BE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i+=2){var o=t[i>>>2]>>>16-i%4*8&65535;r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var n=e.length,r=[],i=0;i<n;i++)r[i>>>1]|=e.charCodeAt(i)<<16-i%2*16;return t.create(r,2*n)}},n.Utf16LE={stringify:function(e){for(var t=e.words,n=e.sigBytes,i=[],o=0;o<n;o+=2){var s=r(t[o>>>2]>>>16-o%4*8&65535);i.push(String.fromCharCode(s))}return i.join("")},parse:function(e){for(var n=e.length,i=[],o=0;o<n;o++)i[o>>>1]|=r(e.charCodeAt(o)<<16-o%2*16);return t.create(i,2*n)}}}(),i.enc.Utf16)}()},7020:function(e,t,n){!function(t,r,i){var o;e.exports=(o=n(4703),n(2689),n(9787),function(){var e=o,t=e.lib,n=t.Base,r=t.WordArray,i=e.algo,s=i.MD5,a=i.EvpKDF=n.extend({cfg:n.extend({keySize:4,hasher:s,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n,i=this.cfg,o=i.hasher.create(),s=r.create(),a=s.words,u=i.keySize,l=i.iterations;a.length<u;){n&&o.update(n),n=o.update(e).finalize(t),o.reset();for(var c=1;c<l;c++)n=o.finalize(n),o.reset();s.concat(n)}return s.sigBytes=4*u,s}});e.EvpKDF=function(e,t,n){return a.create(n).compute(e,t)}}(),o.EvpKDF)}()},1115:function(e,t,n){!function(t,r,i){var o;e.exports=(o=n(4703),n(7755),function(e){var t=o,n=t.lib.CipherParams,r=t.enc.Hex;t.format.Hex={stringify:function(e){return e.ciphertext.toString(r)},parse:function(e){var t=r.parse(e);return n.create({ciphertext:t})}}}(),o.format.Hex)}()},9787:function(e,t,n){!function(t,r){var i;e.exports=(i=n(4703),void function(){var e=i,t=e.lib.Base,n=e.enc.Utf8;e.algo.HMAC=t.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=n.parse(t));var r=e.blockSize,i=4*r;t.sigBytes>i&&(t=e.finalize(t)),t.clamp();for(var o=this._oKey=t.clone(),s=this._iKey=t.clone(),a=o.words,u=s.words,l=0;l<r;l++)a[l]^=1549556828,u[l]^=909522486;o.sigBytes=s.sigBytes=i,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,n=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(n))}})}())}()},9210:function(e,t,n){!function(t,r,i){var o;e.exports=(o=n(4703),n(4654),n(6810),n(7353),n(3988),n(9367),n(7766),n(2689),n(7427),n(4798),n(4290),n(6883),n(7055),n(6290),n(9787),n(5425),n(7020),n(7755),n(167),n(1045),n(7118),n(9907),n(2768),n(7279),n(4239),n(6008),n(9321),n(8406),n(1115),n(3137),n(4774),n(5003),n(676),n(4278),n(6722),o)}()},6810:function(e,t,n){!function(t,r){var i;e.exports=(i=n(4703),function(){if("function"==typeof ArrayBuffer){var e=i.lib.WordArray,t=e.init,n=e.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!==typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var n=e.byteLength,r=[],i=0;i<n;i++)r[i>>>2]|=e[i]<<24-i%4*8;t.call(this,r,n)}else t.apply(this,arguments)};n.prototype=e}}(),i.lib.WordArray)}()},7766:function(e,t,n){!function(t,r){var i;e.exports=(i=n(4703),function(e){var t=i,n=t.lib,r=n.WordArray,o=n.Hasher,s=t.algo,a=[];!function(){for(var t=0;t<64;t++)a[t]=4294967296*e.abs(e.sin(t+1))|0}();var u=s.MD5=o.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,i=e[r];e[r]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o=this._hash.words,s=e[t+0],u=e[t+1],h=e[t+2],p=e[t+3],g=e[t+4],m=e[t+5],v=e[t+6],y=e[t+7],_=e[t+8],E=e[t+9],b=e[t+10],D=e[t+11],N=e[t+12],T=e[t+13],S=e[t+14],I=e[t+15],w=o[0],A=o[1],R=o[2],C=o[3];w=l(w,A,R,C,s,7,a[0]),C=l(C,w,A,R,u,12,a[1]),R=l(R,C,w,A,h,17,a[2]),A=l(A,R,C,w,p,22,a[3]),w=l(w,A,R,C,g,7,a[4]),C=l(C,w,A,R,m,12,a[5]),R=l(R,C,w,A,v,17,a[6]),A=l(A,R,C,w,y,22,a[7]),w=l(w,A,R,C,_,7,a[8]),C=l(C,w,A,R,E,12,a[9]),R=l(R,C,w,A,b,17,a[10]),A=l(A,R,C,w,D,22,a[11]),w=l(w,A,R,C,N,7,a[12]),C=l(C,w,A,R,T,12,a[13]),R=l(R,C,w,A,S,17,a[14]),w=c(w,A=l(A,R,C,w,I,22,a[15]),R,C,u,5,a[16]),C=c(C,w,A,R,v,9,a[17]),R=c(R,C,w,A,D,14,a[18]),A=c(A,R,C,w,s,20,a[19]),w=c(w,A,R,C,m,5,a[20]),C=c(C,w,A,R,b,9,a[21]),R=c(R,C,w,A,I,14,a[22]),A=c(A,R,C,w,g,20,a[23]),w=c(w,A,R,C,E,5,a[24]),C=c(C,w,A,R,S,9,a[25]),R=c(R,C,w,A,p,14,a[26]),A=c(A,R,C,w,_,20,a[27]),w=c(w,A,R,C,T,5,a[28]),C=c(C,w,A,R,h,9,a[29]),R=c(R,C,w,A,y,14,a[30]),w=d(w,A=c(A,R,C,w,N,20,a[31]),R,C,m,4,a[32]),C=d(C,w,A,R,_,11,a[33]),R=d(R,C,w,A,D,16,a[34]),A=d(A,R,C,w,S,23,a[35]),w=d(w,A,R,C,u,4,a[36]),C=d(C,w,A,R,g,11,a[37]),R=d(R,C,w,A,y,16,a[38]),A=d(A,R,C,w,b,23,a[39]),w=d(w,A,R,C,T,4,a[40]),C=d(C,w,A,R,s,11,a[41]),R=d(R,C,w,A,p,16,a[42]),A=d(A,R,C,w,v,23,a[43]),w=d(w,A,R,C,E,4,a[44]),C=d(C,w,A,R,N,11,a[45]),R=d(R,C,w,A,I,16,a[46]),w=f(w,A=d(A,R,C,w,h,23,a[47]),R,C,s,6,a[48]),C=f(C,w,A,R,y,10,a[49]),R=f(R,C,w,A,S,15,a[50]),A=f(A,R,C,w,m,21,a[51]),w=f(w,A,R,C,N,6,a[52]),C=f(C,w,A,R,p,10,a[53]),R=f(R,C,w,A,b,15,a[54]),A=f(A,R,C,w,u,21,a[55]),w=f(w,A,R,C,_,6,a[56]),C=f(C,w,A,R,I,10,a[57]),R=f(R,C,w,A,v,15,a[58]),A=f(A,R,C,w,T,21,a[59]),w=f(w,A,R,C,g,6,a[60]),C=f(C,w,A,R,D,10,a[61]),R=f(R,C,w,A,h,15,a[62]),A=f(A,R,C,w,E,21,a[63]),o[0]=o[0]+w|0,o[1]=o[1]+A|0,o[2]=o[2]+R|0,o[3]=o[3]+C|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;n[i>>>5]|=128<<24-i%32;var o=e.floor(r/4294967296),s=r;n[15+(i+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),n[14+(i+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),t.sigBytes=4*(n.length+1),this._process();for(var a=this._hash,u=a.words,l=0;l<4;l++){var c=u[l];u[l]=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8)}return a},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function l(e,t,n,r,i,o,s){var a=e+(t&n|~t&r)+i+s;return(a<<o|a>>>32-o)+t}function c(e,t,n,r,i,o,s){var a=e+(t&r|n&~r)+i+s;return(a<<o|a>>>32-o)+t}function d(e,t,n,r,i,o,s){var a=e+(t^n^r)+i+s;return(a<<o|a>>>32-o)+t}function f(e,t,n,r,i,o,s){var a=e+(n^(t|~r))+i+s;return(a<<o|a>>>32-o)+t}t.MD5=o._createHelper(u),t.HmacMD5=o._createHmacHelper(u)}(Math),i.MD5)}()},167:function(e,t,n){!function(t,r,i){var o;e.exports=(o=n(4703),n(7755),o.mode.CFB=function(){var e=o.lib.BlockCipherMode.extend();function t(e,t,n,r){var i,o=this._iv;o?(i=o.slice(0),this._iv=void 0):i=this._prevBlock,r.encryptBlock(i,0);for(var s=0;s<n;s++)e[t+s]^=i[s]}return e.Encryptor=e.extend({processBlock:function(e,n){var r=this._cipher,i=r.blockSize;t.call(this,e,n,i,r),this._prevBlock=e.slice(n,n+i)}}),e.Decryptor=e.extend({processBlock:function(e,n){var r=this._cipher,i=r.blockSize,o=e.slice(n,n+i);t.call(this,e,n,i,r),this._prevBlock=o}}),e}(),o.mode.CFB)}()},7118:function(e,t,n){!function(t,r,i){var o;e.exports=(o=n(4703),n(7755),o.mode.CTRGladman=function(){var e=o.lib.BlockCipherMode.extend();function t(e){if(255===(e>>24&255)){var t=e>>16&255,n=e>>8&255,r=255&e;255===t?(t=0,255===n?(n=0,255===r?r=0:++r):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=r}else e+=1<<24;return e}function n(e){return 0===(e[0]=t(e[0]))&&(e[1]=t(e[1])),e}var r=e.Encryptor=e.extend({processBlock:function(e,t){var r=this._cipher,i=r.blockSize,o=this._iv,s=this._counter;o&&(s=this._counter=o.slice(0),this._iv=void 0),n(s);var a=s.slice(0);r.encryptBlock(a,0);for(var u=0;u<i;u++)e[t+u]^=a[u]}});return e.Decryptor=r,e}(),o.mode.CTRGladman)}()},1045:function(e,t,n){!function(t,r,i){var o;e.exports=(o=n(4703),n(7755),o.mode.CTR=function(){var e=o.lib.BlockCipherMode.extend(),t=e.Encryptor=e.extend({processBlock:function(e,t){var n=this._cipher,r=n.blockSize,i=this._iv,o=this._counter;i&&(o=this._counter=i.slice(0),this._iv=void 0);var s=o.slice(0);n.encryptBlock(s,0),o[r-1]=o[r-1]+1|0;for(var a=0;a<r;a++)e[t+a]^=s[a]}});return e.Decryptor=t,e}(),o.mode.CTR)}()},2768:function(e,t,n){!function(t,r,i){var o;e.exports=(o=n(4703),n(7755),o.mode.ECB=function(){var e=o.lib.BlockCipherMode.extend();return e.Encryptor=e.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),e.Decryptor=e.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),e}(),o.mode.ECB)}()},9907:function(e,t,n){!function(t,r,i){var o;e.exports=(o=n(4703),n(7755),o.mode.OFB=function(){var e=o.lib.BlockCipherMode.extend(),t=e.Encryptor=e.extend({processBlock:function(e,t){var n=this._cipher,r=n.blockSize,i=this._iv,o=this._keystream;i&&(o=this._keystream=i.slice(0),this._iv=void 0),n.encryptBlock(o,0);for(var s=0;s<r;s++)e[t+s]^=o[s]}});return e.Decryptor=t,e}(),o.mode.OFB)}()},7279:function(e,t,n){!function(t,r,i){var o;e.exports=(o=n(4703),n(7755),o.pad.AnsiX923={pad:function(e,t){var n=e.sigBytes,r=4*t,i=r-n%r,o=n+i-1;e.clamp(),e.words[o>>>2]|=i<<24-o%4*8,e.sigBytes+=i},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},o.pad.Ansix923)}()},4239:function(e,t,n){!function(t,r,i){var o;e.exports=(o=n(4703),n(7755),o.pad.Iso10126={pad:function(e,t){var n=4*t,r=n-e.sigBytes%n;e.concat(o.lib.WordArray.random(r-1)).concat(o.lib.WordArray.create([r<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},o.pad.Iso10126)}()},6008:function(e,t,n){!function(t,r,i){var o;e.exports=(o=n(4703),n(7755),o.pad.Iso97971={pad:function(e,t){e.concat(o.lib.WordArray.create([2147483648],1)),o.pad.ZeroPadding.pad(e,t)},unpad:function(e){o.pad.ZeroPadding.unpad(e),e.sigBytes--}},o.pad.Iso97971)}()},8406:function(e,t,n){!function(t,r,i){var o;e.exports=(o=n(4703),n(7755),o.pad.NoPadding={pad:function(){},unpad:function(){}},o.pad.NoPadding)}()},9321:function(e,t,n){!function(t,r,i){var o;e.exports=(o=n(4703),n(7755),o.pad.ZeroPadding={pad:function(e,t){var n=4*t;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){var t=e.words,n=e.sigBytes-1;for(n=e.sigBytes-1;n>=0;n--)if(t[n>>>2]>>>24-n%4*8&255){e.sigBytes=n+1;break}}},o.pad.ZeroPadding)}()},5425:function(e,t,n){!function(t,r,i){var o;e.exports=(o=n(4703),n(7427),n(9787),function(){var e=o,t=e.lib,n=t.Base,r=t.WordArray,i=e.algo,s=i.SHA256,a=i.HMAC,u=i.PBKDF2=n.extend({cfg:n.extend({keySize:4,hasher:s,iterations:25e4}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n=this.cfg,i=a.create(n.hasher,e),o=r.create(),s=r.create([1]),u=o.words,l=s.words,c=n.keySize,d=n.iterations;u.length<c;){var f=i.update(t).finalize(s);i.reset();for(var h=f.words,p=h.length,g=f,m=1;m<d;m++){g=i.finalize(g),i.reset();for(var v=g.words,y=0;y<p;y++)h[y]^=v[y]}o.concat(f),l[0]++}return o.sigBytes=4*c,o}});e.PBKDF2=function(e,t,n){return u.create(n).compute(e,t)}}(),o.PBKDF2)}()},4278:function(e,t,n){!function(t,r,i){var o;e.exports=(o=n(4703),n(3988),n(7766),n(7020),n(7755),function(){var e=o,t=e.lib.StreamCipher,n=e.algo,r=[],i=[],s=[],a=n.RabbitLegacy=t.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],r=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var i=0;i<4;i++)u.call(this);for(i=0;i<8;i++)r[i]^=n[i+4&7];if(t){var o=t.words,s=o[0],a=o[1],l=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),c=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),d=l>>>16|4294901760&c,f=c<<16|65535&l;for(r[0]^=l,r[1]^=d,r[2]^=c,r[3]^=f,r[4]^=l,r[5]^=d,r[6]^=c,r[7]^=f,i=0;i<4;i++)u.call(this)}},_doProcessBlock:function(e,t){var n=this._X;u.call(this),r[0]=n[0]^n[5]>>>16^n[3]<<16,r[1]=n[2]^n[7]>>>16^n[5]<<16,r[2]=n[4]^n[1]>>>16^n[7]<<16,r[3]=n[6]^n[3]>>>16^n[1]<<16;for(var i=0;i<4;i++)r[i]=16711935&(r[i]<<8|r[i]>>>24)|4278255360&(r[i]<<24|r[i]>>>8),e[t+i]^=r[i]},blockSize:4,ivSize:2});function u(){for(var e=this._X,t=this._C,n=0;n<8;n++)i[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<i[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<i[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<i[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<i[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<i[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<i[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<i[6]>>>0?1:0)|0,this._b=t[7]>>>0<i[7]>>>0?1:0,n=0;n<8;n++){var r=e[n]+t[n],o=65535&r,a=r>>>16,u=((o*o>>>17)+o*a>>>15)+a*a,l=((4294901760&r)*r|0)+((65535&r)*r|0);s[n]=u^l}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}e.RabbitLegacy=t._createHelper(a)}(),o.RabbitLegacy)}()},676:function(e,t,n){!function(t,r,i){var o;e.exports=(o=n(4703),n(3988),n(7766),n(7020),n(7755),function(){var e=o,t=e.lib.StreamCipher,n=e.algo,r=[],i=[],s=[],a=n.Rabbit=t.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,n=0;n<4;n++)e[n]=16711935&(e[n]<<8|e[n]>>>24)|4278255360&(e[n]<<24|e[n]>>>8);var r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],i=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,n=0;n<4;n++)u.call(this);for(n=0;n<8;n++)i[n]^=r[n+4&7];if(t){var o=t.words,s=o[0],a=o[1],l=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),c=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),d=l>>>16|4294901760&c,f=c<<16|65535&l;for(i[0]^=l,i[1]^=d,i[2]^=c,i[3]^=f,i[4]^=l,i[5]^=d,i[6]^=c,i[7]^=f,n=0;n<4;n++)u.call(this)}},_doProcessBlock:function(e,t){var n=this._X;u.call(this),r[0]=n[0]^n[5]>>>16^n[3]<<16,r[1]=n[2]^n[7]>>>16^n[5]<<16,r[2]=n[4]^n[1]>>>16^n[7]<<16,r[3]=n[6]^n[3]>>>16^n[1]<<16;for(var i=0;i<4;i++)r[i]=16711935&(r[i]<<8|r[i]>>>24)|4278255360&(r[i]<<24|r[i]>>>8),e[t+i]^=r[i]},blockSize:4,ivSize:2});function u(){for(var e=this._X,t=this._C,n=0;n<8;n++)i[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<i[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<i[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<i[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<i[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<i[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<i[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<i[6]>>>0?1:0)|0,this._b=t[7]>>>0<i[7]>>>0?1:0,n=0;n<8;n++){var r=e[n]+t[n],o=65535&r,a=r>>>16,u=((o*o>>>17)+o*a>>>15)+a*a,l=((4294901760&r)*r|0)+((65535&r)*r|0);s[n]=u^l}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}e.Rabbit=t._createHelper(a)}(),o.Rabbit)}()},5003:function(e,t,n){!function(t,r,i){var o;e.exports=(o=n(4703),n(3988),n(7766),n(7020),n(7755),function(){var e=o,t=e.lib.StreamCipher,n=e.algo,r=n.RC4=t.extend({_doReset:function(){for(var e=this._key,t=e.words,n=e.sigBytes,r=this._S=[],i=0;i<256;i++)r[i]=i;i=0;for(var o=0;i<256;i++){var s=i%n,a=t[s>>>2]>>>24-s%4*8&255;o=(o+r[i]+a)%256;var u=r[i];r[i]=r[o],r[o]=u}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=i.call(this)},keySize:8,ivSize:0});function i(){for(var e=this._S,t=this._i,n=this._j,r=0,i=0;i<4;i++){n=(n+e[t=(t+1)%256])%256;var o=e[t];e[t]=e[n],e[n]=o,r|=e[(e[t]+e[n])%256]<<24-8*i}return this._i=t,this._j=n,r}e.RC4=t._createHelper(r);var s=n.RC4Drop=r.extend({cfg:r.cfg.extend({drop:192}),_doReset:function(){r._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)i.call(this)}});e.RC4Drop=t._createHelper(s)}(),o.RC4)}()},6290:function(e,t,n){!function(t,r){var i;e.exports=(i=n(4703),function(e){var t=i,n=t.lib,r=n.WordArray,o=n.Hasher,s=t.algo,a=r.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),u=r.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),l=r.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),c=r.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),d=r.create([0,1518500249,1859775393,2400959708,2840853838]),f=r.create([1352829926,1548603684,1836072691,2053994217,0]),h=s.RIPEMD160=o.extend({_doReset:function(){this._hash=r.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,i=e[r];e[r]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o,s,h,E,b,D,N,T,S,I,w,A=this._hash.words,R=d.words,C=f.words,O=a.words,F=u.words,L=l.words,k=c.words;for(D=o=A[0],N=s=A[1],T=h=A[2],S=E=A[3],I=b=A[4],n=0;n<80;n+=1)w=o+e[t+O[n]]|0,w+=n<16?p(s,h,E)+R[0]:n<32?g(s,h,E)+R[1]:n<48?m(s,h,E)+R[2]:n<64?v(s,h,E)+R[3]:y(s,h,E)+R[4],w=(w=_(w|=0,L[n]))+b|0,o=b,b=E,E=_(h,10),h=s,s=w,w=D+e[t+F[n]]|0,w+=n<16?y(N,T,S)+C[0]:n<32?v(N,T,S)+C[1]:n<48?m(N,T,S)+C[2]:n<64?g(N,T,S)+C[3]:p(N,T,S)+C[4],w=(w=_(w|=0,k[n]))+I|0,D=I,I=S,S=_(T,10),T=N,N=w;w=A[1]+h+S|0,A[1]=A[2]+E+I|0,A[2]=A[3]+b+D|0,A[3]=A[4]+o+N|0,A[4]=A[0]+s+T|0,A[0]=w},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var i=this._hash,o=i.words,s=0;s<5;s++){var a=o[s];o[s]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}return i},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function p(e,t,n){return e^t^n}function g(e,t,n){return e&t|~e&n}function m(e,t,n){return(e|~t)^n}function v(e,t,n){return e&n|t&~n}function y(e,t,n){return e^(t|~n)}function _(e,t){return e<<t|e>>>32-t}t.RIPEMD160=o._createHelper(h),t.HmacRIPEMD160=o._createHmacHelper(h)}(Math),i.RIPEMD160)}()},2689:function(e,t,n){!function(t,r){var i;e.exports=(i=n(4703),function(){var e=i,t=e.lib,n=t.WordArray,r=t.Hasher,o=e.algo,s=[],a=o.SHA1=r.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],a=n[3],u=n[4],l=0;l<80;l++){if(l<16)s[l]=0|e[t+l];else{var c=s[l-3]^s[l-8]^s[l-14]^s[l-16];s[l]=c<<1|c>>>31}var d=(r<<5|r>>>27)+u+s[l];d+=l<20?1518500249+(i&o|~i&a):l<40?1859775393+(i^o^a):l<60?(i&o|i&a|o&a)-1894007588:(i^o^a)-899497514,u=a,a=o,o=i<<30|i>>>2,i=r,r=d}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+o|0,n[3]=n[3]+a|0,n[4]=n[4]+u|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e}});e.SHA1=r._createHelper(a),e.HmacSHA1=r._createHmacHelper(a)}(),i.SHA1)}()},4798:function(e,t,n){!function(t,r,i){var o;e.exports=(o=n(4703),n(7427),function(){var e=o,t=e.lib.WordArray,n=e.algo,r=n.SHA256,i=n.SHA224=r.extend({_doReset:function(){this._hash=new t.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=r._doFinalize.call(this);return e.sigBytes-=4,e}});e.SHA224=r._createHelper(i),e.HmacSHA224=r._createHmacHelper(i)}(),o.SHA224)}()},7427:function(e,t,n){!function(t,r){var i;e.exports=(i=n(4703),function(e){var t=i,n=t.lib,r=n.WordArray,o=n.Hasher,s=t.algo,a=[],u=[];!function(){function t(t){for(var n=e.sqrt(t),r=2;r<=n;r++)if(!(t%r))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var r=2,i=0;i<64;)t(r)&&(i<8&&(a[i]=n(e.pow(r,.5))),u[i]=n(e.pow(r,1/3)),i++),r++}();var l=[],c=s.SHA256=o.extend({_doReset:function(){this._hash=new r.init(a.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],s=n[3],a=n[4],c=n[5],d=n[6],f=n[7],h=0;h<64;h++){if(h<16)l[h]=0|e[t+h];else{var p=l[h-15],g=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,m=l[h-2],v=(m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10;l[h]=g+l[h-7]+v+l[h-16]}var y=r&i^r&o^i&o,_=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),E=f+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&c^~a&d)+u[h]+l[h];f=d,d=c,c=a,a=s+E|0,s=o,o=i,i=r,r=E+(_+y)|0}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+o|0,n[3]=n[3]+s|0,n[4]=n[4]+a|0,n[5]=n[5]+c|0,n[6]=n[6]+d|0,n[7]=n[7]+f|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;return n[i>>>5]|=128<<24-i%32,n[14+(i+64>>>9<<4)]=e.floor(r/4294967296),n[15+(i+64>>>9<<4)]=r,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=o._createHelper(c),t.HmacSHA256=o._createHmacHelper(c)}(Math),i.SHA256)}()},7055:function(e,t,n){!function(t,r,i){var o;e.exports=(o=n(4703),n(4654),function(e){var t=o,n=t.lib,r=n.WordArray,i=n.Hasher,s=t.x64.Word,a=t.algo,u=[],l=[],c=[];!function(){for(var e=1,t=0,n=0;n<24;n++){u[e+5*t]=(n+1)*(n+2)/2%64;var r=(2*e+3*t)%5;e=t%5,t=r}for(e=0;e<5;e++)for(t=0;t<5;t++)l[e+5*t]=t+(2*e+3*t)%5*5;for(var i=1,o=0;o<24;o++){for(var a=0,d=0,f=0;f<7;f++){if(1&i){var h=(1<<f)-1;h<32?d^=1<<h:a^=1<<h-32}128&i?i=i<<1^113:i<<=1}c[o]=s.create(a,d)}}();var d=[];!function(){for(var e=0;e<25;e++)d[e]=s.create()}();var f=a.SHA3=i.extend({cfg:i.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new s.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var n=this._state,r=this.blockSize/2,i=0;i<r;i++){var o=e[t+2*i],s=e[t+2*i+1];o=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),s=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),(A=n[i]).high^=s,A.low^=o}for(var a=0;a<24;a++){for(var f=0;f<5;f++){for(var h=0,p=0,g=0;g<5;g++)h^=(A=n[f+5*g]).high,p^=A.low;var m=d[f];m.high=h,m.low=p}for(f=0;f<5;f++){var v=d[(f+4)%5],y=d[(f+1)%5],_=y.high,E=y.low;for(h=v.high^(_<<1|E>>>31),p=v.low^(E<<1|_>>>31),g=0;g<5;g++)(A=n[f+5*g]).high^=h,A.low^=p}for(var b=1;b<25;b++){var D=(A=n[b]).high,N=A.low,T=u[b];T<32?(h=D<<T|N>>>32-T,p=N<<T|D>>>32-T):(h=N<<T-32|D>>>64-T,p=D<<T-32|N>>>64-T);var S=d[l[b]];S.high=h,S.low=p}var I=d[0],w=n[0];for(I.high=w.high,I.low=w.low,f=0;f<5;f++)for(g=0;g<5;g++){var A=n[b=f+5*g],R=d[b],C=d[(f+1)%5+5*g],O=d[(f+2)%5+5*g];A.high=R.high^~C.high&O.high,A.low=R.low^~C.low&O.low}A=n[0];var F=c[a];A.high^=F.high,A.low^=F.low}},_doFinalize:function(){var t=this._data,n=t.words,i=(this._nDataBytes,8*t.sigBytes),o=32*this.blockSize;n[i>>>5]|=1<<24-i%32,n[(e.ceil((i+1)/o)*o>>>5)-1]|=128,t.sigBytes=4*n.length,this._process();for(var s=this._state,a=this.cfg.outputLength/8,u=a/8,l=[],c=0;c<u;c++){var d=s[c],f=d.high,h=d.low;f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),h=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8),l.push(h),l.push(f)}return new r.init(l,a)},clone:function(){for(var e=i.clone.call(this),t=e._state=this._state.slice(0),n=0;n<25;n++)t[n]=t[n].clone();return e}});t.SHA3=i._createHelper(f),t.HmacSHA3=i._createHmacHelper(f)}(Math),o.SHA3)}()},6883:function(e,t,n){!function(t,r,i){var o;e.exports=(o=n(4703),n(4654),n(4290),function(){var e=o,t=e.x64,n=t.Word,r=t.WordArray,i=e.algo,s=i.SHA512,a=i.SHA384=s.extend({_doReset:function(){this._hash=new r.init([new n.init(3418070365,3238371032),new n.init(1654270250,914150663),new n.init(2438529370,812702999),new n.init(355462360,4144912697),new n.init(1731405415,4290775857),new n.init(2394180231,1750603025),new n.init(3675008525,1694076839),new n.init(1203062813,3204075428)])},_doFinalize:function(){var e=s._doFinalize.call(this);return e.sigBytes-=16,e}});e.SHA384=s._createHelper(a),e.HmacSHA384=s._createHmacHelper(a)}(),o.SHA384)}()},4290:function(e,t,n){!function(t,r,i){var o;e.exports=(o=n(4703),n(4654),function(){var e=o,t=e.lib.Hasher,n=e.x64,r=n.Word,i=n.WordArray,s=e.algo;function a(){return r.create.apply(r,arguments)}var u=[a(1116352408,3609767458),a(1899447441,602891725),a(3049323471,3964484399),a(3921009573,2173295548),a(961987163,4081628472),a(1508970993,3053834265),a(2453635748,2937671579),a(2870763221,3664609560),a(3624381080,2734883394),a(310598401,1164996542),a(607225278,1323610764),a(1426881987,3590304994),a(1925078388,4068182383),a(2162078206,991336113),a(2614888103,633803317),a(3248222580,3479774868),a(3835390401,2666613458),a(4022224774,944711139),a(264347078,2341262773),a(604807628,2007800933),a(770255983,1495990901),a(1249150122,1856431235),a(1555081692,3175218132),a(1996064986,2198950837),a(2554220882,3999719339),a(2821834349,766784016),a(2952996808,2566594879),a(3210313671,3203337956),a(3336571891,1034457026),a(3584528711,2466948901),a(113926993,3758326383),a(338241895,168717936),a(666307205,1188179964),a(773529912,1546045734),a(1294757372,1522805485),a(1396182291,2643833823),a(1695183700,2343527390),a(1986661051,1014477480),a(2177026350,1206759142),a(2456956037,344077627),a(2730485921,1290863460),a(2820302411,3158454273),a(3259730800,3505952657),a(3345764771,106217008),a(3516065817,3606008344),a(3600352804,1432725776),a(4094571909,1467031594),a(275423344,851169720),a(430227734,3100823752),a(506948616,1363258195),a(659060556,3750685593),a(883997877,3785050280),a(958139571,3318307427),a(1322822218,3812723403),a(1537002063,2003034995),a(1747873779,3602036899),a(1955562222,1575990012),a(2024104815,1125592928),a(2227730452,2716904306),a(2361852424,442776044),a(2428436474,593698344),a(2756734187,3733110249),a(3204031479,2999351573),a(3329325298,3815920427),a(3391569614,3928383900),a(3515267271,566280711),a(3940187606,3454069534),a(4118630271,4000239992),a(116418474,1914138554),a(174292421,2731055270),a(289380356,3203993006),a(460393269,320620315),a(685471733,587496836),a(852142971,1086792851),a(1017036298,365543100),a(1126000580,2618297676),a(1288033470,3409855158),a(1501505948,4234509866),a(1607167915,987167468),a(1816402316,1246189591)],l=[];!function(){for(var e=0;e<80;e++)l[e]=a()}();var c=s.SHA512=t.extend({_doReset:function(){this._hash=new i.init([new r.init(1779033703,4089235720),new r.init(3144134277,2227873595),new r.init(1013904242,4271175723),new r.init(2773480762,1595750129),new r.init(1359893119,2917565137),new r.init(2600822924,725511199),new r.init(528734635,4215389547),new r.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],s=n[3],a=n[4],c=n[5],d=n[6],f=n[7],h=r.high,p=r.low,g=i.high,m=i.low,v=o.high,y=o.low,_=s.high,E=s.low,b=a.high,D=a.low,N=c.high,T=c.low,S=d.high,I=d.low,w=f.high,A=f.low,R=h,C=p,O=g,F=m,L=v,k=y,x=_,P=E,M=b,B=D,V=N,U=T,j=S,K=I,Y=w,q=A,G=0;G<80;G++){var H,z,W=l[G];if(G<16)z=W.high=0|e[t+2*G],H=W.low=0|e[t+2*G+1];else{var Q=l[G-15],J=Q.high,X=Q.low,$=(J>>>1|X<<31)^(J>>>8|X<<24)^J>>>7,Z=(X>>>1|J<<31)^(X>>>8|J<<24)^(X>>>7|J<<25),ee=l[G-2],te=ee.high,ne=ee.low,re=(te>>>19|ne<<13)^(te<<3|ne>>>29)^te>>>6,ie=(ne>>>19|te<<13)^(ne<<3|te>>>29)^(ne>>>6|te<<26),oe=l[G-7],se=oe.high,ae=oe.low,ue=l[G-16],le=ue.high,ce=ue.low;z=(z=(z=$+se+((H=Z+ae)>>>0<Z>>>0?1:0))+re+((H+=ie)>>>0<ie>>>0?1:0))+le+((H+=ce)>>>0<ce>>>0?1:0),W.high=z,W.low=H}var de,fe=M&V^~M&j,he=B&U^~B&K,pe=R&O^R&L^O&L,ge=C&F^C&k^F&k,me=(R>>>28|C<<4)^(R<<30|C>>>2)^(R<<25|C>>>7),ve=(C>>>28|R<<4)^(C<<30|R>>>2)^(C<<25|R>>>7),ye=(M>>>14|B<<18)^(M>>>18|B<<14)^(M<<23|B>>>9),_e=(B>>>14|M<<18)^(B>>>18|M<<14)^(B<<23|M>>>9),Ee=u[G],be=Ee.high,De=Ee.low,Ne=Y+ye+((de=q+_e)>>>0<q>>>0?1:0),Te=ve+ge;Y=j,q=K,j=V,K=U,V=M,U=B,M=x+(Ne=(Ne=(Ne=Ne+fe+((de+=he)>>>0<he>>>0?1:0))+be+((de+=De)>>>0<De>>>0?1:0))+z+((de+=H)>>>0<H>>>0?1:0))+((B=P+de|0)>>>0<P>>>0?1:0)|0,x=L,P=k,L=O,k=F,O=R,F=C,R=Ne+(me+pe+(Te>>>0<ve>>>0?1:0))+((C=de+Te|0)>>>0<de>>>0?1:0)|0}p=r.low=p+C,r.high=h+R+(p>>>0<C>>>0?1:0),m=i.low=m+F,i.high=g+O+(m>>>0<F>>>0?1:0),y=o.low=y+k,o.high=v+L+(y>>>0<k>>>0?1:0),E=s.low=E+P,s.high=_+x+(E>>>0<P>>>0?1:0),D=a.low=D+B,a.high=b+M+(D>>>0<B>>>0?1:0),T=c.low=T+U,c.high=N+V+(T>>>0<U>>>0?1:0),I=d.low=I+K,d.high=S+j+(I>>>0<K>>>0?1:0),A=f.low=A+q,f.high=w+Y+(A>>>0<q>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[30+(r+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(r+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});e.SHA512=t._createHelper(c),e.HmacSHA512=t._createHmacHelper(c)}(),o.SHA512)}()},4774:function(e,t,n){!function(t,r,i){var o;e.exports=(o=n(4703),n(3988),n(7766),n(7020),n(7755),function(){var e=o,t=e.lib,n=t.WordArray,r=t.BlockCipher,i=e.algo,s=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],a=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],u=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],l=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],c=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],d=i.DES=r.extend({_doReset:function(){for(var e=this._key.words,t=[],n=0;n<56;n++){var r=s[n]-1;t[n]=e[r>>>5]>>>31-r%32&1}for(var i=this._subKeys=[],o=0;o<16;o++){var l=i[o]=[],c=u[o];for(n=0;n<24;n++)l[n/6|0]|=t[(a[n]-1+c)%28]<<31-n%6,l[4+(n/6|0)]|=t[28+(a[n+24]-1+c)%28]<<31-n%6;for(l[0]=l[0]<<1|l[0]>>>31,n=1;n<7;n++)l[n]=l[n]>>>4*(n-1)+3;l[7]=l[7]<<5|l[7]>>>27}var d=this._invSubKeys=[];for(n=0;n<16;n++)d[n]=i[15-n]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,n){this._lBlock=e[t],this._rBlock=e[t+1],f.call(this,4,252645135),f.call(this,16,65535),h.call(this,2,858993459),h.call(this,8,16711935),f.call(this,1,1431655765);for(var r=0;r<16;r++){for(var i=n[r],o=this._lBlock,s=this._rBlock,a=0,u=0;u<8;u++)a|=l[u][((s^i[u])&c[u])>>>0];this._lBlock=s,this._rBlock=o^a}var d=this._lBlock;this._lBlock=this._rBlock,this._rBlock=d,f.call(this,1,1431655765),h.call(this,8,16711935),h.call(this,2,858993459),f.call(this,16,65535),f.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function f(e,t){var n=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=n,this._lBlock^=n<<e}function h(e,t){var n=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=n,this._rBlock^=n<<e}e.DES=r._createHelper(d);var p=i.TripleDES=r.extend({_doReset:function(){var e=this._key.words;if(2!==e.length&&4!==e.length&&e.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var t=e.slice(0,2),r=e.length<4?e.slice(0,2):e.slice(2,4),i=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=d.createEncryptor(n.create(t)),this._des2=d.createEncryptor(n.create(r)),this._des3=d.createEncryptor(n.create(i))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});e.TripleDES=r._createHelper(p)}(),o.TripleDES)}()},4654:function(e,t,n){!function(t,r){var i;e.exports=(i=n(4703),function(e){var t=i,n=t.lib,r=n.Base,o=n.WordArray,s=t.x64={};s.Word=r.extend({init:function(e,t){this.high=e,this.low=t}}),s.WordArray=r.extend({init:function(t,n){t=this.words=t||[],this.sigBytes=n!=e?n:8*t.length},toX32:function(){for(var e=this.words,t=e.length,n=[],r=0;r<t;r++){var i=e[r];n.push(i.high),n.push(i.low)}return o.create(n,this.sigBytes)},clone:function(){for(var e=r.clone.call(this),t=e.words=this.words.slice(0),n=t.length,i=0;i<n;i++)t[i]=t[i].clone();return e}})}(),i)}()},4159:function(e){e.exports=function(){"use strict";var e=1e3,t=6e4,n=36e5,r="millisecond",i="second",o="minute",s="hour",a="day",u="week",l="month",c="quarter",d="year",f="date",h="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},v=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},y={s:v,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+v(r,2,"0")+":"+v(i,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,l),o=n-i<0,s=t.clone().add(r+(o?-1:1),l);return+(-(r+(n-i)/(o?i-s:s-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:d,w:u,d:a,D:f,h:s,m:o,s:i,ms:r,Q:c}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},_="en",E={};E[_]=m;var b="$isDayjsObject",D=function(e){return e instanceof I||!(!e||!e[b])},N=function e(t,n,r){var i;if(!t)return _;if("string"==typeof t){var o=t.toLowerCase();E[o]&&(i=o),n&&(E[o]=n,i=o);var s=t.split("-");if(!i&&s.length>1)return e(s[0])}else{var a=t.name;E[a]=t,i=a}return!r&&i&&(_=i),i||!r&&_},T=function(e,t){if(D(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new I(n)},S=y;S.l=N,S.i=D,S.w=function(e,t){return T(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var I=function(){function m(e){this.$L=N(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[b]=!0}var v=m.prototype;return v.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(S.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(p);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(t)}(e),this.init()},v.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},v.$utils=function(){return S},v.isValid=function(){return!(this.$d.toString()===h)},v.isSame=function(e,t){var n=T(e);return this.startOf(t)<=n&&n<=this.endOf(t)},v.isAfter=function(e,t){return T(e)<this.startOf(t)},v.isBefore=function(e,t){return this.endOf(t)<T(e)},v.$g=function(e,t,n){return S.u(e)?this[t]:this.set(n,e)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(e,t){var n=this,r=!!S.u(t)||t,c=S.p(e),h=function(e,t){var i=S.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(a)},p=function(e,t){return S.w(n.toDate()[e].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},g=this.$W,m=this.$M,v=this.$D,y="set"+(this.$u?"UTC":"");switch(c){case d:return r?h(1,0):h(31,11);case l:return r?h(1,m):h(0,m+1);case u:var _=this.$locale().weekStart||0,E=(g<_?g+7:g)-_;return h(r?v-E:v+(6-E),m);case a:case f:return p(y+"Hours",0);case s:return p(y+"Minutes",1);case o:return p(y+"Seconds",2);case i:return p(y+"Milliseconds",3);default:return this.clone()}},v.endOf=function(e){return this.startOf(e,!1)},v.$set=function(e,t){var n,u=S.p(e),c="set"+(this.$u?"UTC":""),h=(n={},n[a]=c+"Date",n[f]=c+"Date",n[l]=c+"Month",n[d]=c+"FullYear",n[s]=c+"Hours",n[o]=c+"Minutes",n[i]=c+"Seconds",n[r]=c+"Milliseconds",n)[u],p=u===a?this.$D+(t-this.$W):t;if(u===l||u===d){var g=this.clone().set(f,1);g.$d[h](p),g.init(),this.$d=g.set(f,Math.min(this.$D,g.daysInMonth())).$d}else h&&this.$d[h](p);return this.init(),this},v.set=function(e,t){return this.clone().$set(e,t)},v.get=function(e){return this[S.p(e)]()},v.add=function(r,c){var f,h=this;r=Number(r);var p=S.p(c),g=function(e){var t=T(h);return S.w(t.date(t.date()+Math.round(e*r)),h)};if(p===l)return this.set(l,this.$M+r);if(p===d)return this.set(d,this.$y+r);if(p===a)return g(1);if(p===u)return g(7);var m=(f={},f[o]=t,f[s]=n,f[i]=e,f)[p]||1,v=this.$d.getTime()+r*m;return S.w(v,this)},v.subtract=function(e,t){return this.add(-1*e,t)},v.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||h;var r=e||"YYYY-MM-DDTHH:mm:ssZ",i=S.z(this),o=this.$H,s=this.$m,a=this.$M,u=n.weekdays,l=n.months,c=n.meridiem,d=function(e,n,i,o){return e&&(e[n]||e(t,r))||i[n].slice(0,o)},f=function(e){return S.s(o%12||12,e,"0")},p=c||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(g,(function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return S.s(t.$y,4,"0");case"M":return a+1;case"MM":return S.s(a+1,2,"0");case"MMM":return d(n.monthsShort,a,l,3);case"MMMM":return d(l,a);case"D":return t.$D;case"DD":return S.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return d(n.weekdaysMin,t.$W,u,2);case"ddd":return d(n.weekdaysShort,t.$W,u,3);case"dddd":return u[t.$W];case"H":return String(o);case"HH":return S.s(o,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return p(o,s,!0);case"A":return p(o,s,!1);case"m":return String(s);case"mm":return S.s(s,2,"0");case"s":return String(t.$s);case"ss":return S.s(t.$s,2,"0");case"SSS":return S.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")}))},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(r,f,h){var p,g=this,m=S.p(f),v=T(r),y=(v.utcOffset()-this.utcOffset())*t,_=this-v,E=function(){return S.m(g,v)};switch(m){case d:p=E()/12;break;case l:p=E();break;case c:p=E()/3;break;case u:p=(_-y)/6048e5;break;case a:p=(_-y)/864e5;break;case s:p=_/n;break;case o:p=_/t;break;case i:p=_/e;break;default:p=_}return h?p:S.a(p)},v.daysInMonth=function(){return this.endOf(l).$D},v.$locale=function(){return E[this.$L]},v.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=N(e,t,!0);return r&&(n.$L=r),n},v.clone=function(){return S.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},m}(),w=I.prototype;return T.prototype=w,[["$ms",r],["$s",i],["$m",o],["$H",s],["$W",a],["$M",l],["$y",d],["$D",f]].forEach((function(e){w[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),T.extend=function(e,t){return e.$i||(e(t,I,T),e.$i=!0),T},T.locale=N,T.isDayjs=D,T.unix=function(e){return T(1e3*e)},T.en=E[_],T.Ls=E,T.p={},T}()},8981:e=>{"use strict";var t,n="object"===typeof Reflect?Reflect:null,r=n&&"function"===typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"===typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!==e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise((function(n,r){function i(n){e.removeListener(t,o),r(n)}function o(){"function"===typeof e.removeListener&&e.removeListener("error",i),n([].slice.call(arguments))}g(e,t,o,{once:!0}),"error"!==t&&function(e,t,n){"function"===typeof e.on&&g(e,"error",t,n)}(e,i,{once:!0})}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var s=10;function a(e){if("function"!==typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function l(e,t,n,r){var i,o,s,l;if(a(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),s=o[t]),void 0===s)s=o[t]=n,++e._eventsCount;else if("function"===typeof s?s=o[t]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),(i=u(e))>0&&s.length>i&&!s.warned){s.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=s.length,l=c,console&&console.warn&&console.warn(l)}return e}function c(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=c.bind(r);return i.listener=n,r.wrapFn=i,i}function f(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"===typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):p(i,i.length)}function h(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"===typeof n)return 1;if(void 0!==n)return n.length}return 0}function p(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function g(e,t,n,r){if("function"===typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!==typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function i(o){r.once&&e.removeEventListener(t,i),n(o)}))}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(e){if("number"!==typeof e||e<0||i(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");s=e}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!==typeof e||e<0||i(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return u(this)},o.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var i="error"===e,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){var s;if(t.length>0&&(s=t[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var u=o[e];if(void 0===u)return!1;if("function"===typeof u)r(u,this,t);else{var l=u.length,c=p(u,l);for(n=0;n<l;++n)r(c[n],this,t)}return!0},o.prototype.addListener=function(e,t){return l(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return l(this,e,t,!0)},o.prototype.once=function(e,t){return a(t),this.on(e,d(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return a(t),this.prependListener(e,d(this,e,t)),this},o.prototype.removeListener=function(e,t){var n,r,i,o,s;if(a(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0===--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!==typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){s=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,s||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"===typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},o.prototype.listeners=function(e){return f(this,e,!0)},o.prototype.rawListeners=function(e){return f(this,e,!1)},o.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):h.call(e,t)},o.prototype.listenerCount=h,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},6360:e=>{"use strict";var t=[],n=[];function r(e,t,n,i){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if("object"!=typeof e||"object"!=typeof t)return!1;var o=Object.prototype.toString,s=o.call(e);if(s!=o.call(t))return!1;switch(s){case"[object String]":return e==String(t);case"[object Number]":return!isNaN(e)&&!isNaN(t)&&e==Number(t);case"[object Date]":case"[object Boolean]":return+e==+t;case"[object RegExp]":return e.source==t.source&&e.global==t.global&&e.multiline==t.multiline&&e.ignoreCase==t.ignoreCase}for(var a=n.length;a--;)if(n[a]==e)return i[a]==t;n.push(e),i.push(t);var u=0;if("[object Array]"===s){if((u=e.length)!==t.length)return!1;for(;u--;)if(!r(e[u],t[u],n,i))return!1}else{if(e.constructor!==t.constructor)return!1;if(e.hasOwnProperty("valueOf")&&t.hasOwnProperty("valueOf"))return e.valueOf()==t.valueOf();var l=Object.keys(e);if(l.length!=Object.keys(t).length)return!1;for(var c=0;c<l.length;c++)if(!r(e[l[c]],t[l[c]],n,i))return!1}return n.pop(),i.pop(),!0}e.exports=function(e,i){var o=t.length?t.pop():[],s=n.length?n.pop():[],a=r(e,i,o,s);return o.length=0,s.length=0,t.push(o),n.push(s),a}},601:e=>{"use strict";function t(e){return function(){return e}}var n=function(){};n.thatReturns=t,n.thatReturnsFalse=t(!1),n.thatReturnsTrue=t(!0),n.thatReturnsNull=t(null),n.thatReturnsThis=function(){return this},n.thatReturnsArgument=function(e){return e},e.exports=n},7600:(e,t,n)=>{"use strict";var r=n(601);e.exports=r},4617:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=class{constructor(e){var t=this;this._start=0,this._pos=0,this.getStartOfToken=()=>this._start,this.getCurrentPosition=()=>this._pos,this.eol=()=>this._sourceText.length===this._pos,this.sol=()=>0===this._pos,this.peek=()=>this._sourceText.charAt(this._pos)||null,this.next=()=>{const e=this._sourceText.charAt(this._pos);return this._pos++,e},this.eat=e=>{if(this._testNextCharacter(e))return this._start=this._pos,this._pos++,this._sourceText.charAt(this._pos-1)},this.eatWhile=e=>{let t=this._testNextCharacter(e),n=!1;for(t&&(n=t,this._start=this._pos);t;)this._pos++,t=this._testNextCharacter(e),n=!0;return n},this.eatSpace=()=>this.eatWhile(/[\s\u00a0]/),this.skipToEnd=()=>{this._pos=this._sourceText.length},this.skipTo=e=>{this._pos=e},this.match=function(e){let n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=null,i=null;if("string"===typeof e){i=new RegExp(e,arguments.length>2&&void 0!==arguments[2]&&arguments[2]?"i":"g").test(t._sourceText.slice(t._pos,t._pos+e.length)),r=e}else e instanceof RegExp&&(i=t._sourceText.slice(t._pos).match(e),r=null===i||void 0===i?void 0:i[0]);return!(null==i||!("string"===typeof e||i instanceof Array&&t._sourceText.startsWith(i[0],t._pos)))&&(n&&(t._start=t._pos,r&&r.length&&(t._pos+=r.length)),i)},this.backUp=e=>{this._pos-=e},this.column=()=>this._pos,this.indentation=()=>{const e=this._sourceText.match(/\s*/);let t=0;if(e&&0!==e.length){const n=e[0];let r=0;for(;n.length>r;)9===n.charCodeAt(r)?t+=2:t++,r++}return t},this.current=()=>this._sourceText.slice(this._start,this._pos),this._sourceText=e}_testNextCharacter(e){const t=this._sourceText.charAt(this._pos);let n=!1;return n="string"===typeof e?t===e:e instanceof RegExp?e.test(t):e(t),n}}},7377:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.p=t.t=t.butNot=t.list=t.opt=void 0,t.opt=function(e){return{ofRule:e}},t.list=function(e,t){return{ofRule:e,isList:!0,separator:t}},t.butNot=function(e,t){const n=e.match;return e.match=e=>{let r=!1;return n&&(r=n(e)),r&&t.every((t=>t.match&&!t.match(e)))},e},t.t=function(e,t){return{style:t,match:t=>t.kind===e}},t.p=function(e,t){return{style:t||"punctuation",match:t=>"Punctuation"===t.kind&&t.value===e}}},4409:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ParseRules=t.LexRules=t.isIgnored=void 0;const r=n(7377),i=n(9979);var o;function s(e){return{style:"keyword",match:t=>"Name"===t.kind&&t.value===e}}function a(e){return{style:e,match:e=>"Name"===e.kind,update(e,t){e.name=t.value}}}t.isIgnored=e=>" "===e||"\t"===e||","===e||"\n"===e||"\r"===e||"\ufeff"===e||"\xa0"===e,t.LexRules={Name:/^[_A-Za-z][_0-9A-Za-z]*/,Punctuation:/^(?:!|\$|\(|\)|\.\.\.|:|=|&|@|\[|]|\{|\||\})/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^(?:"""(?:\\"""|[^"]|"[^"]|""[^"])*(?:""")?|"(?:[^"\\]|\\(?:"|\/|\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*"?)/,Comment:/^#.*/},t.ParseRules={Document:[(0,r.list)("Definition")],Definition(e){switch(e.value){case"{":return"ShortQuery";case"query":return"Query";case"mutation":return"Mutation";case"subscription":return"Subscription";case"fragment":return i.Kind.FRAGMENT_DEFINITION;case"schema":return"SchemaDef";case"scalar":return"ScalarDef";case"type":return"ObjectTypeDef";case"interface":return"InterfaceDef";case"union":return"UnionDef";case"enum":return"EnumDef";case"input":return"InputDef";case"extend":return"ExtendDef";case"directive":return"DirectiveDef"}},ShortQuery:["SelectionSet"],Query:[s("query"),(0,r.opt)(a("def")),(0,r.opt)("VariableDefinitions"),(0,r.list)("Directive"),"SelectionSet"],Mutation:[s("mutation"),(0,r.opt)(a("def")),(0,r.opt)("VariableDefinitions"),(0,r.list)("Directive"),"SelectionSet"],Subscription:[s("subscription"),(0,r.opt)(a("def")),(0,r.opt)("VariableDefinitions"),(0,r.list)("Directive"),"SelectionSet"],VariableDefinitions:[(0,r.p)("("),(0,r.list)("VariableDefinition"),(0,r.p)(")")],VariableDefinition:["Variable",(0,r.p)(":"),"Type",(0,r.opt)("DefaultValue")],Variable:[(0,r.p)("$","variable"),a("variable")],DefaultValue:[(0,r.p)("="),"Value"],SelectionSet:[(0,r.p)("{"),(0,r.list)("Selection"),(0,r.p)("}")],Selection:(e,t)=>"..."===e.value?t.match(/[\s\u00a0,]*(on\b|@|{)/,!1)?"InlineFragment":"FragmentSpread":t.match(/[\s\u00a0,]*:/,!1)?"AliasedField":"Field",AliasedField:[a("property"),(0,r.p)(":"),a("qualifier"),(0,r.opt)("Arguments"),(0,r.list)("Directive"),(0,r.opt)("SelectionSet")],Field:[a("property"),(0,r.opt)("Arguments"),(0,r.list)("Directive"),(0,r.opt)("SelectionSet")],Arguments:[(0,r.p)("("),(0,r.list)("Argument"),(0,r.p)(")")],Argument:[a("attribute"),(0,r.p)(":"),"Value"],FragmentSpread:[(0,r.p)("..."),a("def"),(0,r.list)("Directive")],InlineFragment:[(0,r.p)("..."),(0,r.opt)("TypeCondition"),(0,r.list)("Directive"),"SelectionSet"],FragmentDefinition:[s("fragment"),(0,r.opt)((0,r.butNot)(a("def"),[s("on")])),"TypeCondition",(0,r.list)("Directive"),"SelectionSet"],TypeCondition:[s("on"),"NamedType"],Value(e){switch(e.kind){case"Number":return"NumberValue";case"String":return"StringValue";case"Punctuation":switch(e.value){case"[":return"ListValue";case"{":return"ObjectValue";case"$":return"Variable";case"&":return"NamedType"}return null;case"Name":switch(e.value){case"true":case"false":return"BooleanValue"}return"null"===e.value?"NullValue":"EnumValue"}},NumberValue:[(0,r.t)("Number","number")],StringValue:[{style:"string",match:e=>"String"===e.kind,update(e,t){t.value.startsWith('"""')&&(e.inBlockstring=!t.value.slice(3).endsWith('"""'))}}],BooleanValue:[(0,r.t)("Name","builtin")],NullValue:[(0,r.t)("Name","keyword")],EnumValue:[a("string-2")],ListValue:[(0,r.p)("["),(0,r.list)("Value"),(0,r.p)("]")],ObjectValue:[(0,r.p)("{"),(0,r.list)("ObjectField"),(0,r.p)("}")],ObjectField:[a("attribute"),(0,r.p)(":"),"Value"],Type:e=>"["===e.value?"ListType":"NonNullType",ListType:[(0,r.p)("["),"Type",(0,r.p)("]"),(0,r.opt)((0,r.p)("!"))],NonNullType:["NamedType",(0,r.opt)((0,r.p)("!"))],NamedType:[(o="atom",{style:o,match:e=>"Name"===e.kind,update(e,t){var n;(null===(n=e.prevState)||void 0===n?void 0:n.prevState)&&(e.name=t.value,e.prevState.prevState.type=t.value)}})],Directive:[(0,r.p)("@","meta"),a("meta"),(0,r.opt)("Arguments")],DirectiveDef:[s("directive"),(0,r.p)("@","meta"),a("meta"),(0,r.opt)("ArgumentsDef"),s("on"),(0,r.list)("DirectiveLocation",(0,r.p)("|"))],InterfaceDef:[s("interface"),a("atom"),(0,r.opt)("Implements"),(0,r.list)("Directive"),(0,r.p)("{"),(0,r.list)("FieldDef"),(0,r.p)("}")],Implements:[s("implements"),(0,r.list)("NamedType",(0,r.p)("&"))],DirectiveLocation:[a("string-2")],SchemaDef:[s("schema"),(0,r.list)("Directive"),(0,r.p)("{"),(0,r.list)("OperationTypeDef"),(0,r.p)("}")],OperationTypeDef:[a("keyword"),(0,r.p)(":"),a("atom")],ScalarDef:[s("scalar"),a("atom"),(0,r.list)("Directive")],ObjectTypeDef:[s("type"),a("atom"),(0,r.opt)("Implements"),(0,r.list)("Directive"),(0,r.p)("{"),(0,r.list)("FieldDef"),(0,r.p)("}")],FieldDef:[a("property"),(0,r.opt)("ArgumentsDef"),(0,r.p)(":"),"Type",(0,r.list)("Directive")],ArgumentsDef:[(0,r.p)("("),(0,r.list)("InputValueDef"),(0,r.p)(")")],InputValueDef:[a("attribute"),(0,r.p)(":"),"Type",(0,r.opt)("DefaultValue"),(0,r.list)("Directive")],UnionDef:[s("union"),a("atom"),(0,r.list)("Directive"),(0,r.p)("="),(0,r.list)("UnionMember",(0,r.p)("|"))],UnionMember:["NamedType"],EnumDef:[s("enum"),a("atom"),(0,r.list)("Directive"),(0,r.p)("{"),(0,r.list)("EnumValueDef"),(0,r.p)("}")],EnumValueDef:[a("string-2"),(0,r.list)("Directive")],InputDef:[s("input"),a("atom"),(0,r.list)("Directive"),(0,r.p)("{"),(0,r.list)("InputValueDef"),(0,r.p)("}")],ExtendDef:[s("extend"),"ExtensionDefinition"],ExtensionDefinition(e){switch(e.value){case"schema":return i.Kind.SCHEMA_EXTENSION;case"scalar":return i.Kind.SCALAR_TYPE_EXTENSION;case"type":return i.Kind.OBJECT_TYPE_EXTENSION;case"interface":return i.Kind.INTERFACE_TYPE_EXTENSION;case"union":return i.Kind.UNION_TYPE_EXTENSION;case"enum":return i.Kind.ENUM_TYPE_EXTENSION;case"input":return i.Kind.INPUT_OBJECT_TYPE_EXTENSION}},[i.Kind.SCHEMA_EXTENSION]:["SchemaDef"],[i.Kind.SCALAR_TYPE_EXTENSION]:["ScalarDef"],[i.Kind.OBJECT_TYPE_EXTENSION]:["ObjectTypeDef"],[i.Kind.INTERFACE_TYPE_EXTENSION]:["InterfaceDef"],[i.Kind.UNION_TYPE_EXTENSION]:["UnionDef"],[i.Kind.ENUM_TYPE_EXTENSION]:["EnumDef"],[i.Kind.INPUT_OBJECT_TYPE_EXTENSION]:["InputDef"]}},2630:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getContextAtPosition=t.getTokenAtPosition=t.getDocumentMode=t.TYPE_SYSTEM_KINDS=t.GraphQLDocumentMode=t.runOnlineParser=void 0;const r=n(2398),i=n(9979);function o(e,t){const n=e.split("\n"),i=(0,r.onlineParser)();let o=i.startState(),s="",a=new r.CharacterStream("");for(let u=0;u<n.length;u++){for(a=new r.CharacterStream(n[u]);!a.eol();){s=i.token(a,o);if("BREAK"===t(a,o,s,u))break}t(a,o,s,u),o.kind||(o=i.startState())}return{start:a.getStartOfToken(),end:a.getCurrentPosition(),string:a.current(),state:o,style:s}}var s;t.runOnlineParser=o,function(e){e.TYPE_SYSTEM="TYPE_SYSTEM",e.EXECUTABLE="EXECUTABLE",e.UNKNOWN="UNKNOWN"}(s=t.GraphQLDocumentMode||(t.GraphQLDocumentMode={})),t.TYPE_SYSTEM_KINDS=[i.Kind.SCHEMA_DEFINITION,i.Kind.OPERATION_TYPE_DEFINITION,i.Kind.SCALAR_TYPE_DEFINITION,i.Kind.OBJECT_TYPE_DEFINITION,i.Kind.INTERFACE_TYPE_DEFINITION,i.Kind.UNION_TYPE_DEFINITION,i.Kind.ENUM_TYPE_DEFINITION,i.Kind.INPUT_OBJECT_TYPE_DEFINITION,i.Kind.DIRECTIVE_DEFINITION,i.Kind.SCHEMA_EXTENSION,i.Kind.SCALAR_TYPE_EXTENSION,i.Kind.OBJECT_TYPE_EXTENSION,i.Kind.INTERFACE_TYPE_EXTENSION,i.Kind.UNION_TYPE_EXTENSION,i.Kind.ENUM_TYPE_EXTENSION,i.Kind.INPUT_OBJECT_TYPE_EXTENSION];const a=e=>{let n=s.UNKNOWN;if(e)try{(0,i.visit)((0,i.parse)(e),{enter(e){if("Document"!==e.kind)return!!t.TYPE_SYSTEM_KINDS.includes(e.kind)&&(n=s.TYPE_SYSTEM,i.BREAK);n=s.EXECUTABLE}})}catch(r){return n}return n};function u(e,t){return(null===t||void 0===t?void 0:t.endsWith(".graphqls"))?s.TYPE_SYSTEM:a(e)}function l(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=null,i=null,s=null;const a=o(e,((e,o,a,u)=>{if(!(u!==t.line||e.getCurrentPosition()+n<t.character+1))return r=a,i=Object.assign({},o),s=e.current(),"BREAK"}));return{start:a.start,end:a.end,string:s||a.string,state:i||a.state,style:r||a.style}}t.getDocumentMode=u,t.getTokenAtPosition=l,t.getContextAtPosition=function(e,t,n,i,o){const s=i||l(e,t,1);if(!s)return null;const a="Invalid"===s.state.kind?s.state.prevState:s.state;return a?{token:s,state:a,typeInfo:(0,r.getTypeInfo)(n,s.state),mode:(null===o||void 0===o?void 0:o.mode)||u(e,null===o||void 0===o?void 0:o.uri)}:null}},1874:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTypeInfo=t.getDefinitionState=t.forEachState=t.getFieldDef=void 0;const r=n(9979),i=n(2398);function o(e,t,n){return n===r.SchemaMetaFieldDef.name&&e.getQueryType()===t?r.SchemaMetaFieldDef:n===r.TypeMetaFieldDef.name&&e.getQueryType()===t?r.TypeMetaFieldDef:n===r.TypeNameMetaFieldDef.name&&(0,r.isCompositeType)(t)?r.TypeNameMetaFieldDef:"getFields"in t?t.getFields()[n]:null}function s(e,t){const n=[];let r=e;for(;null===r||void 0===r?void 0:r.kind;)n.push(r),r=r.prevState;for(let i=n.length-1;i>=0;i--)t(n[i])}t.getFieldDef=o,t.forEachState=s,t.getDefinitionState=function(e){let t;return s(e,(e=>{switch(e.kind){case"Query":case"ShortQuery":case"Mutation":case"Subscription":case"FragmentDefinition":t=e}})),t},t.getTypeInfo=function(e,t){let n,a,u,l,c,d,f,h,p,g,m;return s(t,(t=>{var s;switch(t.kind){case i.RuleKinds.QUERY:case"ShortQuery":g=e.getQueryType();break;case i.RuleKinds.MUTATION:g=e.getMutationType();break;case i.RuleKinds.SUBSCRIPTION:g=e.getSubscriptionType();break;case i.RuleKinds.INLINE_FRAGMENT:case i.RuleKinds.FRAGMENT_DEFINITION:t.type&&(g=e.getType(t.type));break;case i.RuleKinds.FIELD:case i.RuleKinds.ALIASED_FIELD:g&&t.name?(c=p?o(e,p,t.name):null,g=c?c.type:null):c=null;break;case i.RuleKinds.SELECTION_SET:p=(0,r.getNamedType)(g);break;case i.RuleKinds.DIRECTIVE:u=t.name?e.getDirective(t.name):null;break;case i.RuleKinds.INTERFACE_DEF:t.name&&(f=null,m=new r.GraphQLInterfaceType({name:t.name,interfaces:[],fields:{}}));break;case i.RuleKinds.OBJECT_TYPE_DEF:t.name&&(m=null,f=new r.GraphQLObjectType({name:t.name,interfaces:[],fields:{}}));break;case i.RuleKinds.ARGUMENTS:if(t.prevState)switch(t.prevState.kind){case i.RuleKinds.FIELD:a=c&&c.args;break;case i.RuleKinds.DIRECTIVE:a=u&&u.args;break;case i.RuleKinds.ALIASED_FIELD:{const n=null===(s=t.prevState)||void 0===s?void 0:s.name;if(!n){a=null;break}const r=p?o(e,p,n):null;if(!r){a=null;break}a=r.args;break}default:a=null}else a=null;break;case i.RuleKinds.ARGUMENT:if(a)for(let e=0;e<a.length;e++)if(a[e].name===t.name){n=a[e];break}d=null===n||void 0===n?void 0:n.type;break;case i.RuleKinds.VARIABLE_DEFINITION:case i.RuleKinds.VARIABLE:g=d;break;case i.RuleKinds.ENUM_VALUE:const v=(0,r.getNamedType)(d);l=v instanceof r.GraphQLEnumType?v.getValues().find((e=>e.value===t.name)):null;break;case i.RuleKinds.LIST_VALUE:const y=(0,r.getNullableType)(d);d=y instanceof r.GraphQLList?y.ofType:null;break;case i.RuleKinds.OBJECT_VALUE:const _=(0,r.getNamedType)(d);h=_ instanceof r.GraphQLInputObjectType?_.getFields():null;break;case i.RuleKinds.OBJECT_FIELD:const E=t.name&&h?h[t.name]:null;d=null===E||void 0===E?void 0:E.type,c=E,g=c?c.type:null;break;case i.RuleKinds.NAMED_TYPE:t.name&&(g=e.getType(t.name))}})),{argDef:n,argDefs:a,directiveDef:u,enumValue:l,fieldDef:c,inputType:d,objectFieldDefs:h,parentType:p,type:g,interfaceDef:m,objectTypeDef:f}}},2398:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getFieldDef=t.getDefinitionState=t.getTypeInfo=t.getDocumentMode=t.GraphQLDocumentMode=t.getContextAtPosition=t.getTokenAtPosition=t.runOnlineParser=t.onlineParser=t.t=t.p=t.opt=t.list=t.butNot=t.isIgnored=t.ParseRules=t.LexRules=t.CharacterStream=void 0;var s=n(4617);Object.defineProperty(t,"CharacterStream",{enumerable:!0,get:function(){return o(s).default}});var a=n(4409);Object.defineProperty(t,"LexRules",{enumerable:!0,get:function(){return a.LexRules}}),Object.defineProperty(t,"ParseRules",{enumerable:!0,get:function(){return a.ParseRules}}),Object.defineProperty(t,"isIgnored",{enumerable:!0,get:function(){return a.isIgnored}});var u=n(7377);Object.defineProperty(t,"butNot",{enumerable:!0,get:function(){return u.butNot}}),Object.defineProperty(t,"list",{enumerable:!0,get:function(){return u.list}}),Object.defineProperty(t,"opt",{enumerable:!0,get:function(){return u.opt}}),Object.defineProperty(t,"p",{enumerable:!0,get:function(){return u.p}}),Object.defineProperty(t,"t",{enumerable:!0,get:function(){return u.t}});var l=n(6100);Object.defineProperty(t,"onlineParser",{enumerable:!0,get:function(){return o(l).default}});var c=n(2630);Object.defineProperty(t,"runOnlineParser",{enumerable:!0,get:function(){return c.runOnlineParser}}),Object.defineProperty(t,"getTokenAtPosition",{enumerable:!0,get:function(){return c.getTokenAtPosition}}),Object.defineProperty(t,"getContextAtPosition",{enumerable:!0,get:function(){return c.getContextAtPosition}}),Object.defineProperty(t,"GraphQLDocumentMode",{enumerable:!0,get:function(){return c.GraphQLDocumentMode}}),Object.defineProperty(t,"getDocumentMode",{enumerable:!0,get:function(){return c.getDocumentMode}});var d=n(1874);Object.defineProperty(t,"getTypeInfo",{enumerable:!0,get:function(){return d.getTypeInfo}}),Object.defineProperty(t,"getDefinitionState",{enumerable:!0,get:function(){return d.getDefinitionState}}),Object.defineProperty(t,"getFieldDef",{enumerable:!0,get:function(){return d.getFieldDef}}),i(n(1987),t)},6100:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(4409),i=n(9979);function o(e,t){const n=Object.keys(t);for(let r=0;r<n.length;r++)e[n[r]]=t[n[r]];return e}t.default=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{eatWhitespace:e=>e.eatWhile(r.isIgnored),lexRules:r.LexRules,parseRules:r.ParseRules,editorConfig:{}};return{startState(){const t={level:0,step:0,name:null,kind:null,type:null,rule:null,needsSeparator:!1,prevState:null};return a(e.parseRules,t,i.Kind.DOCUMENT),t},token:(t,n)=>function(e,t,n){var r;if(t.inBlockstring)return e.match(/.*"""/)?(t.inBlockstring=!1,"string"):(e.skipToEnd(),"string");const{lexRules:i,parseRules:c,eatWhitespace:f,editorConfig:h}=n;t.rule&&0===t.rule.length?u(t):t.needsAdvance&&(t.needsAdvance=!1,l(t,!0));if(e.sol()){const n=(null===h||void 0===h?void 0:h.tabSize)||2;t.indentLevel=Math.floor(e.indentation()/n)}if(f(e))return"ws";const p=function(e,t){const n=Object.keys(e);for(let r=0;r<n.length;r++){const i=t.match(e[n[r]]);if(i&&i instanceof Array)return{kind:n[r],value:i[0]}}}(i,e);if(!p){return e.match(/\S+/)||e.match(/\s/),a(s,t,"Invalid"),"invalidchar"}if("Comment"===p.kind)return a(s,t,"Comment"),"comment";const g=o({},t);if("Punctuation"===p.kind)if(/^[{([]/.test(p.value))void 0!==t.indentLevel&&(t.levels=(t.levels||[]).concat(t.indentLevel+1));else if(/^[})\]]/.test(p.value)){const e=t.levels=(t.levels||[]).slice(0,-1);t.indentLevel&&e.length>0&&e.at(-1)<t.indentLevel&&(t.indentLevel=e.at(-1))}for(;t.rule;){let n="function"===typeof t.rule?0===t.step?t.rule(p,e):null:t.rule[t.step];if(t.needsSeparator&&(n=null===n||void 0===n?void 0:n.separator),n){if(n.ofRule&&(n=n.ofRule),"string"===typeof n){a(c,t,n);continue}if(null===(r=n.match)||void 0===r?void 0:r.call(n,p))return n.update&&n.update(t,p),"Punctuation"===p.kind?l(t,!0):t.needsAdvance=!0,n.style}d(t)}return o(t,g),a(s,t,"Invalid"),"invalidchar"}(t,n,e)}};const s={Invalid:[],Comment:[]};function a(e,t,n){if(!e[n])throw new TypeError("Unknown rule: "+n);t.prevState=Object.assign({},t),t.kind=n,t.name=null,t.type=null,t.rule=e[n],t.step=0,t.needsSeparator=!1}function u(e){e.prevState&&(e.kind=e.prevState.kind,e.name=e.prevState.name,e.type=e.prevState.type,e.rule=e.prevState.rule,e.step=e.prevState.step,e.needsSeparator=e.prevState.needsSeparator,e.prevState=e.prevState.prevState)}function l(e,t){var n;if(c(e)&&e.rule){const n=e.rule[e.step];if(n.separator){const{separator:t}=n;if(e.needsSeparator=!e.needsSeparator,!e.needsSeparator&&t.ofRule)return}if(t)return}for(e.needsSeparator=!1,e.step++;e.rule&&!(Array.isArray(e.rule)&&e.step<e.rule.length);)u(e),e.rule&&(c(e)?(null===(n=e.rule)||void 0===n?void 0:n[e.step].separator)&&(e.needsSeparator=!e.needsSeparator):(e.needsSeparator=!1,e.step++))}function c(e){const t=Array.isArray(e.rule)&&"string"!==typeof e.rule[e.step]&&e.rule[e.step];return t&&t.isList}function d(e){for(;e.rule&&(!Array.isArray(e.rule)||!e.rule[e.step].ofRule);)u(e);e.rule&&l(e,!1)}},1987:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RuleKinds=t.AdditionalRuleKinds=void 0;const r=n(9979);t.AdditionalRuleKinds={ALIASED_FIELD:"AliasedField",ARGUMENTS:"Arguments",SHORT_QUERY:"ShortQuery",QUERY:"Query",MUTATION:"Mutation",SUBSCRIPTION:"Subscription",TYPE_CONDITION:"TypeCondition",INVALID:"Invalid",COMMENT:"Comment",SCHEMA_DEF:"SchemaDef",SCALAR_DEF:"ScalarDef",OBJECT_TYPE_DEF:"ObjectTypeDef",OBJECT_VALUE:"ObjectValue",LIST_VALUE:"ListValue",INTERFACE_DEF:"InterfaceDef",UNION_DEF:"UnionDef",ENUM_DEF:"EnumDef",ENUM_VALUE:"EnumValue",FIELD_DEF:"FieldDef",INPUT_DEF:"InputDef",INPUT_VALUE_DEF:"InputValueDef",ARGUMENTS_DEF:"ArgumentsDef",EXTEND_DEF:"ExtendDef",EXTENSION_DEFINITION:"ExtensionDefinition",DIRECTIVE_DEF:"DirectiveDef",IMPLEMENTS:"Implements",VARIABLE_DEFINITIONS:"VariableDefinitions",TYPE:"Type",VARIABLE:"Variable"},t.RuleKinds=Object.assign(Object.assign({},r.Kind),t.AdditionalRuleKinds)},1207:(e,t,n)=>{"use strict";var r=n(6047).Buffer,i=n(4833).Transform;function o(e){i.call(this),this._block=r.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}n(1596)(o,i),o.prototype._transform=function(e,t,n){var r=null;try{this.update(e,t)}catch(i){r=i}n(r)},o.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(n){t=n}e(t)},o.prototype.update=function(e,t){if(function(e,t){if(!r.isBuffer(e)&&"string"!==typeof e)throw new TypeError(t+" must be a string or a buffer")}(e,"Data"),this._finalized)throw new Error("Digest already called");r.isBuffer(e)||(e=r.from(e,t));for(var n=this._block,i=0;this._blockOffset+e.length-i>=this._blockSize;){for(var o=this._blockOffset;o<this._blockSize;)n[o++]=e[i++];this._update(),this._blockOffset=0}for(;i<e.length;)n[this._blockOffset++]=e[i++];for(var s=0,a=8*e.length;a>0;++s)this._length[s]+=a,(a=this._length[s]/4294967296|0)>0&&(this._length[s]-=4294967296*a);return this},o.prototype._update=function(){throw new Error("_update is not implemented")},o.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var n=0;n<4;++n)this._length[n]=0;return t},o.prototype._digest=function(){throw new Error("_digest is not implemented")},e.exports=o},6897:(e,t)=>{t.read=function(e,t,n,r,i){var o,s,a=8*i-r-1,u=(1<<a)-1,l=u>>1,c=-7,d=n?i-1:0,f=n?-1:1,h=e[t+d];for(d+=f,o=h&(1<<-c)-1,h>>=-c,c+=a;c>0;o=256*o+e[t+d],d+=f,c-=8);for(s=o&(1<<-c)-1,o>>=-c,c+=r;c>0;s=256*s+e[t+d],d+=f,c-=8);if(0===o)o=1-l;else{if(o===u)return s?NaN:1/0*(h?-1:1);s+=Math.pow(2,r),o-=l}return(h?-1:1)*s*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var s,a,u,l=8*o-i-1,c=(1<<l)-1,d=c>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,p=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),(t+=s+d>=1?f/u:f*Math.pow(2,1-d))*u>=2&&(s++,u/=2),s+d>=c?(a=0,s=c):s+d>=1?(a=(t*u-1)*Math.pow(2,i),s+=d):(a=t*Math.pow(2,d-1)*Math.pow(2,i),s=0));i>=8;e[n+h]=255&a,h+=p,a/=256,i-=8);for(s=s<<i|a,l+=i;l>0;e[n+h]=255&s,h+=p,s/=256,l-=8);e[n+h-p]|=128*g}},1596:e=>{"function"===typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},949:e=>{"use strict";e.exports=function(e,t,n,r,i,o,s,a){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,i,o,s,a],c=0;(u=new Error(t.replace(/%s/g,(function(){return l[c++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},3358:(e,t,n)=>{"use strict";var r=n(1596),i=n(1207),o=n(6047).Buffer,s=new Array(16);function a(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function u(e,t){return e<<t|e>>>32-t}function l(e,t,n,r,i,o,s){return u(e+(t&n|~t&r)+i+o|0,s)+t|0}function c(e,t,n,r,i,o,s){return u(e+(t&r|n&~r)+i+o|0,s)+t|0}function d(e,t,n,r,i,o,s){return u(e+(t^n^r)+i+o|0,s)+t|0}function f(e,t,n,r,i,o,s){return u(e+(n^(t|~r))+i+o|0,s)+t|0}r(a,i),a.prototype._update=function(){for(var e=s,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var n=this._a,r=this._b,i=this._c,o=this._d;n=l(n,r,i,o,e[0],3614090360,7),o=l(o,n,r,i,e[1],3905402710,12),i=l(i,o,n,r,e[2],606105819,17),r=l(r,i,o,n,e[3],3250441966,22),n=l(n,r,i,o,e[4],4118548399,7),o=l(o,n,r,i,e[5],1200080426,12),i=l(i,o,n,r,e[6],2821735955,17),r=l(r,i,o,n,e[7],4249261313,22),n=l(n,r,i,o,e[8],1770035416,7),o=l(o,n,r,i,e[9],2336552879,12),i=l(i,o,n,r,e[10],4294925233,17),r=l(r,i,o,n,e[11],2304563134,22),n=l(n,r,i,o,e[12],1804603682,7),o=l(o,n,r,i,e[13],4254626195,12),i=l(i,o,n,r,e[14],2792965006,17),n=c(n,r=l(r,i,o,n,e[15],1236535329,22),i,o,e[1],4129170786,5),o=c(o,n,r,i,e[6],3225465664,9),i=c(i,o,n,r,e[11],643717713,14),r=c(r,i,o,n,e[0],3921069994,20),n=c(n,r,i,o,e[5],3593408605,5),o=c(o,n,r,i,e[10],38016083,9),i=c(i,o,n,r,e[15],3634488961,14),r=c(r,i,o,n,e[4],3889429448,20),n=c(n,r,i,o,e[9],568446438,5),o=c(o,n,r,i,e[14],3275163606,9),i=c(i,o,n,r,e[3],4107603335,14),r=c(r,i,o,n,e[8],1163531501,20),n=c(n,r,i,o,e[13],2850285829,5),o=c(o,n,r,i,e[2],4243563512,9),i=c(i,o,n,r,e[7],1735328473,14),n=d(n,r=c(r,i,o,n,e[12],2368359562,20),i,o,e[5],4294588738,4),o=d(o,n,r,i,e[8],2272392833,11),i=d(i,o,n,r,e[11],1839030562,16),r=d(r,i,o,n,e[14],4259657740,23),n=d(n,r,i,o,e[1],2763975236,4),o=d(o,n,r,i,e[4],1272893353,11),i=d(i,o,n,r,e[7],4139469664,16),r=d(r,i,o,n,e[10],3200236656,23),n=d(n,r,i,o,e[13],681279174,4),o=d(o,n,r,i,e[0],3936430074,11),i=d(i,o,n,r,e[3],3572445317,16),r=d(r,i,o,n,e[6],76029189,23),n=d(n,r,i,o,e[9],3654602809,4),o=d(o,n,r,i,e[12],3873151461,11),i=d(i,o,n,r,e[15],530742520,16),n=f(n,r=d(r,i,o,n,e[2],3299628645,23),i,o,e[0],4096336452,6),o=f(o,n,r,i,e[7],1126891415,10),i=f(i,o,n,r,e[14],2878612391,15),r=f(r,i,o,n,e[5],4237533241,21),n=f(n,r,i,o,e[12],1700485571,6),o=f(o,n,r,i,e[3],2399980690,10),i=f(i,o,n,r,e[10],4293915773,15),r=f(r,i,o,n,e[1],2240044497,21),n=f(n,r,i,o,e[8],1873313359,6),o=f(o,n,r,i,e[15],4264355552,10),i=f(i,o,n,r,e[6],2734768916,15),r=f(r,i,o,n,e[13],1309151649,21),n=f(n,r,i,o,e[4],4149444226,6),o=f(o,n,r,i,e[11],3174756917,10),i=f(i,o,n,r,e[2],718787259,15),r=f(r,i,o,n,e[9],3951481745,21),this._a=this._a+n|0,this._b=this._b+r|0,this._c=this._c+i|0,this._d=this._d+o|0},a.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=o.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},e.exports=a},4815:e=>{"use strict";function t(e,t){if(null!=e)return e;var n=new Error(void 0!==t?t:"Got unexpected "+e);throw n.framesToPop=1,n}e.exports=t,e.exports.default=t,Object.defineProperty(e.exports,"__esModule",{value:!0})},3339:(e,t,n)=>{"use strict";var r=65536,i=4294967295;var o=n(6047).Buffer,s=n.g.crypto||n.g.msCrypto;s&&s.getRandomValues?e.exports=function(e,t){if(e>i)throw new RangeError("requested too many random bytes");var n=o.allocUnsafe(e);if(e>0)if(e>r)for(var a=0;a<e;a+=r)s.getRandomValues(n.slice(a,a+r));else s.getRandomValues(n);if("function"===typeof t)return process.nextTick((function(){t(null,n)}));return n}:e.exports=function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}},7614:e=>{"use strict";var t={};function n(e,n,r){r||(r=Error);var i=function(e){var t,r;function i(t,r,i){return e.call(this,function(e,t,r){return"string"===typeof n?n:n(e,t,r)}(t,r,i))||this}return r=e,(t=i).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,i}(r);i.prototype.name=r.name,i.prototype.code=e,t[e]=i}function r(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}n("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),n("ERR_INVALID_ARG_TYPE",(function(e,t,n){var i,o,s,a;if("string"===typeof t&&(o="not ",t.substr(!s||s<0?0:+s,o.length)===o)?(i="must not be",t=t.replace(/^not /,"")):i="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))a="The ".concat(e," ").concat(i," ").concat(r(t,"type"));else{var u=function(e,t,n){return"number"!==typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";a='The "'.concat(e,'" ').concat(u," ").concat(i," ").concat(r(t,"type"))}return a+=". Received type ".concat(typeof n)}),TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.F=t},7544:(e,t,n)=>{"use strict";var r=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=l;var i=n(3230),o=n(4306);n(1596)(l,i);for(var s=r(o.prototype),a=0;a<s.length;a++){var u=s[a];l.prototype[u]||(l.prototype[u]=o.prototype[u])}function l(e){if(!(this instanceof l))return new l(e);i.call(this,e),o.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",c)))}function c(){this._writableState.ended||process.nextTick(d,this)}function d(e){e.end()}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(l.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(l.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})},2666:(e,t,n)=>{"use strict";e.exports=i;var r=n(5624);function i(e){if(!(this instanceof i))return new i(e);r.call(this,e)}n(1596)(i,r),i.prototype._transform=function(e,t,n){n(null,e)}},3230:(e,t,n)=>{"use strict";var r;e.exports=T,T.ReadableState=N;n(8981).EventEmitter;var i=function(e,t){return e.listeners(t).length},o=n(4687),s=n(3325).Buffer,a=("undefined"!==typeof n.g?n.g:"undefined"!==typeof window?window:"undefined"!==typeof self?self:{}).Uint8Array||function(){};var u,l=n(9838);u=l&&l.debuglog?l.debuglog("stream"):function(){};var c,d,f,h=n(4147),p=n(4822),g=n(2809).getHighWaterMark,m=n(7614).F,v=m.ERR_INVALID_ARG_TYPE,y=m.ERR_STREAM_PUSH_AFTER_EOF,_=m.ERR_METHOD_NOT_IMPLEMENTED,E=m.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n(1596)(T,o);var b=p.errorOrDestroy,D=["error","close","destroy","pause","resume"];function N(e,t,i){r=r||n(7544),e=e||{},"boolean"!==typeof i&&(i=t instanceof r),this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=g(this,e,"readableHighWaterMark",i),this.buffer=new h,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(c||(c=n(923).I),this.decoder=new c(e.encoding),this.encoding=e.encoding)}function T(e){if(r=r||n(7544),!(this instanceof T))return new T(e);var t=this instanceof r;this._readableState=new N(e,this,t),this.readable=!0,e&&("function"===typeof e.read&&(this._read=e.read),"function"===typeof e.destroy&&(this._destroy=e.destroy)),o.call(this)}function S(e,t,n,r,i){u("readableAddChunk",t);var o,l=e._readableState;if(null===t)l.reading=!1,function(e,t){if(u("onEofChunk"),t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?R(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,C(e)))}(e,l);else if(i||(o=function(e,t){var n;r=t,s.isBuffer(r)||r instanceof a||"string"===typeof t||void 0===t||e.objectMode||(n=new v("chunk",["string","Buffer","Uint8Array"],t));var r;return n}(l,t)),o)b(e,o);else if(l.objectMode||t&&t.length>0)if("string"===typeof t||l.objectMode||Object.getPrototypeOf(t)===s.prototype||(t=function(e){return s.from(e)}(t)),r)l.endEmitted?b(e,new E):I(e,l,t,!0);else if(l.ended)b(e,new y);else{if(l.destroyed)return!1;l.reading=!1,l.decoder&&!n?(t=l.decoder.write(t),l.objectMode||0!==t.length?I(e,l,t,!1):O(e,l)):I(e,l,t,!1)}else r||(l.reading=!1,O(e,l));return!l.ended&&(l.length<l.highWaterMark||0===l.length)}function I(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",n)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&R(e)),O(e,t)}Object.defineProperty(T.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),T.prototype.destroy=p.destroy,T.prototype._undestroy=p.undestroy,T.prototype._destroy=function(e,t){t(e)},T.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"===typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=s.from(e,t),t=""),n=!0),S(this,e,t,!1,n)},T.prototype.unshift=function(e){return S(this,e,null,!0,!1)},T.prototype.isPaused=function(){return!1===this._readableState.flowing},T.prototype.setEncoding=function(e){c||(c=n(923).I);var t=new c(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,i="";null!==r;)i+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var w=1073741824;function A(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=w?e=w:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function R(e){var t=e._readableState;u("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(u("emitReadable",t.flowing),t.emittedReadable=!0,process.nextTick(C,e))}function C(e){var t=e._readableState;u("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,P(e)}function O(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(F,e,t))}function F(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var n=t.length;if(u("maybeReadMore read 0"),e.read(0),n===t.length)break}t.readingMore=!1}function L(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function k(e){u("readable nexttick read 0"),e.read(0)}function x(e,t){u("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),P(e),t.flowing&&!t.reading&&e.read(0)}function P(e){var t=e._readableState;for(u("flow",t.flowing);t.flowing&&null!==e.read(););}function M(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function B(e){var t=e._readableState;u("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(V,t,e))}function V(e,t){if(u("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function U(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}T.prototype.read=function(e){u("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return u("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?B(this):R(this),null;if(0===(e=A(e,t))&&t.ended)return 0===t.length&&B(this),null;var r,i=t.needReadable;return u("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&u("length less than watermark",i=!0),t.ended||t.reading?u("reading or ended",i=!1):i&&(u("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=A(n,t))),null===(r=e>0?M(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&B(this)),null!==r&&this.emit("data",r),r},T.prototype._read=function(e){b(this,new _("_read()"))},T.prototype.pipe=function(e,t){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e)}r.pipesCount+=1,u("pipe count=%d opts=%j",r.pipesCount,t);var o=(!t||!1!==t.end)&&e!==process.stdout&&e!==process.stderr?a:g;function s(t,i){u("onunpipe"),t===n&&i&&!1===i.hasUnpiped&&(i.hasUnpiped=!0,u("cleanup"),e.removeListener("close",h),e.removeListener("finish",p),e.removeListener("drain",l),e.removeListener("error",f),e.removeListener("unpipe",s),n.removeListener("end",a),n.removeListener("end",g),n.removeListener("data",d),c=!0,!r.awaitDrain||e._writableState&&!e._writableState.needDrain||l())}function a(){u("onend"),e.end()}r.endEmitted?process.nextTick(o):n.once("end",o),e.on("unpipe",s);var l=function(e){return function(){var t=e._readableState;u("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&i(e,"data")&&(t.flowing=!0,P(e))}}(n);e.on("drain",l);var c=!1;function d(t){u("ondata");var i=e.write(t);u("dest.write",i),!1===i&&((1===r.pipesCount&&r.pipes===e||r.pipesCount>1&&-1!==U(r.pipes,e))&&!c&&(u("false write response, pause",r.awaitDrain),r.awaitDrain++),n.pause())}function f(t){u("onerror",t),g(),e.removeListener("error",f),0===i(e,"error")&&b(e,t)}function h(){e.removeListener("finish",p),g()}function p(){u("onfinish"),e.removeListener("close",h),g()}function g(){u("unpipe"),n.unpipe(e)}return n.on("data",d),function(e,t,n){if("function"===typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",f),e.once("close",h),e.once("finish",p),e.emit("pipe",n),r.flowing||(u("pipe resume"),n.resume()),e},T.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)r[o].emit("unpipe",this,{hasUnpiped:!1});return this}var s=U(t.pipes,e);return-1===s||(t.pipes.splice(s,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},T.prototype.on=function(e,t){var n=o.prototype.on.call(this,e,t),r=this._readableState;return"data"===e?(r.readableListening=this.listenerCount("readable")>0,!1!==r.flowing&&this.resume()):"readable"===e&&(r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,u("on readable",r.length,r.reading),r.length?R(this):r.reading||process.nextTick(k,this))),n},T.prototype.addListener=T.prototype.on,T.prototype.removeListener=function(e,t){var n=o.prototype.removeListener.call(this,e,t);return"readable"===e&&process.nextTick(L,this),n},T.prototype.removeAllListeners=function(e){var t=o.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||process.nextTick(L,this),t},T.prototype.resume=function(){var e=this._readableState;return e.flowing||(u("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(x,e,t))}(this,e)),e.paused=!1,this},T.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(u("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},T.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(u("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(u("wrapped data"),n.decoder&&(i=n.decoder.write(i)),!n.objectMode||null!==i&&void 0!==i)&&((n.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause())))})),e)void 0===this[i]&&"function"===typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<D.length;o++)e.on(D[o],this.emit.bind(this,D[o]));return this._read=function(t){u("wrapped _read",t),r&&(r=!1,e.resume())},this},"function"===typeof Symbol&&(T.prototype[Symbol.asyncIterator]=function(){return void 0===d&&(d=n(9733)),d(this)}),Object.defineProperty(T.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(T.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(T.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),T._fromList=M,Object.defineProperty(T.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"===typeof Symbol&&(T.from=function(e,t){return void 0===f&&(f=n(9951)),f(T,e,t)})},5624:(e,t,n)=>{"use strict";e.exports=c;var r=n(7614).F,i=r.ERR_METHOD_NOT_IMPLEMENTED,o=r.ERR_MULTIPLE_CALLBACK,s=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=r.ERR_TRANSFORM_WITH_LENGTH_0,u=n(7544);function l(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new o);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function c(e){if(!(this instanceof c))return new c(e);u.call(this,e),this._transformState={afterTransform:l.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"===typeof e.transform&&(this._transform=e.transform),"function"===typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",d)}function d(){var e=this;"function"!==typeof this._flush||this._readableState.destroyed?f(this,null,null):this._flush((function(t,n){f(e,t,n)}))}function f(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new a;if(e._transformState.transforming)throw new s;return e.push(null)}n(1596)(c,u),c.prototype.push=function(e,t){return this._transformState.needTransform=!1,u.prototype.push.call(this,e,t)},c.prototype._transform=function(e,t,n){n(new i("_transform()"))},c.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},c.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},c.prototype._destroy=function(e,t){u.prototype._destroy.call(this,e,(function(e){t(e)}))}},4306:(e,t,n)=>{"use strict";function r(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;e.entry=null;for(;r;){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree.next=e}(t,e)}}var i;e.exports=T,T.WritableState=N;var o={deprecate:n(1421)},s=n(4687),a=n(3325).Buffer,u=("undefined"!==typeof n.g?n.g:"undefined"!==typeof window?window:"undefined"!==typeof self?self:{}).Uint8Array||function(){};var l,c=n(4822),d=n(2809).getHighWaterMark,f=n(7614).F,h=f.ERR_INVALID_ARG_TYPE,p=f.ERR_METHOD_NOT_IMPLEMENTED,g=f.ERR_MULTIPLE_CALLBACK,m=f.ERR_STREAM_CANNOT_PIPE,v=f.ERR_STREAM_DESTROYED,y=f.ERR_STREAM_NULL_VALUES,_=f.ERR_STREAM_WRITE_AFTER_END,E=f.ERR_UNKNOWN_ENCODING,b=c.errorOrDestroy;function D(){}function N(e,t,o){i=i||n(7544),e=e||{},"boolean"!==typeof o&&(o=t instanceof i),this.objectMode=!!e.objectMode,o&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=d(this,e,"writableHighWaterMark",o),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===e.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if("function"!==typeof i)throw new g;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,i){--t.pendingcb,n?(process.nextTick(i,r),process.nextTick(C,e,t),e._writableState.errorEmitted=!0,b(e,r)):(i(r),e._writableState.errorEmitted=!0,b(e,r),C(e,t))}(e,n,r,t,i);else{var o=A(n)||e.destroyed;o||n.corked||n.bufferProcessing||!n.bufferedRequest||w(e,n),r?process.nextTick(I,e,n,o,i):I(e,n,o,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new r(this)}function T(e){var t=this instanceof(i=i||n(7544));if(!t&&!l.call(T,this))return new T(e);this._writableState=new N(e,this,t),this.writable=!0,e&&("function"===typeof e.write&&(this._write=e.write),"function"===typeof e.writev&&(this._writev=e.writev),"function"===typeof e.destroy&&(this._destroy=e.destroy),"function"===typeof e.final&&(this._final=e.final)),s.call(this)}function S(e,t,n,r,i,o,s){t.writelen=r,t.writecb=s,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new v("write")):n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function I(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),C(e,t)}function w(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var i=t.bufferedRequestCount,o=new Array(i),s=t.corkedRequestsFree;s.entry=n;for(var a=0,u=!0;n;)o[a]=n,n.isBuf||(u=!1),n=n.next,a+=1;o.allBuffers=u,S(e,t,!0,t.length,o,"",s.finish),t.pendingcb++,t.lastBufferedRequest=null,s.next?(t.corkedRequestsFree=s.next,s.next=null):t.corkedRequestsFree=new r(t),t.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,c=n.encoding,d=n.callback;if(S(e,t,!1,t.objectMode?1:l.length,l,c,d),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function A(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function R(e,t){e._final((function(n){t.pendingcb--,n&&b(e,n),t.prefinished=!0,e.emit("prefinish"),C(e,t)}))}function C(e,t){var n=A(t);if(n&&(function(e,t){t.prefinished||t.finalCalled||("function"!==typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,process.nextTick(R,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var r=e._readableState;(!r||r.autoDestroy&&r.endEmitted)&&e.destroy()}return n}n(1596)(T,s),N.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(N.prototype,"buffer",{get:o.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(l=Function.prototype[Symbol.hasInstance],Object.defineProperty(T,Symbol.hasInstance,{value:function(e){return!!l.call(this,e)||this===T&&(e&&e._writableState instanceof N)}})):l=function(e){return e instanceof this},T.prototype.pipe=function(){b(this,new m)},T.prototype.write=function(e,t,n){var r,i=this._writableState,o=!1,s=!i.objectMode&&(r=e,a.isBuffer(r)||r instanceof u);return s&&!a.isBuffer(e)&&(e=function(e){return a.from(e)}(e)),"function"===typeof t&&(n=t,t=null),s?t="buffer":t||(t=i.defaultEncoding),"function"!==typeof n&&(n=D),i.ending?function(e,t){var n=new _;b(e,n),process.nextTick(t,n)}(this,n):(s||function(e,t,n,r){var i;return null===n?i=new y:"string"===typeof n||t.objectMode||(i=new h("chunk",["string","Buffer"],n)),!i||(b(e,i),process.nextTick(r,i),!1)}(this,i,e,n))&&(i.pendingcb++,o=function(e,t,n,r,i,o){if(!n){var s=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!==typeof t||(t=a.from(t,n));return t}(t,r,i);r!==s&&(n=!0,i="buffer",r=s)}var u=t.objectMode?1:r.length;t.length+=u;var l=t.length<t.highWaterMark;l||(t.needDrain=!0);if(t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else S(e,t,!1,u,r,i,o);return l}(this,i,s,e,t,n)),o},T.prototype.cork=function(){this._writableState.corked++},T.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||w(this,e))},T.prototype.setDefaultEncoding=function(e){if("string"===typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new E(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(T.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(T.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),T.prototype._write=function(e,t,n){n(new p("_write()"))},T.prototype._writev=null,T.prototype.end=function(e,t,n){var r=this._writableState;return"function"===typeof e?(n=e,e=null,t=null):"function"===typeof t&&(n=t,t=null),null!==e&&void 0!==e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||function(e,t,n){t.ending=!0,C(e,t),n&&(t.finished?process.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n),this},Object.defineProperty(T.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(T.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),T.prototype.destroy=c.destroy,T.prototype._undestroy=c.undestroy,T.prototype._destroy=function(e,t){t(e)}},9733:(e,t,n)=>{"use strict";var r;function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(8172),s=Symbol("lastResolve"),a=Symbol("lastReject"),u=Symbol("error"),l=Symbol("ended"),c=Symbol("lastPromise"),d=Symbol("handlePromise"),f=Symbol("stream");function h(e,t){return{value:e,done:t}}function p(e){var t=e[s];if(null!==t){var n=e[f].read();null!==n&&(e[c]=null,e[s]=null,e[a]=null,t(h(n,!1)))}}function g(e){process.nextTick(p,e)}var m=Object.getPrototypeOf((function(){})),v=Object.setPrototypeOf((i(r={get stream(){return this[f]},next:function(){var e=this,t=this[u];if(null!==t)return Promise.reject(t);if(this[l])return Promise.resolve(h(void 0,!0));if(this[f].destroyed)return new Promise((function(t,n){process.nextTick((function(){e[u]?n(e[u]):t(h(void 0,!0))}))}));var n,r=this[c];if(r)n=new Promise(function(e,t){return function(n,r){e.then((function(){t[l]?n(h(void 0,!0)):t[d](n,r)}),r)}}(r,this));else{var i=this[f].read();if(null!==i)return Promise.resolve(h(i,!1));n=new Promise(this[d])}return this[c]=n,n}},Symbol.asyncIterator,(function(){return this})),i(r,"return",(function(){var e=this;return new Promise((function(t,n){e[f].destroy(null,(function(e){e?n(e):t(h(void 0,!0))}))}))})),r),m);e.exports=function(e){var t,n=Object.create(v,(i(t={},f,{value:e,writable:!0}),i(t,s,{value:null,writable:!0}),i(t,a,{value:null,writable:!0}),i(t,u,{value:null,writable:!0}),i(t,l,{value:e._readableState.endEmitted,writable:!0}),i(t,d,{value:function(e,t){var r=n[f].read();r?(n[c]=null,n[s]=null,n[a]=null,e(h(r,!1))):(n[s]=e,n[a]=t)},writable:!0}),t));return n[c]=null,o(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[a];return null!==t&&(n[c]=null,n[s]=null,n[a]=null,t(e)),void(n[u]=e)}var r=n[s];null!==r&&(n[c]=null,n[s]=null,n[a]=null,r(h(void 0,!0))),n[l]=!0})),e.on("readable",g.bind(null,n)),n}},4147:(e,t,n)=>{"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function o(e,t,n){return(t=a(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,a(r.key),r)}}function a(e){var t=function(e,t){if("object"!==typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===typeof t?t:String(t)}var u=n(3325).Buffer,l=n(5340).inspect,c=l&&l.custom||"inspect";e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}var t,n,r;return t=e,(n=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return u.alloc(0);for(var t,n,r,i=u.allocUnsafe(e>>>0),o=this.head,s=0;o;)t=o.data,n=i,r=s,u.prototype.copy.call(t,n,r),s+=o.data.length,o=o.next;return i}},{key:"consume",value:function(e,t){var n;return e<this.head.data.length?(n=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):n=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,n=1,r=t.data;for(e-=r.length;t=t.next;){var i=t.data,o=e>i.length?i.length:e;if(o===i.length?r+=i:r+=i.slice(0,e),0===(e-=o)){o===i.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=u.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var i=n.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0===(e-=o)){o===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(o));break}++r}return this.length-=r,t}},{key:c,value:function(e,t){return l(this,i(i({},t),{},{depth:0,customInspect:!1}))}}])&&s(t.prototype,n),r&&s(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}()},4822:e=>{"use strict";function t(e,t){r(e,t),n(e)}function n(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function r(e,t){e.emit("error",t)}e.exports={destroy:function(e,i){var o=this,s=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return s||a?(i?i(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(r,this,e)):process.nextTick(r,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!i&&e?o._writableState?o._writableState.errorEmitted?process.nextTick(n,o):(o._writableState.errorEmitted=!0,process.nextTick(t,o,e)):process.nextTick(t,o,e):i?(process.nextTick(n,o),i(e)):process.nextTick(n,o)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var n=e._readableState,r=e._writableState;n&&n.autoDestroy||r&&r.autoDestroy?e.destroy(t):e.emit("error",t)}}},8172:(e,t,n)=>{"use strict";var r=n(7614).F.ERR_STREAM_PREMATURE_CLOSE;function i(){}e.exports=function e(t,n,o){if("function"===typeof n)return e(t,null,n);n||(n={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];e.apply(this,r)}}}(o||i);var s=n.readable||!1!==n.readable&&t.readable,a=n.writable||!1!==n.writable&&t.writable,u=function(){t.writable||c()},l=t._writableState&&t._writableState.finished,c=function(){a=!1,l=!0,s||o.call(t)},d=t._readableState&&t._readableState.endEmitted,f=function(){s=!1,d=!0,a||o.call(t)},h=function(e){o.call(t,e)},p=function(){var e;return s&&!d?(t._readableState&&t._readableState.ended||(e=new r),o.call(t,e)):a&&!l?(t._writableState&&t._writableState.ended||(e=new r),o.call(t,e)):void 0},g=function(){t.req.on("finish",c)};return!function(e){return e.setHeader&&"function"===typeof e.abort}(t)?a&&!t._writableState&&(t.on("end",u),t.on("close",u)):(t.on("complete",c),t.on("abort",p),t.req?g():t.on("request",g)),t.on("end",f),t.on("finish",c),!1!==n.error&&t.on("error",h),t.on("close",p),function(){t.removeListener("complete",c),t.removeListener("abort",p),t.removeListener("request",g),t.req&&t.req.removeListener("finish",c),t.removeListener("end",u),t.removeListener("close",u),t.removeListener("finish",c),t.removeListener("end",f),t.removeListener("error",h),t.removeListener("close",p)}}},9951:e=>{e.exports=function(){throw new Error("Readable.from is not available in the browser")}},3648:(e,t,n)=>{"use strict";var r;var i=n(7614).F,o=i.ERR_MISSING_ARGS,s=i.ERR_STREAM_DESTROYED;function a(e){if(e)throw e}function u(e){e()}function l(e,t){return e.pipe(t)}e.exports=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var c,d=function(e){return e.length?"function"!==typeof e[e.length-1]?a:e.pop():a}(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new o("streams");var f=t.map((function(e,i){var o=i<t.length-1;return function(e,t,i,o){o=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(o);var a=!1;e.on("close",(function(){a=!0})),void 0===r&&(r=n(8172)),r(e,{readable:t,writable:i},(function(e){if(e)return o(e);a=!0,o()}));var u=!1;return function(t){if(!a&&!u)return u=!0,function(e){return e.setHeader&&"function"===typeof e.abort}(e)?e.abort():"function"===typeof e.destroy?e.destroy():void o(t||new s("pipe"))}}(e,o,i>0,(function(e){c||(c=e),e&&f.forEach(u),o||(f.forEach(u),d(c))}))}));return t.reduce(l)}},2809:(e,t,n)=>{"use strict";var r=n(7614).F.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,n,i){var o=function(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}(t,i,n);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new r(i?n:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}},4687:(e,t,n)=>{e.exports=n(8981).EventEmitter},4833:(e,t,n)=>{(t=e.exports=n(3230)).Stream=t,t.Readable=t,t.Writable=n(4306),t.Duplex=n(7544),t.Transform=n(5624),t.PassThrough=n(2666),t.finished=n(8172),t.pipeline=n(3648)},709:(e,t,n)=>{e.exports=n(2685)},6452:(e,t,n)=>{"use strict";var r=n(2004),i=n(456),o=n(949);e.exports=function(e){switch(e){case"connection":return r;case"deleteRecord":return i.DeleteRecordHandler;case"deleteEdge":return i.DeleteEdgeHandler;case"appendEdge":return i.AppendEdgeHandler;case"prependEdge":return i.PrependEdgeHandler;case"appendNode":return i.AppendNodeHandler;case"prependNode":return i.PrependNodeHandler}o(!1)}},2004:(e,t,n)=>{"use strict";var r=n(4613).generateClientID,i=n(3276).getStableStorageKey,o=n(1916),s=n(2891),a=n(949),u=(n(7600),"connection"),l="__connection_next_edge_index";function c(e,t,n){if(null==n)return n;var i=s.get().EDGES,o=t.getValue(l);"number"!==typeof o&&a(!1);var u=r(t.getDataID(),i,o),c=e.create(u,n.getType());return c.copyFieldsFrom(n),null==c.getValue("cursor")&&c.setValue(null,"cursor"),t.setValue(o+1,l),c}function d(e,t,n){for(var r=s.get().NODE,i=0;i<e.length;i++){var o=e[i];if(o){var a=o.getLinkedRecord(r),u=a&&a.getDataID();if(u){if(n.has(u))continue;n.add(u)}t.push(o)}}}e.exports={buildConnectionEdge:c,createEdge:function(e,t,n,i){var o=s.get().NODE,a=r(t.getDataID(),n.getDataID()),u=e.get(a);return u||(u=e.create(a,i)),u.setLinkedRecord(n,o),null==u.getValue("cursor")&&u.setValue(null,"cursor"),u},deleteNode:function(e,t){var n=s.get(),r=n.EDGES,i=n.NODE,o=e.getLinkedRecords(r);if(o){for(var a,u=0;u<o.length;u++){var l=o[u],c=l&&l.getLinkedRecord(i);null!=c&&c.getDataID()===t?void 0===a&&(a=o.slice(0,u)):void 0!==a&&a.push(l)}void 0!==a&&e.setLinkedRecords(a,r)}},getConnection:function(e,t,n){var r=o(u,t,null);return e.getLinkedRecord(r,n)},getConnectionID:function(e,t,n){var s=o(u,t,null),a=i(s,n);return r(e,a)},insertEdgeAfter:function(e,t,n){var r=s.get(),i=r.CURSOR,o=r.EDGES,a=e.getLinkedRecords(o);if(a){var u;if(null==n)u=a.concat(t);else{u=[];for(var l=!1,c=0;c<a.length;c++){var d=a[c];if(u.push(d),null!=d)n===d.getValue(i)&&(u.push(t),l=!0)}l||u.push(t)}e.setLinkedRecords(u,o)}else e.setLinkedRecords([t],o)},insertEdgeBefore:function(e,t,n){var r=s.get(),i=r.CURSOR,o=r.EDGES,a=e.getLinkedRecords(o);if(a){var u;if(null==n)u=[t].concat(a);else{u=[];for(var l=!1,c=0;c<a.length;c++){var d=a[c];if(null!=d)n===d.getValue(i)&&(u.push(t),l=!0);u.push(d)}l||u.unshift(t)}e.setLinkedRecords(u,o)}else e.setLinkedRecords([t],o)},update:function(e,t){var n=e.get(t.dataID);if(n){var i=s.get(),o=i.EDGES,a=i.END_CURSOR,u=i.HAS_NEXT_PAGE,f=i.HAS_PREV_PAGE,h=i.PAGE_INFO,p=i.PAGE_INFO_TYPE,g=i.START_CURSOR,m=n.getLinkedRecord(t.fieldKey),v=m&&m.getLinkedRecord(h);if(m){var y=r(n.getDataID(),t.handleKey),_=n.getLinkedRecord(t.handleKey),E=null!==_&&void 0!==_?_:e.get(y),b=E&&E.getLinkedRecord(h);if(E){null==_&&n.setLinkedRecord(E,t.handleKey);var D=E,N=m.getLinkedRecords(o);N&&(N=N.map((function(t){return c(e,D,t)})));var T=D.getLinkedRecords(o),S=D.getLinkedRecord(h);D.copyFieldsFrom(m),T&&D.setLinkedRecords(T,o),S&&D.setLinkedRecord(S,h);var I=[],w=t.args;if(T&&N)if(null!=w.after){var A,R=null===(A=b)||void 0===A?void 0:A.getValue(a),C=null===v||void 0===v?void 0:v.getValue(a);if(!(b&&w.after===R)&&!(b&&R===C))return;var O=new Set;d(T,I,O),d(N,I,O)}else if(null!=w.before){if(!b||w.before!==b.getValue(g))return;var F=new Set;d(N,I,F),d(T,I,F)}else I=N;else I=N||T;if(null!=I&&I!==T&&D.setLinkedRecords(I,o),b&&v)if(null==w.after&&null==w.before)b.copyFieldsFrom(v);else if(null!=w.before||null==w.after&&w.last){b.setValue(!!v.getValue(f),f);var L=v.getValue(g);"string"===typeof L&&b.setValue(L,g)}else if(null!=w.after||null==w.before&&w.first){b.setValue(!!v.getValue(u),u);var k=v.getValue(a);"string"===typeof k&&b.setValue(k,a)}}else{var x=e.create(y,m.getType());x.setValue(0,l),x.copyFieldsFrom(m);var P=m.getLinkedRecords(o);P&&(P=P.map((function(t){return c(e,x,t)})),x.setLinkedRecords(P,o)),n.setLinkedRecord(x,t.handleKey),(b=e.create(r(x.getDataID(),h),p)).setValue(!1,u),b.setValue(!1,f),b.setValue(null,a),b.setValue(null,g),v&&b.copyFieldsFrom(v),x.setLinkedRecord(b,h)}}else n.setValue(null,t.handleKey)}}}},2891:e=>{"use strict";var t={after:!0,before:!0,find:!0,first:!0,last:!0,surrounds:!0},n={CURSOR:"cursor",EDGES:"edges",END_CURSOR:"endCursor",HAS_NEXT_PAGE:"hasNextPage",HAS_PREV_PAGE:"hasPreviousPage",NODE:"node",PAGE_INFO_TYPE:"PageInfo",PAGE_INFO:"pageInfo",START_CURSOR:"startCursor"},r={inject:function(e){n=e},get:function(){return n},isConnectionCall:function(e){return t.hasOwnProperty(e.name)}};e.exports=r},456:(e,t,n)=>{"use strict";var r=(0,n(4994).default)(n(883)),i=n(2004),o=n(2891),s=n(949),a=(n(7600),{update:function(e,t){var n=e.get(t.dataID);if(null!=n){var r=n.getValue(t.fieldKey);"string"===typeof r?e.delete(r):Array.isArray(r)&&r.forEach((function(t){"string"===typeof t&&e.delete(t)}))}}}),u={update:function(e,t){var n=e.get(t.dataID);if(null!=n){var o=t.handleArgs.connections;null==o&&s(!1);var a=n.getValue(t.fieldKey);(Array.isArray(a)?a:[a]).forEach((function(t){if("string"===typeof t){var n,s=(0,r.default)(o);try{for(s.s();!(n=s.n()).done;){var a=n.value,u=e.get(a);null!=u&&i.deleteNode(u,t)}}catch(l){s.e(l)}finally{s.f()}}}))}}},l={update:h(i.insertEdgeAfter)},c={update:h(i.insertEdgeBefore)},d={update:p(i.insertEdgeAfter)},f={update:p(i.insertEdgeBefore)};function h(e){return function(t,n){var a,u=t.get(n.dataID);if(null!=u){var l,c,d=n.handleArgs.connections;null==d&&s(!1);try{l=u.getLinkedRecord(n.fieldKey)}catch(E){}if(!l)try{c=u.getLinkedRecords(n.fieldKey)}catch(b){}if(null!=l||null!=c){var f,h=o.get(),p=h.NODE,g=h.EDGES,m=null!==(a=c)&&void 0!==a?a:[l],v=(0,r.default)(m);try{var y=function(){var n=f.value;if(null==n)return"continue";var o=n.getLinkedRecord("node");if(!o)return"continue";var a,u=o.getDataID(),l=(0,r.default)(d);try{for(l.s();!(a=l.n()).done;){var c=a.value,h=t.get(c);if(null!=h)if(!(null===(_=h.getLinkedRecords(g))||void 0===_?void 0:_.some((function(e){var t;return(null===e||void 0===e||null===(t=e.getLinkedRecord(p))||void 0===t?void 0:t.getDataID())===u})))){var m=i.buildConnectionEdge(t,h,n);null==m&&s(!1),e(h,m)}}}catch(v){l.e(v)}finally{l.f()}};for(v.s();!(f=v.n()).done;){var _;y()}}catch(D){v.e(D)}finally{v.f()}}}}}function p(e){return function(t,n){var a,u=t.get(n.dataID);if(null!=u){var l,c,d=n.handleArgs,f=d.connections,h=d.edgeTypeName;null==f&&s(!1),null==h&&s(!1);try{l=u.getLinkedRecord(n.fieldKey)}catch(D){}if(!l)try{c=u.getLinkedRecords(n.fieldKey)}catch(N){}if(null!=l||null!=c){var p,g=o.get(),m=g.NODE,v=g.EDGES,y=null!==(a=c)&&void 0!==a?a:[l],_=(0,r.default)(y);try{var E=function(){var n=p.value;if(null==n)return"continue";var o,a=n.getDataID(),u=(0,r.default)(f);try{for(u.s();!(o=u.n()).done;){var l=o.value,c=t.get(l);if(null!=c)if(!(null===(b=c.getLinkedRecords(v))||void 0===b?void 0:b.some((function(e){var t;return(null===e||void 0===e||null===(t=e.getLinkedRecord(m))||void 0===t?void 0:t.getDataID())===a})))){var d=i.createEdge(t,c,n,h);null==d&&s(!1),e(c,d)}}}catch(g){u.e(g)}finally{u.f()}};for(_.s();!(p=_.n()).done;){var b;E()}}catch(T){_.e(T)}finally{_.f()}}}}}e.exports={AppendEdgeHandler:l,DeleteRecordHandler:a,PrependEdgeHandler:c,AppendNodeHandler:d,PrependNodeHandler:f,DeleteEdgeHandler:u}},2685:(e,t,n)=>{"use strict";var r=n(2004),i=n(2891),o=n(456),s=n(6452),a=n(3360),u=n(7667),l=n(3238),c=n(4490),d=n(2275),f=n(292),h=n(4222),p=n(9660),g=n(9138),m=n(7769),v=n(8207),y=n(3612),_=n(4613),E=_.generateClientID,b=_.generateUniqueClientID,D=_.isClientID,N=n(2322),T=n(4907),S=n(3229),I=S.isSuspenseSentinel,w=S.suspenseSentinel,A=n(5384),R=n(287),C=n(3970),O=n(1836),F=n(592),L=n(4485),k=n(536),x=n(3080),P=n(364),M=n(8861),B=n(3950),V=n(3276),U=n(7800),j=n(4511),K=n(7859),Y=n(4196),q=n(3713),G=n(461),H=n(3183),z=n(8893),W=n(9982),Q=n(2154),J=n(1916),X=n(2102),$=n(7491),Z=n(3309),ee=n(1791),te=n(2191),ne=n(6808),re=n(5452),ie=n(5265),oe=n(8445),se=n(4910),ae=n(4322),ue=n(2810),le=n(6758),ce=n(8542);e.exports={Environment:F,Network:d,Observable:f,QueryResponseCache:h,RecordSource:B,Record:k,ReplaySubject:ue,Store:P,areEqualSelectors:x.areEqualSelectors,createFragmentSpecResolver:N,createNormalizationSelector:x.createNormalizationSelector,createOperationDescriptor:L.createOperationDescriptor,createReaderSelector:x.createReaderSelector,createRequestDescriptor:L.createRequestDescriptor,getArgumentValues:V.getArgumentValues,getDataIDsFromFragment:x.getDataIDsFromFragment,getDataIDsFromObject:x.getDataIDsFromObject,getNode:v.getNode,getFragment:v.getFragment,getInlineDataFragment:v.getInlineDataFragment,getModuleComponentKey:V.getModuleComponentKey,getModuleOperationKey:V.getModuleOperationKey,getPaginationFragment:v.getPaginationFragment,getPluralSelector:x.getPluralSelector,getRefetchableFragment:v.getRefetchableFragment,getRequest:v.getRequest,getRequestIdentifier:X,getSelector:x.getSelector,getSelectorsFromObject:x.getSelectorsFromObject,getSingularSelector:x.getSingularSelector,getStorageKey:V.getStorageKey,getVariablesFromFragment:x.getVariablesFromFragment,getVariablesFromObject:x.getVariablesFromObject,getVariablesFromPluralFragment:x.getVariablesFromPluralFragment,getVariablesFromSingularFragment:x.getVariablesFromSingularFragment,handlePotentialSnapshotErrors:Z,graphql:v.graphql,isFragment:v.isFragment,isInlineDataFragment:v.isInlineDataFragment,isSuspenseSentinel:I,suspenseSentinel:w,isRequest:v.isRequest,readInlineData:C,MutationTypes:c.MutationTypes,RangeOperations:c.RangeOperations,DefaultHandlerProvider:s,ConnectionHandler:r,MutationHandlers:o,VIEWER_ID:j.VIEWER_ID,VIEWER_TYPE:j.VIEWER_TYPE,applyOptimisticMutation:a,commitLocalUpdate:u,commitMutation:l,fetchQuery:p,fetchQuery_DEPRECATED:g,isRelayModernEnvironment:A,requestSubscription:K,ConnectionInterface:i,PreloadableQueryRegistry:y,RelayProfiler:ae,createPayloadFor3DField:Y,RelayConcreteNode:re,RelayError:oe,RelayFeatureFlags:se,DEFAULT_HANDLE_KEY:ie.DEFAULT_HANDLE_KEY,FRAGMENTS_KEY:V.FRAGMENTS_KEY,FRAGMENT_OWNER_KEY:V.FRAGMENT_OWNER_KEY,ID_KEY:V.ID_KEY,REF_KEY:V.REF_KEY,REFS_KEY:V.REFS_KEY,ROOT_ID:V.ROOT_ID,ROOT_TYPE:V.ROOT_TYPE,TYPENAME_KEY:V.TYPENAME_KEY,deepFreeze:q,generateClientID:E,generateUniqueClientID:b,getRelayHandleKey:J,isClientID:D,isPromise:ee,isScalarAndEqual:te,recycleNodesInto:ne,stableCopy:le,getFragmentIdentifier:G,getRefetchMetadata:Q,getPaginationMetadata:H,getPaginationVariables:z,getPendingOperationsForFragment:W,getValueAtPath:$,__internal:{ResolverFragments:U,OperationTracker:M,createRelayContext:T,getOperationVariables:O.getOperationVariables,getLocalVariables:O.getLocalVariables,fetchQuery:m.fetchQuery,fetchQueryDeduped:m.fetchQueryDeduped,getPromiseForActiveRequest:m.getPromiseForActiveRequest,getObservableForActiveRequest:m.getObservableForActiveRequest,normalizeResponse:R,withProvidedVariables:ce}}},4809:(e,t,n)=>{"use strict";var r=n(949),i="INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE";e.exports={assertInternalActorIdentifier:function(e){e!==i&&r(!1)},getActorIdentifier:function(e){return e},getDefaultActorIdentifier:function(){throw new Error("Not Implemented")},INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE:i}},3561:(e,t,n)=>{"use strict";var r="actor_key",i=n(4809).getActorIdentifier;e.exports={ACTOR_IDENTIFIER_FIELD_NAME:r,getActorIdentifierFromPayload:function(e){if(null!=e&&"object"===typeof e&&"string"===typeof e[r])return i(e[r])}}},4490:(e,t,n)=>{"use strict";var r=(0,n(4994).default)(n(883)),i=n(2004),o=(n(7600),Object.freeze({RANGE_ADD:"RANGE_ADD",RANGE_DELETE:"RANGE_DELETE",NODE_DELETE:"NODE_DELETE"})),s=Object.freeze({APPEND:"append",PREPEND:"prepend"});function a(e){return e.fragment.selections&&e.fragment.selections.length>0&&"LinkedField"===e.fragment.selections[0].kind?e.fragment.selections[0].name:null}e.exports={MutationTypes:o,RangeOperations:s,convert:function(e,t,n,o){var s=n?[n]:[],u=o?[o]:[];return e.forEach((function(e){switch(e.type){case"NODE_DELETE":var n=function(e,t){var n=e.deletedIDFieldName,r=a(t);if(!r)return null;return function(e,t){var i=e.getRootField(r);if(i){var o=i.getValue(n);(Array.isArray(o)?o:[o]).forEach((function(t){t&&"string"===typeof t&&e.delete(t)}))}}}(e,t);n&&(s.push(n),u.push(n));break;case"RANGE_ADD":var o=function(e,t){var n=e.parentID,o=e.connectionInfo,s=e.edgeName;if(!n)return null;var u=a(t);if(!o||!u)return null;return function(e,t){var a=e.get(n);if(a){var l=e.getRootField(u);if(l){var c,d=l.getLinkedRecord(s),f=(0,r.default)(o);try{for(f.s();!(c=f.n()).done;){var h=c.value;if(d){var p=i.getConnection(a,h.key,h.filters);if(p){var g=i.buildConnectionEdge(e,p,d);if(g)switch(h.rangeBehavior){case"append":i.insertEdgeAfter(p,g);break;case"prepend":i.insertEdgeBefore(p,g)}}}}}catch(m){f.e(m)}finally{f.f()}}}}}(e,t);o&&(s.push(o),u.push(o));break;case"RANGE_DELETE":var l=function(e,t){var n=e.parentID,o=e.connectionKeys,s=e.pathToConnection,u=e.deletedIDFieldName;if(!n)return null;var l=a(t);if(!l)return null;return function(e,t){if(t){var a=[],c=t[l];if(c&&Array.isArray(u)){var d,f=(0,r.default)(u);try{for(f.s();!(d=f.n()).done;){var h=d.value;c&&"object"===typeof c&&(c=c[h])}}catch(p){f.e(p)}finally{f.f()}Array.isArray(c)?c.forEach((function(e){e&&e.id&&"object"===typeof e&&"string"===typeof e.id&&a.push(e.id)})):c&&c.id&&"string"===typeof c.id&&a.push(c.id)}else c&&"string"===typeof u&&"object"===typeof c&&("string"===typeof(c=c[u])?a.push(c):Array.isArray(c)&&c.forEach((function(e){"string"===typeof e&&a.push(e)})));!function(e,t,n,o,s){var a=o.get(e);if(!a)return;if(n.length<2)return;for(var u=a,l=1;l<n.length-1;l++)u&&(u=u.getLinkedRecord(n[l]));if(!t||!u)return;var c,d=(0,r.default)(t);try{var f=function(){var e=c.value,t=i.getConnection(u,e.key,e.filters);t&&s.forEach((function(e){i.deleteNode(t,e)}))};for(d.s();!(c=d.n()).done;)f()}catch(p){d.e(p)}finally{d.f()}}(n,o,s,e,a)}}}(e,t);l&&(s.push(l),u.push(l))}})),{optimisticUpdater:function(e,t){s.forEach((function(n){n(e,t)}))},updater:function(e,t){u.forEach((function(n){n(e,t)}))}}}}},1548:(e,t,n)=>{"use strict";var r=n(4613).generateClientID,i=n(3276).getStableStorageKey,o=n(949),s=function(){function e(e,t,n){this._dataID=n,this._mutator=t,this._source=e}var t=e.prototype;return t.copyFieldsFrom=function(e){this._mutator.copyFields(e.getDataID(),this._dataID)},t.getDataID=function(){return this._dataID},t.getType=function(){var e=this._mutator.getType(this._dataID);return null==e&&o(!1),e},t.getValue=function(e,t){var n=i(e,t);return this._mutator.getValue(this._dataID,n)},t.setValue=function(e,t,n){return a(e)||o(!1),this.setValue__UNSAFE(e,t,n)},t.setValue__UNSAFE=function(e,t,n){var r=i(t,n);return this._mutator.setValue(this._dataID,r,e),this},t.getLinkedRecord=function(e,t){var n=i(e,t),r=this._mutator.getLinkedRecordID(this._dataID,n);return null!=r?this._source.get(r):r},t.setLinkedRecord=function(t,n,r){t instanceof e||o(!1);var s=i(n,r),a=t.getDataID();return this._mutator.setLinkedRecordID(this._dataID,s,a),this},t.getOrCreateLinkedRecord=function(e,t,n){var o=this.getLinkedRecord(e,n);if(!o){var s,a=i(e,n),u=r(this.getDataID(),a);o=null!==(s=this._source.get(u))&&void 0!==s?s:this._source.create(u,t),this.setLinkedRecord(o,e,n)}return o},t.getLinkedRecords=function(e,t){var n=this,r=i(e,t),o=this._mutator.getLinkedRecordIDs(this._dataID,r);return null==o?o:o.map((function(e){return null!=e?n._source.get(e):e}))},t.setLinkedRecords=function(e,t,n){Array.isArray(e)||o(!1);var r=i(t,n),s=e.map((function(e){return e&&e.getDataID()}));return this._mutator.setLinkedRecordIDs(this._dataID,r,s),this},t.invalidateRecord=function(){this._source.markIDForInvalidation(this._dataID)},e}();function a(e){return null==e||"object"!==typeof e||Array.isArray(e)&&e.every(a)}e.exports=s},585:(e,t,n)=>{"use strict";var r=n(536),i=n(7126).EXISTENT,o=n(949),s=function(){function e(e,t){this.__sources=[t,e],this._base=e,this._sink=t}var t=e.prototype;return t.unstable_getRawRecordWithChanges=function(e){var t=this._base.get(e),n=this._sink.get(e);return void 0===n?null==t?t:r.clone(t):null===n?null:null!=t?r.update(t,n):r.clone(n)},t._getSinkRecord=function(e){var t=this._sink.get(e);if(!t){var n=this._base.get(e);n||o(!1),t=r.create(e,r.getType(n)),this._sink.set(e,t)}return t},t.copyFields=function(e,t){var n=this._sink.get(e),i=this._base.get(e);n||i||o(!1);var s=this._getSinkRecord(t);i&&r.copyFields(i,s),n&&r.copyFields(n,s)},t.copyFieldsFromRecord=function(e,t){var n=this._getSinkRecord(t);r.copyFields(e,n)},t.create=function(e,t){(this._base.getStatus(e)===i||this._sink.getStatus(e)===i)&&o(!1);var n=r.create(e,t);this._sink.set(e,n)},t.delete=function(e){this._sink.delete(e)},t.getStatus=function(e){return this._sink.has(e)?this._sink.getStatus(e):this._base.getStatus(e)},t.getType=function(e){for(var t=0;t<this.__sources.length;t++){var n=this.__sources[t].get(e);if(n)return r.getType(n);if(null===n)return null}},t.getValue=function(e,t){for(var n=0;n<this.__sources.length;n++){var i=this.__sources[n].get(e);if(i){var o=r.getValue(i,t);if(void 0!==o)return o}else if(null===i)return null}},t.setValue=function(e,t,n){var i=this._getSinkRecord(e);r.setValue(i,t,n)},t.getLinkedRecordID=function(e,t){for(var n=0;n<this.__sources.length;n++){var i=this.__sources[n].get(e);if(i){var o=r.getLinkedRecordID(i,t);if(void 0!==o)return o}else if(null===i)return null}},t.setLinkedRecordID=function(e,t,n){var i=this._getSinkRecord(e);r.setLinkedRecordID(i,t,n)},t.getLinkedRecordIDs=function(e,t){for(var n=0;n<this.__sources.length;n++){var i=this.__sources[n].get(e);if(i){var o=r.getLinkedRecordIDs(i,t);if(void 0!==o)return o}else if(null===i)return null}},t.setLinkedRecordIDs=function(e,t,n){var i=this._getSinkRecord(e);r.setLinkedRecordIDs(i,t,n)},e}();e.exports=s},5600:(e,t,n)=>{"use strict";var r=n(536),i=n(7126),o=i.EXISTENT,s=i.NONEXISTENT,a=n(3276),u=a.ROOT_ID,l=a.ROOT_TYPE,c=n(668).readUpdatableFragment,d=n(1742).readUpdatableQuery,f=n(1548),h=n(949),p=function(){function e(e,t,n,r){this.__mutator=e,this._handlerProvider=n||null,this._proxies={},this._getDataID=t,this._invalidatedStore=!1,this._idsMarkedForInvalidation=new Set,this._missingFieldHandlers=r}var t=e.prototype;return t.publishSource=function(e,t){var n=this;e.getRecordIDs().forEach((function(t){var i=e.getStatus(t);if(i===o){var a=e.get(t);a&&(n.__mutator.getStatus(t)!==o&&n.create(t,r.getType(a)),n.__mutator.copyFieldsFromRecord(a,t))}else i===s&&n.delete(t)})),t&&t.length&&t.forEach((function(e){var t=n._handlerProvider&&n._handlerProvider(e.handle);t||h(!1),t.update(n,e)}))},t.create=function(e,t){this.__mutator.create(e,t),delete this._proxies[e];var n=this.get(e);return n||h(!1),n},t.delete=function(e){e===u&&h(!1),delete this._proxies[e],this.__mutator.delete(e)},t.get=function(e){if(!this._proxies.hasOwnProperty(e)){var t=this.__mutator.getStatus(e);this._proxies[e]=t===o?new f(this,this.__mutator,e):t===s?null:void 0}return this._proxies[e]},t.getRoot=function(){var e=this.get(u);return e||(e=this.create(u,l)),e&&e.getType()===l||h(!1),e},t.invalidateStore=function(){this._invalidatedStore=!0},t.isStoreMarkedForInvalidation=function(){return this._invalidatedStore},t.markIDForInvalidation=function(e){this._idsMarkedForInvalidation.add(e)},t.getIDsMarkedForInvalidation=function(){return this._idsMarkedForInvalidation},t.readUpdatableQuery=function(e,t){return d(e,t,this,this._missingFieldHandlers)},t.readUpdatableFragment=function(e,t){return c(e,t,this,this._missingFieldHandlers)},e}();e.exports=p},4740:(e,t,n)=>{"use strict";var r=n(3276),i=r.ROOT_TYPE,o=r.getStorageKey,s=n(668).readUpdatableFragment,a=n(1742).readUpdatableQuery,u=n(949),l=function(){function e(e,t,n,r){this.__mutator=e,this.__recordSource=t,this._readSelector=n,this._missingFieldHandlers=r}var t=e.prototype;return t.create=function(e,t){return this.__recordSource.create(e,t)},t.delete=function(e){this.__recordSource.delete(e)},t.get=function(e){return this.__recordSource.get(e)},t.getRoot=function(){return this.__recordSource.getRoot()},t.getOperationRoot=function(){var e=this.__recordSource.get(this._readSelector.dataID);return e||(e=this.__recordSource.create(this._readSelector.dataID,i)),e},t._getRootField=function(e,t,n){var r=e.node.selections.find((function(e){return"LinkedField"===e.kind&&e.name===t||"RequiredField"===e.kind&&e.field.name===t}));return r&&"RequiredField"===r.kind&&(r=r.field),r&&"LinkedField"===r.kind||u(!1),r.plural!==n&&u(!1),r},t.getRootField=function(e){var t=this._getRootField(this._readSelector,e,!1),n=o(t,this._readSelector.variables);return this.getOperationRoot().getLinkedRecord(n)},t.getPluralRootField=function(e){var t=this._getRootField(this._readSelector,e,!0),n=o(t,this._readSelector.variables);return this.getOperationRoot().getLinkedRecords(n)},t.invalidateStore=function(){this.__recordSource.invalidateStore()},t.readUpdatableQuery=function(e,t){return a(e,t,this,this._missingFieldHandlers)},t.readUpdatableFragment=function(e,t){return s(e,t,this,this._missingFieldHandlers)},e}();e.exports=l},3360:(e,t,n)=>{"use strict";var r=n(8207).getRequest,i=n(5384),o=n(4485).createOperationDescriptor,s=n(4490),a=n(949);e.exports=function(e,t){i(e)||a(!1);var n=r(t.mutation);if("mutation"!==n.params.operationKind)throw new Error("commitMutation: Expected mutation operation");var u=t.optimisticUpdater,l=t.configs,c=t.optimisticResponse,d=t.variables,f=o(n,d);return l&&(u=s.convert(l,n,u).optimisticUpdater),e.applyMutation({operation:f,response:c,updater:u})}},7667:e=>{"use strict";e.exports=function(e,t){e.commitUpdate(t)}},3238:(e,t,n)=>{"use strict";var r=(0,n(4994).default)(n(1132)),i=n(8207).getRequest,o=n(4613).generateUniqueClientID,s=n(5384),a=n(4485).createOperationDescriptor,u=n(4490),l=(n(4609),n(949));n(7600);e.exports=function(e,t){s(e)||l(!1);var n=i(t.mutation);if("mutation"!==n.params.operationKind)throw new Error("commitMutation: Expected mutation operation");if("Request"!==n.kind)throw new Error("commitMutation: Expected mutation to be of type request");var c=t.optimisticResponse,d=t.optimisticUpdater,f=t.updater,h=t.configs,p=t.cacheConfig,g=t.onError,m=t.onUnsubscribe,v=t.variables,y=t.uploadables,_=a(n,v,p,o());if("function"===typeof c&&(c=c()),h){var E=u.convert(h,n,d,f);d=E.optimisticUpdater,f=E.updater}var b=[];return{dispose:e.executeMutation({operation:_,optimisticResponse:c,optimisticUpdater:d,updater:f,uploadables:y}).subscribe({next:function(e){var n;Array.isArray(e)?e.forEach((function(e){e.errors&&b.push.apply(b,(0,r.default)(e.errors))})):e.errors&&b.push.apply(b,(0,r.default)(e.errors)),null===(n=t.onNext)||void 0===n||n.call(t)},complete:function(){var n=t.onCompleted;n&&n(e.lookup(_.fragment).data,0!==b.length?b:null)},error:g,unsubscribe:m}).unsubscribe}}},2614:(e,t,n)=>{"use strict";var r=(0,n(4994).default)(n(883)),i=n(3276).getArgumentValues,o=n(5452),s=o.ACTOR_CHANGE,a=o.ALIASED_FRAGMENT_SPREAD,u=o.ALIASED_INLINE_FRAGMENT_SPREAD,l=o.CLIENT_EDGE_TO_CLIENT_OBJECT,c=o.CLIENT_EDGE_TO_SERVER_OBJECT,d=o.CLIENT_EXTENSION,f=o.CONDITION,h=o.DEFER,p=o.FRAGMENT_SPREAD,g=o.INLINE_DATA_FRAGMENT_SPREAD,m=o.INLINE_FRAGMENT,v=o.LINKED_FIELD,y=o.MODULE_IMPORT,_=o.RELAY_LIVE_RESOLVER,E=o.RELAY_RESOLVER,b=o.REQUIRED_FIELD,D=o.SCALAR_FIELD,N=o.STREAM,T=["id","__id","__typename","js"];function S(e,t,n,o,C,O){var F,L,k=(0,r.default)(o);try{var x=function(){var o=L.value;switch(o.kind){case v:o.plural?Object.defineProperty(e,null!==(P=o.alias)&&void 0!==P?P:o.name,{get:A(o,n,t,C,O),set:I(o,n,t,C)}):Object.defineProperty(e,null!==(M=o.alias)&&void 0!==M?M:o.name,{get:R(o,n,t,C,O),set:w(o,n,t,C)});break;case D:var k=null!==(F=o.alias)&&void 0!==F?F:o.name;Object.defineProperty(e,k,{get:function(){var e,s=i(null!==(e=o.args)&&void 0!==e?e:[],n),a=t.getValue(o.name,s);return null==a&&(a=function(e,t,n,i,o){var s,a=(0,r.default)(o);try{for(a.s();!(s=a.n()).done;){var u=s.value;if("scalar"===u.kind){var l=u.handle(e,n,t,i);if(void 0!==l)return l}}}catch(c){a.e(c)}finally{a.f()}}(o,s,t,C,O)),a},set:T.includes(o.name)?void 0:function(e){var r,s=i(null!==(r=o.args)&&void 0!==r?r:[],n);t.setValue__UNSAFE(e,o.name,s)}});break;case m:t.getType()===o.type&&S(e,t,n,o.selections,C,O);break;case d:S(e,t,n,o.selections,C,O);break;case p:break;case f:case s:case a:case g:case u:case l:case c:case h:case y:case _:case b:case N:case E:throw new Error("Encountered an unexpected ReaderSelection variant in RelayRecordSourceProxy. This indicates a bug in Relay.");default:throw o.kind,new Error("Encountered an unexpected ReaderSelection variant in RelayRecordSourceProxy. This indicates a bug in Relay.")}};for(k.s();!(L=k.n()).done;){var P,M;x()}}catch(B){k.e(B)}finally{k.f()}}function I(e,t,n,r){return function(o){var s,a=i(null!==(s=e.args)&&void 0!==s?s:[],t);if(null==o)throw new Error("Do not assign null to plural linked fields; assign an empty array instead.");var u=o.map((function(e){if(null==e)throw new Error("When assigning an array of items, none of the items should be null or undefined.");var t=e.__id;if(null==t)throw new Error("The __id field must be present on each item passed to the setter. This indicates a bug in Relay.");var n=r.get(t);if(null==n)throw new Error("Did not find item with data id ".concat(t," in the store."));return n}));n.setLinkedRecords(u,e.name,a)}}function w(e,t,n,r){return function(o){var s,a=i(null!==(s=e.args)&&void 0!==s?s:[],t);if(null==o)n.setValue(o,e.name,a);else{var u=o.__id;if(null==u)throw new Error("The __id field must be present on the argument. This indicates a bug in Relay.");var l=r.get(u);if(null==l)throw new Error("Did not find item with data id ".concat(u," in the store."));n.setLinkedRecord(l,e.name,a)}}}function A(e,t,n,o,s){return function(){var a,u=i(null!==(a=e.args)&&void 0!==a?a:[],t),l=n.getLinkedRecords(e.name,u);return void 0===l&&(l=function(e,t,n,i,o){var s,a=(0,r.default)(o);try{for(a.s();!(s=a.n()).done;){var u=s.value;if("pluralLinked"===u.kind){var l=u.handle(e,n,t,i);if(null!=l)return l.map((function(e){if(null!=e)return i.get(e)}))}}}catch(c){a.e(c)}finally{a.f()}}(e,u,n,o,s)),null!=l?l.map((function(n){if(null!=n){var r={};return S(r,n,t,e.selections,o,s),r}return n})):l}}function R(e,t,n,o,s){return function(){var a,u=i(null!==(a=e.args)&&void 0!==a?a:[],t),l=n.getLinkedRecord(e.name,u);if(void 0===l&&(l=function(e,t,n,i,o){var s,a=(0,r.default)(o);try{for(a.s();!(s=a.n()).done;){var u=s.value;if("linked"===u.kind){var l=u.handle(e,n,t,i);if(null!=l)return i.get(l)}}}catch(c){a.e(c)}finally{a.f()}}(e,u,n,o,s)),null!=l){var c={};return S(c,l,t,e.selections,o,s),c}return l}}e.exports={createUpdatableProxy:function(e,t,n,r,i){var o={};return S(o,e,t,n,r,i),o}}},668:(e,t,n)=>{"use strict";var r=n(8207).getFragment,i=n(3080).getVariablesFromFragment,o=n(3276).ID_KEY,s=n(2614).createUpdatableProxy,a=n(949);e.exports={readUpdatableFragment:function(e,t,n,u){var l=r(e),c=i(l,t),d=t[o],f=n.get(d);return null==f&&a(!1),{updatableData:s(f,c,l.selections,n,u)}}}},1742:(e,t,n)=>{"use strict";var r=n(8207).getUpdatableQuery,i=n(2614).createUpdatableProxy;e.exports={readUpdatableQuery:function(e,t,n,o){var s=r(e);return{updatableData:i(n.getRoot(),t,s.fragment.selections,n,o)}}}},4609:(e,t,n)=>{"use strict";(0,n(4994).default)(n(2897));var r=n(5452);r.ACTOR_CHANGE,r.CLIENT_COMPONENT,r.CLIENT_EDGE_TO_CLIENT_OBJECT,r.CLIENT_EXTENSION,r.CONDITION,r.DEFER,r.FRAGMENT_SPREAD,r.INLINE_FRAGMENT,r.LINKED_FIELD,r.LINKED_HANDLE,r.MODULE_IMPORT,r.RELAY_LIVE_RESOLVER,r.RELAY_RESOLVER,r.SCALAR_FIELD,r.SCALAR_HANDLE,r.STREAM,r.TYPE_DISCRIMINATOR,n(7600),Object.prototype.hasOwnProperty;e.exports=function(){}},9911:(e,t,n)=>{"use strict";var r=n(292);e.exports={convertFetch:function(e){return function(t,n,i,o,s){var a=e(t,n,i,o,s);return a instanceof Error?r.create((function(e){return e.error(a)})):r.from(a)}}}},2275:(e,t,n)=>{"use strict";var r=n(8542),i=n(9911).convertFetch,o=n(949);e.exports={create:function(e,t){var n=i(e);return{execute:function(e,i,s,a,u){var l=r(i,e.providedVariables);if("subscription"===e.operationKind)return t||o(!1),a&&o(!1),t(e,l,s);var c=s.poll;return null!=c?(a&&o(!1),n(e,l,{force:!0}).poll(c)):n(e,l,s,a,u)}}}}},292:(e,t,n)=>{"use strict";var r=n(1791),i=function(e,t){},o=function(){function e(e){this._source=e}e.create=function(t){return new e(t)},e.onUnhandledError=function(e){i=e},e.from=function(e){return function(e){return"object"===typeof e&&null!==e&&"function"===typeof e.subscribe}(e)?s(e):r(e)?a(e):u(e)};var t=e.prototype;return t.catch=function(t){var n=this;return e.create((function(e){var r;return n.subscribe({start:function(e){r=e},next:e.next,complete:e.complete,error:function(n){try{t(n).subscribe({start:function(e){r=e},next:e.next,complete:e.complete,error:e.error})}catch(i){e.error(i,!0)}}}),function(){return r.unsubscribe()}}))},t.concat=function(t){var n=this;return e.create((function(e){var r;return n.subscribe({start:function(e){r=e},next:e.next,error:e.error,complete:function(){r=t.subscribe(e)}}),function(){r&&r.unsubscribe()}}))},t.do=function(t){var n=this;return e.create((function(e){var r=function(n){return function(){try{t[n]&&t[n].apply(t,arguments)}catch(r){i(r,!0)}e[n]&&e[n].apply(e,arguments)}};return n.subscribe({start:r("start"),next:r("next"),error:r("error"),complete:r("complete"),unsubscribe:r("unsubscribe")})}))},t.finally=function(t){var n=this;return e.create((function(e){var r=n.subscribe(e);return function(){r.unsubscribe(),t()}}))},t.ifEmpty=function(t){var n=this;return e.create((function(e){var r,i=!1;return r=n.subscribe({next:function(t){i=!0,e.next(t)},error:e.error,complete:function(){i?e.complete():r=t.subscribe(e)}}),function(){r&&r.unsubscribe()}}))},t.subscribe=function(e){return function(e,t){var n,r=!1,o=function(e){return Object.defineProperty(e,"closed",{get:function(){return r}})};function s(){if(n){if(n.unsubscribe)n.unsubscribe();else try{n()}catch(e){i(e,!0)}n=void 0}}var a=o({unsubscribe:function(){if(!r){r=!0;try{t.unsubscribe&&t.unsubscribe(a)}catch(e){i(e,!0)}finally{s()}}}});try{t.start&&t.start(a)}catch(l){i(l,!0)}if(r)return a;var u=o({next:function(e){if(!r&&t.next)try{t.next(e)}catch(l){i(l,!0)}},error:function(e,n){if(r||!t.error)r=!0,i(e,n||!1),s();else{r=!0;try{t.error(e)}catch(o){i(o,!0)}finally{s()}}},complete:function(){if(!r){r=!0;try{t.complete&&t.complete()}catch(l){i(l,!0)}finally{s()}}}});try{n=e(u)}catch(l){u.error(l,!0)}0;r&&s();return a}(this._source,e)},t.map=function(t){var n=this;return e.create((function(e){var r=n.subscribe({complete:e.complete,error:e.error,next:function(n){try{var r=t(n);e.next(r)}catch(i){e.error(i,!0)}}});return function(){r.unsubscribe()}}))},t.mergeMap=function(t){var n=this;return e.create((function(r){var i=[];function o(e){this._sub=e,i.push(e)}function s(){i.splice(i.indexOf(this._sub),1),0===i.length&&r.complete()}return n.subscribe({start:o,next:function(n){try{r.closed||e.from(t(n)).subscribe({start:o,next:r.next,error:r.error,complete:s})}catch(i){r.error(i,!0)}},error:r.error,complete:s}),function(){i.forEach((function(e){return e.unsubscribe()})),i.length=0}}))},t.poll=function(t){var n=this;return e.create((function(e){var r,i;return function o(){r=n.subscribe({next:e.next,error:e.error,complete:function(){i=setTimeout(o,t)}})}(),function(){clearTimeout(i),r.unsubscribe()}}))},t.toPromise=function(){var e=this;return new Promise((function(t,n){var r=!1;e.subscribe({next:function(e){r||(r=!0,t(e))},error:n,complete:t})}))},e}();function s(e){return e instanceof o?e:o.create((function(t){return e.subscribe(t)}))}function a(e){return o.create((function(t){e.then((function(e){t.next(e),t.complete()}),t.error)}))}function u(e){return o.create((function(t){t.next(e),t.complete()}))}e.exports=o},4222:(e,t,n)=>{"use strict";var r=(0,n(4994).default)(n(2897)),i=n(6758),o=n(949),s=function(){function e(e){var t=e.size,n=e.ttl;t>0||o(!1),n>0||o(!1),this._responses=new Map,this._size=t,this._ttl=n}var t=e.prototype;return t.clear=function(){this._responses.clear()},t.get=function(e,t){var n=this,i=a(e,t);this._responses.forEach((function(e,t){var r,i;r=e.fetchTime,i=n._ttl,r+i>=Date.now()||n._responses.delete(t)}));var o=this._responses.get(i);return null==o?null:Array.isArray(o.payload)?o.payload.map((function(e){return(0,r.default)((0,r.default)({},e),{},{extensions:(0,r.default)((0,r.default)({},e.extensions),{},{cacheTimestamp:o.fetchTime})})})):(0,r.default)((0,r.default)({},o.payload),{},{extensions:(0,r.default)((0,r.default)({},o.payload.extensions),{},{cacheTimestamp:o.fetchTime})})},t.set=function(e,t,n){var r=Date.now(),i=a(e,t);if(this._responses.delete(i),this._responses.set(i,{fetchTime:r,payload:n}),this._responses.size>this._size){var o=this._responses.keys().next();o.done||this._responses.delete(o.value)}},e}();function a(e,t){return JSON.stringify(i({queryID:e,variables:t}))}e.exports=s},7096:(e,t,n)=>{"use strict";var r=n(462);e.exports=function(e,t){return{execute:function(n,i,o,s){var a=r(),u={start:function(t){e.__log({name:"network.start",networkRequestId:a,params:n,variables:i,cacheConfig:o})},next:function(t){e.__log({name:"network.next",networkRequestId:a,response:t})},error:function(t){e.__log({name:"network.error",networkRequestId:a,error:t})},complete:function(){e.__log({name:"network.complete",networkRequestId:a})},unsubscribe:function(){e.__log({name:"network.unsubscribe",networkRequestId:a})}};return t.execute(n,i,o,s,(function(t){e.__log({name:"network.info",networkRequestId:a,info:t})})).do(u)}}}},8207:(e,t,n)=>{"use strict";var r=n(5452),i=n(949);n(7600);function o(e){var t=e;return"function"===typeof t?t=t():t.default&&(t=t.default),t}function s(e){var t=o(e);return"object"===typeof t&&null!==t&&t.kind===r.FRAGMENT}function a(e){var t=o(e);return"object"===typeof t&&null!==t&&t.kind===r.REQUEST}function u(e){var t=o(e);return"object"===typeof t&&null!==t&&t.kind===r.UPDATABLE_QUERY}function l(e){var t=o(e);return"object"===typeof t&&null!==t&&t.kind===r.INLINE_DATA_FRAGMENT}function c(e){var t=o(e);return s(t)||i(!1),t}e.exports={getFragment:c,getNode:o,getPaginationFragment:function(e){var t,n=c(e),r=null===(t=n.metadata)||void 0===t?void 0:t.refetch,i=null===r||void 0===r?void 0:r.connection;return null===r||"object"!==typeof r||null===i||"object"!==typeof i?null:n},getRefetchableFragment:function(e){var t,n=c(e),r=null===(t=n.metadata)||void 0===t?void 0:t.refetch;return null===r||"object"!==typeof r?null:n},getRequest:function(e){var t=o(e);return a(t)||i(!1),t},getUpdatableQuery:function(e){var t=o(e);return u(t)||i(!1),t},getInlineDataFragment:function(e){var t=o(e);return l(t)||i(!1),t},graphql:function(e){i(!1)},isFragment:s,isRequest:a,isUpdatableQuery:u,isInlineDataFragment:l}},3612:e=>{"use strict";var t=new(function(){function e(){this._preloadableQueries=new Map,this._callbacks=new Map}var t=e.prototype;return t.set=function(e,t){this._preloadableQueries.set(e,t);var n=this._callbacks.get(e);null!=n&&n.forEach((function(e){try{e(t)}catch(n){setTimeout((function(){throw n}),0)}}))},t.get=function(e){return this._preloadableQueries.get(e)},t.onLoad=function(e,t){var n,r=null!==(n=this._callbacks.get(e))&&void 0!==n?n:new Set;r.add(t);return this._callbacks.set(e,r),{dispose:function(){r.delete(t)}}},t.clear=function(){this._preloadableQueries.clear()},e}());e.exports=t},9660:(e,t,n)=>{"use strict";var r=(0,n(4994).default)(n(2897)),i=n(292),o=n(4485).createOperationDescriptor,s=n(3309),a=n(7769),u=n(8207).getRequest,l=n(949);function c(e,t){return a.fetchQuery(e,t).map((function(){return e.lookup(t.fragment)}))}e.exports=function(e,t,n,a){var d,f=u(t);"query"!==f.params.operationKind&&l(!1);var h=(0,r.default)({force:!0},null===a||void 0===a?void 0:a.networkCacheConfig),p=o(f,n,h),g=null!==(d=null===a||void 0===a?void 0:a.fetchPolicy)&&void 0!==d?d:"network-only";function m(t){return s(e,t.missingRequiredFields,t.relayResolverErrors,t.errorResponseFields),t.data}switch(g){case"network-only":return c(e,p).map(m);case"store-or-network":return"available"===e.check(p).status?i.from(e.lookup(p.fragment)).map(m):c(e,p).map(m);default:throw new Error("fetchQuery: Invalid fetchPolicy "+g)}}},7769:(e,t,n)=>{"use strict";var r=n(292),i=n(2810),o=n(949),s="function"===typeof WeakMap?new WeakMap:new Map;function a(e,t,n){return r.create((function(s){var a=l(e),u=a.get(t);return u||n().finally((function(){return a.delete(t)})).subscribe({start:function(e){u={identifier:t,subject:new i,subjectForInFlightStatus:new i,subscription:e,promise:null},a.set(t,u)},next:function(e){var n=c(a,t);n.subject.next(e),n.subjectForInFlightStatus.next(e)},error:function(e){var n=c(a,t);n.subject.error(e),n.subjectForInFlightStatus.error(e)},complete:function(){var e=c(a,t);e.subject.complete(),e.subjectForInFlightStatus.complete()},unsubscribe:function(e){var n=c(a,t);n.subject.unsubscribe(),n.subjectForInFlightStatus.unsubscribe()}}),null==u&&o(!1),function(e,t){return r.create((function(n){var r=t.subject.subscribe(n);return function(){r.unsubscribe();var n=e.get(t.identifier);if(n){var i=n.subscription;null!=i&&0===n.subject.getObserverCount()&&(i.unsubscribe(),e.delete(t.identifier))}}}))}(a,u).subscribe(s)}))}function u(e,t,n){return r.create((function(t){var r=n.subjectForInFlightStatus.subscribe({error:t.error,next:function(r){e.isRequestActive(n.identifier)?t.next():t.complete()},complete:t.complete,unsubscribe:t.complete});return function(){r.unsubscribe()}}))}function l(e){var t=s.get(e);if(null!=t)return t;var n=new Map;return s.set(e,n),n}function c(e,t){var n=e.get(t);return null==n&&o(!1),n}e.exports={fetchQuery:function(e,t){return a(e,t.request.identifier,(function(){return e.execute({operation:t})}))},fetchQueryDeduped:a,getPromiseForActiveRequest:function(e,t){var n=l(e),r=n.get(t.identifier);return r&&e.isRequestActive(r.identifier)?new Promise((function(t,n){var i=!1;u(e,0,r).subscribe({complete:t,error:n,next:function(e){i&&t(e)}}),i=!0})):null},getObservableForActiveRequest:function(e,t){var n=l(e),r=n.get(t.identifier);return r&&e.isRequestActive(r.identifier)?u(e,0,r):null}}},9138:(e,t,n)=>{"use strict";var r=n(4485).createOperationDescriptor,i=n(8207).getRequest;e.exports=function(e,t,n,o){var s=i(t);if("query"!==s.params.operationKind)throw new Error("fetchQuery: Expected query operation");var a=r(s,n,o);return e.execute({operation:a}).map((function(){return e.lookup(a.fragment).data})).toPromise()}},4613:(e,t,n)=>{"use strict";var r=n(4910),i=n(2606).intern,o="client:";var s=0;e.exports={generateClientID:function(e,t,n){var s=(r.STRING_INTERN_LEVEL<=0?e:i(e,r.MAX_DATA_ID_LENGTH))+":"+t;return null!=n&&(s+=":"+n),0!==s.indexOf(o)&&(s=o+s),s},generateClientObjectClientID:function(e,t,n){var r="".concat(o).concat(e,":").concat(t);return null!=n&&(r+=":"+n),r},generateUniqueClientID:function(){return"".concat(o,"local:").concat(s++)},isClientID:function(e){return 0===e.indexOf(o)}}},4596:(e,t,n)=>{"use strict";var r=(0,n(4994).default)(n(883)),i=n(585),o=n(5600),s=n(1277),a=n(5452),u=n(4613).isClientID,l=n(9768),c=n(7616),d=n(1836).getLocalVariables,f=n(536),h=n(7126),p=h.EXISTENT,g=h.UNKNOWN,m=n(3276),v=n(8326),y=v.TYPE_SCHEMA_TYPE,_=v.generateTypeID,E=n(949),b=a.ACTOR_CHANGE,D=a.CONDITION,N=a.CLIENT_COMPONENT,T=a.CLIENT_EXTENSION,S=a.CLIENT_EDGE_TO_CLIENT_OBJECT,I=a.DEFER,w=a.FRAGMENT_SPREAD,A=a.INLINE_FRAGMENT,R=a.LINKED_FIELD,C=a.LINKED_HANDLE,O=a.MODULE_IMPORT,F=a.RELAY_RESOLVER,L=a.RELAY_LIVE_RESOLVER,k=a.SCALAR_FIELD,x=a.SCALAR_HANDLE,P=a.STREAM,M=a.TYPE_DISCRIMINATOR,B=m.getModuleOperationKey,V=m.getStorageKey,U=m.getArgumentValues;var j=function(){function e(e,t,n,r,i,o,s,a){this._getSourceForActor=e,this._getTargetForActor=t,this._getDataID=s,this._source=e(n),this._mutatorRecordSourceProxyCache=new Map;var u=this._getMutatorAndRecordProxyForActor(n),l=u[0],c=u[1];this._mostRecentlyInvalidatedAt=null,this._handlers=i,this._mutator=l,this._operationLoader=null!==o&&void 0!==o?o:null,this._recordSourceProxy=c,this._recordWasMissing=!1,this._variables=r,this._shouldProcessClientComponents=a}var t=e.prototype;return t._getMutatorAndRecordProxyForActor=function(e){var t=this._mutatorRecordSourceProxyCache.get(e);if(null==t){var n=this._getTargetForActor(e),r=new i(this._getSourceForActor(e),n);t=[r,new o(r,this._getDataID,void 0,this._handlers)],this._mutatorRecordSourceProxyCache.set(e,t)}return t},t.check=function(e,t){return this._assignClientAbstractTypes(e),this._traverse(e,t),!0===this._recordWasMissing?{status:"missing",mostRecentlyInvalidatedAt:this._mostRecentlyInvalidatedAt}:{status:"available",mostRecentlyInvalidatedAt:this._mostRecentlyInvalidatedAt}},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||E(!1),this._variables[e]},t._handleMissing=function(){this._recordWasMissing=!0},t._handleMissingScalarField=function(e,t){if("id"!==e.name||null!=e.alias||!u(t)){var n,i=void 0!=e.args?U(e.args,this._variables):{},o=(0,r.default)(this._handlers);try{for(o.s();!(n=o.n()).done;){var s=n.value;if("scalar"===s.kind){var a=s.handle(e,this._recordSourceProxy.get(t),i,this._recordSourceProxy);if(void 0!==a)return a}}}catch(l){o.e(l)}finally{o.f()}this._handleMissing()}},t._handleMissingLinkField=function(e,t){var n,i=void 0!=e.args?U(e.args,this._variables):{},o=(0,r.default)(this._handlers);try{for(o.s();!(n=o.n()).done;){var s=n.value;if("linked"===s.kind){var a=s.handle(e,this._recordSourceProxy.get(t),i,this._recordSourceProxy);if(void 0!==a&&(null===a||this._mutator.getStatus(a)===p))return a}}}catch(u){o.e(u)}finally{o.f()}this._handleMissing()},t._handleMissingPluralLinkField=function(e,t){var n,i=this,o=void 0!=e.args?U(e.args,this._variables):{},s=(0,r.default)(this._handlers);try{for(s.s();!(n=s.n()).done;){var a=n.value;if("pluralLinked"===a.kind){var u=a.handle(e,this._recordSourceProxy.get(t),o,this._recordSourceProxy);if(null!=u){if(u.every((function(e){return null!=e&&i._mutator.getStatus(e)===p})))return u}else if(null===u)return null}}}catch(l){s.e(l)}finally{s.f()}this._handleMissing()},t._traverse=function(e,t){var n=this._mutator.getStatus(t);if(n===g&&this._handleMissing(),n===p){var r=this._source.get(t),i=f.getInvalidationEpoch(r);null!=i&&(this._mostRecentlyInvalidatedAt=null!=this._mostRecentlyInvalidatedAt?Math.max(this._mostRecentlyInvalidatedAt,i):i),this._traverseSelections(e.selections,t)}},t._traverseSelections=function(e,t){var n=this;e.forEach((function(r){switch(r.kind){case k:n._checkScalar(r,t);break;case R:r.plural?n._checkPluralLink(r,t):n._checkLink(r,t);break;case b:n._checkActorChange(r.linkedField,t);break;case D:Boolean(n._getVariableValue(r.condition))===r.passingValue&&n._traverseSelections(r.selections,t);break;case A:var i=r.abstractKey;if(null==i){n._mutator.getType(t)===r.type&&n._traverseSelections(r.selections,t)}else{var o=n._mutator.getType(t);null==o&&E(!1);var s=_(o),a=n._mutator.getValue(s,i);!0===a?n._traverseSelections(r.selections,t):null==a&&n._handleMissing()}break;case C:var u=l(r,e,n._variables);u.plural?n._checkPluralLink(u,t):n._checkLink(u,t);break;case x:var f=c(r,e,n._variables);n._checkScalar(f,t);break;case O:n._checkModuleImport(r,t);break;case I:case P:n._traverseSelections(r.selections,t);break;case w:var h=n._variables;n._variables=d(n._variables,r.fragment.argumentDefinitions,r.args),n._traverseSelections(r.fragment.selections,t),n._variables=h;break;case T:var p=n._recordWasMissing;n._traverseSelections(r.selections,t),n._recordWasMissing=p;break;case M:var g=r.abstractKey,m=n._mutator.getType(t);null==m&&E(!1);var v=_(m);null==n._mutator.getValue(v,g)&&n._handleMissing();break;case N:if(!1===n._shouldProcessClientComponents)break;n._traverseSelections(r.fragment.selections,t);break;case F:case L:n._checkResolver(r,t);break;case S:n._checkResolver(r.backingField,t);break;default:E(!1)}}))},t._checkResolver=function(e,t){e.fragment&&this._traverseSelections([e.fragment],t)},t._checkModuleImport=function(e,t){var n=this._operationLoader;null===n&&E(!1);var r=B(e.documentName),i=this._mutator.getValue(t,r);if(null!=i){var o=n.get(i);if(null!=o){var a=s(o),u=this._variables;this._variables=d(this._variables,a.argumentDefinitions,e.args),this._traverse(a,t),this._variables=u}else this._handleMissing()}else void 0===i&&this._handleMissing()},t._checkScalar=function(e,t){var n=V(e,this._variables),r=this._mutator.getValue(t,n);void 0===r&&void 0!==(r=this._handleMissingScalarField(e,t))&&this._mutator.setValue(t,n,r)},t._checkLink=function(e,t){var n=V(e,this._variables),r=this._mutator.getLinkedRecordID(t,n);void 0===r&&(null!=(r=this._handleMissingLinkField(e,t))?this._mutator.setLinkedRecordID(t,n,r):null===r&&this._mutator.setValue(t,n,null)),null!=r&&this._traverse(e,r)},t._checkPluralLink=function(e,t){var n=this,r=V(e,this._variables),i=this._mutator.getLinkedRecordIDs(t,r);void 0===i&&(null!=(i=this._handleMissingPluralLinkField(e,t))?this._mutator.setLinkedRecordIDs(t,r,i):null===i&&this._mutator.setValue(t,r,null)),i&&i.forEach((function(t){null!=t&&n._traverse(e,t)}))},t._checkActorChange=function(e,t){var n=V(e,this._variables),r=this._source.get(t),i=null!=r?f.getActorLinkedRecordID(r,n):r;if(null==i)void 0===i&&this._handleMissing();else{var o=i[0],s=i[1],a=this._source,u=this._mutator,l=this._recordSourceProxy,c=this._getMutatorAndRecordProxyForActor(o),d=c[0],h=c[1];this._source=this._getSourceForActor(o),this._mutator=d,this._recordSourceProxy=h,this._assignClientAbstractTypes(e),this._traverse(e,s),this._source=a,this._mutator=u,this._recordSourceProxy=l}},t._assignClientAbstractTypes=function(e){var t=e.clientAbstractTypes;if(null!=t)for(var n=0,i=Object.keys(t);n<i.length;n++){var o,s=i[n],a=(0,r.default)(t[s]);try{for(a.s();!(o=a.n()).done;){var u=o.value,l=_(u);null==this._source.get(l)&&this._mutator.create(l,y),null==this._mutator.getValue(l,s)&&this._mutator.setValue(l,s,!0)}}catch(c){a.e(c)}finally{a.f()}}},e}();e.exports={check:function(e,t,n,r,i,o,s,a){var u=r.dataID,l=r.node,c=r.variables;return new j(e,t,n,c,i,o,s,a).check(l,u)}}},3927:(e,t,n)=>{"use strict";var r=n(4994).default,i=r(n(883)),o=r(n(1132)),s=n(292),a=n(462),u=n(1277),l=n(8445),c=n(4910),d=n(6758),f=n(2512),h=n(4613),p=h.generateClientID,g=h.generateUniqueClientID,m=n(1836).getLocalVariables,v=n(536),y=n(3080),_=y.createNormalizationSelector,E=y.createReaderSelector,b=n(3950),D=n(3276),N=D.ROOT_TYPE,T=D.TYPENAME_KEY,S=D.getStorageKey,I=n(949);n(7600);var w=function(){function e(e){var t=this,n=e.actorIdentifier,r=e.getDataID,i=e.getPublishQueue,o=e.getStore,s=e.isClientPayload,u=e.operation,l=e.operationExecutions,c=e.operationLoader,d=e.operationTracker,f=e.optimisticConfig,h=e.scheduler,p=e.shouldProcessClientComponents,g=e.sink,m=e.source,v=e.treatMissingFieldsAsNull,y=e.updater,_=e.log,E=e.normalizeResponse;this._actorIdentifier=n,this._getDataID=r,this._treatMissingFieldsAsNull=v,this._incrementalPayloadsPending=!1,this._incrementalResults=new Map,this._log=_,this._executeId=a(),this._nextSubscriptionId=0,this._operation=u,this._operationExecutions=l,this._operationLoader=c,this._operationTracker=d,this._operationUpdateEpochs=new Map,this._optimisticUpdates=null,this._pendingModulePayloadsCount=0,this._getPublishQueue=i,this._scheduler=h,this._sink=g,this._source=new Map,this._state="started",this._getStore=o,this._subscriptions=new Map,this._updater=y,this._isClientPayload=!0===s,this._isSubscriptionOperation="subscription"===this._operation.request.node.params.operationKind,this._shouldProcessClientComponents=p,this._retainDisposables=new Map,this._seenActors=new Set,this._completeFns=[],this._normalizeResponse=E;var b=this._nextSubscriptionId++;m.subscribe({complete:function(){return t._complete(b)},error:function(e){return t._error(e)},next:function(e){try{t._next(b,e)}catch(n){g.error(n)}},start:function(e){var n;t._start(b,e),t._log({name:"execute.start",executeId:t._executeId,params:t._operation.request.node.params,variables:t._operation.request.variables,cacheConfig:null!==(n=t._operation.request.cacheConfig)&&void 0!==n?n:{}})}}),null!=f&&this._processOptimisticResponse(null!=f.response?{data:f.response}:null,f.updater,!1)}var t=e.prototype;return t.cancel=function(){var e=this;if("completed"!==this._state){this._state="completed",this._operationExecutions.delete(this._operation.request.identifier),0!==this._subscriptions.size&&(this._subscriptions.forEach((function(e){return e.unsubscribe()})),this._subscriptions.clear());var t=this._optimisticUpdates;null!==t&&(this._optimisticUpdates=null,t.forEach((function(t){return e._getPublishQueueAndSaveActor().revertUpdate(t)})),this._runPublishQueue()),this._incrementalResults.clear(),null!=this._asyncStoreUpdateDisposable&&(this._asyncStoreUpdateDisposable.dispose(),this._asyncStoreUpdateDisposable=null),this._completeFns=[],this._completeOperationTracker(),this._disposeRetainedData()}},t._updateActiveState=function(){var e;switch(this._state){case"started":case"loading_incremental":e="active";break;case"completed":e="inactive";break;case"loading_final":e=this._pendingModulePayloadsCount>0?"active":"inactive";break;default:this._state,I(!1)}this._operationExecutions.set(this._operation.request.identifier,e)},t._schedule=function(e){var t=this,n=this._scheduler;if(null!=n){var r=this._nextSubscriptionId++;s.create((function(t){var r=n.schedule((function(){try{e(),t.complete()}catch(n){t.error(n)}}));return function(){return n.cancel(r)}})).subscribe({complete:function(){return t._complete(r)},error:function(e){return t._error(e)},start:function(e){return t._start(r,e)}})}else e()},t._complete=function(e){this._subscriptions.delete(e),0===this._subscriptions.size&&(this.cancel(),this._sink.complete(),this._log({name:"execute.complete",executeId:this._executeId}))},t._error=function(e){this.cancel(),this._sink.error(e),this._log({name:"execute.error",executeId:this._executeId,error:e})},t._start=function(e,t){this._subscriptions.set(e,t),this._updateActiveState()},t._next=function(e,t){var n=this;this._schedule((function(){var e=f((function(){n._handleNext(t),n._maybeCompleteSubscriptionOperationTracking()}))[0];n._log({name:"execute.next",executeId:n._executeId,response:t,duration:e})}))},t._handleErrorResponse=function(e){var t=this,n=[];return e.forEach((function(e){if(null!==e.data||null==e.extensions||e.hasOwnProperty("errors")){if(null==e.data){var r=e.hasOwnProperty("errors")&&null!=e.errors?e.errors:null,i=r?r.map((function(e){return e.message})).join("\n"):"(No errors)",o=l.create("RelayNetwork","No data returned for operation `"+t._operation.request.node.params.name+"`, got error(s):\n"+i+"\n\nSee the error `source` property for more information.");throw o.source={errors:r,operation:t._operation.request.node,variables:t._operation.request.variables},o.stack,o}var s=e;n.push(s)}})),n},t._handleOptimisticResponses=function(e){var t;if(e.length>1)return e.some((function(e){var t;return!0===(null===(t=e.extensions)||void 0===t?void 0:t.isOptimistic)}))&&I(!1),!1;var n=e[0],r=!0===(null===(t=n.extensions)||void 0===t?void 0:t.isOptimistic);return r&&"started"!==this._state&&I(!1),!!r&&(this._processOptimisticResponse(n,null,this._treatMissingFieldsAsNull),this._sink.next(n),!0)},t._handleNext=function(e){if("completed"!==this._state){this._seenActors.clear();var t=Array.isArray(e)?e:[e],n=this._handleErrorResponse(t);if(0===n.length)return t.some((function(e){var t;return!0===(null===(t=e.extensions)||void 0===t?void 0:t.is_final)}))&&(this._state="loading_final",this._updateActiveState(),this._incrementalPayloadsPending=!1),void this._sink.next(e);if(!this._handleOptimisticResponses(n)){var r=function(e){var t=[],n=[];return e.forEach((function(e){if(null!=e.path||null!=e.label){var r=e.label,i=e.path;null!=r&&null!=i||I(!1),n.push({label:r,path:i,response:e})}else t.push(e)})),[t,n]}(n),i=r[0],o=r[1],s=i.length>0;if(s){if(this._isSubscriptionOperation){var a=g();this._operation={request:this._operation.request,fragment:E(this._operation.fragment.node,a,this._operation.fragment.variables,this._operation.fragment.owner),root:_(this._operation.root.node,a,this._operation.root.variables)}}var u=this._processResponses(i);this._processPayloadFollowups(u)}if(o.length>0){var l=this._processIncrementalResponses(o);this._processPayloadFollowups(l)}this._isSubscriptionOperation&&(null==n[0].extensions?n[0].extensions={__relay_subscription_root_id:this._operation.fragment.dataID}:n[0].extensions.__relay_subscription_root_id=this._operation.fragment.dataID);var c=this._runPublishQueue(s?this._operation:void 0);s&&this._incrementalPayloadsPending&&this._retainData(),this._updateOperationTracker(c),this._sink.next(e)}}},t._processOptimisticResponse=function(e,t,n){var r=this;if(null!==this._optimisticUpdates&&I(!1),null!=e||null!=t){var i=[];if(e){var o=this._normalizeResponse(e,this._operation.root,N,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:[],shouldProcessClientComponents:this._shouldProcessClientComponents,treatMissingFieldsAsNull:n});A(o),i.push({operation:this._operation,payload:o,updater:t}),this._processOptimisticFollowups(o,i)}else t&&i.push({operation:this._operation,payload:{errors:null,fieldPayloads:null,incrementalPlaceholders:null,followupPayloads:null,source:b.create(),isFinal:!1},updater:t});this._optimisticUpdates=i,i.forEach((function(e){return r._getPublishQueueAndSaveActor().applyUpdate(e)}));var s=this._runPublishQueue();c.ENABLE_OPERATION_TRACKER_OPTIMISTIC_UPDATES&&this._updateOperationTracker(s)}},t._processOptimisticFollowups=function(e,t){if(e.followupPayloads&&e.followupPayloads.length){var n,r=e.followupPayloads,s=(0,i.default)(r);try{for(s.s();!(n=s.n()).done;){var a=n.value;switch(a.kind){case"ModuleImportPayload":var u=this._expectOperationLoader().get(a.operationReference);if(null==u)this._processAsyncOptimisticModuleImport(a);else{var l=this._processOptimisticModuleImport(u,a);t.push.apply(t,(0,o.default)(l))}break;case"ActorPayload":break;default:I(!1)}}}catch(c){s.e(c)}finally{s.f()}}},t._normalizeFollowupPayload=function(e,t){var n;n="SplitOperation"===t.kind&&"ModuleImportPayload"===e.kind?m(e.variables,t.argumentDefinitions,e.args):e.variables;var r=_(t,e.dataID,n);return this._normalizeResponse({data:e.data},r,e.typeName,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:e.path,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents})},t._processOptimisticModuleImport=function(e,t){var n=u(e),r=[],i=this._normalizeFollowupPayload(t,n);return A(i),r.push({operation:this._operation,payload:i,updater:null}),this._processOptimisticFollowups(i,r),r},t._processAsyncOptimisticModuleImport=function(e){var t=this;this._expectOperationLoader().load(e.operationReference).then((function(n){if(null!=n&&"started"===t._state){var r,i=t._processOptimisticModuleImport(n,e);if(i.forEach((function(e){return t._getPublishQueueAndSaveActor().applyUpdate(e)})),null==t._optimisticUpdates);else(r=t._optimisticUpdates).push.apply(r,(0,o.default)(i)),t._runPublishQueue()}}))},t._processResponses=function(e){var t=this;return null!==this._optimisticUpdates&&(this._optimisticUpdates.forEach((function(e){t._getPublishQueueAndSaveActor().revertUpdate(e)})),this._optimisticUpdates=null),this._incrementalPayloadsPending=!1,this._incrementalResults.clear(),this._source.clear(),e.map((function(e){var n=t._normalizeResponse(e,t._operation.root,N,{actorIdentifier:t._actorIdentifier,getDataID:t._getDataID,path:[],treatMissingFieldsAsNull:t._treatMissingFieldsAsNull,shouldProcessClientComponents:t._shouldProcessClientComponents});return t._getPublishQueueAndSaveActor().commitPayload(t._operation,n,t._updater),n}))},t._processPayloadFollowups=function(e){var t=this;"completed"!==this._state&&e.forEach((function(e){var n=e.incrementalPlaceholders,r=e.followupPayloads,i=e.isFinal;if(t._state=i?"loading_final":"loading_incremental",t._updateActiveState(),i&&(t._incrementalPayloadsPending=!1),r&&0!==r.length&&r.forEach((function(e){var n,r=t._actorIdentifier;t._actorIdentifier=null!==(n=e.actorIdentifier)&&void 0!==n?n:t._actorIdentifier,t._processFollowupPayload(e),t._actorIdentifier=r})),n&&0!==n.length&&(t._incrementalPayloadsPending="loading_final"!==t._state,n.forEach((function(n){var r,i=t._actorIdentifier;t._actorIdentifier=null!==(r=n.actorIdentifier)&&void 0!==r?r:t._actorIdentifier,t._processIncrementalPlaceholder(e,n),t._actorIdentifier=i})),t._isClientPayload||"loading_final"===t._state)){var o=[];n.forEach((function(e){"defer"===e.kind&&o.push(t._processDeferResponse(e.label,e.path,e,{data:e.data}))})),o.length>0&&t._processPayloadFollowups(o)}}))},t._maybeCompleteSubscriptionOperationTracking=function(){this._isSubscriptionOperation&&0===this._pendingModulePayloadsCount&&!1===this._incrementalPayloadsPending&&this._completeOperationTracker()},t._processFollowupPayload=function(e){var t=this;switch(e.kind){case"ModuleImportPayload":var n=this._expectOperationLoader(),r=n.get(e.operationReference);if(null!=r)this._processFollowupPayloadWithNormalizationNode(e,u(r));else{var i=this._nextSubscriptionId++;this._pendingModulePayloadsCount++;var o=function(){t._pendingModulePayloadsCount--,t._maybeCompleteSubscriptionOperationTracking()},a=s.from(new Promise((function(t,r){n.load(e.operationReference).then(t,r)})));s.create((function(n){var r,i=a.subscribe({next:function(i){if(null!=i){var o=function(){try{var r=u(i),o=c.BATCH_ASYNC_MODULE_UPDATES_FN,s=null!=o&&t._pendingModulePayloadsCount>1,a=f((function(){if(t._handleFollowupPayload(e,r),s)t._scheduleAsyncStoreUpdate(o,n.complete);else{var i=t._runPublishQueue();t._updateOperationTracker(i)}}))[0];t._log({name:"execute.async.module",executeId:t._executeId,operationName:r.name,duration:a}),s||n.complete()}catch(l){n.error(l)}},s=t._scheduler;null==s?o():r=s.schedule(o)}else n.complete()},error:n.error});return function(){i.unsubscribe(),null!=t._scheduler&&null!=r&&t._scheduler.cancel(r)}})).subscribe({complete:function(){t._complete(i),o()},error:function(e){t._error(e),o()},start:function(e){return t._start(i,e)}})}break;case"ActorPayload":this._processFollowupPayloadWithNormalizationNode(e,e.node);break;default:I(!1)}},t._processFollowupPayloadWithNormalizationNode=function(e,t){this._handleFollowupPayload(e,t),this._maybeCompleteSubscriptionOperationTracking()},t._handleFollowupPayload=function(e,t){var n=this._normalizeFollowupPayload(e,t);this._getPublishQueueAndSaveActor().commitPayload(this._operation,n),this._processPayloadFollowups([n])},t._processIncrementalPlaceholder=function(e,t){var n,r=t.label,i=t.path.map(String).join("."),o=this._incrementalResults.get(r);null==o&&(o=new Map,this._incrementalResults.set(r,o));var s,a=o.get(i),u=null!=a&&"response"===a.kind?a.responses:null;o.set(i,{kind:"placeholder",placeholder:t}),"stream"===t.kind?s=t.parentID:"defer"===t.kind?s=t.selector.dataID:I(!1);var l,c,f=e.source.get(s),h=(null!==(n=e.fieldPayloads)&&void 0!==n?n:[]).filter((function(e){var t=p(e.dataID,e.fieldKey);return e.dataID===s||t===s}));null==f&&I(!1);var g=this._source.get(s);if(null!=g){l=v.update(g.record,f);var m=new Map,y=function(e){var t=function(e){var t;return null!==(t=JSON.stringify(d(e)))&&void 0!==t?t:""}(e);m.set(t,e)};g.fieldPayloads.forEach(y),h.forEach(y),c=Array.from(m.values())}else l=f,c=h;if(this._source.set(s,{record:l,fieldPayloads:c}),null!=u){var _=this._processIncrementalResponses(u);this._processPayloadFollowups(_)}},t._processIncrementalResponses=function(e){var t=this,n=[];return e.forEach((function(e){var r=e.label,i=e.path,o=e.response,s=t._incrementalResults.get(r);if(null==s&&(s=new Map,t._incrementalResults.set(r,s)),-1!==r.indexOf("$defer$")){var a=i.map(String).join("."),u=s.get(a);if(null==u)return u={kind:"response",responses:[e]},void s.set(a,u);if("response"===u.kind)return void u.responses.push(e);var l=u.placeholder;"defer"!==l.kind&&I(!1),n.push(t._processDeferResponse(r,i,l,o))}else{var c=i.slice(0,-2).map(String).join("."),d=s.get(c);if(null==d)return d={kind:"response",responses:[e]},void s.set(c,d);if("response"===d.kind)return void d.responses.push(e);var f=d.placeholder;"stream"!==f.kind&&I(!1),n.push(t._processStreamResponse(r,i,f,o))}})),n},t._processDeferResponse=function(e,t,n,r){var i,o=n.selector.dataID,s=this._actorIdentifier;this._actorIdentifier=null!==(i=n.actorIdentifier)&&void 0!==i?i:this._actorIdentifier;var a=this._normalizeResponse(r,n.selector,n.typeName,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:n.path,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents});this._getPublishQueueAndSaveActor().commitPayload(this._operation,a);var u=this._source.get(o);null==u&&I(!1);var l=u.fieldPayloads;if(0!==l.length){var c,d={errors:null,fieldPayloads:l,incrementalPlaceholders:null,followupPayloads:null,source:b.create(),isFinal:!0===(null===(c=r.extensions)||void 0===c?void 0:c.is_final)};this._getPublishQueueAndSaveActor().commitPayload(this._operation,d)}return this._actorIdentifier=s,a},t._processStreamResponse=function(e,t,n,r){var i=n.parentID,s=n.node,a=n.variables,u=n.actorIdentifier,l=this._actorIdentifier;this._actorIdentifier=null!==u&&void 0!==u?u:this._actorIdentifier;var c=s.selections[0];(null==c||"LinkedField"!==c.kind||!0!==c.plural)&&I(!1);var d=this._normalizeStreamItem(r,i,c,a,t,n.path),f=d.fieldPayloads,h=d.itemID,p=d.itemIndex,g=d.prevIDs,m=d.relayPayload,v=d.storageKey;if(this._getPublishQueueAndSaveActor().commitPayload(this._operation,m,(function(e){var t=e.get(i);if(null!=t){var n=t.getLinkedRecords(v);if(null!=n&&n.length===g.length&&!n.some((function(e,t){return g[t]!==(e&&e.getDataID())}))){var r=(0,o.default)(n);r[p]=e.get(h),t.setLinkedRecords(r,v)}}})),0!==f.length){var y={errors:null,fieldPayloads:f,incrementalPlaceholders:null,followupPayloads:null,source:b.create(),isFinal:!1};this._getPublishQueueAndSaveActor().commitPayload(this._operation,y)}return this._actorIdentifier=l,m},t._normalizeStreamItem=function(e,t,n,r,i,s){var a,u,l,c,d=e.data;"object"!==typeof d&&I(!1);var f=null!==(a=n.alias)&&void 0!==a?a:n.name,h=S(n,r),g=this._source.get(t);null==g&&I(!1);var m=g.record,y=g.fieldPayloads,E=v.getLinkedRecordIDs(m,h);null==E&&I(!1);var b=i[i.length-1],D=parseInt(b,10);D===b&&D>=0||I(!1);var N=null!==(u=n.concreteType)&&void 0!==u?u:d[T];"string"!==typeof N&&I(!1);var w=null!==(l=null!==(c=this._getDataID(d,N))&&void 0!==c?c:null===E||void 0===E?void 0:E[D])&&void 0!==l?l:p(t,h,D);"string"!==typeof w&&I(!1);var A=_(n,w,r),R=v.clone(m),C=(0,o.default)(E);return C[D]=w,v.setLinkedRecordIDs(R,h,C),this._source.set(t,{record:R,fieldPayloads:y}),{fieldPayloads:y,itemID:w,itemIndex:D,prevIDs:E,relayPayload:this._normalizeResponse(e,A,N,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:[].concat((0,o.default)(s),[f,String(D)]),treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents}),storageKey:h}},t._scheduleAsyncStoreUpdate=function(e,t){var n=this;this._completeFns.push(t),null==this._asyncStoreUpdateDisposable&&(this._asyncStoreUpdateDisposable=e((function(){n._asyncStoreUpdateDisposable=null;var e=n._runPublishQueue();n._updateOperationTracker(e);var t,r=(0,i.default)(n._completeFns);try{for(r.s();!(t=r.n()).done;){(0,t.value)()}}catch(o){r.e(o)}finally{r.f()}n._completeFns=[]})))},t._updateOperationTracker=function(e){null!=e&&e.length>0&&this._operationTracker.update(this._operation.request,new Set(e))},t._completeOperationTracker=function(){this._operationTracker.complete(this._operation.request)},t._getPublishQueueAndSaveActor=function(){return this._seenActors.add(this._actorIdentifier),this._getPublishQueue(this._actorIdentifier)},t._getActorsToVisit=function(){return 0===this._seenActors.size?new Set([this._actorIdentifier]):this._seenActors},t._runPublishQueue=function(e){var t,n=new Set,r=(0,i.default)(this._getActorsToVisit());try{for(r.s();!(t=r.n()).done;){var o=t.value;this._getPublishQueue(o).run(e).forEach((function(e){return n.add(e)}))}}catch(s){r.e(s)}finally{r.f()}return Array.from(n)},t._retainData=function(){var e,t=(0,i.default)(this._getActorsToVisit());try{for(t.s();!(e=t.n()).done;){var n=e.value;this._retainDisposables.has(n)||this._retainDisposables.set(n,this._getStore(n).retain(this._operation))}}catch(r){t.e(r)}finally{t.f()}},t._disposeRetainedData=function(){var e,t=(0,i.default)(this._retainDisposables.values());try{for(t.s();!(e=t.n()).done;){e.value.dispose()}}catch(n){t.e(n)}finally{t.f()}this._retainDisposables.clear()},t._expectOperationLoader=function(){var e=this._operationLoader;return e||I(!1),e},e}();function A(e){var t=e.incrementalPlaceholders;null!=t&&0!==t.length&&I(!1)}e.exports={execute:function(e){return new w(e)}}},1836:(e,t,n)=>{"use strict";var r=(0,n(4994).default)(n(2897)),i=n(3276).getArgumentValues,o=n(949);e.exports={getLocalVariables:function(e,t,n){if(null==t)return e;var o=(0,r.default)({},e),s=n?i(n,e):{};return t.forEach((function(e){var t,n=null!==(t=s[e.name])&&void 0!==t?t:e.defaultValue;o[e.name]=n})),o},getFragmentVariables:function(e,t,n){return null==e.argumentDefinitions?n:(e.argumentDefinitions.forEach((function(e){if(!n.hasOwnProperty(e.name))switch(i=i||(0,r.default)({},n),e.kind){case"LocalArgument":i[e.name]=e.defaultValue;break;case"RootArgument":if(!t.hasOwnProperty(e.name)){i[e.name]=void 0;break}i[e.name]=t[e.name];break;default:o(!1)}})),i||n);var i},getOperationVariables:function(e,t,n){var r={};return e.argumentDefinitions.forEach((function(e){var t=e.defaultValue;null!=n[e.name]&&(t=n[e.name]),r[e.name]=t})),null!=t&&Object.keys(t).forEach((function(e){r[e]=t[e].get()})),r}}},5882:(e,t,n)=>{"use strict";var r=n(4994).default,i=r(n(2897)),o=r(n(4893)),s=r(n(883)),a=r(n(6221)),u=r(n(1837)),l=r(n(1132)),c=["path","locations"],d=n(4910),f=Symbol("$SELF"),h=function(e){function t(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(n=e.call(this,t)||this).name="RelayFieldError",n.message=t,n.errors=r,n}return(0,a.default)(t,e),t}((0,u.default)(Error));function p(e,t){var n,r=(0,s.default)(e);try{for(r.s();!(n=r.n()).done;){var o=n.value,a=o[0],u=o[1],c=t.length;if(Array.isArray(u)?t.push.apply(t,(0,l.default)(u)):p(u,t),a!==f)for(var d=t.length,h=c;h<d;h++){var g=t[h];null==g.path?t[h]=(0,i.default)((0,i.default)({},g),{},{path:[a]}):g.path.unshift(a)}}}catch(m){r.e(m)}finally{r.f()}}e.exports={SELF:f,buildErrorTrie:function(e){if(null==e)return null;if(!d.ENABLE_FIELD_ERROR_HANDLING)return null;var t,n=new Map,r=(0,s.default)(e);try{for(r.s();!(t=r.n()).done;){var i=t.value,a=i.path,u=(i.locations,(0,o.default)(i,c));if(null!=a){var l=a.length;if(0!==l){for(var h=l-1,p=n,g=0;g<h;g++){var m=a[g],v=p.get(m);if(v instanceof Map)p=v;else{var y=new Map;Array.isArray(v)&&y.set(f,v),p.set(m,y),p=y}}var _=a[h],E=p.get(_);E instanceof Map&&(E=(p=E).get(_),_=f),Array.isArray(E)?E.push(u):p.set(_,[u])}}}}catch(b){r.e(b)}finally{r.f()}return n},getNestedErrorTrieByKey:function(e,t){var n=e.get(t);return n instanceof Map?n:null},getErrorsByKey:function(e,t){var n=e.get(t);if(null==n)return null;if(Array.isArray(n))return n;var r=[];return p(n,r),r},RelayFieldError:h}},592:(e,t,n)=>{"use strict";var r=(0,n(4994).default)(n(2897)),i=n(6452),o=n(4809),s=o.INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE,a=o.assertInternalActorIdentifier,u=n(292),l=n(7096),c=n(8861),d=n(7530),f=n(9957),h=n(7821),p=n(287),g=n(3927),m=n(2864),v=n(3950),y=(n(949),function(){function e(e){var t,n,r,o,s,a,u,g,v,y,E=this;this.configName=e.configName,this._treatMissingFieldsAsNull=!0===e.treatMissingFieldsAsNull;var b=e.operationLoader;this.__log=null!==(t=e.log)&&void 0!==t?t:_,this.relayFieldLogger=null!==(n=e.relayFieldLogger)&&void 0!==n?n:h,this._defaultRenderPolicy=null!==(r=e.UNSTABLE_defaultRenderPolicy)&&void 0!==r?r:"partial",this._operationLoader=b,this._operationExecutions=new Map,this._network=l(this,e.network),this._getDataID=null!==(o=e.getDataID)&&void 0!==o?o:f,this._missingFieldHandlers=null!==(s=e.missingFieldHandlers)&&void 0!==s?s:[],this._publishQueue=new m(e.store,null!==(a=e.handlerProvider)&&void 0!==a?a:i,this._getDataID,this._missingFieldHandlers),this._scheduler=null!==(u=e.scheduler)&&void 0!==u?u:null,this._store=e.store,this.options=e.options,this._isServer=null!==(g=e.isServer)&&void 0!==g&&g,this._normalizeResponse=null!==(v=e.normalizeResponse)&&void 0!==v?v:p,this.__setNet=function(e){return E._network=l(E,e)},this._operationTracker=null!==(y=e.operationTracker)&&void 0!==y?y:new c,this._shouldProcessClientComponents=e.shouldProcessClientComponents,d(this)}var t=e.prototype;return t.getStore=function(){return this._store},t.getNetwork=function(){return this._network},t.getOperationTracker=function(){return this._operationTracker},t.getScheduler=function(){return this._scheduler},t.isRequestActive=function(e){return"active"===this._operationExecutions.get(e)},t.UNSTABLE_getDefaultRenderPolicy=function(){return this._defaultRenderPolicy},t.applyUpdate=function(e){var t=this;return this._scheduleUpdates((function(){t._publishQueue.applyUpdate(e),t._publishQueue.run()})),{dispose:function(){t._scheduleUpdates((function(){t._publishQueue.revertUpdate(e),t._publishQueue.run()}))}}},t.revertUpdate=function(e){var t=this;this._scheduleUpdates((function(){t._publishQueue.revertUpdate(e),t._publishQueue.run()}))},t.replaceUpdate=function(e,t){var n=this;this._scheduleUpdates((function(){n._publishQueue.revertUpdate(e),n._publishQueue.applyUpdate(t),n._publishQueue.run()}))},t.applyMutation=function(e){var t=this._execute({createSource:function(){return u.create((function(e){}))},isClientPayload:!1,operation:e.operation,optimisticConfig:e,updater:null}).subscribe({});return{dispose:function(){return t.unsubscribe()}}},t.check=function(e){return 0!==this._missingFieldHandlers.length||function(e){return"Operation"===e.root.node.kind&&null!=e.root.node.clientAbstractTypes}(e)?this._checkSelectorAndHandleMissingFields(e,this._missingFieldHandlers):this._store.check(e)},t.commitPayload=function(e,t){this._execute({createSource:function(){return u.from({data:t})},isClientPayload:!0,operation:e,optimisticConfig:null,updater:null}).subscribe({})},t.commitUpdate=function(e){var t=this;this._scheduleUpdates((function(){t._publishQueue.commitUpdate(e),t._publishQueue.run()}))},t.lookup=function(e){return this._store.lookup(e)},t.subscribe=function(e,t){return this._store.subscribe(e,t)},t.retain=function(e){return this._store.retain(e)},t.isServer=function(){return this._isServer},t._checkSelectorAndHandleMissingFields=function(e,t){var n=this,r=v.create(),i=this._store.getSource(),o=this._store.check(e,{handlers:t,defaultActorIdentifier:s,getSourceForActor:function(e){return a(e),i},getTargetForActor:function(e){return a(e),r}});return r.size()>0&&this._scheduleUpdates((function(){n._publishQueue.commitSource(r),n._publishQueue.run()})),o},t._scheduleUpdates=function(e){var t=this._scheduler;null!=t?t.schedule(e):e()},t.execute=function(e){var t=this,n=e.operation;return this._execute({createSource:function(){return t.getNetwork().execute(n.request.node.params,n.request.variables,n.request.cacheConfig||{},null)},isClientPayload:!1,operation:n,optimisticConfig:null,updater:null})},t.executeSubscription=function(e){var t=this,n=e.operation,r=e.updater;return this._execute({createSource:function(){return t.getNetwork().execute(n.request.node.params,n.request.variables,n.request.cacheConfig||{},null)},isClientPayload:!1,operation:n,optimisticConfig:null,updater:r})},t.executeMutation=function(e){var t,n=this,i=e.operation,o=e.optimisticResponse,s=e.optimisticUpdater,a=e.updater,u=e.uploadables;return(o||s)&&(t={operation:i,response:o,updater:s}),this._execute({createSource:function(){return n.getNetwork().execute(i.request.node.params,i.request.variables,(0,r.default)((0,r.default)({},i.request.cacheConfig),{},{force:!0}),u)},isClientPayload:!1,operation:i,optimisticConfig:t,updater:a})},t.executeWithSource=function(e){var t=e.operation,n=e.source;return this._execute({createSource:function(){return n},isClientPayload:!1,operation:t,optimisticConfig:null,updater:null})},t.toJSON=function(){var e;return"RelayModernEnvironment(".concat(null!==(e=this.configName)&&void 0!==e?e:"",")")},t._execute=function(e){var t=this,n=e.createSource,r=e.isClientPayload,i=e.operation,o=e.optimisticConfig,l=e.updater,c=this._publishQueue,d=this._store;return u.create((function(e){var u=g.execute({actorIdentifier:s,getDataID:t._getDataID,isClientPayload:r,log:t.__log,operation:i,operationExecutions:t._operationExecutions,operationLoader:t._operationLoader,operationTracker:t._operationTracker,optimisticConfig:o,getPublishQueue:function(e){return a(e),c},scheduler:t._scheduler,shouldProcessClientComponents:t._shouldProcessClientComponents,sink:e,source:n(),getStore:function(e){return a(e),d},treatMissingFieldsAsNull:t._treatMissingFieldsAsNull,updater:l,normalizeResponse:t._normalizeResponse});return function(){return u.cancel()}}))},e}());function _(){}y.prototype["@@RelayModernEnvironment"]=!0,e.exports=y},764:(e,t,n)=>{"use strict";var r=n(4994).default,i=r(n(2897)),o=r(n(3693)),s=n(9982),a=n(3309),u=n(2191),l=n(6808),c=n(4910),d=n(4485).createRequestDescriptor,f=n(3080),h=f.areEqualSelectors,p=f.createReaderSelector,g=f.getSelectorsFromObject,m=n(6360),v=n(949),y=(n(7600),function(){function e(e,t,n,r,i){var s=this;(0,o.default)(this,"_onChange",(function(){s._stale=!0,"function"===typeof s._callback&&s._callback()})),this._callback=r,this._context=e,this._data={},this._fragments=t,this._props={},this._resolvers={},this._stale=!1,this._rootIsQueryRenderer=i,this.setProps(n)}var t=e.prototype;return t.dispose=function(){for(var e in this._resolvers)this._resolvers.hasOwnProperty(e)&&b(this._resolvers[e])},t.resolve=function(){if(this._stale){var e,t=this._data;for(var n in this._resolvers)if(this._resolvers.hasOwnProperty(n)){var r=this._resolvers[n],o=t[n];if(r){var s=r.resolve();(e||s!==o)&&((e=e||(0,i.default)({},t))[n]=s)}else{var a=this._props[n],l=void 0!==a?a:null;!e&&u(l,o)||((e=e||(0,i.default)({},t))[n]=l)}}this._data=e||t,this._stale=!1}return this._data},t.setCallback=function(e,t){this._callback=t,!0===c.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT&&this.setProps(e)},t.setProps=function(e){this._props={};var t=g(this._fragments,e);for(var n in t)if(t.hasOwnProperty(n)){var r=t[n],i=this._resolvers[n];null==r?(null!=i&&i.dispose(),i=null):"PluralReaderSelector"===r.kind?null==i?i=new E(this._context.environment,this._rootIsQueryRenderer,r,null!=this._callback,this._onChange):(i instanceof E||v(!1),i.setSelector(r)):null==i?i=new _(this._context.environment,this._rootIsQueryRenderer,r,null!=this._callback,this._onChange):(i instanceof _||v(!1),i.setSelector(r)),this._props[n]=e[n],this._resolvers[n]=i}this._stale=!0},t.setVariables=function(e,t){for(var n in this._resolvers)if(this._resolvers.hasOwnProperty(n)){var r=this._resolvers[n];r&&r.setVariables(e,t)}this._stale=!0},e}()),_=function(){function e(e,t,n,r,i){var s=this;(0,o.default)(this,"_onChange",(function(e){s._data=e.data,s._isMissingData=e.isMissingData,s._missingRequiredFields=e.missingRequiredFields,s._errorResponseFields=e.errorResponseFields,s._relayResolverErrors=e.relayResolverErrors,s._callback()}));var a=e.lookup(n);this._callback=i,this._data=a.data,this._isMissingData=a.isMissingData,this._missingRequiredFields=a.missingRequiredFields,this._errorResponseFields=a.errorResponseFields,this._relayResolverErrors=a.relayResolverErrors,this._environment=e,this._rootIsQueryRenderer=t,this._selector=n,!0===c.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT?r&&(this._subscription=e.subscribe(a,this._onChange)):this._subscription=e.subscribe(a,this._onChange)}var t=e.prototype;return t.dispose=function(){this._subscription&&(this._subscription.dispose(),this._subscription=null)},t.resolve=function(){if(!0===this._isMissingData){var e=s(this._environment,this._selector.node,this._selector.owner),t=null===e||void 0===e?void 0:e.promise;if(null!=t&&!this._rootIsQueryRenderer){var n,r=null!==(n=null===e||void 0===e?void 0:e.pendingOperations)&&void 0!==n?n:[];throw this._environment.__log({name:"suspense.fragment",data:this._data,fragment:this._selector.node,isRelayHooks:!1,isMissingData:this._isMissingData,isPromiseCached:!1,pendingOperations:r}),t}}return a(this._environment,this._missingRequiredFields,this._relayResolverErrors,this._errorResponseFields),this._data},t.setSelector=function(e){if(null==this._subscription||!h(e,this._selector)){this.dispose();var t=this._environment.lookup(e);this._data=l(this._data,t.data),this._isMissingData=t.isMissingData,this._missingRequiredFields=t.missingRequiredFields,this._errorResponseFields=t.errorResponseFields,this._relayResolverErrors=t.relayResolverErrors,this._selector=e,this._subscription=this._environment.subscribe(t,this._onChange)}},t.setVariables=function(e,t){if(!m(e,this._selector.variables)){var n=d(t,e),r=p(this._selector.node,this._selector.dataID,e,n);this.setSelector(r)}},e}(),E=function(){function e(e,t,n,r,i){var s=this;(0,o.default)(this,"_onChange",(function(e){s._stale=!0,s._callback()})),this._callback=i,this._data=[],this._environment=e,this._resolvers=[],this._stale=!0,this._rootIsQueryRenderer=t,this._subscribeOnConstruction=r,this.setSelector(n)}var t=e.prototype;return t.dispose=function(){this._resolvers.forEach(b)},t.resolve=function(){if(this._stale){for(var e,t=this._data,n=0;n<this._resolvers.length;n++){var r=t[n],i=this._resolvers[n].resolve();(e||i!==r)&&(e=e||t.slice(0,n)).push(i)}e||this._resolvers.length===t.length||(e=t.slice(0,this._resolvers.length)),this._data=e||t,this._stale=!1}return this._data},t.setSelector=function(e){for(var t=e.selectors;this._resolvers.length>t.length;){this._resolvers.pop().dispose()}for(var n=0;n<t.length;n++)n<this._resolvers.length?this._resolvers[n].setSelector(t[n]):this._resolvers[n]=new _(this._environment,this._rootIsQueryRenderer,t[n],this._subscribeOnConstruction,this._onChange);this._stale=!0},t.setVariables=function(e,t){this._resolvers.forEach((function(n){return n.setVariables(e,t)})),this._stale=!0},e}();function b(e){e&&e.dispose()}e.exports=y},4485:(e,t,n)=>{"use strict";n(3713);var r=n(2102),i=n(1836).getOperationVariables,o=n(3080),s=o.createNormalizationSelector,a=o.createReaderSelector,u=n(3276).ROOT_ID;function l(e,t,n){return{identifier:r(e.params,t),node:e,variables:t,cacheConfig:n}}e.exports={createOperationDescriptor:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:u,o=e.operation,c=i(o,e.params.providedVariables,t),d=l(e,c,n);return{fragment:a(e.fragment,r,c,d),request:d,root:s(o,r,c)}},createRequestDescriptor:l}},536:(e,t,n)=>{"use strict";var r=n(4994).default,i=r(n(3693)),o=r(n(4893)),s=r(n(7736)),a=r(n(2897)),u=n(3713),l=n(4613),c=l.generateClientObjectClientID,d=(l.isClientID,n(3229).isSuspenseSentinel),f=n(3276),h=f.ACTOR_IDENTIFIER_KEY,p=f.ERRORS_KEY,g=f.ID_KEY,m=f.INVALIDATED_AT_KEY,v=f.REF_KEY,y=f.REFS_KEY,_=f.RELAY_RESOLVER_VALUE_KEY,E=(f.ROOT_ID,f.TYPENAME_KEY),b=n(6360),D=n(949);n(7600);function N(e,t){var n=e[t];return n&&"object"===typeof n&&(n.hasOwnProperty(v)||n.hasOwnProperty(y))&&D(!1),n}function T(e,t,n){var r=e[p];if(null!=n&&n.length>0)null==r?e[p]=(0,i.default)({},t,n):r[t]=n;else if(null!=r&&delete r[t]){for(var o in r)if(r.hasOwnProperty(o))return;delete e[p]}}function S(e,t,n){e[t]=n}e.exports={clone:function(e){return(0,a.default)({},e)},copyFields:function(e,t){for(var n in e)e.hasOwnProperty(n)&&n!==g&&n!==E&&(t[n]=e[n])},create:function(e,t){var n={};return n[g]=e,n[E]=t,n},freeze:function(e){u(e)},fromObject:function(e){return e},getDataID:function(e){return e[g]},getErrors:function(e,t){var n;return null===(n=e[p])||void 0===n?void 0:n[t]},getFields:function(e){return p in e?Object.keys(e).filter((function(e){return e!==p})):Object.keys(e)},getInvalidationEpoch:function(e){if(null==e)return null;var t=e[m];return"number"!==typeof t?null:t},getLinkedRecordID:function(e,t){var n=e[t];if(null==n)return n;var r=n;return"object"===typeof r&&r&&"string"===typeof r[v]||D(!1),r[v]},getLinkedRecordIDs:function(e,t){var n=e[t];return null==n?n:("object"===typeof n&&Array.isArray(n[y])||D(!1),n[y])},getType:function(e){return e[E]},getValue:N,hasValue:function(e,t){return t in e},hasLinkedRecordID:function(e,t){var n=e[t];return null!=n&&("object"===typeof n&&n&&"string"===typeof n[v])},hasLinkedRecordIDs:function(e,t){var n=e[t];return null!=n&&("object"===typeof n&&Array.isArray(n[y])&&n[y].every((function(e){return"string"===typeof e})))},merge:function(e,t){if(p in e||p in t){var n=e[p],r=(0,o.default)(e,[p].map(s.default)),i=t[p],u=(0,o.default)(t,[p].map(s.default)),l=(0,a.default)((0,a.default)({},r),u);if(null==n&&null==i)return l;var c={};for(var d in n)u.hasOwnProperty(d)||(c[d]=n[d]);for(var f in i)c[f]=i[f];for(var h in c){l[p]=c;break}return l}return(0,a.default)((0,a.default)({},e),t)},setErrors:T,setValue:S,setLinkedRecordID:function(e,t,n){var r={};r[v]=n,e[t]=r},setLinkedRecordIDs:function(e,t,n){var r={};r[y]=n,e[t]=r},update:function(e,t){var n,r=e[p],i=t[p],o=null;if(null==r&&null==i){var s;for(var u in t)!o&&b(e[u],t[u])||((o=null!==o?o:(0,a.default)({},e))[u]=t[u]);return null!==(s=o)&&void 0!==s?s:e}for(var l in t)if(l!==p){var c=t[l],d=null===i||void 0===i?void 0:i[l];if(null==o){var f=e[l],h=null===r||void 0===r?void 0:r[l];if(b(f,c)&&b(h,d))continue;o=(0,a.default)({},e),null!=r&&(o[p]=(0,a.default)({},r))}S(o,l,c),T(o,l,d)}return null!==(n=o)&&void 0!==n?n:e},getActorLinkedRecordID:function(e,t){var n=e[t];return null==n?n:(("object"!==typeof n||"string"!==typeof n[v]||null==n[h])&&D(!1),[n[h],n[v]])},setActorLinkedRecordID:function(e,t,n,r){var i={};i[v]=r,i[h]=n,e[t]=i},getResolverLinkedRecordID:function(e,t){var n=N(e,_);return null==n||d(n)?null:("object"===typeof n&&(n=n.id),"string"!==typeof n&&D(!1),c(t,n))},getResolverLinkedRecordIDs:function(e,t){var n=N(e,_);return null==n||d(n)?null:(Array.isArray(n)||D(!1),n.map((function(e){return null==e?null:("object"===typeof e&&(e=e.id),"string"!==typeof e&&D(!1),c(t,e))})))},toJSON:function(e){return e}}},3080:(e,t,n)=>{"use strict";var r=n(4910),i=n(1836).getFragmentVariables,o=n(3276),s=o.CLIENT_EDGE_TRAVERSAL_PATH,a=o.FRAGMENT_OWNER_KEY,u=o.FRAGMENT_POINTER_IS_WITHIN_UNMATCHED_TYPE_REFINEMENT,l=o.FRAGMENTS_KEY,c=o.ID_KEY,d=n(6360),f=n(949);n(7600);function h(e,t){("object"!==typeof t||null===t||Array.isArray(t))&&f(!1);var n=t[c],r=t[l],o=t[a],d=t[s];if("string"===typeof n&&"object"===typeof r&&null!==r&&"object"===typeof r[e.name]&&null!==r[e.name]&&"object"===typeof o&&null!==o&&(null==d||Array.isArray(d))){var h=o,p=d,g=r[e.name];return D(e,n,i(e,h.variables,g),h,!0===g[u],p)}return null}function p(e,t){var n=null;return t.forEach((function(t,r){var i=null!=t?h(e,t):null;null!=i&&(n=n||[]).push(i)})),null==n?null:{kind:"PluralReaderSelector",selectors:n}}function g(e,t){return null==t?t:e.metadata&&!0===e.metadata.plural?(Array.isArray(t)||f(!1),p(e,t)):(Array.isArray(t)&&f(!1),h(e,t))}function m(e,t){return null==t?t:e.metadata&&!0===e.metadata.plural?(Array.isArray(t)||f(!1),function(e,t){var n=null;return t.forEach((function(t){var r=null!=t?v(e,t):null;null!=r&&(n=n||[]).push(r)})),n}(e,t)):(Array.isArray(t)&&f(!1),v(e,t))}function v(e,t){("object"!==typeof t||null===t||Array.isArray(t))&&f(!1);var n=t[c];return"string"===typeof n?n:null}function y(e,t){var n;return null==t?{}:!0===(null===(n=e.metadata)||void 0===n?void 0:n.plural)?(Array.isArray(t)||f(!1),E(e,t)):(Array.isArray(t)&&f(!1),_(e,t)||{})}function _(e,t){var n=h(e,t);return n?n.variables:null}function E(e,t){var n={};return t.forEach((function(t,r){if(null!=t){var i=_(e,t);null!=i&&Object.assign(n,i)}})),n}function b(e,t){return e.dataID===t.dataID&&e.node===t.node&&d(e.variables,t.variables)&&(n=e.owner,i=t.owner,n===i||n.identifier===i.identifier&&d(n.cacheConfig,i.cacheConfig))&&(!r.ENABLE_STRICT_EQUAL_SELECTORS||e.isWithinUnmatchedTypeRefinement===t.isWithinUnmatchedTypeRefinement&&function(e,t){if(e===t)return!0;if(null==e||null==t||e.length!==t.length)return!1;var n=e.length;for(;n--;){var r=e[n],i=t[n];if(r!==i&&(null==r||null==i||r.clientEdgeDestinationID!==i.clientEdgeDestinationID||r.readerClientEdge!==i.readerClientEdge))return!1}return!0}(e.clientEdgeTraversalPath,t.clientEdgeTraversalPath));var n,i}function D(e,t,n,r){var i=arguments.length>5?arguments[5]:void 0;return{kind:"SingularReaderSelector",dataID:t,isWithinUnmatchedTypeRefinement:arguments.length>4&&void 0!==arguments[4]&&arguments[4],clientEdgeTraversalPath:null!==i&&void 0!==i?i:null,node:e,variables:n,owner:r}}e.exports={areEqualSelectors:function(e,t){return e===t||(null==e?null==t:null==t?null==e:"SingularReaderSelector"===e.kind&&"SingularReaderSelector"===t.kind?b(e,t):"PluralReaderSelector"===e.kind&&"PluralReaderSelector"===t.kind&&(e.selectors.length===t.selectors.length&&e.selectors.every((function(e,n){return b(e,t.selectors[n])}))))},createReaderSelector:D,createNormalizationSelector:function(e,t,n){return{dataID:t,node:e,variables:n}},getDataIDsFromFragment:m,getDataIDsFromObject:function(e,t){var n={};for(var r in e)if(e.hasOwnProperty(r)){var i=e[r],o=t[r];n[r]=m(i,o)}return n},getSingularSelector:h,getPluralSelector:p,getSelector:g,getSelectorsFromObject:function(e,t){var n={};for(var r in e)if(e.hasOwnProperty(r)){var i=e[r],o=t[r];n[r]=g(i,o)}return n},getVariablesFromSingularFragment:_,getVariablesFromPluralFragment:E,getVariablesFromFragment:y,getVariablesFromObject:function(e,t){var n={};for(var r in e)if(e.hasOwnProperty(r)){var i=y(e[r],t[r]);Object.assign(n,i)}return n}}},364:(e,t,n)=>{"use strict";var r=n(4994).default,i=r(n(883)),o=r(n(3693)),s=n(4809),a=s.INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE,u=s.assertInternalActorIdentifier,l=(n(3713),n(4910)),c=n(7177),d=n(4596),f=n(9957),h=n(536),p=n(7403),g=n(381),m=n(6331),v=n(9483),y=n(3276),_=n(3276),E=_.ROOT_ID,b=_.ROOT_TYPE,D=n(8871).RecordResolverCache,N=n(949),T=function(){function e(e,t){var n,r,i,s,a,u=this;(0,o.default)(this,"_gcStep",(function(){u._gcRun&&(u._gcRun.next().done?u._gcRun=null:u._gcScheduler(u._gcStep))})),this._currentWriteEpoch=0,this._gcHoldCounter=0,this._gcReleaseBufferSize=null!==(n=null===t||void 0===t?void 0:t.gcReleaseBufferSize)&&void 0!==n?n:10,this._gcRun=null,this._gcScheduler=null!==(r=null===t||void 0===t?void 0:t.gcScheduler)&&void 0!==r?r:c,this._getDataID=null!==(i=null===t||void 0===t?void 0:t.getDataID)&&void 0!==i?i:f,this._globalInvalidationEpoch=null,this._invalidationSubscriptions=new Set,this._invalidatedRecordIDs=new Set,this.__log=null!==(s=null===t||void 0===t?void 0:t.log)&&void 0!==s?s:null,this._queryCacheExpirationTime=null===t||void 0===t?void 0:t.queryCacheExpirationTime,this._operationLoader=null!==(a=null===t||void 0===t?void 0:t.operationLoader)&&void 0!==a?a:null,this._optimisticSource=null,this._recordSource=e,this._releaseBuffer=[],this._roots=new Map,this._shouldScheduleGC=!1,this._resolverCache=new D((function(){return u._getMutableRecordSource()})),this._storeSubscriptions=new v(null===t||void 0===t?void 0:t.log,this._resolverCache),this._updatedRecordIDs=new Set,this._shouldProcessClientComponents=null===t||void 0===t?void 0:t.shouldProcessClientComponents,function(e){if(!e.has(E)){var t=h.create(E,b);e.set(E,t)}}(this._recordSource)}var t=e.prototype;return t.getSource=function(){var e;return null!==(e=this._optimisticSource)&&void 0!==e?e:this._recordSource},t._getMutableRecordSource=function(){var e;return null!==(e=this._optimisticSource)&&void 0!==e?e:this._recordSource},t.check=function(e,t){var n,r,i,o,s=e.root,l=this._getMutableRecordSource(),c=this._globalInvalidationEpoch,f=this._roots.get(e.request.identifier),h=null!=f?f.epoch:null;if(null!=c&&(null==h||h<=c))return{status:"stale"};var p=null!==(n=null===t||void 0===t?void 0:t.handlers)&&void 0!==n?n:[],g=null!==(r=null===t||void 0===t?void 0:t.getSourceForActor)&&void 0!==r?r:function(e){return u(e),l},m=null!==(i=null===t||void 0===t?void 0:t.getTargetForActor)&&void 0!==i?i:function(e){return u(e),l};return function(e,t,n,r){var i=e.mostRecentlyInvalidatedAt,o=e.status;if("number"===typeof i&&(null==t||i>t))return{status:"stale"};if("missing"===o)return{status:"missing"};if(null!=n&&null!=r){if(n<=Date.now()-r)return{status:"stale"}}return{status:"available",fetchTime:null!==n&&void 0!==n?n:null}}(d.check(g,m,null!==(o=null===t||void 0===t?void 0:t.defaultActorIdentifier)&&void 0!==o?o:a,s,p,this._operationLoader,this._getDataID,this._shouldProcessClientComponents),h,null===f||void 0===f?void 0:f.fetchTime,this._queryCacheExpirationTime)},t.retain=function(e){var t=this,n=e.request.identifier,r=!1,i=this._roots.get(n);return null!=i?(0===i.refCount&&(this._releaseBuffer=this._releaseBuffer.filter((function(e){return e!==n}))),i.refCount+=1):this._roots.set(n,{operation:e,refCount:1,epoch:null,fetchTime:null}),{dispose:function(){if(!r){r=!0;var e=t._roots.get(n);if(null!=e&&(e.refCount--,0===e.refCount)){var i=t._queryCacheExpirationTime;if(null!=e.fetchTime&&null!=i&&e.fetchTime<=Date.now()-i)t._roots.delete(n),t.scheduleGC();else if(t._releaseBuffer.push(n),t._releaseBuffer.length>t._gcReleaseBufferSize){var o=t._releaseBuffer.shift();t._roots.delete(o),t.scheduleGC()}}}}}},t.lookup=function(e){var t=this.getSource();return g.read(t,e,this._resolverCache)},t.notify=function(e,t){var n=this,r=this.__log;null!=r&&r({name:"store.notify.start",sourceOperation:e}),this._currentWriteEpoch++,!0===t&&(this._globalInvalidationEpoch=this._currentWriteEpoch),l.ENABLE_RELAY_RESOLVERS&&this._resolverCache.invalidateDataIDs(this._updatedRecordIDs);var i=this.getSource(),o=[];if(this._storeSubscriptions.updateSubscriptions(i,this._updatedRecordIDs,o,e),this._invalidationSubscriptions.forEach((function(e){n._updateInvalidationSubscription(e,!0===t)})),null!=r&&r({name:"store.notify.complete",sourceOperation:e,updatedRecordIDs:this._updatedRecordIDs,invalidatedRecordIDs:this._invalidatedRecordIDs}),this._updatedRecordIDs.clear(),this._invalidatedRecordIDs.clear(),null!=e){var s=e.request.identifier,a=this._roots.get(s);if(null!=a)a.epoch=this._currentWriteEpoch,a.fetchTime=Date.now();else if("query"===e.request.node.params.operationKind&&this._gcReleaseBufferSize>0&&this._releaseBuffer.length<this._gcReleaseBufferSize){var u={operation:e,refCount:0,epoch:this._currentWriteEpoch,fetchTime:Date.now()};this._releaseBuffer.push(s),this._roots.set(s,u)}}return o},t.publish=function(e,t){var n=this._getMutableRecordSource();!function(e,t,n,r,i,o){r&&r.forEach((function(r){var i,s=e.get(r),a=t.get(r);null!==a&&((i=null!=s?h.clone(s):null!=a?h.clone(a):null)&&(h.setValue(i,y.INVALIDATED_AT_KEY,n),o.add(r),e.set(r,i)))}));for(var s=t.getRecordIDs(),a=0;a<s.length;a++){var u=s[a],l=t.get(u),c=e.get(u);if(l&&c){var d=h.update(c,l);d!==c&&(i.add(u),e.set(u,d))}else null===l?(e.delete(u),null!==c&&i.add(u)):l&&(e.set(u,l),i.add(u))}}(n,e,this._currentWriteEpoch+1,t,this._updatedRecordIDs,this._invalidatedRecordIDs);var r=this.__log;null!=r&&r({name:"store.publish",source:e,optimistic:n===this._optimisticSource})},t.subscribe=function(e,t){return this._storeSubscriptions.subscribe(e,t)},t.holdGC=function(){var e=this;this._gcRun&&(this._gcRun=null,this._shouldScheduleGC=!0),this._gcHoldCounter++;return{dispose:function(){e._gcHoldCounter>0&&(e._gcHoldCounter--,0===e._gcHoldCounter&&e._shouldScheduleGC&&(e.scheduleGC(),e._shouldScheduleGC=!1))}}},t.toJSON=function(){return"RelayModernStore()"},t.getEpoch=function(){return this._currentWriteEpoch},t.__getUpdatedRecordIDs=function(){return this._updatedRecordIDs},t.lookupInvalidationState=function(e){var t=this,n=new Map;return e.forEach((function(e){var r,i=t.getSource().get(e);n.set(e,null!==(r=h.getInvalidationEpoch(i))&&void 0!==r?r:null)})),n.set("global",this._globalInvalidationEpoch),{dataIDs:e,invalidations:n}},t.checkInvalidationState=function(e){var t=this.lookupInvalidationState(e.dataIDs).invalidations,n=e.invalidations;if(t.get("global")!==n.get("global"))return!0;var r,o=(0,i.default)(e.dataIDs);try{for(o.s();!(r=o.n()).done;){var s=r.value;if(t.get(s)!==n.get(s))return!0}}catch(a){o.e(a)}finally{o.f()}return!1},t.subscribeToInvalidationState=function(e,t){var n=this,r={callback:t,invalidationState:e};return this._invalidationSubscriptions.add(r),{dispose:function(){n._invalidationSubscriptions.delete(r)}}},t._updateInvalidationSubscription=function(e,t){var n=this,r=e.callback,i=e.invalidationState.dataIDs;(t||i.some((function(e){return n._invalidatedRecordIDs.has(e)})))&&r()},t.snapshot=function(){null!=this._optimisticSource&&N(!1);var e=this.__log;null!=e&&e({name:"store.snapshot"}),this._storeSubscriptions.snapshotSubscriptions(this.getSource()),this._gcRun&&(this._gcRun=null,this._shouldScheduleGC=!0),this._optimisticSource=p.create(this.getSource())},t.restore=function(){null==this._optimisticSource&&N(!1);var e=this.__log;null!=e&&e({name:"store.restore"}),this._optimisticSource=null,this._shouldScheduleGC&&this.scheduleGC(),this._storeSubscriptions.restoreSubscriptions()},t.scheduleGC=function(){this._gcHoldCounter>0?this._shouldScheduleGC=!0:this._gcRun||(this._gcRun=this._collect(),this._gcScheduler(this._gcStep))},t.__gc=function(){if(null==this._optimisticSource)for(var e=this._collect();!e.next().done;);},t._collect=function*(){e:for(;;){var e,t=this._currentWriteEpoch,n=new Set,r=(0,i.default)(this._roots.values());try{for(r.s();!(e=r.n()).done;){var o=e.value.operation.root;if(m.mark(this._recordSource,o,n,this._operationLoader,this._shouldProcessClientComponents),yield,t!==this._currentWriteEpoch)continue e}}catch(c){r.e(c)}finally{r.f()}var s=this.__log;if(null!=s&&s({name:"store.gc",references:n}),0===n.size)this._recordSource.clear();else for(var a=this._recordSource.getRecordIDs(),u=0;u<a.length;u++){var l=a[u];n.has(l)||this._recordSource.remove(l)}return}},e}();e.exports=T},8861:(e,t,n)=>{"use strict";var r=(0,n(4994).default)(n(883)),i=n(949),o=function(){function e(){this._ownersToPendingOperations=new Map,this._pendingOperationsToOwners=new Map,this._ownersToPendingPromise=new Map}var t=e.prototype;return t.update=function(e,t){if(0!==t.size){var n,i=e.identifier,o=new Set,s=(0,r.default)(t);try{for(s.s();!(n=s.n()).done;){var a=n.value.identifier,u=this._ownersToPendingOperations.get(a);null!=u?u.has(i)||(u.set(i,e),o.add(a)):(this._ownersToPendingOperations.set(a,new Map([[i,e]])),o.add(a))}}catch(h){s.e(h)}finally{s.f()}if(0!==o.size){var l,c=this._pendingOperationsToOwners.get(i)||new Set,d=(0,r.default)(o);try{for(d.s();!(l=d.n()).done;){var f=l.value;this._resolveOwnerResolvers(f),c.add(f)}}catch(h){d.e(h)}finally{d.f()}this._pendingOperationsToOwners.set(i,c)}}},t.complete=function(e){var t=e.identifier,n=this._pendingOperationsToOwners.get(t);if(null!=n){var i,o=new Set,s=new Set,a=(0,r.default)(n);try{for(a.s();!(i=a.n()).done;){var u=i.value,l=this._ownersToPendingOperations.get(u);l&&(l.delete(t),l.size>0?s.add(u):o.add(u))}}catch(m){a.e(m)}finally{a.f()}var c,d=(0,r.default)(o);try{for(d.s();!(c=d.n()).done;){var f=c.value;this._resolveOwnerResolvers(f),this._ownersToPendingOperations.delete(f)}}catch(m){d.e(m)}finally{d.f()}var h,p=(0,r.default)(s);try{for(p.s();!(h=p.n()).done;){var g=h.value;this._resolveOwnerResolvers(g)}}catch(m){p.e(m)}finally{p.f()}this._pendingOperationsToOwners.delete(t)}},t._resolveOwnerResolvers=function(e){var t=this._ownersToPendingPromise.get(e);null!=t&&t.resolve(),this._ownersToPendingPromise.delete(e)},t.getPendingOperationsAffectingOwner=function(e){var t=e.identifier,n=this._ownersToPendingOperations.get(t);if(null==n||0===n.size)return null;var r,o=this._ownersToPendingPromise.get(t);if(null!=o)return{promise:o.promise,pendingOperations:o.pendingOperations};var s=new Promise((function(e){r=e}));null==r&&i(!1);var a=Array.from(n.values());return this._ownersToPendingPromise.set(t,{promise:s,resolve:r,pendingOperations:a}),{promise:s,pendingOperations:a}},e}();e.exports=o},7403:(e,t,n)=>{"use strict";var r=(0,n(4994).default)(n(2897)),i=n(536),o=n(3950),s=n(949),a=i.fromObject(Object.freeze({__UNPUBLISH_RECORD_SENTINEL:!0})),u=function(){function e(e){this._base=e,this._sink=o.create()}var t=e.prototype;return t.has=function(e){return this._sink.has(e)?this._sink.get(e)!==a:this._base.has(e)},t.get=function(e){if(this._sink.has(e)){var t=this._sink.get(e);return t===a?void 0:t}return this._base.get(e)},t.getStatus=function(e){var t=this.get(e);return void 0===t?"UNKNOWN":null===t?"NONEXISTENT":"EXISTENT"},t.clear=function(){this._base=o.create(),this._sink.clear()},t.delete=function(e){this._sink.delete(e)},t.remove=function(e){this._sink.set(e,a)},t.set=function(e,t){this._sink.set(e,t)},t.getRecordIDs=function(){return Object.keys(this.toJSON())},t.size=function(){return Object.keys(this.toJSON()).length},t.toJSON=function(){var e=this,t=(0,r.default)({},this._base.toJSON());return this._sink.getRecordIDs().forEach((function(n){var r=e.get(n);void 0===r?delete t[n]:t[n]=i.toJSON(r)})),t},t.getOptimisticRecordIDs=function(){return new Set(this._sink.getRecordIDs())},e}();e.exports={create:function(e){return new u(e)},getOptimisticRecordIDs:function(e){return e instanceof u||s(!1),e.getOptimisticRecordIDs()}}},2864:(e,t,n)=>{"use strict";var r,i,o=n(585),s=n(5600),a=n(4740),u=n(381),l=n(3950),c=n(949),d=(n(7600),"undefined"!==typeof n.g?n.g:"undefined"!==typeof window?window:void 0),f=null!==(r=null===d||void 0===d||null===(i=d.ErrorUtils)||void 0===i?void 0:i.applyWithGuard)&&void 0!==r?r:function(e,t,n,r,i){return e.apply(t,n)},h=function(){function e(e,t,n,r){this._hasStoreSnapshot=!1,this._handlerProvider=t||null,this._pendingBackupRebase=!1,this._pendingData=new Set,this._pendingOptimisticUpdates=new Set,this._store=e,this._appliedOptimisticUpdates=new Set,this._gcHold=null,this._getDataID=n,this._missingFieldHandlers=r}var t=e.prototype;return t.applyUpdate=function(e){(this._appliedOptimisticUpdates.has(e)||this._pendingOptimisticUpdates.has(e))&&c(!1),this._pendingOptimisticUpdates.add(e)},t.revertUpdate=function(e){this._pendingOptimisticUpdates.has(e)?this._pendingOptimisticUpdates.delete(e):this._appliedOptimisticUpdates.has(e)&&(this._pendingBackupRebase=!0,this._appliedOptimisticUpdates.delete(e))},t.revertAll=function(){this._pendingBackupRebase=!0,this._pendingOptimisticUpdates.clear(),this._appliedOptimisticUpdates.clear()},t.commitPayload=function(e,t,n){this._pendingBackupRebase=!0,this._pendingData.add({kind:"payload",operation:e,payload:t,updater:n})},t.commitUpdate=function(e){this._pendingBackupRebase=!0,this._pendingData.add({kind:"updater",updater:e})},t.commitSource=function(e){this._pendingBackupRebase=!0,this._pendingData.add({kind:"source",source:e})},t.run=function(e){var t=0===this._appliedOptimisticUpdates&&!!this._gcHold;if(!this._pendingBackupRebase&&0===this._pendingOptimisticUpdates.size&&!t)return[];this._pendingBackupRebase&&this._hasStoreSnapshot&&(this._store.restore(),this._hasStoreSnapshot=!1);var n=this._commitData();return(this._pendingOptimisticUpdates.size||this._pendingBackupRebase&&this._appliedOptimisticUpdates.size)&&(this._hasStoreSnapshot||(this._store.snapshot(),this._hasStoreSnapshot=!0),this._applyUpdates()),this._pendingBackupRebase=!1,this._appliedOptimisticUpdates.size>0?this._gcHold||(this._gcHold=this._store.holdGC()):this._gcHold&&(this._gcHold.dispose(),this._gcHold=null),this._store.notify(e,n)},t._publishSourceFromPayload=function(e){var t=this,n=e.payload,r=e.operation,i=e.updater,u=n.source,l=n.fieldPayloads,d=new o(this._store.getSource(),u),f=new s(d,this._getDataID,this._handlerProvider,this._missingFieldHandlers);if(l&&l.length&&l.forEach((function(e){var n=t._handlerProvider&&t._handlerProvider(e.handle);n||c(!1),n.update(f,e)})),i){var h=r.fragment;null==h&&c(!1),i(new a(d,f,h,this._missingFieldHandlers),p(u,h))}var g=f.getIDsMarkedForInvalidation();return this._store.publish(u,g),f.isStoreMarkedForInvalidation()},t._commitData=function(){var e=this;if(!this._pendingData.size)return!1;var t=!1;return this._pendingData.forEach((function(n){if("payload"===n.kind){var r=e._publishSourceFromPayload(n);t=t||r}else if("source"===n.kind){var i=n.source;e._store.publish(i)}else{var a=n.updater,u=l.create(),c=new o(e._store.getSource(),u),d=new s(c,e._getDataID,e._handlerProvider,e._missingFieldHandlers);f(a,null,[d],null,"RelayPublishQueue:commitData"),t=t||d.isStoreMarkedForInvalidation();var h=d.getIDsMarkedForInvalidation();e._store.publish(u,h)}})),this._pendingData.clear(),t},t._applyUpdates=function(){var e=this,t=l.create(),n=new o(this._store.getSource(),t),r=new s(n,this._getDataID,this._handlerProvider,this._missingFieldHandlers),i=function(t){if(t.storeUpdater){var i=t.storeUpdater;f(i,null,[r],null,"RelayPublishQueue:applyUpdates")}else{var o=t.operation,s=t.payload,u=t.updater,l=s.source,c=s.fieldPayloads;if(l&&r.publishSource(l,c),u){var d;l&&(d=p(l,o.fragment));var h=new a(n,r,o.fragment,e._missingFieldHandlers);f(u,null,[h,d],null,"RelayPublishQueue:applyUpdates")}}};this._pendingBackupRebase&&this._appliedOptimisticUpdates.size&&this._appliedOptimisticUpdates.forEach(i),this._pendingOptimisticUpdates.size&&(this._pendingOptimisticUpdates.forEach((function(t){i(t),e._appliedOptimisticUpdates.add(t)})),this._pendingOptimisticUpdates.clear()),this._store.publish(t)},e}();function p(e,t){return u.read(e,t).data}e.exports=h},381:(e,t,n)=>{"use strict";var r=n(4994).default,i=r(n(3693)),o=r(n(883)),s=r(n(1132)),a=n(5452),u=a.ACTOR_CHANGE,l=a.ALIASED_FRAGMENT_SPREAD,c=a.ALIASED_INLINE_FRAGMENT_SPREAD,d=a.CLIENT_EDGE_TO_CLIENT_OBJECT,f=a.CLIENT_EDGE_TO_SERVER_OBJECT,h=a.CLIENT_EXTENSION,p=a.CONDITION,g=a.DEFER,m=a.FRAGMENT_SPREAD,v=a.INLINE_DATA_FRAGMENT_SPREAD,y=a.INLINE_FRAGMENT,_=a.LINKED_FIELD,E=a.MODULE_IMPORT,b=a.RELAY_LIVE_RESOLVER,D=a.RELAY_RESOLVER,N=a.REQUIRED_FIELD,T=a.SCALAR_FIELD,S=a.STREAM,I=n(4910),w=n(3229).isSuspenseSentinel,A=n(1836),R=n(536),C=n(3276),O=C.CLIENT_EDGE_TRAVERSAL_PATH,F=C.FRAGMENT_OWNER_KEY,L=C.FRAGMENT_PROP_NAME_KEY,k=C.FRAGMENTS_KEY,x=C.ID_KEY,P=C.MODULE_COMPONENT_KEY,M=C.ROOT_ID,B=C.getArgumentValues,V=C.getModuleComponentKey,U=C.getStorageKey,j=n(8871).NoopResolverCache,K=n(7800),Y=K.RESOLVER_FRAGMENT_MISSING_DATA_SENTINEL,q=K.withResolverContext,G=n(8326).generateTypeID,H=n(949);function z(e,t,n){return new W(e,t,null!==n&&void 0!==n?n:new j).read()}var W=function(){function e(e,t,n){var r;this._clientEdgeTraversalPath=I.ENABLE_CLIENT_EDGES&&null!==(r=t.clientEdgeTraversalPath)&&void 0!==r&&r.length?(0,s.default)(t.clientEdgeTraversalPath):[],this._missingClientEdges=[],this._missingLiveResolverFields=[],this._isMissingData=!1,this._isWithinUnmatchedTypeRefinement=!1,this._missingRequiredFields=null,this._errorResponseFields=null,this._owner=t.owner,this._recordSource=e,this._seenRecords=new Set,this._selector=t,this._variables=t.variables,this._resolverCache=n,this._resolverErrors=[],this._fragmentName=t.node.name,this._updatedDataIDs=new Set}var t=e.prototype;return t.read=function(){var e=this._selector,t=e.node,n=e.dataID,r=e.isWithinUnmatchedTypeRefinement,i=t.abstractKey,o=this._recordSource.get(n),s=!r;s&&null==i&&null!=o&&(R.getType(o)!==t.type&&n!==M&&(s=!1));if(s&&null!=i&&null!=o){var a=this._implementsInterface(o,i);!1===a?s=!1:null==a&&(this._isMissingData=!0)}this._isWithinUnmatchedTypeRefinement=!s;var u=this._traverse(t,n,null);return this._updatedDataIDs.size>0&&(this._resolverCache.notifyUpdatedSubscribers(this._updatedDataIDs),this._updatedDataIDs.clear()),{data:u,isMissingData:this._isMissingData&&s,missingClientEdges:I.ENABLE_CLIENT_EDGES&&this._missingClientEdges.length?this._missingClientEdges:null,missingLiveResolverFields:this._missingLiveResolverFields,seenRecords:this._seenRecords,selector:this._selector,missingRequiredFields:this._missingRequiredFields,relayResolverErrors:this._resolverErrors,errorResponseFields:this._errorResponseFields}},t._maybeAddErrorResponseFields=function(e,t){if(I.ENABLE_FIELD_ERROR_HANDLING){var n=R.getErrors(e,t);if(null!=n){var r=this._fragmentName;null==this._errorResponseFields&&(this._errorResponseFields=[]);var i,s=(0,o.default)(n);try{for(s.s();!(i=s.n()).done;){var a,u=i.value;this._errorResponseFields.push({owner:r,path:(null!==(a=u.path)&&void 0!==a?a:[]).join("."),error:u})}}catch(l){s.e(l)}finally{s.f()}}}},t._markDataAsMissing=function(){if(this._isMissingData=!0,I.ENABLE_CLIENT_EDGES&&this._clientEdgeTraversalPath.length){var e=this._clientEdgeTraversalPath[this._clientEdgeTraversalPath.length-1];null!==e&&this._missingClientEdges.push({request:e.readerClientEdge.operation,clientEdgeDestinationID:e.clientEdgeDestinationID})}},t._traverse=function(e,t,n){var r=this._recordSource.get(t);if(this._seenRecords.add(t),null==r)return void 0===r&&this._markDataAsMissing(),r;var i=n||{};return this._traverseSelections(e.selections,r,i)?i:null},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||H(!1),this._variables[e]},t._maybeReportUnexpectedNull=function(e,t){var n;if("THROW"!==(null===(n=this._missingRequiredFields)||void 0===n?void 0:n.action)){var r=this._fragmentName;switch(t){case"THROW":return void(this._missingRequiredFields={action:t,field:{path:e,owner:r}});case"LOG":return void(null==this._missingRequiredFields?this._missingRequiredFields={action:t,fields:[{path:e,owner:r}]}:this._missingRequiredFields={action:t,fields:[].concat((0,s.default)(this._missingRequiredFields.fields),[{path:e,owner:r}])})}}},t._traverseSelections=function(e,t,n){for(var r=0;r<e.length;r++){var i=e[r];switch(i.kind){case N:if(null==this._readRequiredField(i,t,n)){var o=i.action;return"NONE"!==o&&this._maybeReportUnexpectedNull(i.path,o),!1}break;case T:this._readScalar(i,t,n);break;case _:i.plural?this._readPluralLink(i,t,n):this._readLink(i,t,n);break;case p:if(Boolean(this._getVariableValue(i.condition))===i.passingValue)if(!this._traverseSelections(i.selections,t,n))return!1;break;case y:if(!1===this._readInlineFragment(i,t,n))return!1;break;case b:case D:if(!I.ENABLE_RELAY_RESOLVERS)throw new Error("Relay Resolver fields are not yet supported.");this._readResolverField(i,t,n);break;case m:this._createFragmentPointer(i,t,n);break;case l:n[i.name]=this._createAliasedFragmentSpread(i,t);break;case c:var s=this._readInlineFragment(i.fragment,t,{});!1===s&&(s=null),n[i.name]=s;break;case E:this._readModuleImport(i,t,n);break;case v:this._createInlineDataOrResolverFragmentPointer(i,t,n);break;case g:case h:var a=this._isMissingData,w=this._missingClientEdges.length;I.ENABLE_CLIENT_EDGES&&this._clientEdgeTraversalPath.push(null);var A=this._traverseSelections(i.selections,t,n);if(this._isMissingData=a||this._missingClientEdges.length>w||this._missingLiveResolverFields.length>0,I.ENABLE_CLIENT_EDGES&&this._clientEdgeTraversalPath.pop(),!A)return!1;break;case S:if(!this._traverseSelections(i.selections,t,n))return!1;break;case u:this._readActorChange(i,t,n);break;case d:case f:if(!I.ENABLE_CLIENT_EDGES)throw new Error("Client edges are not yet supported.");this._readClientEdge(i,t,n);break;default:H(!1)}}return!0},t._readRequiredField=function(e,t,n){switch(e.field.kind){case T:return this._readScalar(e.field,t,n);case _:return e.field.plural?this._readPluralLink(e.field,t,n):this._readLink(e.field,t,n);case D:case b:if(!I.ENABLE_RELAY_RESOLVERS)throw new Error("Relay Resolver fields are not yet supported.");return this._readResolverField(e.field,t,n);case d:case f:if(!I.ENABLE_RELAY_RESOLVERS)throw new Error("Relay Resolver fields are not yet supported.");return this._readClientEdge(e.field,t,n);default:e.field.kind,H(!1)}},t._readResolverField=function(e,t,n){var r,i=R.getDataID(t),o=this._readResolverFieldImpl(e,i);return n[null!==(r=e.alias)&&void 0!==r?r:e.name]=o,o},t._readResolverFieldImpl=function(e,t){var n,r=this,o=e.fragment,s=function(e){return null!=n?{data:n.data,isMissingData:n.isMissingData}:{data:(n=z(r._recordSource,e,r._resolverCache)).data,isMissingData:n.isMissingData}},a=this._resolverCache.readFromCacheOrEvaluate(t,e,this._variables,(function(){if(null!=o){var a={__id:t,__fragmentOwner:r._owner,__fragments:(0,i.default)({},o.name,o.args?B(o.args,r._variables):{})};return q({getDataForResolverFragment:s},(function(){var t=Q(e,r._variables,a),i=t[0],o=t[1];return{resolverResult:i,snapshot:n,error:o}}))}var u=Q(e,r._variables,null);return{resolverResult:u[0],snapshot:void 0,error:u[1]}}),s),u=a[0],l=a[1],c=a[2],d=a[3],f=a[4],h=a[5];return this._propogateResolverMetadata(e.path,d,c,l,f,h),u},t._propogateResolverMetadata=function(e,t,n,r,i,s){if(null!=t){if(null!=t.missingRequiredFields&&this._addMissingRequiredFields(t.missingRequiredFields),null!=t.missingClientEdges){var a,u=(0,o.default)(t.missingClientEdges);try{for(u.s();!(a=u.n()).done;){var l=a.value;this._missingClientEdges.push(l)}}catch(_){u.e(_)}finally{u.f()}}if(null!=t.missingLiveResolverFields){this._isMissingData=this._isMissingData||t.missingLiveResolverFields.length>0;var c,d=(0,o.default)(t.missingLiveResolverFields);try{for(d.s();!(c=d.n()).done;){var f=c.value;this._missingLiveResolverFields.push(f)}}catch(_){d.e(_)}finally{d.f()}}var h,p=(0,o.default)(t.relayResolverErrors);try{for(p.s();!(h=p.n()).done;){var g=h.value;this._resolverErrors.push(g)}}catch(_){p.e(_)}finally{p.f()}this._isMissingData=this._isMissingData||t.isMissingData}if(n&&this._resolverErrors.push({field:{path:e,owner:this._fragmentName},error:n}),null!=r&&this._seenRecords.add(r),null!=i&&(this._isMissingData=!0,this._missingLiveResolverFields.push({path:"".concat(this._fragmentName,".").concat(e),liveStateID:i})),null!=s){var m,v=(0,o.default)(s);try{for(v.s();!(m=v.n()).done;){var y=m.value;this._updatedDataIDs.add(y)}}catch(_){v.e(_)}finally{v.f()}}},t._readClientEdge=function(e,t,n){var r,i=this,o=e.backingField;"ClientExtension"===o.kind&&H(!1);var s=null!==(r=o.alias)&&void 0!==r?r:o.name,a={};this._traverseSelections([o],t,a);var u=a[s];if(null==u||w(u))return n[s]=u,u;var l=function(e,t){return e.linkedField.plural?(Array.isArray(t)||H(!1),{kind:"PluralConcrete",ids:t.map((function(e){return J(e,"Expected this plural Client Edge Relay Resolver to return an array containing IDs or objects with shape {id}.")}))}):{kind:"SingularConcrete",id:J(t,"Expected this Client Edge Relay Resolver to return an ID of type `string` or an object with shape {id}.")}}(e,u);switch(l.kind){case"PluralConcrete":var c=function(e,t,n){if(e.kind===d){if(null==e.backingField.normalizationInfo){var r=e.concreteType;return null==r&&H(!1),t.map((function(e){return n.ensureClientRecord(e,r)}))}return t}H(!1)}(e,l.ids,this._resolverCache),f=c;if(null!=e.modelResolver){var h=e.modelResolver;f=c.map((function(e){return null!=i._readResolverFieldImpl(h,e)?e:null}))}this._clientEdgeTraversalPath.push(null);var p=this._readLinkedIds(e.linkedField,f,t,n);return this._clientEdgeTraversalPath.pop(),n[s]=p,p;case"SingularConcrete":var g=function(e,t,n){if(e.kind===d){if(null==e.backingField.normalizationInfo){var r=e.concreteType;return null==r&&H(!1),[n.ensureClientRecord(t,r),null]}return[t,null]}return[t,{readerClientEdge:e,clientEdgeDestinationID:t}]}(e,l.id,this._resolverCache),m=g[0],v=g[1];if(null!=e.modelResolver)if(null==this._readResolverFieldImpl(e.modelResolver,m))return n[s]=null,null;this._clientEdgeTraversalPath.push(v);var y=n[s];null!=y&&"object"!==typeof y&&H(!1);var _=this._traverse(e.linkedField,m,y);return this._clientEdgeTraversalPath.pop(),n[s]=_,_;default:l.kind}},t._readScalar=function(e,t,n){var r,i=null!==(r=e.alias)&&void 0!==r?r:e.name,o=U(e,this._variables),s=R.getValue(t,o);return null===s?this._maybeAddErrorResponseFields(t,o):void 0===s&&this._markDataAsMissing(),n[i]=s,s},t._readLink=function(e,t,n){var r,i=null!==(r=e.alias)&&void 0!==r?r:e.name,o=U(e,this._variables),s=R.getLinkedRecordID(t,o);if(null==s)return n[i]=s,null===s?this._maybeAddErrorResponseFields(t,o):void 0===s&&this._markDataAsMissing(),s;var a=n[i];null!=a&&"object"!==typeof a&&H(!1);var u=this._traverse(e,s,a);return n[i]=u,u},t._readActorChange=function(e,t,n){var r,i=null!==(r=e.alias)&&void 0!==r?r:e.name,o=U(e,this._variables),s=R.getActorLinkedRecordID(t,o);if(null==s)return n[i]=s,void 0===s?this._markDataAsMissing():null===s&&this._maybeAddErrorResponseFields(t,o),n[i];var a=s[0],u=s[1],l={};return this._createFragmentPointer(e.fragmentSpread,R.fromObject({__id:u}),l),n[i]={__fragmentRef:l,__viewer:a},n[i]},t._readPluralLink=function(e,t,n){var r=U(e,this._variables),i=R.getLinkedRecordIDs(t,r);return null===i&&this._maybeAddErrorResponseFields(t,r),this._readLinkedIds(e,i,t,n)},t._readLinkedIds=function(e,t,n,r){var i,o=this,s=null!==(i=e.alias)&&void 0!==i?i:e.name;if(null==t)return r[s]=t,void 0===t&&this._markDataAsMissing(),t;var a=r[s];null==a||Array.isArray(a)||H(!1);var u=a||[];return t.forEach((function(t,n){if(null==t)return void 0===t&&o._markDataAsMissing(),void(u[n]=t);var r=u[n];null!=r&&"object"!==typeof r&&H(!1),u[n]=o._traverse(e,t,r)})),r[s]=u,u},t._readModuleImport=function(e,t,n){var r=V(e.documentName),i=R.getValue(t,r);null!=i?(this._createFragmentPointer({kind:"FragmentSpread",name:e.fragmentName,args:e.args},t,n),n[L]=e.fragmentPropName,n[P]=i):void 0===i&&this._markDataAsMissing()},t._createAliasedFragmentSpread=function(e,t){var n=e.abstractKey;if(null==n){var r=R.getType(t);if(null==r||r!==e.type)return null}else{var i=this._implementsInterface(t,n);if(!1===i)return null;if(null==i)return void this._markDataAsMissing()}var o={};return this._createFragmentPointer(e.fragment,t,o),R.fromObject(o)},t._readInlineFragment=function(e,t,n){var r=e.abstractKey;if(null==r){var i=R.getType(t);if(null==i||i!==e.type)return null;if(!this._traverseSelections(e.selections,t,n))return!1}else{var o=this._implementsInterface(t,r),s=this._isMissingData,a=this._isWithinUnmatchedTypeRefinement;if(this._isWithinUnmatchedTypeRefinement=a||!1===o,this._traverseSelections(e.selections,t,n),this._isWithinUnmatchedTypeRefinement=a,!1===o)return void(this._isMissingData=s);if(null==o)return this._markDataAsMissing(),null}return n},t._createFragmentPointer=function(e,t,n){var r=n[k];null==r&&(r=n[k]={}),("object"!==typeof r||null==r)&&H(!1),null==n[x]&&(n[x]=R.getDataID(t)),r[e.name]=B(e.args,this._variables,this._isWithinUnmatchedTypeRefinement),n[F]=this._owner,I.ENABLE_CLIENT_EDGES&&this._clientEdgeTraversalPath.length>0&&null!==this._clientEdgeTraversalPath[this._clientEdgeTraversalPath.length-1]&&(n[O]=(0,s.default)(this._clientEdgeTraversalPath))},t._createInlineDataOrResolverFragmentPointer=function(e,t,n){var r=n[k];null==r&&(r=n[k]={}),("object"!==typeof r||null==r)&&H(!1),null==n[x]&&(n[x]=R.getDataID(t));var i={},o=this._fragmentName;this._fragmentName=e.name;var s=this._variables,a=e.args?B(e.args,this._variables):{};this._variables=A.getFragmentVariables(e,this._owner.variables,a),this._traverseSelections(e.selections,t,i),this._variables=s,this._fragmentName=o,r[e.name]=i},t._addMissingRequiredFields=function(e){null!=this._missingRequiredFields?"THROW"!==this._missingRequiredFields.action&&("THROW"!==e.action?this._missingRequiredFields={action:"LOG",fields:[].concat((0,s.default)(this._missingRequiredFields.fields),(0,s.default)(e.fields))}:this._missingRequiredFields=e):this._missingRequiredFields=e},t._implementsInterface=function(e,t){var n=R.getType(e),r=this._recordSource.get(G(n));return null!=r?R.getValue(r,t):null},e}();function Q(e,t,n){var r="function"===typeof e.resolverModule?e.resolverModule:e.resolverModule.default,i=null,o=null;try{var s=[];null!=e.fragment&&s.push(n);var a=e.args?B(e.args,t):void 0;s.push(a),i=r.apply(null,s)}catch(u){u===Y?i=void 0:o=u}return[i,o]}function J(e,t){return"string"===typeof e?e:"object"===typeof e&&null!=e&&"string"===typeof e.id?e.id:void H(!1)}e.exports={read:z}},3950:(e,t,n)=>{"use strict";var r=(0,n(4994).default)(n(883)),i=n(536),o=n(7126),s=o.EXISTENT,a=o.NONEXISTENT,u=o.UNKNOWN,l=function(){function e(e){var t=this;this._records=new Map,null!=e&&Object.keys(e).forEach((function(n){var r=e[n],o=i.fromObject(r);t._records.set(n,o)}))}e.create=function(t){return new e(t)};var t=e.prototype;return t.clear=function(){this._records=new Map},t.delete=function(e){this._records.set(e,null)},t.get=function(e){return this._records.get(e)},t.getRecordIDs=function(){return Array.from(this._records.keys())},t.getStatus=function(e){return this._records.has(e)?null==this._records.get(e)?a:s:u},t.has=function(e){return this._records.has(e)},t.remove=function(e){this._records.delete(e)},t.set=function(e,t){this._records.set(e,t)},t.size=function(){return this._records.size},t.toJSON=function(){var e,t={},n=(0,r.default)(this._records);try{for(n.s();!(e=n.n()).done;){var o=e.value,s=o[0],a=o[1];t[s]=i.toJSON(a)}}catch(u){n.e(u)}finally{n.f()}return t},e}();e.exports=l},7126:e=>{"use strict";e.exports={EXISTENT:"EXISTENT",NONEXISTENT:"NONEXISTENT",UNKNOWN:"UNKNOWN"}},6331:(e,t,n)=>{"use strict";var r=(0,n(4994).default)(n(883)),i=n(1277),o=n(5452),s=n(9768),a=n(6871),u=n(1836).getLocalVariables,l=n(536),c=n(3276),d=n(8326).generateTypeID,f=n(949),h=o.ACTOR_CHANGE,p=o.CONDITION,g=o.CLIENT_COMPONENT,m=o.CLIENT_EXTENSION,v=o.DEFER,y=o.FRAGMENT_SPREAD,_=o.INLINE_FRAGMENT,E=o.LINKED_FIELD,b=o.MODULE_IMPORT,D=o.LINKED_HANDLE,N=o.SCALAR_FIELD,T=o.SCALAR_HANDLE,S=o.STREAM,I=o.TYPE_DISCRIMINATOR,w=o.RELAY_RESOLVER,A=o.RELAY_LIVE_RESOLVER,R=o.CLIENT_EDGE_TO_CLIENT_OBJECT,C=c.getStorageKey,O=c.getModuleOperationKey;var F=function(){function e(e,t,n,r,i){this._operationLoader=null!==r&&void 0!==r?r:null,this._operationName=null,this._recordSource=e,this._references=n,this._variables=t,this._shouldProcessClientComponents=i}var t=e.prototype;return t.mark=function(e,t){"Operation"!==e.kind&&"SplitOperation"!==e.kind||(this._operationName=e.name),this._traverse(e,t)},t._traverse=function(e,t){this._references.add(t);var n=this._recordSource.get(t);null!=n&&this._traverseSelections(e.selections,n)},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||f(!1),this._variables[e]},t._traverseSelections=function(e,t){var n=this;e.forEach((function(r){switch(r.kind){case h:n._traverseLink(r.linkedField,t);break;case E:r.plural?n._traversePluralLink(r,t):n._traverseLink(r,t);break;case p:Boolean(n._getVariableValue(r.condition))===r.passingValue&&n._traverseSelections(r.selections,t);break;case _:if(null==r.abstractKey){var i=l.getType(t);(null!=i&&i===r.type||i===c.ROOT_TYPE)&&n._traverseSelections(r.selections,t)}else{var o=l.getType(t),a=d(o);n._references.add(a),n._traverseSelections(r.selections,t)}break;case y:var C=n._variables;n._variables=u(n._variables,r.fragment.argumentDefinitions,r.args),n._traverseSelections(r.fragment.selections,t),n._variables=C;break;case D:var O=s(r,e,n._variables);O.plural?n._traversePluralLink(O,t):n._traverseLink(O,t);break;case v:case S:n._traverseSelections(r.selections,t);break;case N:case T:break;case I:var F=l.getType(t),L=d(F);n._references.add(L);break;case b:n._traverseModuleImport(r,t);break;case m:n._traverseSelections(r.selections,t);break;case g:if(!1===n._shouldProcessClientComponents)break;n._traverseSelections(r.fragment.selections,t);break;case w:case A:n._traverseResolverField(r,t);break;case R:n._traverseClientEdgeToClientObject(r,t);break;default:f(!1)}}))},t._traverseClientEdgeToClientObject=function(e,t){var n=this._traverseResolverField(e.backingField,t);if(null!=n){var i=this._recordSource.get(n);if(null!=i)if(e.backingField.isOutputType){var o=a(i);if(null!=o){var s,u=(0,r.default)(o);try{for(u.s();!(s=u.n()).done;){var c=s.value;this._references.add(c)}}catch(y){u.e(y)}finally{u.f()}}}else{var d=e.linkedField,f=d.concreteType;if(null==f)return;if(d.plural){var h=l.getResolverLinkedRecordIDs(i,f);if(null!=h){var p,g=(0,r.default)(h);try{for(g.s();!(p=g.n()).done;){var m=p.value;null!=m&&this._traverse(d,m)}}catch(y){g.e(y)}finally{g.f()}}}else{var v=l.getResolverLinkedRecordID(i,f);null!=v&&this._traverse(d,v)}}}},t._traverseResolverField=function(e,t){var n=C(e,this._variables),r=l.getLinkedRecordID(t,n);null!=r&&this._references.add(r);var i=e.fragment;return null!=i&&this._traverseSelections([i],t),r},t._traverseModuleImport=function(e,t){var n=this._operationLoader;null===n&&f(!1);var r=O(e.documentName),o=l.getValue(t,r);if(null!=o){var s=n.get(o);if(null!=s){var a=i(s),c=this._variables;this._variables=u(this._variables,a.argumentDefinitions,e.args),this._traverseSelections(a.selections,t),this._variables=c}}},t._traverseLink=function(e,t){var n=C(e,this._variables),r=l.getLinkedRecordID(t,n);null!=r&&this._traverse(e,r)},t._traversePluralLink=function(e,t){var n=this,r=C(e,this._variables),i=l.getLinkedRecordIDs(t,r);null!=i&&i.forEach((function(t){null!=t&&n._traverse(e,t)}))},e}();e.exports={mark:function(e,t,n,r,i){var o=t.dataID,s=t.node,a=t.variables;new F(e,a,n,r,i).mark(s,o)}}},7970:(e,t,n)=>{"use strict";var r=n(4994).default,i=r(n(883)),o=r(n(1132)),s=n(3561),a=(s.ACTOR_IDENTIFIER_FIELD_NAME,s.getActorIdentifierFromPayload),u=n(5452),l=u.ACTOR_CHANGE,c=u.CLIENT_COMPONENT,d=u.CLIENT_EDGE_TO_CLIENT_OBJECT,f=u.CLIENT_EXTENSION,h=u.CONDITION,p=u.DEFER,g=u.FRAGMENT_SPREAD,m=u.INLINE_FRAGMENT,v=u.LINKED_FIELD,y=u.LINKED_HANDLE,_=u.MODULE_IMPORT,E=u.RELAY_LIVE_RESOLVER,b=u.RELAY_RESOLVER,D=u.SCALAR_FIELD,N=u.SCALAR_HANDLE,T=u.STREAM,S=u.TYPE_DISCRIMINATOR,I=n(4613),w=I.generateClientID,A=(I.isClientID,n(1836).getLocalVariables),R=n(5882),C=R.buildErrorTrie,O=R.getErrorsByKey,F=R.getNestedErrorTrieByKey,L=n(536),k=n(3080).createNormalizationSelector,x=n(3276),P=(x.ROOT_ID,x.TYPENAME_KEY),M=x.getArgumentValues,B=x.getHandleStorageKey,V=x.getModuleComponentKey,U=x.getModuleOperationKey,j=x.getStorageKey,K=n(8326),Y=K.TYPE_SCHEMA_TYPE,q=K.generateTypeID,G=(n(6360),n(949));n(7600);var H=function(){function e(e,t,n){this._actorIdentifier=n.actorIdentifier,this._getDataId=n.getDataID,this._handleFieldPayloads=[],this._treatMissingFieldsAsNull=n.treatMissingFieldsAsNull,this._incrementalPlaceholders=[],this._isClientExtension=!1,this._isUnmatchedAbstractType=!1,this._followupPayloads=[],this._path=n.path?(0,o.default)(n.path):[],this._recordSource=e,this._variables=t,this._shouldProcessClientComponents=n.shouldProcessClientComponents}var t=e.prototype;return t.normalizeResponse=function(e,t,n,r){var i=this._recordSource.get(t);return i||G(!1),this._assignClientAbstractTypes(e),this._errorTrie=C(r),this._traverseSelections(e,i,n),{errors:r,fieldPayloads:this._handleFieldPayloads,incrementalPlaceholders:this._incrementalPlaceholders,followupPayloads:this._followupPayloads,source:this._recordSource,isFinal:!1}},t._assignClientAbstractTypes=function(e){var t=e.clientAbstractTypes;if(null!=t)for(var n=0,r=Object.keys(t);n<r.length;n++){var o,s=r[n],a=(0,i.default)(t[s]);try{for(a.s();!(o=a.n()).done;){var u=o.value,l=q(u),c=this._recordSource.get(l);null==c&&(c=L.create(l,Y),this._recordSource.set(l,c)),L.setValue(c,s,!0)}}catch(d){a.e(d)}finally{a.f()}}},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||G(!1),this._variables[e]},t._getRecordType=function(e){var t=e[P];return null==t&&G(!1),t},t._traverseSelections=function(e,t,n){for(var r=0;r<e.selections.length;r++){var i=e.selections[r];switch(i.kind){case D:case v:this._normalizeField(i,t,n);break;case h:Boolean(this._getVariableValue(i.condition))===i.passingValue&&this._traverseSelections(i,t,n);break;case g:var o=this._variables;this._variables=A(this._variables,i.fragment.argumentDefinitions,i.args),this._traverseSelections(i.fragment,t,n),this._variables=o;break;case m:var s=i.abstractKey;if(null==s){L.getType(t)===i.type&&this._traverseSelections(i,t,n)}else{var a=n.hasOwnProperty(s),u=L.getType(t),I=q(u),w=this._recordSource.get(I);null==w&&(w=L.create(I,Y),this._recordSource.set(I,w)),L.setValue(w,s,a),a&&this._traverseSelections(i,t,n)}break;case S:var R=i.abstractKey,C=n.hasOwnProperty(R),O=L.getType(t),F=q(O),k=this._recordSource.get(F);null==k&&(k=L.create(F,Y),this._recordSource.set(F,k)),L.setValue(k,R,C);break;case y:case N:var x=i.args?M(i.args,this._variables):{},P=j(i,this._variables),V=B(i,this._variables);this._handleFieldPayloads.push({args:x,dataID:L.getDataID(t),fieldKey:P,handle:i.handle,handleKey:V,handleArgs:i.handleArgs?M(i.handleArgs,this._variables):{}});break;case _:this._normalizeModuleImport(i,t,n);break;case p:this._normalizeDefer(i,t,n);break;case T:this._normalizeStream(i,t,n);break;case f:var U=this._isClientExtension;this._isClientExtension=!0,this._traverseSelections(i,t,n),this._isClientExtension=U;break;case c:if(!1===this._shouldProcessClientComponents)break;this._traverseSelections(i.fragment,t,n);break;case l:this._normalizeActorChange(i,t,n);break;case b:case E:this._normalizeResolver(i,t,n);break;case d:this._normalizeResolver(i.backingField,t,n);break;default:G(!1)}}},t._normalizeResolver=function(e,t,n){null!=e.fragment&&this._traverseSelections(e.fragment,t,n)},t._normalizeDefer=function(e,t,n){!1===(null===e.if||this._getVariableValue(e.if))?this._traverseSelections(e,t,n):this._incrementalPlaceholders.push({kind:"defer",data:n,label:e.label,path:(0,o.default)(this._path),selector:k(e,L.getDataID(t),this._variables),typeName:L.getType(t),actorIdentifier:this._actorIdentifier})},t._normalizeStream=function(e,t,n){this._traverseSelections(e,t,n),!0===(null===e.if||this._getVariableValue(e.if))&&this._incrementalPlaceholders.push({kind:"stream",label:e.label,path:(0,o.default)(this._path),parentID:L.getDataID(t),node:e,variables:this._variables,actorIdentifier:this._actorIdentifier})},t._normalizeModuleImport=function(e,t,n){"object"===typeof n&&n||G(!1);var r=L.getType(t),i=V(e.documentName),s=e.componentModuleProvider||n[i];L.setValue(t,i,null!==s&&void 0!==s?s:null);var a=U(e.documentName),u=e.operationModuleProvider||n[a];L.setValue(t,a,null!==u&&void 0!==u?u:null),null!=u&&this._followupPayloads.push({kind:"ModuleImportPayload",args:e.args,data:n,dataID:L.getDataID(t),operationReference:u,path:(0,o.default)(this._path),typeName:r,variables:this._variables,actorIdentifier:this._actorIdentifier})},t._normalizeField=function(e,t,n){"object"===typeof n&&n||G(!1);var r=e.alias||e.name,i=j(e,this._variables),o=n[r];if(null!=o)if(e.kind===D)L.setValue(t,i,o);else if(e.kind===v){this._path.push(r);var s=this._errorTrie;this._errorTrie=null==s?null:F(s,r),e.plural?this._normalizePluralLink(e,t,i,o):this._normalizeLink(e,t,i,o),this._errorTrie=s,this._path.pop()}else G(!1);else{if(void 0===o){if(this._isClientExtension||this._isUnmatchedAbstractType)return;if(!this._treatMissingFieldsAsNull)return void 0}L.setValue(t,i,null);var a=this._errorTrie;if(null!=a){var u=O(a,r);null!=u&&L.setErrors(t,i,u)}}},t._normalizeActorChange=function(e,t,n){var r,i=e.linkedField;"object"===typeof n&&n||G(!1);var s=i.alias||i.name,u=j(i,this._variables),l=n[s];if(null!=l){var c=a(l);if(null!=c){var d=null!==(r=i.concreteType)&&void 0!==r?r:this._getRecordType(l),f=this._getDataId(l,d)||L.getLinkedRecordID(t,u)||w(L.getDataID(t),u);"string"!==typeof f&&G(!1),L.setActorLinkedRecordID(t,u,c,f),this._followupPayloads.push({kind:"ActorPayload",data:l,dataID:f,path:[].concat((0,o.default)(this._path),[s]),typeName:d,variables:this._variables,node:i,actorIdentifier:c})}else L.setValue(t,u,null)}else{if(void 0===l){if(this._isClientExtension||this._isUnmatchedAbstractType)return;if(!this._treatMissingFieldsAsNull)return void 0}L.setValue(t,u,null)}},t._normalizeLink=function(e,t,n,r){var i;"object"===typeof r&&r||G(!1);var o=this._getDataId(r,null!==(i=e.concreteType)&&void 0!==i?i:this._getRecordType(r))||L.getLinkedRecordID(t,n)||w(L.getDataID(t),n);"string"!==typeof o&&G(!1),L.setLinkedRecordID(t,n,o);var s=this._recordSource.get(o);if(s)0;else{var a=e.concreteType||this._getRecordType(r);s=L.create(o,a),this._recordSource.set(o,s)}this._traverseSelections(e,s,r)},t._normalizePluralLink=function(e,t,n,r){var i=this;Array.isArray(r)||G(!1);var o=L.getLinkedRecordIDs(t,n),s=[];r.forEach((function(r,a){var u;if(null!=r){i._path.push(String(a));var l=i._errorTrie;i._errorTrie=null==l?null:F(l,a),"object"!==typeof r&&G(!1);var c=i._getDataId(r,null!==(u=e.concreteType)&&void 0!==u?u:i._getRecordType(r))||o&&o[a]||w(L.getDataID(t),n,a);"string"!==typeof c&&G(!1),s.push(c);var d=i._recordSource.get(c);if(d)0;else{var f=e.concreteType||i._getRecordType(r);d=L.create(c,f),i._recordSource.set(c,d)}0,i._traverseSelections(e,d,r),i._errorTrie=l,i._path.pop()}else s.push(r)})),L.setLinkedRecordIDs(t,n,s)},t._validateRecordType=function(e,t,n){var r;null!==(r=t.concreteType)&&void 0!==r||this._getRecordType(n),L.getDataID(e)},t._validateConflictingFieldsWithIdenticalId=function(e,t,n){},t._validateConflictingLinkedFieldsWithIdenticalId=function(e,t,n){0},e}();e.exports={normalize:function(e,t,n,r,i){var o=t.dataID,s=t.node,a=t.variables;return new H(e,a,r).normalizeResponse(s,o,n,i)}}},9483:(e,t,n)=>{"use strict";n(3713);var r=n(6808),i=n(4910),o=n(2104),s=n(8419),a=n(381),u=function(){function e(e,t){this._subscriptions=new Set,this.__log=e,this._resolverCache=t}var t=e.prototype;return t.subscribe=function(e,t){var n=this,r={backup:null,callback:t,snapshot:e,stale:!1};return this._subscriptions.add(r),{dispose:function(){n._subscriptions.delete(r)}}},t.snapshotSubscriptions=function(e){var t=this;this._subscriptions.forEach((function(n){if(n.stale){var i=n.snapshot,o=a.read(e,i.selector,t._resolverCache),s=r(i.data,o.data);o.data=s,n.backup=o}else n.backup=n.snapshot}))},t.restoreSubscriptions=function(){this._subscriptions.forEach((function(e){var t=e.backup;e.backup=null,t?(t.data!==e.snapshot.data&&(e.stale=!0),e.snapshot={data:e.snapshot.data,isMissingData:t.isMissingData,missingClientEdges:t.missingClientEdges,missingLiveResolverFields:t.missingLiveResolverFields,seenRecords:t.seenRecords,selector:t.selector,missingRequiredFields:t.missingRequiredFields,relayResolverErrors:t.relayResolverErrors,errorResponseFields:t.errorResponseFields}):e.stale=!0}))},t.updateSubscriptions=function(e,t,n,r){var i=this,o=0!==t.size;this._subscriptions.forEach((function(s){var a=i._updateSubscription(e,s,t,o,r);null!=a&&n.push(a)}))},t._updateSubscription=function(e,t,n,u,l){var c=t.backup,d=t.callback,f=t.snapshot,h=t.stale,p=u&&o(f.seenRecords,n);if(h||p){var g=p||!c?a.read(e,f.selector,this._resolverCache):c;return g={data:r(f.data,g.data),isMissingData:g.isMissingData,missingClientEdges:g.missingClientEdges,missingLiveResolverFields:g.missingLiveResolverFields,seenRecords:g.seenRecords,selector:g.selector,missingRequiredFields:g.missingRequiredFields,relayResolverErrors:g.relayResolverErrors,errorResponseFields:g.errorResponseFields},t.snapshot=g,t.stale=!1,g.data!==f.data?(this.__log&&i.ENABLE_NOTIFY_SUBSCRIPTION&&this.__log({name:"store.notify.subscription",sourceOperation:l,snapshot:f,nextSnapshot:g}),d(g),f.selector.owner):i.ENABLE_LOOSE_SUBSCRIPTION_ATTRIBUTION&&(h||s(f.seenRecords,n))?f.selector.owner:void 0}},e}();e.exports=u},3276:(e,t,n)=>{"use strict";var r=(0,n(4994).default)(n(1132)),i=n(1916),o=n(5452),s=n(6758),a=n(949),u=o.VARIABLE,l=o.LITERAL,c=o.OBJECT_VALUE,d=o.LIST_VALUE;function f(e,t){if(e.kind===u)return function(e,t){return t.hasOwnProperty(e)||a(!1),s(t[e])}(e.variableName,t);if(e.kind===l)return e.value;if(e.kind===c){var n={};return e.fields.forEach((function(e){n[e.name]=f(e,t)})),n}if(e.kind===d){var r=[];return e.items.forEach((function(e){null!=e&&r.push(f(e,t))})),r}}function h(e,t,n){var r={};return n&&(r[g.FRAGMENT_POINTER_IS_WITHIN_UNMATCHED_TYPE_REFINEMENT]=!0),e&&e.forEach((function(e){r[e.name]=f(e,t)})),r}function p(e,t){if(!t)return e;var n=[];for(var r in t)if(t.hasOwnProperty(r)){var i,o=t[r];if(null!=o)n.push(r+":"+(null!==(i=JSON.stringify(o))&&void 0!==i?i:"undefined"))}return 0===n.length?e:e+"(".concat(n.join(","),")")}var g={ACTOR_IDENTIFIER_KEY:"__actorIdentifier",CLIENT_EDGE_TRAVERSAL_PATH:"__clientEdgeTraversalPath",FRAGMENTS_KEY:"__fragments",FRAGMENT_OWNER_KEY:"__fragmentOwner",FRAGMENT_POINTER_IS_WITHIN_UNMATCHED_TYPE_REFINEMENT:"$isWithinUnmatchedTypeRefinement",FRAGMENT_PROP_NAME_KEY:"__fragmentPropName",MODULE_COMPONENT_KEY:"__module_component",ERRORS_KEY:"__errors",ID_KEY:"__id",REF_KEY:"__ref",REFS_KEY:"__refs",ROOT_ID:"client:root",ROOT_TYPE:"__Root",TYPENAME_KEY:"__typename",INVALIDATED_AT_KEY:"__invalidated_at",RELAY_RESOLVER_VALUE_KEY:"__resolverValue",RELAY_RESOLVER_INVALIDATION_KEY:"__resolverValueMayBeInvalid",RELAY_RESOLVER_SNAPSHOT_KEY:"__resolverSnapshot",RELAY_RESOLVER_ERROR_KEY:"__resolverError",RELAY_RESOLVER_OUTPUT_TYPE_RECORD_IDS:"__resolverOutputTypeRecordIDs",formatStorageKey:p,getArgumentValue:f,getArgumentValues:h,getHandleStorageKey:function(e,t){var n=e.dynamicKey,o=e.handle,s=e.key,a=e.name,u=e.args,l=e.filters,c=i(o,s,a),d=null;return u&&l&&0!==u.length&&0!==l.length&&(d=u.filter((function(e){return l.indexOf(e.name)>-1}))),n&&(d=null!=d?[n].concat((0,r.default)(d)):[n]),null===d?c:p(c,h(d,t))},getStorageKey:function(e,t){if(e.storageKey)return e.storageKey;var n=function(e){if("RelayResolver"===e.kind||"RelayLiveResolver"===e.kind){var t,n;return null==e.args?null===(n=e.fragment)||void 0===n?void 0:n.args:null==(null===(t=e.fragment)||void 0===t?void 0:t.args)?e.args:e.args.concat(e.fragment.args)}var r="undefined"===typeof e.args?void 0:e.args;return r}(e),r=e.name;return n&&0!==n.length?p(r,h(n,t)):r},getStableStorageKey:function(e,t){return p(e,s(t))},getModuleComponentKey:function(e){return"".concat("__module_component_").concat(e)},getModuleOperationKey:function(e){return"".concat("__module_operation_").concat(e)}};e.exports=g},8871:(e,t,n)=>{"use strict";var r=(0,n(4994).default)(n(883)),i=n(6808),o=n(5452).RELAY_LIVE_RESOLVER,s=n(4910),a=n(45),u=n(4613).generateClientID,l=n(536),c=n(3276),d=c.RELAY_RESOLVER_ERROR_KEY,f=c.RELAY_RESOLVER_INVALIDATION_KEY,h=c.RELAY_RESOLVER_SNAPSHOT_KEY,p=c.RELAY_RESOLVER_VALUE_KEY,g=c.getStorageKey,m=n(949),v=(n(7600),new Set),y=function(){function e(){}var t=e.prototype;return t.readFromCacheOrEvaluate=function(e,t,n,r,i){t.kind===o&&m(!1);var s=r(),a=s.resolverResult,u=s.snapshot;return[a,void 0,s.error,u,void 0,void 0]},t.invalidateDataIDs=function(e){},t.ensureClientRecord=function(e,t){m(!1)},t.notifyUpdatedSubscribers=function(e){},e}();function _(e,t,n){var r=e.get(t);r||(r=new Set,e.set(t,r)),r.add(n)}var E=function(){function e(e){this._resolverIDToRecordIDs=new Map,this._recordIDToResolverIDs=new Map,this._getRecordSource=e}var t=e.prototype;return t.readFromCacheOrEvaluate=function(e,t,n,i,o){var c=this._getRecordSource(),f=c.get(e);null==f&&m(!1);var v=g(t,n),y=l.getLinkedRecordID(f,v),E=null==y?null:c.get(y);if(null==E||this._isInvalid(E,o)){var b;y=null!==(b=y)&&void 0!==b?b:u(e,v),E=l.create(y,"__RELAY_RESOLVER__");var D=i();s.ENABLE_SHALLOW_FREEZE_RESOLVER_VALUES&&a(D.resolverResult),l.setValue(E,p,D.resolverResult),l.setValue(E,h,D.snapshot),l.setValue(E,d,D.error),c.set(y,E);var N=c.get(e);null==N&&m(!1);var T=l.clone(N);if(l.setLinkedRecordID(T,v,y),c.set(e,T),null!=t.fragment){var S,I=g(t.fragment,n),w=u(e,I);_(this._resolverIDToRecordIDs,w,y),_(this._recordIDToResolverIDs,e,w);var A=null===(S=D.snapshot)||void 0===S?void 0:S.seenRecords;if(null!=A){var R,C=(0,r.default)(A);try{for(C.s();!(R=C.n()).done;){var O=R.value;_(this._recordIDToResolverIDs,O,w)}}catch(k){C.e(k)}finally{C.f()}}}}var F=l.getValue(E,p),L=l.getValue(E,h);return[F,y,l.getValue(E,d),L,void 0,void 0]},t.invalidateDataIDs=function(e){for(var t=this._getRecordSource(),n=new Set,i=Array.from(e);i.length;){var o=i.pop();e.add(o);var s,a=(0,r.default)(null!==(u=this._recordIDToResolverIDs.get(o))&&void 0!==u?u:v);try{for(a.s();!(s=a.n()).done;){var u,l=s.value;if(!n.has(l)){var c,d=(0,r.default)(null!==(f=this._resolverIDToRecordIDs.get(l))&&void 0!==f?f:v);try{for(d.s();!(c=d.n()).done;){var f,h=c.value;this._markInvalidatedResolverRecord(h,t,e),n.has(h)||i.push(h)}}catch(p){d.e(p)}finally{d.f()}}}}catch(p){a.e(p)}finally{a.f()}}},t._markInvalidatedResolverRecord=function(e,t,n){var r=t.get(e);if(r){var i=l.clone(r);l.setValue(i,f,!0),t.set(e,i)}},t._isInvalid=function(e,t){if(!l.getValue(e,f))return!1;var n=l.getValue(e,h),r=null===n||void 0===n?void 0:n.data,o=null===n||void 0===n?void 0:n.selector;if(null==r||null==o)return!0;var s=t(o).data;return i(r,s)!==r},t.ensureClientRecord=function(e,t){m(!1)},t.notifyUpdatedSubscribers=function(e){m(!1)},e}();e.exports={NoopResolverCache:y,RecordResolverCache:E}},7800:(e,t,n)=>{"use strict";var r=n(8207).getFragment,i=n(3080).getSelector,o=n(949),s=[];var a={};e.exports={readFragment:function(e,t){if(!s.length)throw new Error("readFragment should be called only from within a Relay Resolver function.");var n=s[s.length-1],u=r(e),l=i(u,t);null==l&&o(!1),"SingularReaderSelector"!==l.kind&&o(!1);var c=n.getDataForResolverFragment(l,t),d=c.data;if(c.isMissingData)throw a;return d},withResolverContext:function(e,t){s.push(e);try{return t()}finally{s.pop()}},RESOLVER_FRAGMENT_MISSING_DATA_SENTINEL:a}},8326:e=>{"use strict";var t="client:__type:";e.exports={generateTypeID:function(e){return t+e},isTypeID:function(e){return 0===e.indexOf(t)},TYPE_SCHEMA_TYPE:"__TypeSchema"}},4511:(e,t,n)=>{"use strict";var r=(0,n(4613).generateClientID)(n(3276).ROOT_ID,"viewer");e.exports={VIEWER_ID:r,VIEWER_TYPE:"Viewer"}},9768:(e,t,n)=>{"use strict";var r=n(5452).LINKED_FIELD,i=n(3276).getHandleStorageKey,o=n(6360),s=n(949);e.exports=function(e,t,n){var a=t.find((function(t){return t.kind===r&&t.name===e.name&&t.alias===e.alias&&o(t.args,e.args)}));a&&a.kind===r||s(!1);var u=i(e,n);return{kind:"LinkedField",alias:a.alias,name:u,storageKey:u,args:null,concreteType:a.concreteType,plural:a.plural,selections:a.selections}}},7616:(e,t,n)=>{"use strict";var r=n(5452).SCALAR_FIELD,i=n(3276).getHandleStorageKey,o=n(6360),s=n(949);e.exports=function(e,t,n){var a=t.find((function(t){return t.kind===r&&t.name===e.name&&t.alias===e.alias&&o(t.args,e.args)}));a&&a.kind===r||s(!1);var u=i(e,n);return{kind:"ScalarField",alias:a.alias,name:u,storageKey:u,args:null}}},2322:(e,t,n)=>{"use strict";var r=n(764);n(7600);e.exports=function(e,t,n,i,o,s){return new r(e,n,i,s,o)}},4907:(e,t,n)=>{"use strict";var r,i,o=n(949);e.exports=function(e){return r||(r=e.createContext(null),i=e),e!==i&&o(!1),r}},9957:(e,t,n)=>{"use strict";var r=n(4511),i=r.VIEWER_ID,o=r.VIEWER_TYPE;e.exports=function(e,t){return t===o&&null==e.id?i:e.id}},7821:e=>{"use strict";e.exports=function(e){0}},3229:e=>{"use strict";var t=Object.freeze({__LIVE_RESOLVER_SUSPENSE_SENTINEL:!0});e.exports={isSuspenseSentinel:function(e){return e===t},suspenseSentinel:function(){return t}}},6871:(e,t,n)=>{"use strict";var r=n(536),i=n(3276).RELAY_RESOLVER_OUTPUT_TYPE_RECORD_IDS,o=n(949);e.exports=function(e){var t=r.getValue(e,i);return null==t?null:(t instanceof Set||o(!1),t)}},2104:e=>{"use strict";var t=Symbol.iterator;e.exports=function(e,n){for(var r=e[t](),i=r.next();!i.done;){var o=i.value;if(n.has(o))return!0;i=r.next()}return!1}},8419:(e,t,n)=>{"use strict";var r=n(3276).ROOT_ID,i=n(4511).VIEWER_ID,o=Symbol.iterator;e.exports=function(e,t){for(var n=e[o](),s=n.next();!s.done;){var a=s.value;if(t.has(a)&&a!==r&&a!==i)return!0;s=n.next()}return!1}},5384:e=>{"use strict";e.exports=function(e){return Boolean(e&&e["@@RelayModernEnvironment"])}},287:(e,t,n)=>{"use strict";var r=n(4994).default,i=r(n(2897)),o=r(n(536)),s=r(n(3950)),a=r(n(7970));e.exports=function(e,t,n,r){var u,l=e.data,c=e.errors,d=s.default.create(),f=o.default.create(t.dataID,n);d.set(t.dataID,f);var h=a.default.normalize(d,t,l,r,c);return(0,i.default)((0,i.default)({},h),{},{isFinal:!0===(null===(u=e.extensions)||void 0===u?void 0:u.is_final)})}},3970:(e,t,n)=>{"use strict";var r=n(8207).getInlineDataFragment,i=n(3276).FRAGMENTS_KEY,o=n(949);e.exports=function(e,t){var n,s=r(e);if(null==t)return t;"object"!==typeof t&&o(!1);var a=null===(n=t[i])||void 0===n?void 0:n[s.name];return null==a&&o(!1),a}},7859:(e,t,n)=>{"use strict";var r=n(4490),i=n(8207).getRequest,o=n(4485).createOperationDescriptor,s=n(3080).createReaderSelector;n(7600);e.exports=function(e,t){var n=i(t.subscription);if("subscription"!==n.params.operationKind)throw new Error("requestSubscription: Must use Subscription operation");var a=t.configs,u=t.onCompleted,l=t.onError,c=t.onNext,d=t.variables,f=t.cacheConfig,h=o(n,d,f),p=(a?r.convert(a,n,null,t.updater):t).updater;return{dispose:e.executeSubscription({operation:h,updater:p}).subscribe({next:function(t){if(null!=c){var n,r,i,o,a=h.fragment;if(Array.isArray(t))n=null===(r=t[0])||void 0===r||null===(i=r.extensions)||void 0===i?void 0:i.__relay_subscription_root_id;else n=null===(o=t.extensions)||void 0===o?void 0:o.__relay_subscription_root_id;"string"===typeof n&&(a=s(a.node,n,a.variables,a.owner));var u=e.lookup(a).data;c(u)}},error:l,complete:u}).unsubscribe}}},5452:e=>{"use strict";e.exports={ACTOR_CHANGE:"ActorChange",CONDITION:"Condition",CLIENT_COMPONENT:"ClientComponent",CLIENT_EDGE_TO_SERVER_OBJECT:"ClientEdgeToServerObject",CLIENT_EDGE_TO_CLIENT_OBJECT:"ClientEdgeToClientObject",CLIENT_EXTENSION:"ClientExtension",DEFER:"Defer",CONNECTION:"Connection",FRAGMENT:"Fragment",FRAGMENT_SPREAD:"FragmentSpread",INLINE_DATA_FRAGMENT_SPREAD:"InlineDataFragmentSpread",INLINE_DATA_FRAGMENT:"InlineDataFragment",INLINE_FRAGMENT:"InlineFragment",LINKED_FIELD:"LinkedField",LINKED_HANDLE:"LinkedHandle",LITERAL:"Literal",LIST_VALUE:"ListValue",LOCAL_ARGUMENT:"LocalArgument",MODULE_IMPORT:"ModuleImport",ALIASED_FRAGMENT_SPREAD:"AliasedFragmentSpread",ALIASED_INLINE_FRAGMENT_SPREAD:"AliasedInlineFragmentSpread",RELAY_RESOLVER:"RelayResolver",RELAY_LIVE_RESOLVER:"RelayLiveResolver",REQUIRED_FIELD:"RequiredField",OBJECT_VALUE:"ObjectValue",OPERATION:"Operation",REQUEST:"Request",ROOT_ARGUMENT:"RootArgument",SCALAR_FIELD:"ScalarField",SCALAR_HANDLE:"ScalarHandle",SPLIT_OPERATION:"SplitOperation",STREAM:"Stream",TYPE_DISCRIMINATOR:"TypeDiscriminator",UPDATABLE_QUERY:"UpdatableQuery",VARIABLE:"Variable"}},5265:e=>{"use strict";e.exports={DEFAULT_HANDLE_KEY:""}},8445:e=>{"use strict";function t(e,t,n){for(var r=arguments.length,i=new Array(r>3?r-3:0),o=3;o<r;o++)i[o-3]=arguments[o];var s=0,a=n.replace(/%s/g,(function(){return String(i[s++])})),u=new Error(a),l=Object.assign(u,{name:t,messageFormat:n,messageParams:i,type:e,taalOpcodes:[2,2]});if(void 0===l.stack)try{throw l}catch(c){}return l}e.exports={create:function(e,n){for(var r=arguments.length,i=new Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];return t.apply(void 0,["error",e,n].concat(i))},createWarning:function(e,n){for(var r=arguments.length,i=new Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];return t.apply(void 0,["warn",e,n].concat(i))}}},4910:e=>{"use strict";e.exports={ENABLE_CLIENT_EDGES:!1,ENABLE_VARIABLE_CONNECTION_KEY:!1,ENABLE_RELAY_RESOLVERS:!1,ENABLE_GETFRAGMENTIDENTIFIER_OPTIMIZATION:!1,ENABLE_FRIENDLY_QUERY_NAME_GQL_URL:!1,ENABLE_LOAD_QUERY_REQUEST_DEDUPING:!0,ENABLE_DO_NOT_WRAP_LIVE_QUERY:!1,ENABLE_NOTIFY_SUBSCRIPTION:!1,BATCH_ASYNC_MODULE_UPDATES_FN:null,ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT:!1,MAX_DATA_ID_LENGTH:null,STRING_INTERN_LEVEL:0,LOG_MISSING_RECORDS_IN_PROD:!1,ENABLE_LOOSE_SUBSCRIPTION_ATTRIBUTION:!1,ENABLE_OPERATION_TRACKER_OPTIMISTIC_UPDATES:!1,ENABLE_RELAY_OPERATION_TRACKER_SUSPENSE:!1,ENABLE_FIELD_ERROR_HANDLING:!1,ENABLE_FIELD_ERROR_HANDLING_THROW_BY_DEFAULT:!1,ENABLE_FIELD_ERROR_HANDLING_CATCH_DIRECTIVE:!1,ENABLE_SHALLOW_FREEZE_RESOLVER_VALUES:!0,ENABLE_STRICT_EQUAL_SELECTORS:!1}},4322:e=>{"use strict";var t={},n={stop:function(){}},r={profile:function(e,r){var i=t[e];if(i&&i.length>0){for(var o=[],s=i.length-1;s>=0;s--){var a=i[s](e,r);o.unshift(a)}return{stop:function(e){o.forEach((function(t){return t(e)}))}}}return n},attachProfileHandler:function(e,n){t.hasOwnProperty(e)||(t[e]=[]),t[e].push(n)},detachProfileHandler:function(e,n){t.hasOwnProperty(e)&&function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}(t[e],n)}};e.exports=r},2810:(e,t,n)=>{"use strict";var r=n(4994).default,i=r(n(883)),o=r(n(3693)),s=n(292),a=n(949),u=function(){function e(){var e=this;(0,o.default)(this,"_complete",!1),(0,o.default)(this,"_events",[]),(0,o.default)(this,"_sinks",new Set),(0,o.default)(this,"_subscription",[]),this._observable=s.create((function(t){e._sinks.add(t);for(var n=e._events,r=0;r<n.length&&!t.closed;r++){var i=n[r];switch(i.kind){case"complete":t.complete();break;case"error":t.error(i.error);break;case"next":t.next(i.data);break;default:i.kind,a(!1)}}return function(){e._sinks.delete(t)}}))}var t=e.prototype;return t.complete=function(){!0!==this._complete&&(this._complete=!0,this._events.push({kind:"complete"}),this._sinks.forEach((function(e){return e.complete()})))},t.error=function(e){!0!==this._complete&&(this._complete=!0,this._events.push({kind:"error",error:e}),this._sinks.forEach((function(t){return t.error(e)})))},t.next=function(e){!0!==this._complete&&(this._events.push({kind:"next",data:e}),this._sinks.forEach((function(t){return t.next(e)})))},t.subscribe=function(e){var t=this._observable.subscribe(e);return this._subscription.push(t),t},t.unsubscribe=function(){var e,t=(0,i.default)(this._subscription);try{for(t.s();!(e=t.n()).done;){e.value.unsubscribe()}}catch(n){t.e(n)}finally{t.f()}this._subscription=[]},t.getObserverCount=function(){return this._sinks.size},e}();e.exports=u},2606:e=>{"use strict";var t=new Map,n=1,r=function(){for(var e=new Set,t=0;t<10;++t)e.add(t.toString());return e}(),i="\t",o="\v";e.exports={intern:function(e,s){if(null==s||e.length<s)return function(e){return e[0]===i&&r.has(e[1])||e[0]===o?o+e:e}(e);var a=t.get(e);return null!=a||(a=i+n++,t.set(e,a)),a}}},4196:(e,t,n)=>{"use strict";var r=(0,n(4994).default)(n(2897)),i=n(3276),o=i.getModuleComponentKey,s=i.getModuleOperationKey;e.exports=function(e,t,n,i){var a=(0,r.default)({},i);return a[o(e)]=n,a[s(e)]=t,a}},3713:e=>{"use strict";e.exports=function e(t){return null!=(n=t)&&(Array.isArray(n)||"object"===typeof n&&n.constructor===Object)?(Object.freeze(t),Object.getOwnPropertyNames(t).forEach((function(n){var r=t[n];r&&"object"===typeof r&&!Object.isFrozen(r)&&e(r)})),t):t;var n}},462:e=>{"use strict";var t=1e5;e.exports=function(){return t++}},461:(e,t,n)=>{"use strict";var r=n(3080),i=r.getDataIDsFromFragment,o=r.getSelector,s=r.getVariablesFromFragment,a=n(7420),u=n(4910),l=n(6758),c=n(2606).intern;e.exports=function(e,t){var n=o(e,t),r=null==n?"null":"SingularReaderSelector"===n.kind?n.owner.identifier:"["+n.selectors.map((function(e){return e.owner.identifier})).join(",")+"]",d=s(e,t),f=i(e,t);if(u.ENABLE_GETFRAGMENTIDENTIFIER_OPTIMIZATION){var h="undefined"===typeof f?"missing":null==f?"null":Array.isArray(f)?"["+f.join(",")+"]":f;return h=u.STRING_INTERN_LEVEL<=1?h:c(h,u.MAX_DATA_ID_LENGTH),r+"/"+e.name+"/"+(null==d||a(d)?"{}":JSON.stringify(l(d)))+"/"+h}var p,g=null!==(p=JSON.stringify(f))&&void 0!==p?p:"missing";return g=u.STRING_INTERN_LEVEL<=1?g:c(g,u.MAX_DATA_ID_LENGTH),r+"/"+e.name+"/"+JSON.stringify(l(d))+"/"+g}},1277:(e,t,n)=>{"use strict";var r=n(5452),i=r.REQUEST;r.SPLIT_OPERATION;e.exports=function(e){return e.kind===i?e.operation:e}},3183:(e,t,n)=>{"use strict";var r=n(2154),i=n(949);e.exports=function(e,t){var n,o,s=r(e,t),a=s.refetchableRequest,u=s.refetchMetadata,l=u.connection;null==l&&i(!1);var c=l.path,d=(null!==(n=null===(o=e.metadata)||void 0===o?void 0:o.connection)&&void 0!==n?n:[])[0];null==d&&i(!1);var f=u.identifierInfo;return null!=(null===f||void 0===f?void 0:f.identifierField)&&"string"!==typeof f.identifierField&&i(!1),{connectionPathInFragmentData:c,identifierField:null===f||void 0===f?void 0:f.identifierField,paginationRequest:a,paginationMetadata:l,stream:!0===d.stream}}},8893:(e,t,n)=>{"use strict";var r=n(4994).default,i=r(n(3693)),o=r(n(2897)),s=n(949);n(7600);e.exports=function(e,t,n,r,a,u){var l,c=u.backward,d=u.forward;if("backward"===e){var f;(null==c||null==c.count||null==c.cursor)&&s(!1);var h=(0,o.default)((0,o.default)((0,o.default)({},r),a),{},(f={},(0,i.default)(f,c.cursor,n),(0,i.default)(f,c.count,t),f));return d&&d.cursor&&(h[d.cursor]=null),d&&d.count&&(h[d.count]=null),h}(null==d||null==d.count||null==d.cursor)&&s(!1);var p=(0,o.default)((0,o.default)((0,o.default)({},r),a),{},(l={},(0,i.default)(l,d.cursor,n),(0,i.default)(l,d.count,t),l));return c&&c.cursor&&(p[c.cursor]=null),c&&c.count&&(p[c.count]=null),p}},9982:(e,t,n)=>{"use strict";var r=n(7769).getPromiseForActiveRequest;e.exports=function(e,t,n){var i,o,s=[],a=r(e,n);if(null!=a)s=[n];else{var u,l,c=e.getOperationTracker().getPendingOperationsAffectingOwner(n);s=null!==(u=null===c||void 0===c?void 0:c.pendingOperations)&&void 0!==u?u:[],a=null!==(l=null===c||void 0===c?void 0:c.promise)&&void 0!==l?l:null}if(!a)return null;var d=null!==(i=null===(o=s)||void 0===o?void 0:o.map((function(e){return e.node.params.name})).join(","))&&void 0!==i?i:null;null!=d&&0!==d.length||(d="Unknown pending operation");var f=t.name,h=d===f?"Relay(".concat(d,")"):"Relay(".concat(d,":").concat(f,")");return a.displayName=h,e.__log({name:"pendingoperation.found",fragment:t,fragmentOwner:n,pendingOperations:s}),{promise:a,pendingOperations:s}}},2154:(e,t,n)=>{"use strict";var r=n(949);e.exports=function(e,t){var n,i;!0===(null===(n=e.metadata)||void 0===n?void 0:n.plural)&&r(!1);var o=null===(i=e.metadata)||void 0===i?void 0:i.refetch;null==o&&r(!1);var s=o.operation.default?o.operation.default:o.operation,a=o.fragmentPathInResult;"string"===typeof s&&r(!1);var u=o.identifierInfo;return null!=u&&(null!=u.identifierField&&"string"!==typeof u.identifierField&&r(!1),null!=u.identifierQueryVariableName&&"string"!==typeof u.identifierQueryVariableName&&r(!1)),{fragmentRefPathInResponse:a,identifierInfo:u,refetchableRequest:s,refetchMetadata:o}}},1916:(e,t,n)=>{"use strict";var r=n(5265).DEFAULT_HANDLE_KEY,i=n(949);e.exports=function(e,t,n){return t&&t!==r?"__".concat(t,"_").concat(e):(null==n&&i(!1),"__".concat(n,"_").concat(e))}},2102:(e,t,n)=>{"use strict";var r=n(6758),i=n(949);e.exports=function(e,t){var n=null!=e.cacheID?e.cacheID:e.id;return null==n&&i(!1),n+JSON.stringify(r(t))}},7491:(e,t,n)=>{"use strict";var r=(0,n(4994).default)(n(883)),i=n(949);e.exports=function(e,t){var n,o=e,s=(0,r.default)(t);try{for(s.s();!(n=s.n()).done;){var a=n.value;if(null==o)return null;"number"===typeof a?(Array.isArray(o)||i(!1),o=o[a]):(("object"!==typeof o||Array.isArray(o))&&i(!1),o=o[a])}}catch(u){s.e(u)}finally{s.f()}return o}},3309:(e,t,n)=>{"use strict";var r=n(4994).default,i=r(n(883)),o=n(5882),s=r(n(4910));e.exports=function(e,t,n,r){var a,u=(0,i.default)(n);try{for(u.s();!(a=u.n()).done;){var l=a.value;e.relayFieldLogger({kind:"relay_resolver.error",owner:l.field.owner,fieldPath:l.field.path,error:l.error})}}catch(_){u.e(_)}finally{u.f()}if(s.default.ENABLE_FIELD_ERROR_HANDLING&&null!=r){if(null!=r){var c,d=(0,i.default)(r);try{for(d.s();!(c=d.n()).done;){var f=c.value,h=f.path,p=f.owner,g=f.error;e.relayFieldLogger({kind:"relay_field_payload.error",owner:p,fieldPath:h,error:g})}}catch(_){d.e(_)}finally{d.f()}}if(s.default.ENABLE_FIELD_ERROR_HANDLING_THROW_BY_DEFAULT)throw new o.RelayFieldError("Relay: Unexpected response payload - this object includes an errors property in which you can access the underlying errors",r.map((function(e){e.path,e.owner;return e.error})))}if(null!=t)switch(t.action){case"THROW":var m=t.field,v=m.path,y=m.owner;throw e.relayFieldLogger({kind:"missing_field.throw",owner:y,fieldPath:v}),new Error("Relay: Missing @required value at path '".concat(v,"' in '").concat(y,"'."));case"LOG":t.fields.forEach((function(t){var n=t.path,r=t.owner;e.relayFieldLogger({kind:"missing_field.log",owner:r,fieldPath:n})}));break;default:t.action}}},7420:e=>{"use strict";var t=Object.prototype.hasOwnProperty;e.exports=function(e){for(var n in e)if(t.call(e,n))return!1;return!0}},1791:e=>{"use strict";e.exports=function(e){return!!e&&"function"===typeof e.then}},2191:e=>{"use strict";e.exports=function(e,t){return e===t&&(null===e||"object"!==typeof e)}},6808:e=>{"use strict";function t(e,n,r){if(e===n||"object"!==typeof e||!e||e.constructor!==Object&&!Array.isArray(e)||"object"!==typeof n||!n||n.constructor!==Object&&!Array.isArray(n))return n;var i=!1,o=Array.isArray(e)?e:null,s=Array.isArray(n)?n:null;if(o&&s){var a=r&&!Object.isFrozen(s);i=s.reduce((function(e,n,r){var i=t(o[r],n,a);return i!==s[r]&&a&&(s[r]=i),e&&i===o[r]}),!0)&&o.length===s.length}else if(!o&&!s){var u=e,l=n,c=Object.keys(u),d=Object.keys(l),f=r&&!Object.isFrozen(l);i=d.reduce((function(e,n){var r=t(u[n],l[n],f);return r!==l[n]&&f&&(l[n]=r),e&&r===u[n]}),!0)&&c.length===d.length}return i?e:n}e.exports=function(e,n){return t(e,n,!0)}},7530:(e,t,n)=>{"use strict";e.exports=function(e){var t="undefined"!==typeof n.g?n.g:"undefined"!==typeof window?window:void 0,r=t&&t.__RELAY_DEVTOOLS_HOOK__;r&&r.registerEnvironment(e)}},7177:e=>{"use strict";var t=Promise.resolve();function n(e){setTimeout((function(){throw e}),0)}e.exports=function(e){t.then(e).catch(n)}},45:e=>{"use strict";e.exports=function(e){"object"!==typeof e||null==e||!Array.isArray(e)&&e.constructor!==Object||Object.freeze(e)}},6758:e=>{"use strict";e.exports=function e(t){if(!t||"object"!==typeof t)return t;if(Array.isArray(t))return t.map(e);for(var n=Object.keys(t).sort(),r={},i=0;i<n.length;i++)r[n[i]]=e(t[n[i]]);return r}},2512:e=>{"use strict";var t,n,r="undefined"!==typeof window&&"function"===typeof(null===(t=window)||void 0===t||null===(n=t.performance)||void 0===n?void 0:n.now);function i(){return r?window.performance.now():Date.now()}e.exports=function(e){var t=i(),n=e();return[i()-t,n]}},8542:(e,t,n)=>{"use strict";n(6360),n(7600);var r="function"===typeof WeakMap?new WeakMap:new Map;function i(e,t){if(null!=t){var n={};return Object.assign(n,e),Object.keys(t).forEach((function(e){var i=t[e].get,o=i();if(r.has(i)){var s=r.get(i);0,n[e]=s}else r.set(i,o),n[e]=o})),n}return e}i.tests_only_resetDebugCache=void 0,e.exports=i},6047:(e,t,n)=>{var r=n(3325),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function s(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=s),s.prototype=Object.create(i.prototype),o(i,s),s.from=function(e,t,n){if("number"===typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},s.alloc=function(e,t,n){if("number"!==typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"===typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},s.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i(e)},s.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},923:(e,t,n)=>{"use strict";var r=n(6047).Buffer,i=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!==typeof t&&(r.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=l,t=4;break;case"utf8":this.fillLast=a,t=4;break;case"base64":this.text=c,this.end=d,t=3;break;default:return this.write=f,void(this.end=h)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function s(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function a(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!==(192&t[0]))return e.lastNeed=0,"\ufffd";if(e.lastNeed>1&&t.length>1){if(128!==(192&t[1]))return e.lastNeed=1,"\ufffd";if(e.lastNeed>2&&t.length>2&&128!==(192&t[2]))return e.lastNeed=2,"\ufffd"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2===0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function c(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function f(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}t.I=o,o.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},o.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"\ufffd":t},o.prototype.text=function(e,t){var n=function(e,t,n){var r=t.length-1;if(r<n)return 0;var i=s(t[r]);if(i>=0)return i>0&&(e.lastNeed=i-1),i;if(--r<n||-2===i)return 0;if(i=s(t[r]),i>=0)return i>0&&(e.lastNeed=i-2),i;if(--r<n||-2===i)return 0;if(i=s(t[r]),i>=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},1421:(e,t,n)=>{function r(e){try{if(!n.g.localStorage)return!1}catch(r){return!1}var t=n.g.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}e.exports=function(e,t){if(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}}},477:()=>{},5340:()=>{},9838:()=>{},79:e=>{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports},5901:(e,t,n)=>{var r=n(79);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.__esModule=!0,e.exports.default=e.exports},9646:(e,t,n)=>{var r=n(5636),i=n(7550);e.exports=function(e,t,n){if(i())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,t);var s=new(e.bind.apply(e,o));return n&&r(s,n.prototype),s},e.exports.__esModule=!0,e.exports.default=e.exports},883:(e,t,n)=>{var r=n(7122);e.exports=function(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=r(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,s=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw s}}}},e.exports.__esModule=!0,e.exports.default=e.exports},3693:(e,t,n)=>{var r=n(7736);e.exports=function(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},3072:e=>{function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},6221:(e,t,n)=>{var r=n(5636);e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},4994:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},691:e=>{e.exports=function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"===typeof e}},e.exports.__esModule=!0,e.exports.default=e.exports},7550:e=>{function t(){try{var n=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(n){}return(e.exports=t=function(){return!!n},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},9291:e=>{e.exports=function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},1869:e=>{e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},2897:(e,t,n)=>{var r=n(3693);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e},e.exports.__esModule=!0,e.exports.default=e.exports},4893:e=>{e.exports=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n},e.exports.__esModule=!0,e.exports.default=e.exports},5636:e=>{function t(n,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},1132:(e,t,n)=>{var r=n(5901),i=n(9291),o=n(7122),s=n(1869);e.exports=function(e){return r(e)||i(e)||o(e)||s()},e.exports.__esModule=!0,e.exports.default=e.exports},9045:(e,t,n)=>{var r=n(3738).default;e.exports=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},7736:(e,t,n)=>{var r=n(3738).default,i=n(9045);e.exports=function(e){var t=i(e,"string");return"symbol"==r(t)?t:t+""},e.exports.__esModule=!0,e.exports.default=e.exports},3738:e=>{function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},7122:(e,t,n)=>{var r=n(79);e.exports=function(e,t){if(e){if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},1837:(e,t,n)=>{var r=n(3072),i=n(5636),o=n(691),s=n(9646);function a(t){var n="function"===typeof Map?new Map:void 0;return e.exports=a=function(e){if(null===e||!o(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return s(e,arguments,r(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),i(t,e)},e.exports.__esModule=!0,e.exports.default=e.exports,a(t)}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},2870:(e,t,n)=>{"use strict";var r=n(8057),i=n(1763),o=TypeError;e.exports=function(e){if(r(e))return e;throw new o(i(e)+" is not a function")}},992:(e,t,n)=>{"use strict";var r=n(8953),i=n(1763),o=TypeError;e.exports=function(e){if(r(e))return e;throw new o(i(e)+" is not a constructor")}},1830:(e,t,n)=>{"use strict";var r=n(7841),i=String,o=TypeError;e.exports=function(e){if(r(e))return e;throw new o("Can't set "+i(e)+" as a prototype")}},3148:(e,t,n)=>{"use strict";var r=n(5278).has;e.exports=function(e){return r(e),e}},6705:(e,t,n)=>{"use strict";var r=n(9831),i=n(4876),o=n(7149).f,s=r("unscopables"),a=Array.prototype;void 0===a[s]&&o(a,s,{configurable:!0,value:i(null)}),e.exports=function(e){a[s][e]=!0}},1369:(e,t,n)=>{"use strict";var r=n(2923).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},9571:(e,t,n)=>{"use strict";var r=n(1781),i=TypeError;e.exports=function(e,t){if(r(t,e))return e;throw new i("Incorrect invocation")}},6635:(e,t,n)=>{"use strict";var r=n(9310),i=String,o=TypeError;e.exports=function(e){if(r(e))return e;throw new o(i(e)+" is not an object")}},4944:(e,t,n)=>{"use strict";var r=n(9476),i=n(9745),o=n(1889),s=n(9016),a=n(7605),u=n(8953),l=n(4330),c=n(9076),d=n(149),f=n(2207),h=Array;e.exports=function(e){var t=o(e),n=u(this),p=arguments.length,g=p>1?arguments[1]:void 0,m=void 0!==g;m&&(g=r(g,p>2?arguments[2]:void 0));var v,y,_,E,b,D,N=f(t),T=0;if(!N||this===h&&a(N))for(v=l(t),y=n?new this(v):h(v);v>T;T++)D=m?g(t[T],T):t[T],c(y,T,D);else for(y=n?new this:[],b=(E=d(t,N)).next;!(_=i(b,E)).done;T++)D=m?s(E,g,[_.value,T],!0):_.value,c(y,T,D);return y.length=T,y}},8709:(e,t,n)=>{"use strict";var r=n(3089),i=n(4118),o=n(4330),s=function(e){return function(t,n,s){var a=r(t),u=o(a);if(0===u)return!e&&-1;var l,c=i(s,u);if(e&&n!==n){for(;u>c;)if((l=a[c++])!==l)return!0}else for(;u>c;c++)if((e||c in a)&&a[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},8107:(e,t,n)=>{"use strict";var r=n(6040),i=n(5556),o=TypeError,s=Object.getOwnPropertyDescriptor,a=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=a?function(e,t){if(i(e)&&!s(e,"length").writable)throw new o("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},8692:(e,t,n)=>{"use strict";var r=n(4796);e.exports=r([].slice)},6244:(e,t,n)=>{"use strict";var r=n(8692),i=Math.floor,o=function(e,t){var n=e.length;if(n<8)for(var s,a,u=1;u<n;){for(a=u,s=e[u];a&&t(e[a-1],s)>0;)e[a]=e[--a];a!==u++&&(e[a]=s)}else for(var l=i(n/2),c=o(r(e,0,l),t),d=o(r(e,l),t),f=c.length,h=d.length,p=0,g=0;p<f||g<h;)e[p+g]=p<f&&g<h?t(c[p],d[g])<=0?c[p++]:d[g++]:p<f?c[p++]:d[g++];return e};e.exports=o},9016:(e,t,n)=>{"use strict";var r=n(6635),i=n(3607);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(s){i(e,"throw",s)}}},5332:(e,t,n)=>{"use strict";var r=n(4796),i=r({}.toString),o=r("".slice);e.exports=function(e){return o(i(e),8,-1)}},4959:(e,t,n)=>{"use strict";var r=n(4272),i=n(8057),o=n(5332),s=n(9831)("toStringTag"),a=Object,u="Arguments"===o(function(){return arguments}());e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=a(e),s))?n:u?o(t):"Object"===(r=o(t))&&i(t.callee)?"Arguments":r}},9712:(e,t,n)=>{"use strict";var r=n(421),i=n(3859),o=n(7431),s=n(7149);e.exports=function(e,t,n){for(var a=i(t),u=s.f,l=o.f,c=0;c<a.length;c++){var d=a[c];r(e,d)||n&&r(n,d)||u(e,d,l(t,d))}}},4751:(e,t,n)=>{"use strict";var r=n(251);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},8597:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},1335:(e,t,n)=>{"use strict";var r=n(6040),i=n(7149),o=n(4136);e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},4136:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},9076:(e,t,n)=>{"use strict";var r=n(6040),i=n(7149),o=n(4136);e.exports=function(e,t,n){r?i.f(e,t,o(0,n)):e[t]=n}},5966:(e,t,n)=>{"use strict";var r=n(1463),i=n(7149);e.exports=function(e,t,n){return n.get&&r(n.get,t,{getter:!0}),n.set&&r(n.set,t,{setter:!0}),i.f(e,t,n)}},4316:(e,t,n)=>{"use strict";var r=n(8057),i=n(7149),o=n(1463),s=n(7709);e.exports=function(e,t,n,a){a||(a={});var u=a.enumerable,l=void 0!==a.name?a.name:t;if(r(n)&&o(n,l,a),a.global)u?e[t]=n:s(t,n);else{try{a.unsafe?e[t]&&(u=!0):delete e[t]}catch(c){}u?e[t]=n:i.f(e,t,{value:n,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}},9107:(e,t,n)=>{"use strict";var r=n(4316);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},7709:(e,t,n)=>{"use strict";var r=n(3311),i=Object.defineProperty;e.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},6040:(e,t,n)=>{"use strict";var r=n(251);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},3355:(e,t,n)=>{"use strict";var r=n(3311),i=n(9310),o=r.document,s=i(o)&&i(o.createElement);e.exports=function(e){return s?o.createElement(e):{}}},3489:e=>{"use strict";var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},7566:e=>{"use strict";e.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},996:e=>{"use strict";e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8396:(e,t,n)=>{"use strict";var r=n(3355)("span").classList,i=r&&r.constructor&&r.constructor.prototype;e.exports=i===Object.prototype?void 0:i},788:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},1976:(e,t,n)=>{"use strict";var r,i,o=n(3311),s=n(788),a=o.process,u=o.Deno,l=a&&a.versions||u&&u.version,c=l&&l.v8;c&&(i=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&s&&(!(r=s.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/))&&(i=+r[1]),e.exports=i},2011:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3205:(e,t,n)=>{"use strict";var r=n(4796),i=Error,o=r("".replace),s=String(new i("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,u=a.test(s);e.exports=function(e,t){if(u&&"string"==typeof e&&!i.prepareStackTrace)for(;t--;)e=o(e,a,"");return e}},7503:(e,t,n)=>{"use strict";var r=n(1335),i=n(3205),o=n(3159),s=Error.captureStackTrace;e.exports=function(e,t,n,a){o&&(s?s(e,t):r(e,"stack",i(n,a)))}},3159:(e,t,n)=>{"use strict";var r=n(251),i=n(4136);e.exports=!r((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",i(1,7)),7!==e.stack)}))},4146:(e,t,n)=>{"use strict";var r=n(3311),i=n(7431).f,o=n(1335),s=n(4316),a=n(7709),u=n(9712),l=n(6016);e.exports=function(e,t){var n,c,d,f,h,p=e.target,g=e.global,m=e.stat;if(n=g?r:m?r[p]||a(p,{}):r[p]&&r[p].prototype)for(c in t){if(f=t[c],d=e.dontCallGetSet?(h=i(n,c))&&h.value:n[c],!l(g?c:p+(m?".":"#")+c,e.forced)&&void 0!==d){if(typeof f==typeof d)continue;u(f,d)}(e.sham||d&&d.sham)&&o(f,"sham",!0),s(n,c,f,e)}}},251:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(t){return!0}}},4056:(e,t,n)=>{"use strict";n(9699);var r=n(9745),i=n(4316),o=n(9191),s=n(251),a=n(9831),u=n(1335),l=a("species"),c=RegExp.prototype;e.exports=function(e,t,n,d){var f=a(e),h=!s((function(){var t={};return t[f]=function(){return 7},7!==""[e](t)})),p=h&&!s((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[f]=/./[f]),n.exec=function(){return t=!0,null},n[f](""),!t}));if(!h||!p||n){var g=/./[f],m=t(f,""[e],(function(e,t,n,i,s){var a=t.exec;return a===o||a===c.exec?h&&!s?{done:!0,value:r(g,t,n,i)}:{done:!0,value:r(e,n,t,i)}:{done:!1}}));i(String.prototype,e,m[0]),i(c,f,m[1])}d&&u(c[f],"sham",!0)}},7037:(e,t,n)=>{"use strict";var r=n(5116),i=Function.prototype,o=i.apply,s=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?s.bind(o):function(){return s.apply(o,arguments)})},9476:(e,t,n)=>{"use strict";var r=n(1e3),i=n(2870),o=n(5116),s=r(r.bind);e.exports=function(e,t){return i(e),void 0===t?e:o?s(e,t):function(){return e.apply(t,arguments)}}},5116:(e,t,n)=>{"use strict";var r=n(251);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},9745:(e,t,n)=>{"use strict";var r=n(5116),i=Function.prototype.call;e.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},1706:(e,t,n)=>{"use strict";var r=n(6040),i=n(421),o=Function.prototype,s=r&&Object.getOwnPropertyDescriptor,a=i(o,"name"),u=a&&"something"===function(){}.name,l=a&&(!r||r&&s(o,"name").configurable);e.exports={EXISTS:a,PROPER:u,CONFIGURABLE:l}},8398:(e,t,n)=>{"use strict";var r=n(4796),i=n(2870);e.exports=function(e,t,n){try{return r(i(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(o){}}},1e3:(e,t,n)=>{"use strict";var r=n(5332),i=n(4796);e.exports=function(e){if("Function"===r(e))return i(e)}},4796:(e,t,n)=>{"use strict";var r=n(5116),i=Function.prototype,o=i.call,s=r&&i.bind.bind(o,o);e.exports=r?s:function(e){return function(){return o.apply(e,arguments)}}},6643:(e,t,n)=>{"use strict";var r=n(3311),i=n(8057);e.exports=function(e,t){return arguments.length<2?(n=r[e],i(n)?n:void 0):r[e]&&r[e][t];var n}},9779:e=>{"use strict";e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},2207:(e,t,n)=>{"use strict";var r=n(4959),i=n(1146),o=n(3529),s=n(8217),a=n(9831)("iterator");e.exports=function(e){if(!o(e))return i(e,a)||i(e,"@@iterator")||s[r(e)]}},149:(e,t,n)=>{"use strict";var r=n(9745),i=n(2870),o=n(6635),s=n(1763),a=n(2207),u=TypeError;e.exports=function(e,t){var n=arguments.length<2?a(e):t;if(i(n))return o(r(n,e));throw new u(s(e)+" is not iterable")}},1146:(e,t,n)=>{"use strict";var r=n(2870),i=n(3529);e.exports=function(e,t){var n=e[t];return i(n)?void 0:r(n)}},9617:(e,t,n)=>{"use strict";var r=n(2870),i=n(6635),o=n(9745),s=n(2599),a=n(9779),u="Invalid size",l=RangeError,c=TypeError,d=Math.max,f=function(e,t){this.set=e,this.size=d(t,0),this.has=r(e.has),this.keys=r(e.keys)};f.prototype={getIterator:function(){return a(i(o(this.keys,this.set)))},includes:function(e){return o(this.has,this.set,e)}},e.exports=function(e){i(e);var t=+e.size;if(t!==t)throw new c(u);var n=s(t);if(n<0)throw new l(u);return new f(e,n)}},2554:(e,t,n)=>{"use strict";var r=n(4796),i=n(1889),o=Math.floor,s=r("".charAt),a=r("".replace),u=r("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,d,f){var h=n+e.length,p=r.length,g=c;return void 0!==d&&(d=i(d),g=l),a(f,g,(function(i,a){var l;switch(s(a,0)){case"$":return"$";case"&":return e;case"`":return u(t,0,n);case"'":return u(t,h);case"<":l=d[u(a,1,-1)];break;default:var c=+a;if(0===c)return i;if(c>p){var f=o(c/10);return 0===f?i:f<=p?void 0===r[f-1]?s(a,1):r[f-1]+s(a,1):i}l=r[c-1]}return void 0===l?"":l}))}},3311:function(e,t,n){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},421:(e,t,n)=>{"use strict";var r=n(4796),i=n(1889),o=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},4801:e=>{"use strict";e.exports={}},3641:(e,t,n)=>{"use strict";var r=n(6643);e.exports=r("document","documentElement")},2889:(e,t,n)=>{"use strict";var r=n(6040),i=n(251),o=n(3355);e.exports=!r&&!i((function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},8635:(e,t,n)=>{"use strict";var r=n(4796),i=n(251),o=n(5332),s=Object,a=r("".split);e.exports=i((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"===o(e)?a(e,""):s(e)}:s},2283:(e,t,n)=>{"use strict";var r=n(8057),i=n(9310),o=n(8763);e.exports=function(e,t,n){var s,a;return o&&r(s=t.constructor)&&s!==n&&i(a=s.prototype)&&a!==n.prototype&&o(e,a),e}},2774:(e,t,n)=>{"use strict";var r=n(4796),i=n(8057),o=n(3873),s=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return s(e)}),e.exports=o.inspectSource},5372:(e,t,n)=>{"use strict";var r=n(9310),i=n(1335);e.exports=function(e,t){r(t)&&"cause"in t&&i(e,"cause",t.cause)}},5897:(e,t,n)=>{"use strict";var r,i,o,s=n(4122),a=n(3311),u=n(9310),l=n(1335),c=n(421),d=n(3873),f=n(3051),h=n(4801),p="Object already initialized",g=a.TypeError,m=a.WeakMap;if(s||d.state){var v=d.state||(d.state=new m);v.get=v.get,v.has=v.has,v.set=v.set,r=function(e,t){if(v.has(e))throw new g(p);return t.facade=e,v.set(e,t),t},i=function(e){return v.get(e)||{}},o=function(e){return v.has(e)}}else{var y=f("state");h[y]=!0,r=function(e,t){if(c(e,y))throw new g(p);return t.facade=e,l(e,y,t),t},i=function(e){return c(e,y)?e[y]:{}},o=function(e){return c(e,y)}}e.exports={set:r,get:i,has:o,enforce:function(e){return o(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!u(t)||(n=i(t)).type!==e)throw new g("Incompatible receiver, "+e+" required");return n}}}},7605:(e,t,n)=>{"use strict";var r=n(9831),i=n(8217),o=r("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||s[o]===e)}},5556:(e,t,n)=>{"use strict";var r=n(5332);e.exports=Array.isArray||function(e){return"Array"===r(e)}},8057:e=>{"use strict";var t="object"==typeof document&&document.all;e.exports="undefined"==typeof t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},8953:(e,t,n)=>{"use strict";var r=n(4796),i=n(251),o=n(8057),s=n(4959),a=n(6643),u=n(2774),l=function(){},c=a("Reflect","construct"),d=/^\s*(?:class|function)\b/,f=r(d.exec),h=!d.test(l),p=function(e){if(!o(e))return!1;try{return c(l,[],e),!0}catch(t){return!1}},g=function(e){if(!o(e))return!1;switch(s(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!f(d,u(e))}catch(t){return!0}};g.sham=!0,e.exports=!c||i((function(){var e;return p(p.call)||!p(Object)||!p((function(){e=!0}))||e}))?g:p},6016:(e,t,n)=>{"use strict";var r=n(251),i=n(8057),o=/#|\.prototype\./,s=function(e,t){var n=u[a(e)];return n===c||n!==l&&(i(t)?r(t):!!t)},a=s.normalize=function(e){return String(e).replace(o,".").toLowerCase()},u=s.data={},l=s.NATIVE="N",c=s.POLYFILL="P";e.exports=s},3529:e=>{"use strict";e.exports=function(e){return null===e||void 0===e}},9310:(e,t,n)=>{"use strict";var r=n(8057);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},7841:(e,t,n)=>{"use strict";var r=n(9310);e.exports=function(e){return r(e)||null===e}},255:e=>{"use strict";e.exports=!1},8400:(e,t,n)=>{"use strict";var r=n(9310),i=n(5332),o=n(9831)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"===i(e))}},2097:(e,t,n)=>{"use strict";var r=n(6643),i=n(8057),o=n(1781),s=n(1084),a=Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return i(t)&&o(t.prototype,a(e))}},319:(e,t,n)=>{"use strict";var r=n(9745);e.exports=function(e,t,n){for(var i,o,s=n?e:e.iterator,a=e.next;!(i=r(a,s)).done;)if(void 0!==(o=t(i.value)))return o}},3607:(e,t,n)=>{"use strict";var r=n(9745),i=n(6635),o=n(1146);e.exports=function(e,t,n){var s,a;i(e);try{if(!(s=o(e,"return"))){if("throw"===t)throw n;return n}s=r(s,e)}catch(u){a=!0,s=u}if("throw"===t)throw n;if(a)throw s;return i(s),n}},1422:(e,t,n)=>{"use strict";var r=n(5125).IteratorPrototype,i=n(4876),o=n(4136),s=n(7275),a=n(8217),u=function(){return this};e.exports=function(e,t,n,l){var c=t+" Iterator";return e.prototype=i(r,{next:o(+!l,n)}),s(e,c,!1,!0),a[c]=u,e}},8220:(e,t,n)=>{"use strict";var r=n(4146),i=n(9745),o=n(255),s=n(1706),a=n(8057),u=n(1422),l=n(5023),c=n(8763),d=n(7275),f=n(1335),h=n(4316),p=n(9831),g=n(8217),m=n(5125),v=s.PROPER,y=s.CONFIGURABLE,_=m.IteratorPrototype,E=m.BUGGY_SAFARI_ITERATORS,b=p("iterator"),D="keys",N="values",T="entries",S=function(){return this};e.exports=function(e,t,n,s,p,m,I){u(n,t,s);var w,A,R,C=function(e){if(e===p&&x)return x;if(!E&&e&&e in L)return L[e];switch(e){case D:case N:case T:return function(){return new n(this,e)}}return function(){return new n(this)}},O=t+" Iterator",F=!1,L=e.prototype,k=L[b]||L["@@iterator"]||p&&L[p],x=!E&&k||C(p),P="Array"===t&&L.entries||k;if(P&&(w=l(P.call(new e)))!==Object.prototype&&w.next&&(o||l(w)===_||(c?c(w,_):a(w[b])||h(w,b,S)),d(w,O,!0,!0),o&&(g[O]=S)),v&&p===N&&k&&k.name!==N&&(!o&&y?f(L,"name",N):(F=!0,x=function(){return i(k,this)})),p)if(A={values:C(N),keys:m?x:C(D),entries:C(T)},I)for(R in A)(E||F||!(R in L))&&h(L,R,A[R]);else r({target:t,proto:!0,forced:E||F},A);return o&&!I||L[b]===x||h(L,b,x,{name:p}),g[t]=x,A}},5125:(e,t,n)=>{"use strict";var r,i,o,s=n(251),a=n(8057),u=n(9310),l=n(4876),c=n(5023),d=n(4316),f=n(9831),h=n(255),p=f("iterator"),g=!1;[].keys&&("next"in(o=[].keys())?(i=c(c(o)))!==Object.prototype&&(r=i):g=!0),!u(r)||s((function(){var e={};return r[p].call(e)!==e}))?r={}:h&&(r=l(r)),a(r[p])||d(r,p,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:g}},8217:e=>{"use strict";e.exports={}},4330:(e,t,n)=>{"use strict";var r=n(7834);e.exports=function(e){return r(e.length)}},1463:(e,t,n)=>{"use strict";var r=n(4796),i=n(251),o=n(8057),s=n(421),a=n(6040),u=n(1706).CONFIGURABLE,l=n(2774),c=n(5897),d=c.enforce,f=c.get,h=String,p=Object.defineProperty,g=r("".slice),m=r("".replace),v=r([].join),y=a&&!i((function(){return 8!==p((function(){}),"length",{value:8}).length})),_=String(String).split("String"),E=e.exports=function(e,t,n){"Symbol("===g(h(t),0,7)&&(t="["+m(h(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!s(e,"name")||u&&e.name!==t)&&(a?p(e,"name",{value:t,configurable:!0}):e.name=t),y&&n&&s(n,"arity")&&e.length!==n.arity&&p(e,"length",{value:n.arity});try{n&&s(n,"constructor")&&n.constructor?a&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(i){}var r=d(e);return s(r,"source")||(r.source=v(_,"string"==typeof t?t:"")),e};Function.prototype.toString=E((function(){return o(this)&&f(this).source||l(this)}),"toString")},1113:e=>{"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},3487:(e,t,n)=>{"use strict";var r=n(2870),i=TypeError,o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw new i("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},5303:(e,t,n)=>{"use strict";var r=n(715);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},5313:(e,t,n)=>{"use strict";var r=n(6040),i=n(4796),o=n(9745),s=n(251),a=n(3636),u=n(889),l=n(5073),c=n(1889),d=n(8635),f=Object.assign,h=Object.defineProperty,p=i([].concat);e.exports=!f||s((function(){if(r&&1!==f({b:1},f(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol("assign detection"),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!==f({},e)[n]||a(f({},t)).join("")!==i}))?function(e,t){for(var n=c(e),i=arguments.length,s=1,f=u.f,h=l.f;i>s;)for(var g,m=d(arguments[s++]),v=f?p(a(m),f(m)):a(m),y=v.length,_=0;y>_;)g=v[_++],r&&!o(h,m,g)||(n[g]=m[g]);return n}:f},4876:(e,t,n)=>{"use strict";var r,i=n(6635),o=n(8133),s=n(2011),a=n(4801),u=n(3641),l=n(3355),c=n(3051),d="prototype",f="script",h=c("IE_PROTO"),p=function(){},g=function(e){return"<"+f+">"+e+"</"+f+">"},m=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}v="undefined"!=typeof document?document.domain&&r?m(r):function(){var e,t=l("iframe"),n="java"+f+":";return t.style.display="none",u.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(g("document.F=Object")),e.close(),e.F}():m(r);for(var e=s.length;e--;)delete v[d][s[e]];return v()};a[h]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(p[d]=i(e),n=new p,p[d]=null,n[h]=e):n=v(),void 0===t?n:o.f(n,t)}},8133:(e,t,n)=>{"use strict";var r=n(6040),i=n(3626),o=n(7149),s=n(6635),a=n(3089),u=n(3636);t.f=r&&!i?Object.defineProperties:function(e,t){s(e);for(var n,r=a(t),i=u(t),l=i.length,c=0;l>c;)o.f(e,n=i[c++],r[n]);return e}},7149:(e,t,n)=>{"use strict";var r=n(6040),i=n(2889),o=n(3626),s=n(6635),a=n(5829),u=TypeError,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,d="enumerable",f="configurable",h="writable";t.f=r?o?function(e,t,n){if(s(e),t=a(t),s(n),"function"===typeof e&&"prototype"===t&&"value"in n&&h in n&&!n[h]){var r=c(e,t);r&&r[h]&&(e[t]=n.value,n={configurable:f in n?n[f]:r[f],enumerable:d in n?n[d]:r[d],writable:!1})}return l(e,t,n)}:l:function(e,t,n){if(s(e),t=a(t),s(n),i)try{return l(e,t,n)}catch(r){}if("get"in n||"set"in n)throw new u("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},7431:(e,t,n)=>{"use strict";var r=n(6040),i=n(9745),o=n(5073),s=n(4136),a=n(3089),u=n(5829),l=n(421),c=n(2889),d=Object.getOwnPropertyDescriptor;t.f=r?d:function(e,t){if(e=a(e),t=u(t),c)try{return d(e,t)}catch(n){}if(l(e,t))return s(!i(o.f,e,t),e[t])}},3540:(e,t,n)=>{"use strict";var r=n(9088),i=n(2011).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},889:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},5023:(e,t,n)=>{"use strict";var r=n(421),i=n(8057),o=n(1889),s=n(3051),a=n(4751),u=s("IE_PROTO"),l=Object,c=l.prototype;e.exports=a?l.getPrototypeOf:function(e){var t=o(e);if(r(t,u))return t[u];var n=t.constructor;return i(n)&&t instanceof n?n.prototype:t instanceof l?c:null}},1781:(e,t,n)=>{"use strict";var r=n(4796);e.exports=r({}.isPrototypeOf)},9088:(e,t,n)=>{"use strict";var r=n(4796),i=n(421),o=n(3089),s=n(8709).indexOf,a=n(4801),u=r([].push);e.exports=function(e,t){var n,r=o(e),l=0,c=[];for(n in r)!i(a,n)&&i(r,n)&&u(c,n);for(;t.length>l;)i(r,n=t[l++])&&(~s(c,n)||u(c,n));return c}},3636:(e,t,n)=>{"use strict";var r=n(9088),i=n(2011);e.exports=Object.keys||function(e){return r(e,i)}},5073:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);t.f=i?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},8763:(e,t,n)=>{"use strict";var r=n(8398),i=n(9310),o=n(8506),s=n(1830);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(a){}return function(n,r){return o(n),s(r),i(n)?(t?e(n,r):n.__proto__=r,n):n}}():void 0)},514:(e,t,n)=>{"use strict";var r=n(9745),i=n(8057),o=n(9310),s=TypeError;e.exports=function(e,t){var n,a;if("string"===t&&i(n=e.toString)&&!o(a=r(n,e)))return a;if(i(n=e.valueOf)&&!o(a=r(n,e)))return a;if("string"!==t&&i(n=e.toString)&&!o(a=r(n,e)))return a;throw new s("Can't convert object to primitive value")}},3859:(e,t,n)=>{"use strict";var r=n(6643),i=n(4796),o=n(3540),s=n(889),a=n(6635),u=i([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=s.f;return n?u(t,n(e)):t}},7458:(e,t,n)=>{"use strict";var r=n(3311);e.exports=r.Promise},7826:(e,t,n)=>{"use strict";var r=n(6635),i=n(9310),o=n(3487);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},68:(e,t,n)=>{"use strict";var r=n(7149).f;e.exports=function(e,t,n){n in e||r(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},2566:(e,t,n)=>{"use strict";var r=n(9745),i=n(6635),o=n(8057),s=n(5332),a=n(9191),u=TypeError;e.exports=function(e,t){var n=e.exec;if(o(n)){var l=r(n,e,t);return null!==l&&i(l),l}if("RegExp"===s(e))return r(a,e,t);throw new u("RegExp#exec called on incompatible receiver")}},9191:(e,t,n)=>{"use strict";var r=n(9745),i=n(4796),o=n(715),s=n(3383),a=n(1377),u=n(4437),l=n(4876),c=n(5897).get,d=n(2231),f=n(7170),h=u("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,g=p,m=i("".charAt),v=i("".indexOf),y=i("".replace),_=i("".slice),E=function(){var e=/a/,t=/b*/g;return r(p,e,"a"),r(p,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),b=a.BROKEN_CARET,D=void 0!==/()??/.exec("")[1];(E||D||b||d||f)&&(g=function(e){var t,n,i,a,u,d,f,N=this,T=c(N),S=o(e),I=T.raw;if(I)return I.lastIndex=N.lastIndex,t=r(g,I,S),N.lastIndex=I.lastIndex,t;var w=T.groups,A=b&&N.sticky,R=r(s,N),C=N.source,O=0,F=S;if(A&&(R=y(R,"y",""),-1===v(R,"g")&&(R+="g"),F=_(S,N.lastIndex),N.lastIndex>0&&(!N.multiline||N.multiline&&"\n"!==m(S,N.lastIndex-1))&&(C="(?: "+C+")",F=" "+F,O++),n=new RegExp("^(?:"+C+")",R)),D&&(n=new RegExp("^"+C+"$(?!\\s)",R)),E&&(i=N.lastIndex),a=r(p,A?n:N,F),A?a?(a.input=_(a.input,O),a[0]=_(a[0],O),a.index=N.lastIndex,N.lastIndex+=a[0].length):N.lastIndex=0:E&&a&&(N.lastIndex=N.global?a.index+a[0].length:i),D&&a&&a.length>1&&r(h,a[0],n,(function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(a[u]=void 0)})),a&&w)for(a.groups=d=l(null),u=0;u<w.length;u++)d[(f=w[u])[0]]=a[f[1]];return a}),e.exports=g},3383:(e,t,n)=>{"use strict";var r=n(6635);e.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},5414:(e,t,n)=>{"use strict";var r=n(9745),i=n(421),o=n(1781),s=n(3383),a=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in a||i(e,"flags")||!o(a,e)?t:r(s,e)}},1377:(e,t,n)=>{"use strict";var r=n(251),i=n(3311).RegExp,o=r((function(){var e=i("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),s=o||r((function(){return!i("a","y").sticky})),a=o||r((function(){var e=i("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:a,MISSED_STICKY:s,UNSUPPORTED_Y:o}},2231:(e,t,n)=>{"use strict";var r=n(251),i=n(3311).RegExp;e.exports=r((function(){var e=i(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},7170:(e,t,n)=>{"use strict";var r=n(251),i=n(3311).RegExp;e.exports=r((function(){var e=i("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},8506:(e,t,n)=>{"use strict";var r=n(3529),i=TypeError;e.exports=function(e){if(r(e))throw new i("Can't call method on "+e);return e}},5241:(e,t,n)=>{"use strict";var r=n(3311),i=n(6040),o=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!i)return r[e];var t=o(r,e);return t&&t.value}},3978:(e,t,n)=>{"use strict";var r=n(5278),i=n(969),o=r.Set,s=r.add;e.exports=function(e){var t=new o;return i(e,(function(e){s(t,e)})),t}},436:(e,t,n)=>{"use strict";var r=n(3148),i=n(5278),o=n(3978),s=n(7222),a=n(9617),u=n(969),l=n(319),c=i.has,d=i.remove;e.exports=function(e){var t=r(this),n=a(e),i=o(t);return s(t)<=n.size?u(t,(function(e){n.includes(e)&&d(i,e)})):l(n.getIterator(),(function(e){c(t,e)&&d(i,e)})),i}},5278:(e,t,n)=>{"use strict";var r=n(4796),i=Set.prototype;e.exports={Set:Set,add:r(i.add),has:r(i.has),remove:r(i.delete),proto:i}},6946:(e,t,n)=>{"use strict";var r=n(3148),i=n(5278),o=n(7222),s=n(9617),a=n(969),u=n(319),l=i.Set,c=i.add,d=i.has;e.exports=function(e){var t=r(this),n=s(e),i=new l;return o(t)>n.size?u(n.getIterator(),(function(e){d(t,e)&&c(i,e)})):a(t,(function(e){n.includes(e)&&c(i,e)})),i}},4709:(e,t,n)=>{"use strict";var r=n(3148),i=n(5278).has,o=n(7222),s=n(9617),a=n(969),u=n(319),l=n(3607);e.exports=function(e){var t=r(this),n=s(e);if(o(t)<=n.size)return!1!==a(t,(function(e){if(n.includes(e))return!1}),!0);var c=n.getIterator();return!1!==u(c,(function(e){if(i(t,e))return l(c,"normal",!1)}))}},7154:(e,t,n)=>{"use strict";var r=n(3148),i=n(7222),o=n(969),s=n(9617);e.exports=function(e){var t=r(this),n=s(e);return!(i(t)>n.size)&&!1!==o(t,(function(e){if(!n.includes(e))return!1}),!0)}},7883:(e,t,n)=>{"use strict";var r=n(3148),i=n(5278).has,o=n(7222),s=n(9617),a=n(319),u=n(3607);e.exports=function(e){var t=r(this),n=s(e);if(o(t)<n.size)return!1;var l=n.getIterator();return!1!==a(l,(function(e){if(!i(t,e))return u(l,"normal",!1)}))}},969:(e,t,n)=>{"use strict";var r=n(4796),i=n(319),o=n(5278),s=o.Set,a=o.proto,u=r(a.forEach),l=r(a.keys),c=l(new s).next;e.exports=function(e,t,n){return n?i({iterator:l(e),next:c},t):u(e,t)}},384:(e,t,n)=>{"use strict";var r=n(6643),i=function(e){return{size:e,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}};e.exports=function(e){var t=r("Set");try{(new t)[e](i(0));try{return(new t)[e](i(-1)),!1}catch(n){return!0}}catch(o){return!1}}},7222:(e,t,n)=>{"use strict";var r=n(8398),i=n(5278);e.exports=r(i.proto,"size","get")||function(e){return e.size}},8990:(e,t,n)=>{"use strict";var r=n(3148),i=n(5278),o=n(3978),s=n(9617),a=n(319),u=i.add,l=i.has,c=i.remove;e.exports=function(e){var t=r(this),n=s(e).getIterator(),i=o(t);return a(n,(function(e){l(t,e)?c(i,e):u(i,e)})),i}},7275:(e,t,n)=>{"use strict";var r=n(7149).f,i=n(421),o=n(9831)("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!i(e,o)&&r(e,o,{configurable:!0,value:t})}},3472:(e,t,n)=>{"use strict";var r=n(3148),i=n(5278).add,o=n(3978),s=n(9617),a=n(319);e.exports=function(e){var t=r(this),n=s(e).getIterator(),u=o(t);return a(n,(function(e){i(u,e)})),u}},3051:(e,t,n)=>{"use strict";var r=n(4437),i=n(8668),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},3873:(e,t,n)=>{"use strict";var r=n(255),i=n(3311),o=n(7709),s="__core-js_shared__",a=e.exports=i[s]||o(s,{});(a.versions||(a.versions=[])).push({version:"3.37.1",mode:r?"pure":"global",copyright:"\xa9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},4437:(e,t,n)=>{"use strict";var r=n(3873);e.exports=function(e,t){return r[e]||(r[e]=t||{})}},7001:(e,t,n)=>{"use strict";var r=n(6635),i=n(992),o=n(3529),s=n(9831)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||o(n=r(a)[s])?t:i(n)}},2923:(e,t,n)=>{"use strict";var r=n(4796),i=n(2599),o=n(715),s=n(8506),a=r("".charAt),u=r("".charCodeAt),l=r("".slice),c=function(e){return function(t,n){var r,c,d=o(s(t)),f=i(n),h=d.length;return f<0||f>=h?e?"":void 0:(r=u(d,f))<55296||r>56319||f+1===h||(c=u(d,f+1))<56320||c>57343?e?a(d,f):r:e?l(d,f,f+2):c-56320+(r-55296<<10)+65536}};e.exports={codeAt:c(!1),charAt:c(!0)}},4737:(e,t,n)=>{"use strict";var r=n(4796),i=2147483647,o=/[^\0-\u007E]/,s=/[.\u3002\uFF0E\uFF61]/g,a="Overflow: input needs wider integers to process",u=RangeError,l=r(s.exec),c=Math.floor,d=String.fromCharCode,f=r("".charCodeAt),h=r([].join),p=r([].push),g=r("".replace),m=r("".split),v=r("".toLowerCase),y=function(e){return e+22+75*(e<26)},_=function(e,t,n){var r=0;for(e=n?c(e/700):e>>1,e+=c(e/t);e>455;)e=c(e/35),r+=36;return c(r+36*e/(e+38))},E=function(e){var t=[];e=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=f(e,n++);if(i>=55296&&i<=56319&&n<r){var o=f(e,n++);56320===(64512&o)?p(t,((1023&i)<<10)+(1023&o)+65536):(p(t,i),n--)}else p(t,i)}return t}(e);var n,r,o=e.length,s=128,l=0,g=72;for(n=0;n<e.length;n++)(r=e[n])<128&&p(t,d(r));var m=t.length,v=m;for(m&&p(t,"-");v<o;){var E=i;for(n=0;n<e.length;n++)(r=e[n])>=s&&r<E&&(E=r);var b=v+1;if(E-s>c((i-l)/b))throw new u(a);for(l+=(E-s)*b,s=E,n=0;n<e.length;n++){if((r=e[n])<s&&++l>i)throw new u(a);if(r===s){for(var D=l,N=36;;){var T=N<=g?1:N>=g+26?26:N-g;if(D<T)break;var S=D-T,I=36-T;p(t,d(y(T+S%I))),D=c(S/I),N+=36}p(t,d(y(D))),g=_(l,b,v===m),l=0,v++}}l++,s++}return h(t,"")};e.exports=function(e){var t,n,r=[],i=m(g(v(e),s,"."),".");for(t=0;t<i.length;t++)n=i[t],p(r,l(o,n)?"xn--"+E(n):n);return h(r,".")}},3219:(e,t,n)=>{"use strict";var r=n(1976),i=n(251),o=n(3311).String;e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol("symbol detection");return!o(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},4118:(e,t,n)=>{"use strict";var r=n(2599),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},3089:(e,t,n)=>{"use strict";var r=n(8635),i=n(8506);e.exports=function(e){return r(i(e))}},2599:(e,t,n)=>{"use strict";var r=n(1113);e.exports=function(e){var t=+e;return t!==t||0===t?0:r(t)}},7834:(e,t,n)=>{"use strict";var r=n(2599),i=Math.min;e.exports=function(e){var t=r(e);return t>0?i(t,9007199254740991):0}},1889:(e,t,n)=>{"use strict";var r=n(8506),i=Object;e.exports=function(e){return i(r(e))}},9557:(e,t,n)=>{"use strict";var r=n(9745),i=n(9310),o=n(2097),s=n(1146),a=n(514),u=n(9831),l=TypeError,c=u("toPrimitive");e.exports=function(e,t){if(!i(e)||o(e))return e;var n,u=s(e,c);if(u){if(void 0===t&&(t="default"),n=r(u,e,t),!i(n)||o(n))return n;throw new l("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},5829:(e,t,n)=>{"use strict";var r=n(9557),i=n(2097);e.exports=function(e){var t=r(e,"string");return i(t)?t:t+""}},4272:(e,t,n)=>{"use strict";var r={};r[n(9831)("toStringTag")]="z",e.exports="[object z]"===String(r)},715:(e,t,n)=>{"use strict";var r=n(4959),i=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return i(e)}},1763:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(n){return"Object"}}},8668:(e,t,n)=>{"use strict";var r=n(4796),i=0,o=Math.random(),s=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++i+o,36)}},8332:(e,t,n)=>{"use strict";var r=n(251),i=n(9831),o=n(6040),s=n(255),a=i("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n=new URLSearchParams("a=1&a=2&b=3"),r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),n.delete("a",2),n.delete("b",void 0),s&&(!e.toJSON||!n.has("a",1)||n.has("a",2)||!n.has("a",void 0)||n.has("b"))||!t.size&&(s||!o)||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"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}))},1084:(e,t,n)=>{"use strict";var r=n(3219);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3626:(e,t,n)=>{"use strict";var r=n(6040),i=n(251);e.exports=r&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},6248:e=>{"use strict";var t=TypeError;e.exports=function(e,n){if(e<n)throw new t("Not enough arguments");return e}},4122:(e,t,n)=>{"use strict";var r=n(3311),i=n(8057),o=r.WeakMap;e.exports=i(o)&&/native code/.test(String(o))},9831:(e,t,n)=>{"use strict";var r=n(3311),i=n(4437),o=n(421),s=n(8668),a=n(3219),u=n(1084),l=r.Symbol,c=i("wks"),d=u?l.for||l:l&&l.withoutSetter||s;e.exports=function(e){return o(c,e)||(c[e]=a&&o(l,e)?l[e]:d("Symbol."+e)),c[e]}},8237:(e,t,n)=>{"use strict";var r=n(6643),i=n(421),o=n(1335),s=n(1781),a=n(8763),u=n(9712),l=n(68),c=n(2283),d=n(5303),f=n(5372),h=n(7503),p=n(6040),g=n(255);e.exports=function(e,t,n,m){var v="stackTraceLimit",y=m?2:1,_=e.split("."),E=_[_.length-1],b=r.apply(null,_);if(b){var D=b.prototype;if(!g&&i(D,"cause")&&delete D.cause,!n)return b;var N=r("Error"),T=t((function(e,t){var n=d(m?t:e,void 0),r=m?new b(e):new b;return void 0!==n&&o(r,"message",n),h(r,T,r.stack,2),this&&s(D,this)&&c(r,this,T),arguments.length>y&&f(r,arguments[y]),r}));if(T.prototype=D,"Error"!==E?a?a(T,N):u(T,N,{name:!0}):p&&v in b&&(l(T,b,v),l(T,b,"prepareStackTrace")),u(T,b),!g)try{D.name!==E&&o(D,"name",E),D.constructor=T}catch(S){}return T}}},3967:(e,t,n)=>{"use strict";var r=n(4146),i=n(1889),o=n(4330),s=n(2599),a=n(6705);r({target:"Array",proto:!0},{at:function(e){var t=i(this),n=o(t),r=s(e),a=r>=0?r:n+r;return a<0||a>=n?void 0:t[a]}}),a("at")},9676:(e,t,n)=>{"use strict";var r=n(3089),i=n(6705),o=n(8217),s=n(5897),a=n(7149).f,u=n(8220),l=n(8597),c=n(255),d=n(6040),f="Array Iterator",h=s.set,p=s.getterFor(f);e.exports=u(Array,"Array",(function(e,t){h(this,{type:f,target:r(e),index:0,kind:t})}),(function(){var e=p(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=void 0,l(void 0,!0);switch(e.kind){case"keys":return l(n,!1);case"values":return l(t[n],!1)}return l([n,t[n]],!1)}),"values");var g=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!c&&d&&"values"!==g.name)try{a(g,"name",{value:"values"})}catch(m){}},6022:(e,t,n)=>{"use strict";var r=n(4146),i=n(1889),o=n(4330),s=n(8107),a=n(3489);r({target:"Array",proto:!0,arity:1,forced:n(251)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function(e){var t=i(this),n=o(t),r=arguments.length;a(n+r);for(var u=0;u<r;u++)t[n]=arguments[u],n++;return s(t,n),n}})},2316:(e,t,n)=>{"use strict";var r=n(4146),i=n(3311),o=n(7037),s=n(8237),a="WebAssembly",u=i[a],l=7!==new Error("e",{cause:7}).cause,c=function(e,t){var n={};n[e]=s(e,t,l),r({global:!0,constructor:!0,arity:1,forced:l},n)},d=function(e,t){if(u&&u[e]){var n={};n[e]=s(a+"."+e,t,l),r({target:a,stat:!0,constructor:!0,arity:1,forced:l},n)}};c("Error",(function(e){return function(t){return o(e,this,arguments)}})),c("EvalError",(function(e){return function(t){return o(e,this,arguments)}})),c("RangeError",(function(e){return function(t){return o(e,this,arguments)}})),c("ReferenceError",(function(e){return function(t){return o(e,this,arguments)}})),c("SyntaxError",(function(e){return function(t){return o(e,this,arguments)}})),c("TypeError",(function(e){return function(t){return o(e,this,arguments)}})),c("URIError",(function(e){return function(t){return o(e,this,arguments)}})),d("CompileError",(function(e){return function(t){return o(e,this,arguments)}})),d("LinkError",(function(e){return function(t){return o(e,this,arguments)}})),d("RuntimeError",(function(e){return function(t){return o(e,this,arguments)}}))},3179:(e,t,n)=>{"use strict";var r=n(4146),i=n(255),o=n(7458),s=n(251),a=n(6643),u=n(8057),l=n(7001),c=n(7826),d=n(4316),f=o&&o.prototype;if(r({target:"Promise",proto:!0,real:!0,forced:!!o&&s((function(){f.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=l(this,a("Promise")),n=u(e);return this.then(n?function(n){return c(t,e()).then((function(){return n}))}:e,n?function(n){return c(t,e()).then((function(){throw n}))}:e)}}),!i&&u(o)){var h=a("Promise").prototype.finally;f.finally!==h&&d(f,"finally",h,{unsafe:!0})}},9699:(e,t,n)=>{"use strict";var r=n(4146),i=n(9191);r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},214:(e,t,n)=>{"use strict";var r=n(4146),i=n(436);r({target:"Set",proto:!0,real:!0,forced:!n(384)("difference")},{difference:i})},4320:(e,t,n)=>{"use strict";var r=n(4146),i=n(251),o=n(6946);r({target:"Set",proto:!0,real:!0,forced:!n(384)("intersection")||i((function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))}))},{intersection:o})},3145:(e,t,n)=>{"use strict";var r=n(4146),i=n(4709);r({target:"Set",proto:!0,real:!0,forced:!n(384)("isDisjointFrom")},{isDisjointFrom:i})},8624:(e,t,n)=>{"use strict";var r=n(4146),i=n(7154);r({target:"Set",proto:!0,real:!0,forced:!n(384)("isSubsetOf")},{isSubsetOf:i})},8863:(e,t,n)=>{"use strict";var r=n(4146),i=n(7883);r({target:"Set",proto:!0,real:!0,forced:!n(384)("isSupersetOf")},{isSupersetOf:i})},7252:(e,t,n)=>{"use strict";var r=n(4146),i=n(8990);r({target:"Set",proto:!0,real:!0,forced:!n(384)("symmetricDifference")},{symmetricDifference:i})},7150:(e,t,n)=>{"use strict";var r=n(4146),i=n(3472);r({target:"Set",proto:!0,real:!0,forced:!n(384)("union")},{union:i})},4913:(e,t,n)=>{"use strict";var r=n(4146),i=n(4796),o=n(8506),s=n(2599),a=n(715),u=n(251),l=i("".charAt);r({target:"String",proto:!0,forced:u((function(){return"\ud842"!=="\ud842\udfb7".at(-2)}))},{at:function(e){var t=a(o(this)),n=t.length,r=s(e),i=r>=0?r:n+r;return i<0||i>=n?void 0:l(t,i)}})},9440:(e,t,n)=>{"use strict";var r=n(2923).charAt,i=n(715),o=n(5897),s=n(8220),a=n(8597),u="String Iterator",l=o.set,c=o.getterFor(u);s(String,"String",(function(e){l(this,{type:u,string:i(e),index:0})}),(function(){var e,t=c(this),n=t.string,i=t.index;return i>=n.length?a(void 0,!0):(e=r(n,i),t.index+=e.length,a(e,!1))}))},6523:(e,t,n)=>{"use strict";var r=n(4146),i=n(9745),o=n(1e3),s=n(1422),a=n(8597),u=n(8506),l=n(7834),c=n(715),d=n(6635),f=n(3529),h=n(5332),p=n(8400),g=n(5414),m=n(1146),v=n(4316),y=n(251),_=n(9831),E=n(7001),b=n(1369),D=n(2566),N=n(5897),T=n(255),S=_("matchAll"),I="RegExp String",w=I+" Iterator",A=N.set,R=N.getterFor(w),C=RegExp.prototype,O=TypeError,F=o("".indexOf),L=o("".matchAll),k=!!L&&!y((function(){L("a",/./)})),x=s((function(e,t,n,r){A(this,{type:w,regexp:e,string:t,global:n,unicode:r,done:!1})}),I,(function(){var e=R(this);if(e.done)return a(void 0,!0);var t=e.regexp,n=e.string,r=D(t,n);return null===r?(e.done=!0,a(void 0,!0)):e.global?(""===c(r[0])&&(t.lastIndex=b(n,l(t.lastIndex),e.unicode)),a(r,!1)):(e.done=!0,a(r,!1))})),P=function(e){var t,n,r,i=d(this),o=c(e),s=E(i,RegExp),a=c(g(i));return t=new s(s===RegExp?i.source:i,a),n=!!~F(a,"g"),r=!!~F(a,"u"),t.lastIndex=l(i.lastIndex),new x(t,o,n,r)};r({target:"String",proto:!0,forced:k},{matchAll:function(e){var t,n,r,o,s=u(this);if(f(e)){if(k)return L(s,e)}else{if(p(e)&&(t=c(u(g(e))),!~F(t,"g")))throw new O("`.matchAll` does not allow non-global regexes");if(k)return L(s,e);if(void 0===(r=m(e,S))&&T&&"RegExp"===h(e)&&(r=P),r)return i(r,e,s)}return n=c(s),o=new RegExp(e,"g"),T?i(P,o,n):o[S](n)}}),T||S in C||v(C,S,P)},1998:(e,t,n)=>{"use strict";var r=n(4146),i=n(9745),o=n(4796),s=n(8506),a=n(8057),u=n(3529),l=n(8400),c=n(715),d=n(1146),f=n(5414),h=n(2554),p=n(9831),g=n(255),m=p("replace"),v=TypeError,y=o("".indexOf),_=o("".replace),E=o("".slice),b=Math.max;r({target:"String",proto:!0},{replaceAll:function(e,t){var n,r,o,p,D,N,T,S,I,w=s(this),A=0,R=0,C="";if(!u(e)){if((n=l(e))&&(r=c(s(f(e))),!~y(r,"g")))throw new v("`.replaceAll` does not allow non-global regexes");if(o=d(e,m))return i(o,e,w,t);if(g&&n)return _(c(w),e,t)}for(p=c(w),D=c(e),(N=a(t))||(t=c(t)),T=D.length,S=b(1,T),A=y(p,D);-1!==A;)I=N?c(t(D,A,p)):h(D,p,A,[],void 0,t),C+=E(p,R,A)+I,R=A+T,A=A+S>p.length?-1:y(p,D,A+S);return R<p.length&&(C+=E(p,R)),C}})},5084:(e,t,n)=>{"use strict";var r=n(7037),i=n(9745),o=n(4796),s=n(4056),a=n(251),u=n(6635),l=n(8057),c=n(3529),d=n(2599),f=n(7834),h=n(715),p=n(8506),g=n(1369),m=n(1146),v=n(2554),y=n(2566),_=n(9831)("replace"),E=Math.max,b=Math.min,D=o([].concat),N=o([].push),T=o("".indexOf),S=o("".slice),I="$0"==="a".replace(/./,"$0"),w=!!/./[_]&&""===/./[_]("a","$0");s("replace",(function(e,t,n){var o=w?"$":"$0";return[function(e,n){var r=p(this),o=c(e)?void 0:m(e,_);return o?i(o,e,r,n):i(t,h(r),e,n)},function(e,i){var s=u(this),a=h(e);if("string"==typeof i&&-1===T(i,o)&&-1===T(i,"$<")){var c=n(t,s,a,i);if(c.done)return c.value}var p=l(i);p||(i=h(i));var m,_=s.global;_&&(m=s.unicode,s.lastIndex=0);for(var I,w=[];null!==(I=y(s,a))&&(N(w,I),_);){""===h(I[0])&&(s.lastIndex=g(a,f(s.lastIndex),m))}for(var A,R="",C=0,O=0;O<w.length;O++){for(var F,L=h((I=w[O])[0]),k=E(b(d(I.index),a.length),0),x=[],P=1;P<I.length;P++)N(x,void 0===(A=I[P])?A:String(A));var M=I.groups;if(p){var B=D([L],x,k,a);void 0!==M&&N(B,M),F=h(r(i,void 0,B))}else F=v(L,a,k,x,M,i);k>=C&&(R+=S(a,C,k)+F,C=k+L.length)}return R+S(a,C)}]}),!!a((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!I||w)},5155:(e,t,n)=>{"use strict";n(214)},9997:(e,t,n)=>{"use strict";n(4320)},7928:(e,t,n)=>{"use strict";n(3145)},2813:(e,t,n)=>{"use strict";n(8624)},2990:(e,t,n)=>{"use strict";n(8863)},7669:(e,t,n)=>{"use strict";n(7252)},5033:(e,t,n)=>{"use strict";n(7150)},5885:(e,t,n)=>{"use strict";var r=n(3311),i=n(996),o=n(8396),s=n(9676),a=n(1335),u=n(7275),l=n(9831)("iterator"),c=s.values,d=function(e,t){if(e){if(e[l]!==c)try{a(e,l,c)}catch(r){e[l]=c}if(u(e,t,!0),i[t])for(var n in s)if(e[n]!==s[n])try{a(e,n,s[n])}catch(r){e[n]=s[n]}}};for(var f in i)d(r[f]&&r[f].prototype,f);d(o,"DOMTokenList")},6183:(e,t,n)=>{"use strict";var r=n(4146),i=n(3311),o=n(6643),s=n(4136),a=n(7149).f,u=n(421),l=n(9571),c=n(2283),d=n(5303),f=n(7566),h=n(3205),p=n(6040),g=n(255),m="DOMException",v=o("Error"),y=o(m),_=function(){l(this,E);var e=arguments.length,t=d(e<1?void 0:arguments[0]),n=d(e<2?void 0:arguments[1],"Error"),r=new y(t,n),i=new v(t);return i.name=m,a(r,"stack",s(1,h(i.stack,1))),c(r,this,_),r},E=_.prototype=y.prototype,b="stack"in new v(m),D="stack"in new y(1,2),N=y&&p&&Object.getOwnPropertyDescriptor(i,m),T=!!N&&!(N.writable&&N.configurable),S=b&&!T&&!D;r({global:!0,constructor:!0,forced:g||S},{DOMException:S?_:y});var I=o(m),w=I.prototype;if(w.constructor!==I)for(var A in g||a(w,"constructor",s(1,I)),f)if(u(f,A)){var R=f[A],C=R.s;u(I,C)||a(I,C,s(6,R.c))}},7002:(e,t,n)=>{"use strict";n(9676);var r=n(4146),i=n(3311),o=n(5241),s=n(9745),a=n(4796),u=n(6040),l=n(8332),c=n(4316),d=n(5966),f=n(9107),h=n(7275),p=n(1422),g=n(5897),m=n(9571),v=n(8057),y=n(421),_=n(9476),E=n(4959),b=n(6635),D=n(9310),N=n(715),T=n(4876),S=n(4136),I=n(149),w=n(2207),A=n(8597),R=n(6248),C=n(9831),O=n(6244),F=C("iterator"),L="URLSearchParams",k=L+"Iterator",x=g.set,P=g.getterFor(L),M=g.getterFor(k),B=o("fetch"),V=o("Request"),U=o("Headers"),j=V&&V.prototype,K=U&&U.prototype,Y=i.RegExp,q=i.TypeError,G=i.decodeURIComponent,H=i.encodeURIComponent,z=a("".charAt),W=a([].join),Q=a([].push),J=a("".replace),X=a([].shift),$=a([].splice),Z=a("".split),ee=a("".slice),te=/\+/g,ne=Array(4),re=function(e){return ne[e-1]||(ne[e-1]=Y("((?:%[\\da-f]{2}){"+e+"})","gi"))},ie=function(e){try{return G(e)}catch(t){return e}},oe=function(e){var t=J(e,te," "),n=4;try{return G(t)}catch(r){for(;n;)t=J(t,re(n--),ie);return t}},se=/[!'()~]|%20/g,ae={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ue=function(e){return ae[e]},le=function(e){return J(H(e),se,ue)},ce=p((function(e,t){x(this,{type:k,target:P(e).entries,index:0,kind:t})}),L,(function(){var e=M(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=void 0,A(void 0,!0);var r=t[n];switch(e.kind){case"keys":return A(r.key,!1);case"values":return A(r.value,!1)}return A([r.key,r.value],!1)}),!0),de=function(e){this.entries=[],this.url=null,void 0!==e&&(D(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===z(e,0)?ee(e,1):e:N(e)))};de.prototype={type:L,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,n,r,i,o,a,u,l=this.entries,c=w(e);if(c)for(n=(t=I(e,c)).next;!(r=s(n,t)).done;){if(o=(i=I(b(r.value))).next,(a=s(o,i)).done||(u=s(o,i)).done||!s(o,i).done)throw new q("Expected sequence with length 2");Q(l,{key:N(a.value),value:N(u.value)})}else for(var d in e)y(e,d)&&Q(l,{key:d,value:N(e[d])})},parseQuery:function(e){if(e)for(var t,n,r=this.entries,i=Z(e,"&"),o=0;o<i.length;)(t=i[o++]).length&&(n=Z(t,"="),Q(r,{key:oe(X(n)),value:oe(W(n,"="))}))},serialize:function(){for(var e,t=this.entries,n=[],r=0;r<t.length;)e=t[r++],Q(n,le(e.key)+"="+le(e.value));return W(n,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var fe=function(){m(this,he);var e=x(this,new de(arguments.length>0?arguments[0]:void 0));u||(this.size=e.entries.length)},he=fe.prototype;if(f(he,{append:function(e,t){var n=P(this);R(arguments.length,2),Q(n.entries,{key:N(e),value:N(t)}),u||this.length++,n.updateURL()},delete:function(e){for(var t=P(this),n=R(arguments.length,1),r=t.entries,i=N(e),o=n<2?void 0:arguments[1],s=void 0===o?o:N(o),a=0;a<r.length;){var l=r[a];if(l.key!==i||void 0!==s&&l.value!==s)a++;else if($(r,a,1),void 0!==s)break}u||(this.size=r.length),t.updateURL()},get:function(e){var t=P(this).entries;R(arguments.length,1);for(var n=N(e),r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){var t=P(this).entries;R(arguments.length,1);for(var n=N(e),r=[],i=0;i<t.length;i++)t[i].key===n&&Q(r,t[i].value);return r},has:function(e){for(var t=P(this).entries,n=R(arguments.length,1),r=N(e),i=n<2?void 0:arguments[1],o=void 0===i?i:N(i),s=0;s<t.length;){var a=t[s++];if(a.key===r&&(void 0===o||a.value===o))return!0}return!1},set:function(e,t){var n=P(this);R(arguments.length,1);for(var r,i=n.entries,o=!1,s=N(e),a=N(t),l=0;l<i.length;l++)(r=i[l]).key===s&&(o?$(i,l--,1):(o=!0,r.value=a));o||Q(i,{key:s,value:a}),u||(this.size=i.length),n.updateURL()},sort:function(){var e=P(this);O(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,n=P(this).entries,r=_(e,arguments.length>1?arguments[1]:void 0),i=0;i<n.length;)r((t=n[i++]).value,t.key,this)},keys:function(){return new ce(this,"keys")},values:function(){return new ce(this,"values")},entries:function(){return new ce(this,"entries")}},{enumerable:!0}),c(he,F,he.entries,{name:"entries"}),c(he,"toString",(function(){return P(this).serialize()}),{enumerable:!0}),u&&d(he,"size",{get:function(){return P(this).entries.length},configurable:!0,enumerable:!0}),h(fe,L),r({global:!0,constructor:!0,forced:!l},{URLSearchParams:fe}),!l&&v(U)){var pe=a(K.has),ge=a(K.set),me=function(e){if(D(e)){var t,n=e.body;if(E(n)===L)return t=e.headers?new U(e.headers):new U,pe(t,"content-type")||ge(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),T(e,{body:S(0,N(n)),headers:S(0,t)})}return e};if(v(B)&&r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return B(e,arguments.length>1?me(arguments[1]):{})}}),v(V)){var ve=function(e){return m(this,j),new V(e,arguments.length>1?me(arguments[1]):{})};j.constructor=ve,ve.prototype=j,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:ve})}}e.exports={URLSearchParams:fe,getState:P}},231:(e,t,n)=>{"use strict";var r=n(4316),i=n(4796),o=n(715),s=n(6248),a=URLSearchParams,u=a.prototype,l=i(u.append),c=i(u.delete),d=i(u.forEach),f=i([].push),h=new a("a=1&a=2&b=3");h.delete("a",1),h.delete("b",void 0),h+""!=="a=2"&&r(u,"delete",(function(e){var t=arguments.length,n=t<2?void 0:arguments[1];if(t&&void 0===n)return c(this,e);var r=[];d(this,(function(e,t){f(r,{key:t,value:e})})),s(t,1);for(var i,a=o(e),u=o(n),h=0,p=0,g=!1,m=r.length;h<m;)i=r[h++],g||i.key===a?(g=!0,c(this,i.key)):p++;for(;p<m;)(i=r[p++]).key===a&&i.value===u||l(this,i.key,i.value)}),{enumerable:!0,unsafe:!0})},5666:(e,t,n)=>{"use strict";var r=n(4316),i=n(4796),o=n(715),s=n(6248),a=URLSearchParams,u=a.prototype,l=i(u.getAll),c=i(u.has),d=new a("a=1");!d.has("a",2)&&d.has("a",void 0)||r(u,"has",(function(e){var t=arguments.length,n=t<2?void 0:arguments[1];if(t&&void 0===n)return c(this,e);var r=l(this,e);s(t,1);for(var i=o(n),a=0;a<r.length;)if(r[a++]===i)return!0;return!1}),{enumerable:!0,unsafe:!0})},6324:(e,t,n)=>{"use strict";n(7002)},7845:(e,t,n)=>{"use strict";var r=n(6040),i=n(4796),o=n(5966),s=URLSearchParams.prototype,a=i(s.forEach);r&&!("size"in s)&&o(s,"size",{get:function(){var e=0;return a(this,(function(){e++})),e},configurable:!0,enumerable:!0})},114:(e,t,n)=>{"use strict";n(9440);var r,i=n(4146),o=n(6040),s=n(8332),a=n(3311),u=n(9476),l=n(4796),c=n(4316),d=n(5966),f=n(9571),h=n(421),p=n(5313),g=n(4944),m=n(8692),v=n(2923).codeAt,y=n(4737),_=n(715),E=n(7275),b=n(6248),D=n(7002),N=n(5897),T=N.set,S=N.getterFor("URL"),I=D.URLSearchParams,w=D.getState,A=a.URL,R=a.TypeError,C=a.parseInt,O=Math.floor,F=Math.pow,L=l("".charAt),k=l(/./.exec),x=l([].join),P=l(1..toString),M=l([].pop),B=l([].push),V=l("".replace),U=l([].shift),j=l("".split),K=l("".slice),Y=l("".toLowerCase),q=l([].unshift),G="Invalid scheme",H="Invalid host",z="Invalid port",W=/[a-z]/i,Q=/[\d+-.a-z]/i,J=/\d/,X=/^0x/i,$=/^[0-7]+$/,Z=/^\d+$/,ee=/^[\da-f]+$/i,te=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ne=/[\0\t\n\r #/:<>?@[\\\]^|]/,re=/^[\u0000-\u0020]+/,ie=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,oe=/[\t\n\r]/g,se=function(e){var t,n,r,i;if("number"==typeof e){for(t=[],n=0;n<4;n++)q(t,e%256),e=O(e/256);return x(t,".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,i=0,o=0;o<8;o++)0!==e[o]?(i>n&&(t=r,n=i),r=null,i=0):(null===r&&(r=o),++i);return i>n&&(t=r,n=i),t}(e),n=0;n<8;n++)i&&0===e[n]||(i&&(i=!1),r===n?(t+=n?":":"::",i=!0):(t+=P(e[n],16),n<7&&(t+=":")));return"["+t+"]"}return e},ae={},ue=p({},ae,{" ":1,'"':1,"<":1,">":1,"`":1}),le=p({},ue,{"#":1,"?":1,"{":1,"}":1}),ce=p({},le,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),de=function(e,t){var n=v(e,0);return n>32&&n<127&&!h(t,e)?e:encodeURIComponent(e)},fe={ftp:21,file:null,http:80,https:443,ws:80,wss:443},he=function(e,t){var n;return 2===e.length&&k(W,L(e,0))&&(":"===(n=L(e,1))||!t&&"|"===n)},pe=function(e){var t;return e.length>1&&he(K(e,0,2))&&(2===e.length||"/"===(t=L(e,2))||"\\"===t||"?"===t||"#"===t)},ge=function(e){return"."===e||"%2e"===Y(e)},me={},ve={},ye={},_e={},Ee={},be={},De={},Ne={},Te={},Se={},Ie={},we={},Ae={},Re={},Ce={},Oe={},Fe={},Le={},ke={},xe={},Pe={},Me=function(e,t,n){var r,i,o,s=_(e);if(t){if(i=this.parse(s))throw new R(i);this.searchParams=null}else{if(void 0!==n&&(r=new Me(n,!0)),i=this.parse(s,null,r))throw new R(i);(o=w(new I)).bindURL(this),this.searchParams=o}};Me.prototype={type:"URL",parse:function(e,t,n){var i,o,s,a,u,l=this,c=t||me,d=0,f="",p=!1,v=!1,y=!1;for(e=_(e),t||(l.scheme="",l.username="",l.password="",l.host=null,l.port=null,l.path=[],l.query=null,l.fragment=null,l.cannotBeABaseURL=!1,e=V(e,re,""),e=V(e,ie,"$1")),e=V(e,oe,""),i=g(e);d<=i.length;){switch(o=i[d],c){case me:if(!o||!k(W,o)){if(t)return G;c=ye;continue}f+=Y(o),c=ve;break;case ve:if(o&&(k(Q,o)||"+"===o||"-"===o||"."===o))f+=Y(o);else{if(":"!==o){if(t)return G;f="",c=ye,d=0;continue}if(t&&(l.isSpecial()!==h(fe,f)||"file"===f&&(l.includesCredentials()||null!==l.port)||"file"===l.scheme&&!l.host))return;if(l.scheme=f,t)return void(l.isSpecial()&&fe[l.scheme]===l.port&&(l.port=null));f="","file"===l.scheme?c=Re:l.isSpecial()&&n&&n.scheme===l.scheme?c=_e:l.isSpecial()?c=Ne:"/"===i[d+1]?(c=Ee,d++):(l.cannotBeABaseURL=!0,B(l.path,""),c=ke)}break;case ye:if(!n||n.cannotBeABaseURL&&"#"!==o)return G;if(n.cannotBeABaseURL&&"#"===o){l.scheme=n.scheme,l.path=m(n.path),l.query=n.query,l.fragment="",l.cannotBeABaseURL=!0,c=Pe;break}c="file"===n.scheme?Re:be;continue;case _e:if("/"!==o||"/"!==i[d+1]){c=be;continue}c=Te,d++;break;case Ee:if("/"===o){c=Se;break}c=Le;continue;case be:if(l.scheme=n.scheme,o===r)l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=m(n.path),l.query=n.query;else if("/"===o||"\\"===o&&l.isSpecial())c=De;else if("?"===o)l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=m(n.path),l.query="",c=xe;else{if("#"!==o){l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=m(n.path),l.path.length--,c=Le;continue}l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=m(n.path),l.query=n.query,l.fragment="",c=Pe}break;case De:if(!l.isSpecial()||"/"!==o&&"\\"!==o){if("/"!==o){l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,c=Le;continue}c=Se}else c=Te;break;case Ne:if(c=Te,"/"!==o||"/"!==L(f,d+1))continue;d++;break;case Te:if("/"!==o&&"\\"!==o){c=Se;continue}break;case Se:if("@"===o){p&&(f="%40"+f),p=!0,s=g(f);for(var E=0;E<s.length;E++){var b=s[E];if(":"!==b||y){var D=de(b,ce);y?l.password+=D:l.username+=D}else y=!0}f=""}else if(o===r||"/"===o||"?"===o||"#"===o||"\\"===o&&l.isSpecial()){if(p&&""===f)return"Invalid authority";d-=g(f).length+1,f="",c=Ie}else f+=o;break;case Ie:case we:if(t&&"file"===l.scheme){c=Oe;continue}if(":"!==o||v){if(o===r||"/"===o||"?"===o||"#"===o||"\\"===o&&l.isSpecial()){if(l.isSpecial()&&""===f)return H;if(t&&""===f&&(l.includesCredentials()||null!==l.port))return;if(a=l.parseHost(f))return a;if(f="",c=Fe,t)return;continue}"["===o?v=!0:"]"===o&&(v=!1),f+=o}else{if(""===f)return H;if(a=l.parseHost(f))return a;if(f="",c=Ae,t===we)return}break;case Ae:if(!k(J,o)){if(o===r||"/"===o||"?"===o||"#"===o||"\\"===o&&l.isSpecial()||t){if(""!==f){var N=C(f,10);if(N>65535)return z;l.port=l.isSpecial()&&N===fe[l.scheme]?null:N,f=""}if(t)return;c=Fe;continue}return z}f+=o;break;case Re:if(l.scheme="file","/"===o||"\\"===o)c=Ce;else{if(!n||"file"!==n.scheme){c=Le;continue}switch(o){case r:l.host=n.host,l.path=m(n.path),l.query=n.query;break;case"?":l.host=n.host,l.path=m(n.path),l.query="",c=xe;break;case"#":l.host=n.host,l.path=m(n.path),l.query=n.query,l.fragment="",c=Pe;break;default:pe(x(m(i,d),""))||(l.host=n.host,l.path=m(n.path),l.shortenPath()),c=Le;continue}}break;case Ce:if("/"===o||"\\"===o){c=Oe;break}n&&"file"===n.scheme&&!pe(x(m(i,d),""))&&(he(n.path[0],!0)?B(l.path,n.path[0]):l.host=n.host),c=Le;continue;case Oe:if(o===r||"/"===o||"\\"===o||"?"===o||"#"===o){if(!t&&he(f))c=Le;else if(""===f){if(l.host="",t)return;c=Fe}else{if(a=l.parseHost(f))return a;if("localhost"===l.host&&(l.host=""),t)return;f="",c=Fe}continue}f+=o;break;case Fe:if(l.isSpecial()){if(c=Le,"/"!==o&&"\\"!==o)continue}else if(t||"?"!==o)if(t||"#"!==o){if(o!==r&&(c=Le,"/"!==o))continue}else l.fragment="",c=Pe;else l.query="",c=xe;break;case Le:if(o===r||"/"===o||"\\"===o&&l.isSpecial()||!t&&("?"===o||"#"===o)){if(".."===(u=Y(u=f))||"%2e."===u||".%2e"===u||"%2e%2e"===u?(l.shortenPath(),"/"===o||"\\"===o&&l.isSpecial()||B(l.path,"")):ge(f)?"/"===o||"\\"===o&&l.isSpecial()||B(l.path,""):("file"===l.scheme&&!l.path.length&&he(f)&&(l.host&&(l.host=""),f=L(f,0)+":"),B(l.path,f)),f="","file"===l.scheme&&(o===r||"?"===o||"#"===o))for(;l.path.length>1&&""===l.path[0];)U(l.path);"?"===o?(l.query="",c=xe):"#"===o&&(l.fragment="",c=Pe)}else f+=de(o,le);break;case ke:"?"===o?(l.query="",c=xe):"#"===o?(l.fragment="",c=Pe):o!==r&&(l.path[0]+=de(o,ae));break;case xe:t||"#"!==o?o!==r&&("'"===o&&l.isSpecial()?l.query+="%27":l.query+="#"===o?"%23":de(o,ae)):(l.fragment="",c=Pe);break;case Pe:o!==r&&(l.fragment+=de(o,ue))}d++}},parseHost:function(e){var t,n,r;if("["===L(e,0)){if("]"!==L(e,e.length-1))return H;if(t=function(e){var t,n,r,i,o,s,a,u=[0,0,0,0,0,0,0,0],l=0,c=null,d=0,f=function(){return L(e,d)};if(":"===f()){if(":"!==L(e,1))return;d+=2,c=++l}for(;f();){if(8===l)return;if(":"!==f()){for(t=n=0;n<4&&k(ee,f());)t=16*t+C(f(),16),d++,n++;if("."===f()){if(0===n)return;if(d-=n,l>6)return;for(r=0;f();){if(i=null,r>0){if(!("."===f()&&r<4))return;d++}if(!k(J,f()))return;for(;k(J,f());){if(o=C(f(),10),null===i)i=o;else{if(0===i)return;i=10*i+o}if(i>255)return;d++}u[l]=256*u[l]+i,2!==++r&&4!==r||l++}if(4!==r)return;break}if(":"===f()){if(d++,!f())return}else if(f())return;u[l++]=t}else{if(null!==c)return;d++,c=++l}}if(null!==c)for(s=l-c,l=7;0!==l&&s>0;)a=u[l],u[l--]=u[c+s-1],u[c+--s]=a;else if(8!==l)return;return u}(K(e,1,-1)),!t)return H;this.host=t}else if(this.isSpecial()){if(e=y(e),k(te,e))return H;if(t=function(e){var t,n,r,i,o,s,a,u=j(e,".");if(u.length&&""===u[u.length-1]&&u.length--,(t=u.length)>4)return e;for(n=[],r=0;r<t;r++){if(""===(i=u[r]))return e;if(o=10,i.length>1&&"0"===L(i,0)&&(o=k(X,i)?16:8,i=K(i,8===o?1:2)),""===i)s=0;else{if(!k(10===o?Z:8===o?$:ee,i))return e;s=C(i,o)}B(n,s)}for(r=0;r<t;r++)if(s=n[r],r===t-1){if(s>=F(256,5-t))return null}else if(s>255)return null;for(a=M(n),r=0;r<n.length;r++)a+=n[r]*F(256,3-r);return a}(e),null===t)return H;this.host=t}else{if(k(ne,e))return H;for(t="",n=g(e),r=0;r<n.length;r++)t+=de(n[r],ae);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&&he(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,n=e.username,r=e.password,i=e.host,o=e.port,s=e.path,a=e.query,u=e.fragment,l=t+":";return null!==i?(l+="//",e.includesCredentials()&&(l+=n+(r?":"+r:"")+"@"),l+=se(i),null!==o&&(l+=":"+o)):"file"===t&&(l+="//"),l+=e.cannotBeABaseURL?s[0]:s.length?"/"+x(s,"/"):"",null!==a&&(l+="?"+a),null!==u&&(l+="#"+u),l},setHref:function(e){var t=this.parse(e);if(t)throw new R(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new Be(e.path[0]).origin}catch(n){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+se(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(_(e)+":",me)},getUsername:function(){return this.username},setUsername:function(e){var t=g(_(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var n=0;n<t.length;n++)this.username+=de(t[n],ce)}},getPassword:function(){return this.password},setPassword:function(e){var t=g(_(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var n=0;n<t.length;n++)this.password+=de(t[n],ce)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?se(e):se(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Ie)},getHostname:function(){var e=this.host;return null===e?"":se(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,we)},getPort:function(){var e=this.port;return null===e?"":_(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""===(e=_(e))?this.port=null:this.parse(e,Ae))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+x(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Fe))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=_(e))?this.query=null:("?"===L(e,0)&&(e=K(e,1)),this.query="",this.parse(e,xe)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!==(e=_(e))?("#"===L(e,0)&&(e=K(e,1)),this.fragment="",this.parse(e,Pe)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Be=function(e){var t=f(this,Ve),n=b(arguments.length,1)>1?arguments[1]:void 0,r=T(t,new Me(e,!1,n));o||(t.href=r.serialize(),t.origin=r.getOrigin(),t.protocol=r.getProtocol(),t.username=r.getUsername(),t.password=r.getPassword(),t.host=r.getHost(),t.hostname=r.getHostname(),t.port=r.getPort(),t.pathname=r.getPathname(),t.search=r.getSearch(),t.searchParams=r.getSearchParams(),t.hash=r.getHash())},Ve=Be.prototype,Ue=function(e,t){return{get:function(){return S(this)[e]()},set:t&&function(e){return S(this)[t](e)},configurable:!0,enumerable:!0}};if(o&&(d(Ve,"href",Ue("serialize","setHref")),d(Ve,"origin",Ue("getOrigin")),d(Ve,"protocol",Ue("getProtocol","setProtocol")),d(Ve,"username",Ue("getUsername","setUsername")),d(Ve,"password",Ue("getPassword","setPassword")),d(Ve,"host",Ue("getHost","setHost")),d(Ve,"hostname",Ue("getHostname","setHostname")),d(Ve,"port",Ue("getPort","setPort")),d(Ve,"pathname",Ue("getPathname","setPathname")),d(Ve,"search",Ue("getSearch","setSearch")),d(Ve,"searchParams",Ue("getSearchParams")),d(Ve,"hash",Ue("getHash","setHash"))),c(Ve,"toJSON",(function(){return S(this).serialize()}),{enumerable:!0}),c(Ve,"toString",(function(){return S(this).serialize()}),{enumerable:!0}),A){var je=A.createObjectURL,Ke=A.revokeObjectURL;je&&c(Be,"createObjectURL",u(je,A)),Ke&&c(Be,"revokeObjectURL",u(Ke,A))}E(Be,"URL"),i({global:!0,constructor:!0,forced:!s,sham:!o},{URL:Be})},9564:(e,t,n)=>{"use strict";n(114)},6532:(e,t,n)=>{"use strict";var r=n(4146),i=n(9745);r({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return i(URL.prototype.toString,this)}})},5298:(e,t,n)=>{"use strict";n.d(t,{Wk:()=>l,eO:()=>s,yJ:()=>u});var r=n(5515),i=n(2832),o=n(1159);class s extends Error{constructor(e){for(var t,n,o,u=arguments.length,l=new Array(u>1?u-1:0),c=1;c<u;c++)l[c-1]=arguments[c];const{nodes:d,source:f,positions:h,path:p,originalError:g,extensions:m}=function(e){const t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(l);super(e),this.name="GraphQLError",this.path=null!==p&&void 0!==p?p:void 0,this.originalError=null!==g&&void 0!==g?g:void 0,this.nodes=a(Array.isArray(d)?d:d?[d]:void 0);const v=a(null===(t=this.nodes)||void 0===t?void 0:t.map((e=>e.loc)).filter((e=>null!=e)));this.source=null!==f&&void 0!==f?f:null===v||void 0===v||null===(n=v[0])||void 0===n?void 0:n.source,this.positions=null!==h&&void 0!==h?h:null===v||void 0===v?void 0:v.map((e=>e.start)),this.locations=h&&f?h.map((e=>(0,i.g)(f,e))):null===v||void 0===v?void 0:v.map((e=>(0,i.g)(e.source,e.start)));const y=(0,r.Z)(null===g||void 0===g?void 0:g.extensions)?null===g||void 0===g?void 0:g.extensions:void 0;this.extensions=null!==(o=null!==m&&void 0!==m?m:y)&&void 0!==o?o:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!==g&&void 0!==g&&g.stack?Object.defineProperty(this,"stack",{value:g.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,s):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(const t of this.nodes)t.loc&&(e+="\n\n"+(0,o.V)(t.loc));else if(this.source&&this.locations)for(const t of this.locations)e+="\n\n"+(0,o.C)(this.source,t);return e}toJSON(){const e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function a(e){return void 0===e||0===e.length?void 0:e}function u(e){return e.toString()}function l(e){return e.toJSON()}},362:(e,t,n)=>{"use strict";n.d(t,{I:()=>i});var r=n(5298);function i(e,t,n){return new r.eO("Syntax Error: ".concat(n),{source:e,positions:[t]})}},2938:(e,t,n)=>{"use strict";n.d(t,{S:()=>l,_:()=>u});var r=n(466),i=n(7929),o=n(9005),s=n(5629),a=n(8723);function u(e,t,n,r,i){const o=new Map;return c(e,t,n,r,i,o,new Set),o}function l(e,t,n,r,i){const o=new Map,s=new Set;for(const a of i)a.selectionSet&&c(e,t,n,r,a.selectionSet,o,s);return o}function c(e,t,n,i,o,s,a){for(const l of o.selections)switch(l.kind){case r.b.FIELD:{if(!d(n,l))continue;const e=(u=l).alias?u.alias.value:u.name.value,t=s.get(e);void 0!==t?t.push(l):s.set(e,[l]);break}case r.b.INLINE_FRAGMENT:if(!d(n,l)||!f(e,l,i))continue;c(e,t,n,i,l.selectionSet,s,a);break;case r.b.FRAGMENT_SPREAD:{const r=l.name.value;if(a.has(r)||!d(n,l))continue;a.add(r);const o=t[r];if(!o||!f(e,o,i))continue;c(e,t,n,i,o.selectionSet,s,a);break}}var u}function d(e,t){const n=(0,a.YY)(o.MQ,t,e);if(!0===(null===n||void 0===n?void 0:n.if))return!1;const r=(0,a.YY)(o.HQ,t,e);return!1!==(null===r||void 0===r?void 0:r.if)}function f(e,t,n){const r=t.typeCondition;if(!r)return!0;const o=(0,s.v)(e,r);return o===n||!!(0,i.Lc)(o)&&e.isSubType(o,n)}},8723:(e,t,n)=>{"use strict";n.d(t,{IA:()=>p,VE:()=>h,YY:()=>g});var r=n(5457),i=n(4386),o=n(2336),s=n(5298),a=n(466),u=n(807),l=n(7929),c=n(7467),d=n(5629),f=n(1286);function h(e,t,n,i){const a=[],h=null===i||void 0===i?void 0:i.maxErrors;try{const i=function(e,t,n,i){const a={};for(const h of t){const t=h.variable.name.value,p=(0,d.v)(e,h.type);if(!(0,l.dX)(p)){const e=(0,u.y)(h.type);i(new s.eO('Variable "$'.concat(t,'" expected value of type "').concat(e,'" which cannot be used as an input type.'),{nodes:h.type}));continue}if(!m(n,t)){if(h.defaultValue)a[t]=(0,f.i)(h.defaultValue,p);else if((0,l.bd)(p)){const e=(0,r.N)(p);i(new s.eO('Variable "$'.concat(t,'" of required type "').concat(e,'" was not provided.'),{nodes:h}))}continue}const g=n[t];if(null===g&&(0,l.bd)(p)){const e=(0,r.N)(p);i(new s.eO('Variable "$'.concat(t,'" of non-null type "').concat(e,'" must not be null.'),{nodes:h}))}else a[t]=(0,c.v)(g,p,((e,n,a)=>{let u='Variable "$'.concat(t,'" got invalid value ')+(0,r.N)(n);e.length>0&&(u+=' at "'.concat(t).concat((0,o.q)(e),'"')),i(new s.eO(u+"; "+a.message,{nodes:h,originalError:a}))}))}return a}(e,t,n,(e=>{if(null!=h&&a.length>=h)throw new s.eO("Too many errors processing variables, error limit reached. Execution aborted.");a.push(e)}));if(0===a.length)return{coerced:i}}catch(p){a.push(p)}return{errors:a}}function p(e,t,n){var o;const c={},d=null!==(o=t.arguments)&&void 0!==o?o:[],h=(0,i.K)(d,(e=>e.name.value));for(const i of e.args){const e=i.name,o=i.type,d=h[e];if(!d){if(void 0!==i.defaultValue)c[e]=i.defaultValue;else if((0,l.bd)(o))throw new s.eO('Argument "'.concat(e,'" of required type "').concat((0,r.N)(o),'" ')+"was not provided.",{nodes:t});continue}const p=d.value;let g=p.kind===a.b.NULL;if(p.kind===a.b.VARIABLE){const t=p.name.value;if(null==n||!m(n,t)){if(void 0!==i.defaultValue)c[e]=i.defaultValue;else if((0,l.bd)(o))throw new s.eO('Argument "'.concat(e,'" of required type "').concat((0,r.N)(o),'" ')+'was provided the variable "$'.concat(t,'" which was not provided a runtime value.'),{nodes:p});continue}g=null==n[t]}if(g&&(0,l.bd)(o))throw new s.eO('Argument "'.concat(e,'" of non-null type "').concat((0,r.N)(o),'" ')+"must not be null.",{nodes:p});const v=(0,f.i)(p,o,n);if(void 0===v)throw new s.eO('Argument "'.concat(e,'" has invalid value ').concat((0,u.y)(p),"."),{nodes:p});c[e]=v}return c}function g(e,t,n){var r;const i=null===(r=t.directives)||void 0===r?void 0:r.find((t=>t.name.value===e.name));if(i)return p(e,i,n)}function m(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},9979:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BREAK:()=>te.sP,BreakingChangeType:()=>wt,DEFAULT_DEPRECATION_REASON:()=>H.Il,DangerousChangeType:()=>At,DirectiveLocation:()=>ne.H,ExecutableDefinitionsRule:()=>ce.T,FieldsOnCorrectTypeRule:()=>de.Z,FragmentsOnCompositeTypesRule:()=>fe.T,GRAPHQL_MAX_INT:()=>z.BW,GRAPHQL_MIN_INT:()=>z.nM,GraphQLBoolean:()=>z.kk,GraphQLDeprecatedDirective:()=>H.yK,GraphQLDirective:()=>H.RR,GraphQLEnumType:()=>b.Zb,GraphQLError:()=>m.eO,GraphQLFloat:()=>z.qS,GraphQLID:()=>z.N1,GraphQLIncludeDirective:()=>H.HQ,GraphQLInputObjectType:()=>b.zP,GraphQLInt:()=>z.Fh,GraphQLInterfaceType:()=>b.VA,GraphQLList:()=>b.KT,GraphQLNonNull:()=>b.Gc,GraphQLObjectType:()=>b.bh,GraphQLOneOfDirective:()=>H.mM,GraphQLScalarType:()=>b.Ag,GraphQLSchema:()=>G.V4,GraphQLSkipDirective:()=>H.MQ,GraphQLSpecifiedByDirective:()=>H.gw,GraphQLString:()=>z.FV,GraphQLUnionType:()=>b.hI,Kind:()=>E.b,KnownArgumentNamesRule:()=>he.P,KnownDirectivesRule:()=>pe.e,KnownFragmentNamesRule:()=>ge.K,KnownTypeNamesRule:()=>me.y,Lexer:()=>$.J,Location:()=>_.aZ,LoneAnonymousOperationRule:()=>ve.P,LoneSchemaDefinitionRule:()=>Me.l,MaxIntrospectionDepthRule:()=>Pe.B,NoDeprecatedCustomRule:()=>Ge.k,NoFragmentCyclesRule:()=>ye.n,NoSchemaIntrospectionCustomRule:()=>ae,NoUndefinedVariablesRule:()=>_e.Z,NoUnusedFragmentsRule:()=>Ee.z,NoUnusedVariablesRule:()=>be.p,OperationTypeNode:()=>_.cE,OverlappingFieldsCanBeMergedRule:()=>De.K,PossibleFragmentSpreadsRule:()=>Ne.y,PossibleTypeExtensionsRule:()=>qe.S,ProvidedRequiredArgumentsRule:()=>Te.X,ScalarLeafsRule:()=>Se.A,SchemaMetaFieldDef:()=>D.S0,SingleFieldSubscriptionsRule:()=>Ie.R,Source:()=>Q.k,Token:()=>_.ou,TokenKind:()=>Z.Y,TypeInfo:()=>Xt.D,TypeKind:()=>D.fY,TypeMetaFieldDef:()=>D.Xe,TypeNameMetaFieldDef:()=>D.of,UniqueArgumentDefinitionNamesRule:()=>Ke.E,UniqueArgumentNamesRule:()=>we.J,UniqueDirectiveNamesRule:()=>Ye.Z,UniqueDirectivesPerLocationRule:()=>Ae.U,UniqueEnumValueNamesRule:()=>Ue.g,UniqueFieldDefinitionNamesRule:()=>je.X,UniqueFragmentNamesRule:()=>Re.K,UniqueInputFieldNamesRule:()=>Ce.C,UniqueOperationNamesRule:()=>Oe.H,UniqueOperationTypesRule:()=>Be.u,UniqueTypeNamesRule:()=>Ve.i,UniqueVariableNamesRule:()=>Fe._,ValidationContext:()=>ue.dY,ValuesOfCorrectTypeRule:()=>Le.U,VariablesAreInputTypesRule:()=>ke.J,VariablesInAllowedPositionRule:()=>xe.E,__Directive:()=>D.sv,__DirectiveLocation:()=>D.$4,__EnumValue:()=>D.B1,__Field:()=>D.z9,__InputValue:()=>D.Ym,__Schema:()=>D.em,__Type:()=>D.P8,__TypeKind:()=>D.B0,assertAbstractType:()=>b.N_,assertCompositeType:()=>b.Ye,assertDirective:()=>H.yq,assertEnumType:()=>b.el,assertEnumValueName:()=>W.A,assertInputObjectType:()=>b.Yq,assertInputType:()=>b.L9,assertInterfaceType:()=>b.qL,assertLeafType:()=>b.D0,assertListType:()=>b.dL,assertName:()=>W.I,assertNamedType:()=>b.sF,assertNonNullType:()=>b.ZX,assertNullableType:()=>b.wG,assertObjectType:()=>b.qC,assertOutputType:()=>b.yh,assertScalarType:()=>b.Zx,assertSchema:()=>G.GU,assertType:()=>b.j,assertUnionType:()=>b.EG,assertValidName:()=>St,assertValidSchema:()=>u.Y,assertWrappingType:()=>b.B3,astFromValue:()=>st.K,buildASTSchema:()=>zt.o,buildClientSchema:()=>Ze,buildSchema:()=>zt.I,coerceInputValue:()=>$t.v,concatAST:()=>Et,createSourceEventStream:()=>se,defaultFieldResolver:()=>U,defaultTypeResolver:()=>V,doTypesOverlap:()=>Zt.uI,execute:()=>I,executeSync:()=>w,extendSchema:()=>Wt.i,findBreakingChanges:()=>Ot,findDangerousChanges:()=>Ft,formatError:()=>m.Wk,getArgumentValues:()=>T.IA,getDirectiveValues:()=>T.YY,getEnterLeaveForKind:()=>te.XO,getIntrospectionQuery:()=>ze,getLocation:()=>J.g,getNamedType:()=>b.MR,getNullableType:()=>b.yl,getOperationAST:()=>We,getOperationRootType:()=>Qe,getVariableValues:()=>T.VE,getVisitFn:()=>te.UY,graphql:()=>K,graphqlSync:()=>Y,introspectionFromSchema:()=>Je,introspectionTypes:()=>D.V4,isAbstractType:()=>b.Lc,isCompositeType:()=>b.ML,isConstValueNode:()=>re.TZ,isDefinitionNode:()=>re.MD,isDirective:()=>H.qT,isEnumType:()=>b.oF,isEqualType:()=>Zt.n8,isExecutableDefinitionNode:()=>re._m,isInputObjectType:()=>b.qK,isInputType:()=>b.dX,isInterfaceType:()=>b.kD,isIntrospectionType:()=>D.Yh,isLeafType:()=>b.zf,isListType:()=>b.Fs,isNamedType:()=>b.sy,isNonNullType:()=>b.bd,isNullableType:()=>b.wj,isObjectType:()=>b.YQ,isOutputType:()=>b.oH,isRequiredArgument:()=>b.xP,isRequiredInputField:()=>b.YX,isScalarType:()=>b.lg,isSchema:()=>G.Wl,isSelectionNode:()=>re.VK,isSpecifiedDirective:()=>H.Qe,isSpecifiedScalarType:()=>z.PZ,isType:()=>b.Xj,isTypeDefinitionNode:()=>re.a6,isTypeExtensionNode:()=>re.i7,isTypeNode:()=>re.dI,isTypeSubTypeOf:()=>Zt.sP,isTypeSystemDefinitionNode:()=>re.xu,isTypeSystemExtensionNode:()=>re.fT,isUnionType:()=>b.CK,isValidNameError:()=>It,isValueNode:()=>re.aR,isWrappingType:()=>b.lS,lexicographicSortSchema:()=>tt,locatedError:()=>y,parse:()=>a.qg,parseConstValue:()=>a.u8,parseType:()=>a.Mb,parseValue:()=>a.$x,print:()=>ee.y,printError:()=>m.yJ,printIntrospectionSchema:()=>ut,printLocation:()=>X.V,printSchema:()=>at,printSourceLocation:()=>X.C,printType:()=>ft,recommendedRules:()=>le.b0,resolveObjMapThunk:()=>b.qN,resolveReadonlyArrayThunk:()=>b.aj,responsePathAsArray:()=>p.A,separateOperations:()=>bt,specifiedDirectives:()=>H.rc,specifiedRules:()=>le.gv,specifiedScalarTypes:()=>z.YC,stripIgnoredCharacters:()=>Tt,subscribe:()=>oe,syntaxError:()=>He.I,typeFromAST:()=>Qt.v,validate:()=>l.tf,validateSchema:()=>u.i,valueFromAST:()=>$e.i,valueFromASTUntyped:()=>Jt.F,version:()=>r,versionInfo:()=>i,visit:()=>te.YR,visitInParallel:()=>te.oP,visitWithTypeInfo:()=>Xt.S});const r="16.9.0",i=Object.freeze({major:16,minor:9,patch:0,preReleaseTag:null});var o=n(398);function s(e){return"function"===typeof(null===e||void 0===e?void 0:e.then)}var a=n(9932),u=n(6297),l=n(2518),c=n(5457),d=n(4061),f=n(8344),h=n(5515);var p=n(3106);function g(e){return Promise.all(Object.values(e)).then((t=>{const n=Object.create(null);for(const[r,i]of Object.keys(e).entries())n[i]=t[r];return n}))}var m=n(5298);class v extends Error{constructor(e){super("Unexpected error value: "+(0,c.N)(e)),this.name="NonErrorThrown",this.thrownValue=e}}function y(e,t,n){var r;const i=(o=e)instanceof Error?o:new v(o);var o,s;return s=i,Array.isArray(s.path)?i:new m.eO(i.message,{nodes:null!==(r=i.nodes)&&void 0!==r?r:t,source:i.source,positions:i.positions,path:n,originalError:i})}var _=n(8907),E=n(466),b=n(7929),D=n(2176),N=n(2938),T=n(8723);const S=function(e){let t;return function(n,r,i){void 0===t&&(t=new WeakMap);let o=t.get(n);void 0===o&&(o=new WeakMap,t.set(n,o));let s=o.get(r);void 0===s&&(s=new WeakMap,o.set(r,s));let a=s.get(i);return void 0===a&&(a=e(n,r,i),s.set(i,a)),a}}(((e,t,n)=>(0,N.S)(e.schema,e.fragments,e.variableValues,t,n)));function I(e){arguments.length<2||(0,o.U)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");const{schema:t,document:n,variableValues:r,rootValue:i}=e;R(t,n,r);const a=C(e);if(!("schema"in a))return{errors:a};try{const{operation:e}=a,t=function(e,t,n){const r=e.schema.getRootType(t.operation);if(null==r)throw new m.eO("Schema is not configured to execute ".concat(t.operation," operation."),{nodes:t});const i=(0,N._)(e.schema,e.fragments,e.variableValues,r,t.selectionSet),o=void 0;switch(t.operation){case _.cE.QUERY:return O(e,r,n,o,i);case _.cE.MUTATION:return function(e,t,n,r,i){return function(e,t,n){let r=n;for(const i of e)r=s(r)?r.then((e=>t(e,i))):t(r,i);return r}(i.entries(),((i,o)=>{let[a,u]=o;const l=(0,p.f)(r,a,t.name),c=F(e,t,n,u,l);return void 0===c?i:s(c)?c.then((e=>(i[a]=e,i))):(i[a]=c,i)}),Object.create(null))}(e,r,n,o,i);case _.cE.SUBSCRIPTION:return O(e,r,n,o,i)}}(a,e,i);return s(t)?t.then((e=>A(e,a.errors)),(e=>(a.errors.push(e),A(null,a.errors)))):A(t,a.errors)}catch(u){return a.errors.push(u),A(null,a.errors)}}function w(e){const t=I(e);if(s(t))throw new Error("GraphQL execution failed to complete synchronously.");return t}function A(e,t){return 0===t.length?{data:e}:{errors:t,data:e}}function R(e,t,n){t||(0,o.U)(!1,"Must provide document."),(0,u.Y)(e),null==n||(0,h.Z)(n)||(0,o.U)(!1,"Variables must be provided as an Object where each property is a variable value. Perhaps look to see if an unparsed JSON string was provided.")}function C(e){var t,n;const{schema:r,document:i,rootValue:o,contextValue:s,variableValues:a,operationName:u,fieldResolver:l,typeResolver:c,subscribeFieldResolver:d}=e;let f;const h=Object.create(null);for(const v of i.definitions)switch(v.kind){case E.b.OPERATION_DEFINITION:if(null==u){if(void 0!==f)return[new m.eO("Must provide operation name if query contains multiple operations.")];f=v}else(null===(t=v.name)||void 0===t?void 0:t.value)===u&&(f=v);break;case E.b.FRAGMENT_DEFINITION:h[v.name.value]=v}if(!f)return null!=u?[new m.eO('Unknown operation named "'.concat(u,'".'))]:[new m.eO("Must provide an operation.")];const p=null!==(n=f.variableDefinitions)&&void 0!==n?n:[],g=(0,T.VE)(r,p,null!==a&&void 0!==a?a:{},{maxErrors:50});return g.errors?g.errors:{schema:r,fragments:h,rootValue:o,contextValue:s,operation:f,variableValues:g.coerced,fieldResolver:null!==l&&void 0!==l?l:U,typeResolver:null!==c&&void 0!==c?c:V,subscribeFieldResolver:null!==d&&void 0!==d?d:U,errors:[]}}function O(e,t,n,r,i){const o=Object.create(null);let a=!1;try{for(const[u,l]of i.entries()){const i=F(e,t,n,l,(0,p.f)(r,u,t.name));void 0!==i&&(o[u]=i,s(i)&&(a=!0))}}catch(u){if(a)return g(o).finally((()=>{throw u}));throw u}return a?g(o):o}function F(e,t,n,r,i){var o;const a=j(e.schema,t,r[0]);if(!a)return;const u=a.type,l=null!==(o=a.resolve)&&void 0!==o?o:e.fieldResolver,c=L(e,a,r,t,i);try{const t=(0,T.IA)(a,r[0],e.variableValues),o=l(n,t,e.contextValue,c);let d;return d=s(o)?o.then((t=>x(e,u,r,c,i,t))):x(e,u,r,c,i,o),s(d)?d.then(void 0,(t=>k(y(t,r,(0,p.A)(i)),u,e))):d}catch(d){return k(y(d,r,(0,p.A)(i)),u,e)}}function L(e,t,n,r,i){return{fieldName:t.name,fieldNodes:n,returnType:t.type,parentType:r,path:i,schema:e.schema,fragments:e.fragments,rootValue:e.rootValue,operation:e.operation,variableValues:e.variableValues}}function k(e,t,n){if((0,b.bd)(t))throw e;return n.errors.push(e),null}function x(e,t,n,r,i,o){if(o instanceof Error)throw o;if((0,b.bd)(t)){const s=x(e,t.ofType,n,r,i,o);if(null===s)throw new Error("Cannot return null for non-nullable field ".concat(r.parentType.name,".").concat(r.fieldName,"."));return s}return null==o?null:(0,b.Fs)(t)?function(e,t,n,r,i,o){if(!(0,f.A)(o))throw new m.eO('Expected Iterable, but did not find one for field "'.concat(r.parentType.name,".").concat(r.fieldName,'".'));const a=t.ofType;let u=!1;const l=Array.from(o,((t,o)=>{const l=(0,p.f)(i,o,void 0);try{let i;return i=s(t)?t.then((t=>x(e,a,n,r,l,t))):x(e,a,n,r,l,t),s(i)?(u=!0,i.then(void 0,(t=>k(y(t,n,(0,p.A)(l)),a,e)))):i}catch(c){return k(y(c,n,(0,p.A)(l)),a,e)}}));return u?Promise.all(l):l}(e,t,n,r,i,o):(0,b.zf)(t)?function(e,t){const n=e.serialize(t);if(null==n)throw new Error("Expected `".concat((0,c.N)(e),".serialize(").concat((0,c.N)(t),")` to ")+"return non-nullable value, returned: ".concat((0,c.N)(n)));return n}(t,o):(0,b.Lc)(t)?function(e,t,n,r,i,o){var a;const u=null!==(a=t.resolveType)&&void 0!==a?a:e.typeResolver,l=e.contextValue,c=u(o,l,r,t);if(s(c))return c.then((s=>M(e,P(s,e,t,n,r,o),n,r,i,o)));return M(e,P(c,e,t,n,r,o),n,r,i,o)}(e,t,n,r,i,o):(0,b.YQ)(t)?M(e,t,n,r,i,o):void(0,d.V)(!1,"Cannot complete value of unexpected output type: "+(0,c.N)(t))}function P(e,t,n,r,i,o){if(null==e)throw new m.eO('Abstract type "'.concat(n.name,'" must resolve to an Object type at runtime for field "').concat(i.parentType.name,".").concat(i.fieldName,'". Either the "').concat(n.name,'" type should provide a "resolveType" function or each possible type should provide an "isTypeOf" function.'),r);if((0,b.YQ)(e))throw new m.eO("Support for returning GraphQLObjectType from resolveType was removed in graphql-js@16.0.0 please return type name instead.");if("string"!==typeof e)throw new m.eO('Abstract type "'.concat(n.name,'" must resolve to an Object type at runtime for field "').concat(i.parentType.name,".").concat(i.fieldName,'" with ')+"value ".concat((0,c.N)(o),', received "').concat((0,c.N)(e),'".'));const s=t.schema.getType(e);if(null==s)throw new m.eO('Abstract type "'.concat(n.name,'" was resolved to a type "').concat(e,'" that does not exist inside the schema.'),{nodes:r});if(!(0,b.YQ)(s))throw new m.eO('Abstract type "'.concat(n.name,'" was resolved to a non-object type "').concat(e,'".'),{nodes:r});if(!t.schema.isSubType(n,s))throw new m.eO('Runtime Object type "'.concat(s.name,'" is not a possible type for "').concat(n.name,'".'),{nodes:r});return s}function M(e,t,n,r,i,o){const a=S(e,t,n);if(t.isTypeOf){const u=t.isTypeOf(o,e.contextValue,r);if(s(u))return u.then((r=>{if(!r)throw B(t,o,n);return O(e,t,o,i,a)}));if(!u)throw B(t,o,n)}return O(e,t,o,i,a)}function B(e,t,n){return new m.eO('Expected value of type "'.concat(e.name,'" but got: ').concat((0,c.N)(t),"."),{nodes:n})}const V=function(e,t,n,r){if((0,h.Z)(e)&&"string"===typeof e.__typename)return e.__typename;const i=n.schema.getPossibleTypes(r),o=[];for(let a=0;a<i.length;a++){const r=i[a];if(r.isTypeOf){const i=r.isTypeOf(e,t,n);if(s(i))o[a]=i;else if(i)return r.name}}return o.length?Promise.all(o).then((e=>{for(let t=0;t<e.length;t++)if(e[t])return i[t].name})):void 0},U=function(e,t,n,r){if((0,h.Z)(e)||"function"===typeof e){const i=e[r.fieldName];return"function"===typeof i?e[r.fieldName](t,n,r):i}};function j(e,t,n){const r=n.name.value;return r===D.S0.name&&e.getQueryType()===t?D.S0:r===D.Xe.name&&e.getQueryType()===t?D.Xe:r===D.of.name?D.of:t.getFields()[r]}function K(e){return new Promise((t=>t(q(e))))}function Y(e){const t=q(e);if(s(t))throw new Error("GraphQL execution failed to complete synchronously.");return t}function q(e){arguments.length<2||(0,o.U)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");const{schema:t,source:n,rootValue:r,contextValue:i,variableValues:s,operationName:c,fieldResolver:d,typeResolver:f}=e,h=(0,u.i)(t);if(h.length>0)return{errors:h};let p;try{p=(0,a.qg)(n)}catch(He){return{errors:[He]}}const g=(0,l.tf)(t,p);return g.length>0?{errors:g}:I({schema:t,document:p,rootValue:r,contextValue:i,variableValues:s,operationName:c,fieldResolver:d,typeResolver:f})}var G=n(122),H=n(9005),z=n(6746),W=n(6412),Q=n(4858),J=n(2832),X=n(1159),$=n(8017),Z=n(8382),ee=n(807),te=n(8449),ne=n(5617),re=n(7196);function ie(e){return"function"===typeof(null===e||void 0===e?void 0:e[Symbol.asyncIterator])}async function oe(e){arguments.length<2||(0,o.U)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");const t=await se(e);if(!ie(t))return t;return function(e,t){const n=e[Symbol.asyncIterator]();async function r(e){if(e.done)return e;try{return{value:await t(e.value),done:!1}}catch(r){if("function"===typeof n.return)try{await n.return()}catch(i){}throw r}}return{next:async()=>r(await n.next()),return:async()=>"function"===typeof n.return?r(await n.return()):{value:void 0,done:!0},async throw(e){if("function"===typeof n.throw)return r(await n.throw(e));throw e},[Symbol.asyncIterator](){return this}}}(t,(t=>I({...e,rootValue:t})))}async function se(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=function(e){const t=e[0];return t&&"document"in t?t:{schema:t,document:e[1],rootValue:e[2],contextValue:e[3],variableValues:e[4],operationName:e[5],subscribeFieldResolver:e[6]}}(t),{schema:i,document:o,variableValues:s}=r;R(i,o,s);const a=C(r);if(!("schema"in a))return{errors:a};try{const e=await async function(e){const{schema:t,fragments:n,operation:r,variableValues:i,rootValue:o}=e,s=t.getSubscriptionType();if(null==s)throw new m.eO("Schema is not configured to execute subscription operation.",{nodes:r});const a=(0,N._)(t,n,i,s,r.selectionSet),[u,l]=[...a.entries()][0],c=j(t,s,l[0]);if(!c){const e=l[0].name.value;throw new m.eO('The subscription field "'.concat(e,'" is not defined.'),{nodes:l})}const d=(0,p.f)(void 0,u,s.name),f=L(e,c,l,s,d);try{var h;const t=(0,T.IA)(c,l[0],i),n=e.contextValue,r=null!==(h=c.subscribe)&&void 0!==h?h:e.subscribeFieldResolver,s=await r(o,t,n,f);if(s instanceof Error)throw s;return s}catch(g){throw y(g,l,(0,p.A)(d))}}(a);if(!ie(e))throw new Error("Subscription field must return Async Iterable. "+"Received: ".concat((0,c.N)(e),"."));return e}catch(u){if(u instanceof m.eO)return{errors:[u]};throw u}}function ae(e){return{Field(t){const n=(0,b.MR)(e.getType());n&&(0,D.Yh)(n)&&e.reportError(new m.eO('GraphQL introspection has been disabled, but the requested query contained the field "'.concat(t.name.value,'".'),{nodes:t}))}}}var ue=n(9602),le=n(9523),ce=n(1412),de=n(36),fe=n(146),he=n(8598),pe=n(7413),ge=n(9129),me=n(1769),ve=n(2976),ye=n(6354),_e=n(1676),Ee=n(4008),be=n(2260),De=n(1041),Ne=n(6609),Te=n(6740),Se=n(4741),Ie=n(4900),we=n(1138),Ae=n(2739),Re=n(6261),Ce=n(6669),Oe=n(3938),Fe=n(3341),Le=n(2639),ke=n(3909),xe=n(1813),Pe=n(2744),Me=n(6396),Be=n(3677),Ve=n(4341),Ue=n(8041),je=n(1638),Ke=n(4199),Ye=n(1622),qe=n(826),Ge=n(1969),He=n(362);function ze(e){const t={descriptions:!0,specifiedByUrl:!1,directiveIsRepeatable:!1,schemaDescription:!1,inputValueDeprecation:!1,oneOf:!1,...e},n=t.descriptions?"description":"",r=t.specifiedByUrl?"specifiedByURL":"",i=t.directiveIsRepeatable?"isRepeatable":"",o=t.schemaDescription?n:"";function s(e){return t.inputValueDeprecation?e:""}const a=t.oneOf?"isOneOf":"";return"\n query IntrospectionQuery {\n __schema {\n ".concat(o,"\n queryType { name }\n mutationType { name }\n subscriptionType { name }\n types {\n ...FullType\n }\n directives {\n name\n ").concat(n,"\n ").concat(i,"\n locations\n args").concat(s("(includeDeprecated: true)")," {\n ...InputValue\n }\n }\n }\n }\n\n fragment FullType on __Type {\n kind\n name\n ").concat(n,"\n ").concat(r,"\n ").concat(a,"\n fields(includeDeprecated: true) {\n name\n ").concat(n,"\n args").concat(s("(includeDeprecated: true)")," {\n ...InputValue\n }\n type {\n ...TypeRef\n }\n isDeprecated\n deprecationReason\n }\n inputFields").concat(s("(includeDeprecated: true)")," {\n ...InputValue\n }\n interfaces {\n ...TypeRef\n }\n enumValues(includeDeprecated: true) {\n name\n ").concat(n,"\n isDeprecated\n deprecationReason\n }\n possibleTypes {\n ...TypeRef\n }\n }\n\n fragment InputValue on __InputValue {\n name\n ").concat(n,"\n type { ...TypeRef }\n defaultValue\n ").concat(s("isDeprecated"),"\n ").concat(s("deprecationReason"),"\n }\n\n fragment TypeRef on __Type {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n ")}function We(e,t){let n=null;for(const i of e.definitions){var r;if(i.kind===E.b.OPERATION_DEFINITION)if(null==t){if(n)return null;n=i}else if((null===(r=i.name)||void 0===r?void 0:r.value)===t)return i}return n}function Qe(e,t){if("query"===t.operation){const n=e.getQueryType();if(!n)throw new m.eO("Schema does not define the required query root type.",{nodes:t});return n}if("mutation"===t.operation){const n=e.getMutationType();if(!n)throw new m.eO("Schema is not configured for mutations.",{nodes:t});return n}if("subscription"===t.operation){const n=e.getSubscriptionType();if(!n)throw new m.eO("Schema is not configured for subscriptions.",{nodes:t});return n}throw new m.eO("Can only have query, mutation and subscription operations.",{nodes:t})}function Je(e,t){const n={specifiedByUrl:!0,directiveIsRepeatable:!0,schemaDescription:!0,inputValueDeprecation:!0,oneOf:!0,...t},r=w({schema:e,document:(0,a.qg)(ze(n))});return!r.errors&&r.data||(0,d.V)(!1),r.data}var Xe=n(3817),$e=n(1286);function Ze(e,t){(0,h.Z)(e)&&(0,h.Z)(e.__schema)||(0,o.U)(!1,'Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: '.concat((0,c.N)(e),"."));const n=e.__schema,r=(0,Xe.L)(n.types,(e=>e.name),(e=>function(e){if(null!=e&&null!=e.name&&null!=e.kind)switch(e.kind){case D.fY.SCALAR:return r=e,new b.Ag({name:r.name,description:r.description,specifiedByURL:r.specifiedByURL});case D.fY.OBJECT:return n=e,new b.bh({name:n.name,description:n.description,interfaces:()=>m(n),fields:()=>v(n)});case D.fY.INTERFACE:return t=e,new b.VA({name:t.name,description:t.description,interfaces:()=>m(t),fields:()=>v(t)});case D.fY.UNION:return function(e){if(!e.possibleTypes){const t=(0,c.N)(e);throw new Error("Introspection result missing possibleTypes: ".concat(t,"."))}return new b.hI({name:e.name,description:e.description,types:()=>e.possibleTypes.map(p)})}(e);case D.fY.ENUM:return function(e){if(!e.enumValues){const t=(0,c.N)(e);throw new Error("Introspection result missing enumValues: ".concat(t,"."))}return new b.Zb({name:e.name,description:e.description,values:(0,Xe.L)(e.enumValues,(e=>e.name),(e=>({description:e.description,deprecationReason:e.deprecationReason})))})}(e);case D.fY.INPUT_OBJECT:return function(e){if(!e.inputFields){const t=(0,c.N)(e);throw new Error("Introspection result missing inputFields: ".concat(t,"."))}return new b.zP({name:e.name,description:e.description,fields:()=>_(e.inputFields),isOneOf:e.isOneOf})}(e)}var t;var n;var r;const i=(0,c.N)(e);throw new Error("Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ".concat(i,"."))}(e)));for(const o of[...z.YC,...D.V4])r[o.name]&&(r[o.name]=o);const i=n.queryType?p(n.queryType):null,s=n.mutationType?p(n.mutationType):null,u=n.subscriptionType?p(n.subscriptionType):null,l=n.directives?n.directives.map((function(e){if(!e.args){const t=(0,c.N)(e);throw new Error("Introspection result missing directive args: ".concat(t,"."))}if(!e.locations){const t=(0,c.N)(e);throw new Error("Introspection result missing directive locations: ".concat(t,"."))}return new H.RR({name:e.name,description:e.description,isRepeatable:e.isRepeatable,locations:e.locations.slice(),args:_(e.args)})})):[];return new G.V4({description:n.description,query:i,mutation:s,subscription:u,types:Object.values(r),directives:l,assumeValid:null===t||void 0===t?void 0:t.assumeValid});function d(e){if(e.kind===D.fY.LIST){const t=e.ofType;if(!t)throw new Error("Decorated type deeper than introspection query.");return new b.KT(d(t))}if(e.kind===D.fY.NON_NULL){const t=e.ofType;if(!t)throw new Error("Decorated type deeper than introspection query.");const n=d(t);return new b.Gc((0,b.wG)(n))}return f(e)}function f(e){const t=e.name;if(!t)throw new Error("Unknown type reference: ".concat((0,c.N)(e),"."));const n=r[t];if(!n)throw new Error("Invalid or incomplete schema, unknown type: ".concat(t,". Ensure that a full introspection query is used in order to build a client schema."));return n}function p(e){return(0,b.qC)(f(e))}function g(e){return(0,b.qL)(f(e))}function m(e){if(null===e.interfaces&&e.kind===D.fY.INTERFACE)return[];if(!e.interfaces){const t=(0,c.N)(e);throw new Error("Introspection result missing interfaces: ".concat(t,"."))}return e.interfaces.map(g)}function v(e){if(!e.fields)throw new Error("Introspection result missing fields: ".concat((0,c.N)(e),"."));return(0,Xe.L)(e.fields,(e=>e.name),y)}function y(e){const t=d(e.type);if(!(0,b.oH)(t)){const e=(0,c.N)(t);throw new Error("Introspection must provide output type for fields, but received: ".concat(e,"."))}if(!e.args){const t=(0,c.N)(e);throw new Error("Introspection result missing field args: ".concat(t,"."))}return{description:e.description,deprecationReason:e.deprecationReason,type:t,args:_(e.args)}}function _(e){return(0,Xe.L)(e,(e=>e.name),E)}function E(e){const t=d(e.type);if(!(0,b.dX)(t)){const e=(0,c.N)(t);throw new Error("Introspection must provide input type for arguments, but received: ".concat(e,"."))}const n=null!=e.defaultValue?(0,$e.i)((0,a.$x)(e.defaultValue),t):void 0;return{description:e.description,type:t,defaultValue:n,deprecationReason:e.deprecationReason}}}var et=n(5747);function tt(e){const t=e.toConfig(),n=(0,Xe.L)(rt(t.types),(e=>e.name),(function(e){if((0,b.lg)(e)||(0,D.Yh)(e))return e;if((0,b.YQ)(e)){const t=e.toConfig();return new b.bh({...t,interfaces:()=>u(t.interfaces),fields:()=>a(t.fields)})}if((0,b.kD)(e)){const t=e.toConfig();return new b.VA({...t,interfaces:()=>u(t.interfaces),fields:()=>a(t.fields)})}if((0,b.CK)(e)){const t=e.toConfig();return new b.hI({...t,types:()=>u(t.types)})}if((0,b.oF)(e)){const t=e.toConfig();return new b.Zb({...t,values:nt(t.values,(e=>e))})}if((0,b.qK)(e)){const t=e.toConfig();return new b.zP({...t,fields:()=>nt(t.fields,(e=>({...e,type:r(e.type)})))})}(0,d.V)(!1,"Unexpected type: "+(0,c.N)(e))}));return new G.V4({...t,types:Object.values(n),directives:rt(t.directives).map((function(e){const t=e.toConfig();return new H.RR({...t,locations:it(t.locations,(e=>e)),args:s(t.args)})})),query:o(t.query),mutation:o(t.mutation),subscription:o(t.subscription)});function r(e){return(0,b.Fs)(e)?new b.KT(r(e.ofType)):(0,b.bd)(e)?new b.Gc(r(e.ofType)):i(e)}function i(e){return n[e.name]}function o(e){return e&&i(e)}function s(e){return nt(e,(e=>({...e,type:r(e.type)})))}function a(e){return nt(e,(e=>({...e,type:r(e.type),args:e.args&&s(e.args)})))}function u(e){return rt(e).map(i)}}function nt(e,t){const n=Object.create(null);for(const r of Object.keys(e).sort(et.p))n[r]=t(e[r]);return n}function rt(e){return it(e,(e=>e.name))}function it(e,t){return e.slice().sort(((e,n)=>{const r=t(e),i=t(n);return(0,et.p)(r,i)}))}var ot=n(379),st=n(4960);function at(e){return ct(e,(e=>!(0,H.Qe)(e)),lt)}function ut(e){return ct(e,H.Qe,D.Yh)}function lt(e){return!(0,z.PZ)(e)&&!(0,D.Yh)(e)}function ct(e,t,n){const r=e.getDirectives().filter(t),i=Object.values(e.getTypeMap()).filter(n);return[dt(e),...r.map((e=>function(e){return _t(e)+"directive @"+e.name+mt(e.args)+(e.isRepeatable?" repeatable":"")+" on "+e.locations.join(" | ")}(e))),...i.map((e=>ft(e)))].filter(Boolean).join("\n\n")}function dt(e){if(null==e.description&&function(e){const t=e.getQueryType();if(t&&"Query"!==t.name)return!1;const n=e.getMutationType();if(n&&"Mutation"!==n.name)return!1;const r=e.getSubscriptionType();if(r&&"Subscription"!==r.name)return!1;return!0}(e))return;const t=[],n=e.getQueryType();n&&t.push(" query: ".concat(n.name));const r=e.getMutationType();r&&t.push(" mutation: ".concat(r.name));const i=e.getSubscriptionType();return i&&t.push(" subscription: ".concat(i.name)),_t(e)+"schema {\n".concat(t.join("\n"),"\n}")}function ft(e){return(0,b.lg)(e)?function(e){return _t(e)+"scalar ".concat(e.name)+function(e){if(null==e.specifiedByURL)return"";const t=(0,ee.y)({kind:E.b.STRING,value:e.specifiedByURL});return" @specifiedBy(url: ".concat(t,")")}(e)}(e):(0,b.YQ)(e)?function(e){return _t(e)+"type ".concat(e.name)+ht(e)+pt(e)}(e):(0,b.kD)(e)?function(e){return _t(e)+"interface ".concat(e.name)+ht(e)+pt(e)}(e):(0,b.CK)(e)?function(e){const t=e.getTypes(),n=t.length?" = "+t.join(" | "):"";return _t(e)+"union "+e.name+n}(e):(0,b.oF)(e)?function(e){const t=e.getValues().map(((e,t)=>_t(e," ",!t)+" "+e.name+yt(e.deprecationReason)));return _t(e)+"enum ".concat(e.name)+gt(t)}(e):(0,b.qK)(e)?function(e){const t=Object.values(e.getFields()).map(((e,t)=>_t(e," ",!t)+" "+vt(e)));return _t(e)+"input ".concat(e.name)+(e.isOneOf?" @oneOf":"")+gt(t)}(e):void(0,d.V)(!1,"Unexpected type: "+(0,c.N)(e))}function ht(e){const t=e.getInterfaces();return t.length?" implements "+t.map((e=>e.name)).join(" & "):""}function pt(e){return gt(Object.values(e.getFields()).map(((e,t)=>_t(e," ",!t)+" "+e.name+mt(e.args," ")+": "+String(e.type)+yt(e.deprecationReason))))}function gt(e){return 0!==e.length?" {\n"+e.join("\n")+"\n}":""}function mt(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return 0===e.length?"":e.every((e=>!e.description))?"("+e.map(vt).join(", ")+")":"(\n"+e.map(((e,n)=>_t(e," "+t,!n)+" "+t+vt(e))).join("\n")+"\n"+t+")"}function vt(e){const t=(0,st.K)(e.defaultValue,e.type);let n=e.name+": "+String(e.type);return t&&(n+=" = ".concat((0,ee.y)(t))),n+yt(e.deprecationReason)}function yt(e){if(null==e)return"";if(e!==H.Il){const t=(0,ee.y)({kind:E.b.STRING,value:e});return" @deprecated(reason: ".concat(t,")")}return" @deprecated"}function _t(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const{description:r}=e;if(null==r)return"";return(t&&!n?"\n"+t:t)+(0,ee.y)({kind:E.b.STRING,value:r,block:(0,ot.CS)(r)}).replace(/\n/g,"\n"+t)+"\n"}function Et(e){const t=[];for(const n of e)t.push(...n.definitions);return{kind:E.b.DOCUMENT,definitions:t}}function bt(e){const t=[],n=Object.create(null);for(const i of e.definitions)switch(i.kind){case E.b.OPERATION_DEFINITION:t.push(i);break;case E.b.FRAGMENT_DEFINITION:n[i.name.value]=Nt(i.selectionSet)}const r=Object.create(null);for(const i of t){const t=new Set;for(const e of Nt(i.selectionSet))Dt(t,n,e);r[i.name?i.name.value:""]={kind:E.b.DOCUMENT,definitions:e.definitions.filter((e=>e===i||e.kind===E.b.FRAGMENT_DEFINITION&&t.has(e.name.value)))}}return r}function Dt(e,t,n){if(!e.has(n)){e.add(n);const r=t[n];if(void 0!==r)for(const n of r)Dt(e,t,n)}}function Nt(e){const t=[];return(0,te.YR)(e,{FragmentSpread(e){t.push(e.name.value)}}),t}function Tt(e){const t=(0,Q._)(e)?e:new Q.k(e),n=t.body,r=new $.J(t);let i="",o=!1;for(;r.advance().kind!==Z.Y.EOF;){const e=r.token,t=e.kind,s=!(0,$.Z)(e.kind);o&&(s||e.kind===Z.Y.SPREAD)&&(i+=" ");const a=n.slice(e.start,e.end);t===Z.Y.BLOCK_STRING?i+=(0,ot.yo)(e.value,{minimize:!0}):i+=a,o=s}return i}function St(e){const t=It(e);if(t)throw t;return e}function It(e){if("string"===typeof e||(0,o.U)(!1,"Expected name to be a string."),e.startsWith("__"))return new m.eO('Name "'.concat(e,'" must not begin with "__", which is reserved by GraphQL introspection.'));try{(0,W.I)(e)}catch(t){return t}}var wt,At,Rt=n(4386),Ct=n(5238);function Ot(e,t){return Lt(e,t).filter((e=>e.type in wt))}function Ft(e,t){return Lt(e,t).filter((e=>e.type in At))}function Lt(e,t){return[...xt(e,t),...kt(e,t)]}function kt(e,t){const n=[],r=Ht(e.getDirectives(),t.getDirectives());for(const i of r.removed)n.push({type:wt.DIRECTIVE_REMOVED,description:"".concat(i.name," was removed.")});for(const[i,o]of r.persisted){const e=Ht(i.args,o.args);for(const t of e.added)(0,b.xP)(t)&&n.push({type:wt.REQUIRED_DIRECTIVE_ARG_ADDED,description:"A required arg ".concat(t.name," on directive ").concat(i.name," was added.")});for(const t of e.removed)n.push({type:wt.DIRECTIVE_ARG_REMOVED,description:"".concat(t.name," was removed from ").concat(i.name,".")});i.isRepeatable&&!o.isRepeatable&&n.push({type:wt.DIRECTIVE_REPEATABLE_REMOVED,description:"Repeatable flag was removed from ".concat(i.name,".")});for(const t of i.locations)o.locations.includes(t)||n.push({type:wt.DIRECTIVE_LOCATION_REMOVED,description:"".concat(t," was removed from ").concat(i.name,".")})}return n}function xt(e,t){const n=[],r=Ht(Object.values(e.getTypeMap()),Object.values(t.getTypeMap()));for(const i of r.removed)n.push({type:wt.TYPE_REMOVED,description:(0,z.PZ)(i)?"Standard scalar ".concat(i.name," was removed because it is not referenced anymore."):"".concat(i.name," was removed.")});for(const[i,o]of r.persisted)(0,b.oF)(i)&&(0,b.oF)(o)?n.push(...Bt(i,o)):(0,b.CK)(i)&&(0,b.CK)(o)?n.push(...Mt(i,o)):(0,b.qK)(i)&&(0,b.qK)(o)?n.push(...Pt(i,o)):(0,b.YQ)(i)&&(0,b.YQ)(o)||(0,b.kD)(i)&&(0,b.kD)(o)?n.push(...Ut(i,o),...Vt(i,o)):i.constructor!==o.constructor&&n.push({type:wt.TYPE_CHANGED_KIND,description:"".concat(i.name," changed from ")+"".concat(qt(i)," to ").concat(qt(o),".")});return n}function Pt(e,t){const n=[],r=Ht(Object.values(e.getFields()),Object.values(t.getFields()));for(const i of r.added)(0,b.YX)(i)?n.push({type:wt.REQUIRED_INPUT_FIELD_ADDED,description:"A required field ".concat(i.name," on input type ").concat(e.name," was added.")}):n.push({type:At.OPTIONAL_INPUT_FIELD_ADDED,description:"An optional field ".concat(i.name," on input type ").concat(e.name," was added.")});for(const i of r.removed)n.push({type:wt.FIELD_REMOVED,description:"".concat(e.name,".").concat(i.name," was removed.")});for(const[i,o]of r.persisted){Yt(i.type,o.type)||n.push({type:wt.FIELD_CHANGED_KIND,description:"".concat(e.name,".").concat(i.name," changed type from ")+"".concat(String(i.type)," to ").concat(String(o.type),".")})}return n}function Mt(e,t){const n=[],r=Ht(e.getTypes(),t.getTypes());for(const i of r.added)n.push({type:At.TYPE_ADDED_TO_UNION,description:"".concat(i.name," was added to union type ").concat(e.name,".")});for(const i of r.removed)n.push({type:wt.TYPE_REMOVED_FROM_UNION,description:"".concat(i.name," was removed from union type ").concat(e.name,".")});return n}function Bt(e,t){const n=[],r=Ht(e.getValues(),t.getValues());for(const i of r.added)n.push({type:At.VALUE_ADDED_TO_ENUM,description:"".concat(i.name," was added to enum type ").concat(e.name,".")});for(const i of r.removed)n.push({type:wt.VALUE_REMOVED_FROM_ENUM,description:"".concat(i.name," was removed from enum type ").concat(e.name,".")});return n}function Vt(e,t){const n=[],r=Ht(e.getInterfaces(),t.getInterfaces());for(const i of r.added)n.push({type:At.IMPLEMENTED_INTERFACE_ADDED,description:"".concat(i.name," added to interfaces implemented by ").concat(e.name,".")});for(const i of r.removed)n.push({type:wt.IMPLEMENTED_INTERFACE_REMOVED,description:"".concat(e.name," no longer implements interface ").concat(i.name,".")});return n}function Ut(e,t){const n=[],r=Ht(Object.values(e.getFields()),Object.values(t.getFields()));for(const i of r.removed)n.push({type:wt.FIELD_REMOVED,description:"".concat(e.name,".").concat(i.name," was removed.")});for(const[i,o]of r.persisted){n.push(...jt(e,i,o));Kt(i.type,o.type)||n.push({type:wt.FIELD_CHANGED_KIND,description:"".concat(e.name,".").concat(i.name," changed type from ")+"".concat(String(i.type)," to ").concat(String(o.type),".")})}return n}function jt(e,t,n){const r=[],i=Ht(t.args,n.args);for(const o of i.removed)r.push({type:wt.ARG_REMOVED,description:"".concat(e.name,".").concat(t.name," arg ").concat(o.name," was removed.")});for(const[o,s]of i.persisted){if(Yt(o.type,s.type)){if(void 0!==o.defaultValue)if(void 0===s.defaultValue)r.push({type:At.ARG_DEFAULT_VALUE_CHANGE,description:"".concat(e.name,".").concat(t.name," arg ").concat(o.name," defaultValue was removed.")});else{const n=Gt(o.defaultValue,o.type),i=Gt(s.defaultValue,s.type);n!==i&&r.push({type:At.ARG_DEFAULT_VALUE_CHANGE,description:"".concat(e.name,".").concat(t.name," arg ").concat(o.name," has changed defaultValue from ").concat(n," to ").concat(i,".")})}}else r.push({type:wt.ARG_CHANGED_KIND,description:"".concat(e.name,".").concat(t.name," arg ").concat(o.name," has changed type from ")+"".concat(String(o.type)," to ").concat(String(s.type),".")})}for(const o of i.added)(0,b.xP)(o)?r.push({type:wt.REQUIRED_ARG_ADDED,description:"A required arg ".concat(o.name," on ").concat(e.name,".").concat(t.name," was added.")}):r.push({type:At.OPTIONAL_ARG_ADDED,description:"An optional arg ".concat(o.name," on ").concat(e.name,".").concat(t.name," was added.")});return r}function Kt(e,t){return(0,b.Fs)(e)?(0,b.Fs)(t)&&Kt(e.ofType,t.ofType)||(0,b.bd)(t)&&Kt(e,t.ofType):(0,b.bd)(e)?(0,b.bd)(t)&&Kt(e.ofType,t.ofType):(0,b.sy)(t)&&e.name===t.name||(0,b.bd)(t)&&Kt(e,t.ofType)}function Yt(e,t){return(0,b.Fs)(e)?(0,b.Fs)(t)&&Yt(e.ofType,t.ofType):(0,b.bd)(e)?(0,b.bd)(t)&&Yt(e.ofType,t.ofType)||!(0,b.bd)(t)&&Yt(e.ofType,t):(0,b.sy)(t)&&e.name===t.name}function qt(e){return(0,b.lg)(e)?"a Scalar type":(0,b.YQ)(e)?"an Object type":(0,b.kD)(e)?"an Interface type":(0,b.CK)(e)?"a Union type":(0,b.oF)(e)?"an Enum type":(0,b.qK)(e)?"an Input type":void(0,d.V)(!1,"Unexpected type: "+(0,c.N)(e))}function Gt(e,t){const n=(0,st.K)(e,t);return null!=n||(0,d.V)(!1),(0,ee.y)((0,Ct.M)(n))}function Ht(e,t){const n=[],r=[],i=[],o=(0,Rt.K)(e,(e=>{let{name:t}=e;return t})),s=(0,Rt.K)(t,(e=>{let{name:t}=e;return t}));for(const a of e){const e=s[a.name];void 0===e?r.push(a):i.push([a,e])}for(const a of t)void 0===o[a.name]&&n.push(a);return{added:n,persisted:i,removed:r}}!function(e){e.TYPE_REMOVED="TYPE_REMOVED",e.TYPE_CHANGED_KIND="TYPE_CHANGED_KIND",e.TYPE_REMOVED_FROM_UNION="TYPE_REMOVED_FROM_UNION",e.VALUE_REMOVED_FROM_ENUM="VALUE_REMOVED_FROM_ENUM",e.REQUIRED_INPUT_FIELD_ADDED="REQUIRED_INPUT_FIELD_ADDED",e.IMPLEMENTED_INTERFACE_REMOVED="IMPLEMENTED_INTERFACE_REMOVED",e.FIELD_REMOVED="FIELD_REMOVED",e.FIELD_CHANGED_KIND="FIELD_CHANGED_KIND",e.REQUIRED_ARG_ADDED="REQUIRED_ARG_ADDED",e.ARG_REMOVED="ARG_REMOVED",e.ARG_CHANGED_KIND="ARG_CHANGED_KIND",e.DIRECTIVE_REMOVED="DIRECTIVE_REMOVED",e.DIRECTIVE_ARG_REMOVED="DIRECTIVE_ARG_REMOVED",e.REQUIRED_DIRECTIVE_ARG_ADDED="REQUIRED_DIRECTIVE_ARG_ADDED",e.DIRECTIVE_REPEATABLE_REMOVED="DIRECTIVE_REPEATABLE_REMOVED",e.DIRECTIVE_LOCATION_REMOVED="DIRECTIVE_LOCATION_REMOVED"}(wt||(wt={})),function(e){e.VALUE_ADDED_TO_ENUM="VALUE_ADDED_TO_ENUM",e.TYPE_ADDED_TO_UNION="TYPE_ADDED_TO_UNION",e.OPTIONAL_INPUT_FIELD_ADDED="OPTIONAL_INPUT_FIELD_ADDED",e.OPTIONAL_ARG_ADDED="OPTIONAL_ARG_ADDED",e.IMPLEMENTED_INTERFACE_ADDED="IMPLEMENTED_INTERFACE_ADDED",e.ARG_DEFAULT_VALUE_CHANGE="ARG_DEFAULT_VALUE_CHANGE"}(At||(At={}));var zt=n(8706),Wt=n(7646),Qt=n(5629),Jt=n(7761),Xt=n(2679),$t=n(7467),Zt=n(7450)},3106:(e,t,n)=>{"use strict";function r(e,t,n){return{prev:e,key:t,typename:n}}function i(e){const t=[];let n=e;for(;n;)t.push(n.key),n=n.prev;return t.reverse()}n.d(t,{A:()=>i,f:()=>r})},398:(e,t,n)=>{"use strict";function r(e,t){if(!Boolean(e))throw new Error(t)}n.d(t,{U:()=>r})},3108:(e,t,n)=>{"use strict";n.d(t,{a:()=>i});const r=5;function i(e,t){const[n,i]=t?[e,t]:[void 0,e];let o=" Did you mean ";n&&(o+=n+" ");const s=i.map((e=>'"'.concat(e,'"')));switch(s.length){case 0:return"";case 1:return o+s[0]+"?";case 2:return o+s[0]+" or "+s[1]+"?"}const a=s.slice(0,r),u=a.pop();return o+a.join(", ")+", or "+u+"?"}},5551:(e,t,n)=>{"use strict";function r(e,t){const n=new Map;for(const r of e){const e=t(r),i=n.get(e);void 0===i?n.set(e,[r]):i.push(r)}return n}n.d(t,{$:()=>r})},5457:(e,t,n)=>{"use strict";n.d(t,{N:()=>o});const r=10,i=2;function o(e){return s(e,[])}function s(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":return function(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";const n=[...t,e];if(function(e){return"function"===typeof e.toJSON}(e)){const t=e.toJSON();if(t!==e)return"string"===typeof t?t:s(t,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>i)return"[Array]";const n=Math.min(r,e.length),o=e.length-n,a=[];for(let r=0;r<n;++r)a.push(s(e[r],t));1===o?a.push("... 1 more item"):o>1&&a.push("... ".concat(o," more items"));return"["+a.join(", ")+"]"}(e,n);return function(e,t){const n=Object.entries(e);if(0===n.length)return"{}";if(t.length>i)return"["+function(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"===typeof e.constructor){const t=e.constructor.name;if("string"===typeof t&&""!==t)return t}return t}(e)+"]";const r=n.map((e=>{let[n,r]=e;return n+": "+s(r,t)}));return"{ "+r.join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}},9725:(e,t,n)=>{"use strict";n.d(t,{h:()=>i});var r=n(5457);const i=globalThis.process&&!0?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if("object"===typeof e&&null!==e){var n;const i=t.prototype[Symbol.toStringTag];if(i===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null===(n=e.constructor)||void 0===n?void 0:n.name)){const t=(0,r.N)(e);throw new Error("Cannot use ".concat(i,' "').concat(t,'" from another module or realm.\n\nEnsure that there is only one instance of "graphql" in the node_modules\ndirectory. If different versions of "graphql" are the dependencies of other\nrelied on modules, use "resolutions" to ensure only one version is installed.\n\nhttps://yarnpkg.com/en/docs/selective-version-resolutions\n\nDuplicate "graphql" modules cannot be used at the same time since different\nversions may have different capabilities and behavior. The data from one\nversion used in the function from another could produce confusing and\nspurious results.'))}}return!1}},4061:(e,t,n)=>{"use strict";function r(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}n.d(t,{V:()=>r})},8344:(e,t,n)=>{"use strict";function r(e){return"object"===typeof e&&"function"===typeof(null===e||void 0===e?void 0:e[Symbol.iterator])}n.d(t,{A:()=>r})},5515:(e,t,n)=>{"use strict";function r(e){return"object"==typeof e&&null!==e}n.d(t,{Z:()=>r})},4386:(e,t,n)=>{"use strict";function r(e,t){const n=Object.create(null);for(const r of e)n[t(r)]=r;return n}n.d(t,{K:()=>r})},3817:(e,t,n)=>{"use strict";function r(e,t,n){const r=Object.create(null);for(const i of e)r[t(i)]=n(i);return r}n.d(t,{L:()=>r})},8998:(e,t,n)=>{"use strict";function r(e,t){const n=Object.create(null);for(const r of Object.keys(e))n[r]=t(e[r],r);return n}n.d(t,{I:()=>r})},5747:(e,t,n)=>{"use strict";function r(e,t){let n=0,r=0;for(;n<e.length&&r<t.length;){let o=e.charCodeAt(n),a=t.charCodeAt(r);if(s(o)&&s(a)){let u=0;do{++n,u=10*u+o-i,o=e.charCodeAt(n)}while(s(o)&&u>0);let l=0;do{++r,l=10*l+a-i,a=t.charCodeAt(r)}while(s(a)&&l>0);if(u<l)return-1;if(u>l)return 1}else{if(o<a)return-1;if(o>a)return 1;++n,++r}}return e.length-t.length}n.d(t,{p:()=>r});const i=48,o=57;function s(e){return!isNaN(e)&&i<=e&&e<=o}},2336:(e,t,n)=>{"use strict";function r(e){return e.map((e=>"number"===typeof e?"["+e.toString()+"]":"."+e)).join("")}n.d(t,{q:()=>r})},9884:(e,t,n)=>{"use strict";n.d(t,{x:()=>i});var r=n(5747);function i(e,t){const n=Object.create(null),i=new o(e),s=Math.floor(.4*e.length)+1;for(const r of t){const e=i.measure(r,s);void 0!==e&&(n[r]=e)}return Object.keys(n).sort(((e,t)=>{const i=n[e]-n[t];return 0!==i?i:(0,r.p)(e,t)}))}class o{constructor(e){this._input=e,this._inputLowerCase=e.toLowerCase(),this._inputArray=s(this._inputLowerCase),this._rows=[new Array(e.length+1).fill(0),new Array(e.length+1).fill(0),new Array(e.length+1).fill(0)]}measure(e,t){if(this._input===e)return 0;const n=e.toLowerCase();if(this._inputLowerCase===n)return 1;let r=s(n),i=this._inputArray;if(r.length<i.length){const e=r;r=i,i=e}const o=r.length,a=i.length;if(o-a>t)return;const u=this._rows;for(let s=0;s<=a;s++)u[0][s]=s;for(let s=1;s<=o;s++){const e=u[(s-1)%3],n=u[s%3];let o=n[0]=s;for(let t=1;t<=a;t++){const a=r[s-1]===i[t-1]?0:1;let l=Math.min(e[t]+1,n[t-1]+1,e[t-1]+a);if(s>1&&t>1&&r[s-1]===i[t-2]&&r[s-2]===i[t-1]){const e=u[(s-2)%3][t-2];l=Math.min(l,e+1)}l<o&&(o=l),n[t]=l}if(o>t)return}const l=u[o%3][a];return l<=t?l:void 0}}function s(e){const t=e.length,n=new Array(t);for(let r=0;r<t;++r)n[r]=e.charCodeAt(r);return n}},775:(e,t,n)=>{"use strict";function r(e){if(null==e)return Object.create(null);if(null===Object.getPrototypeOf(e))return e;const t=Object.create(null);for(const[n,r]of Object.entries(e))t[n]=r;return t}n.d(t,{z:()=>r})},8907:(e,t,n)=>{"use strict";n.d(t,{Ll:()=>a,aD:()=>o,aZ:()=>r,cE:()=>u,ou:()=>i});class r{constructor(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class i{constructor(e,t,n,r,i,o){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=o,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const o={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},s=new Set(Object.keys(o));function a(e){const t=null===e||void 0===e?void 0:e.kind;return"string"===typeof t&&s.has(t)}var u;!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(u||(u={}))},379:(e,t,n)=>{"use strict";n.d(t,{CS:()=>s,OC:()=>i,yo:()=>a});var r=n(8894);function i(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,i=-1;for(let a=0;a<e.length;++a){var s;const t=e[a],u=o(t);u!==t.length&&(r=null!==(s=r)&&void 0!==s?s:a,i=a,0!==a&&u<n&&(n=u))}return e.map(((e,t)=>0===t?e:e.slice(n))).slice(null!==(t=r)&&void 0!==t?t:0,i+1)}function o(e){let t=0;for(;t<e.length&&(0,r.i0)(e.charCodeAt(t));)++t;return t}function s(e){if(""===e)return!0;let t=!0,n=!1,r=!0,i=!1;for(let o=0;o<e.length;++o)switch(e.codePointAt(o)){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 11:case 12:case 14:case 15:case 13:return!1;case 10:if(t&&!i)return!1;i=!0,t=!0,n=!1;break;case 9:case 32:n||(n=t);break;default:r&&(r=n),t=!1}return!t&&(!r||!i)}function a(e,t){const n=e.replace(/"""/g,'\\"""'),i=n.split(/\r\n|[\n\r]/g),o=1===i.length,s=i.length>1&&i.slice(1).every((e=>0===e.length||(0,r.i0)(e.charCodeAt(0)))),a=n.endsWith('\\"""'),u=e.endsWith('"')&&!a,l=e.endsWith("\\"),c=u||l,d=!(null!==t&&void 0!==t&&t.minimize)&&(!o||e.length>70||c||s||a);let f="";const h=o&&(0,r.i0)(e.charCodeAt(0));return(d&&!h||s)&&(f+="\n"),f+=n,(d||c)&&(f+="\n"),'"""'+f+'"""'}},8894:(e,t,n)=>{"use strict";function r(e){return 9===e||32===e}function i(e){return e>=48&&e<=57}function o(e){return e>=97&&e<=122||e>=65&&e<=90}function s(e){return o(e)||95===e}function a(e){return o(e)||i(e)||95===e}n.d(t,{i0:()=>r,un:()=>s,xr:()=>a,yp:()=>i})},5617:(e,t,n)=>{"use strict";var r;n.d(t,{H:()=>r}),function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"}(r||(r={}))},466:(e,t,n)=>{"use strict";var r;n.d(t,{b:()=>r}),function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"}(r||(r={}))},8017:(e,t,n)=>{"use strict";n.d(t,{J:()=>u,Z:()=>l});var r=n(362),i=n(8907),o=n(379),s=n(8894),a=n(8382);class u{constructor(e){const t=new i.ou(a.Y.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){this.lastToken=this.token;return this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==a.Y.EOF)do{if(e.next)e=e.next;else{const t=m(this,e.end);e.next=t,t.prev=e,e=t}}while(e.kind===a.Y.COMMENT);return e}}function l(e){return e===a.Y.BANG||e===a.Y.DOLLAR||e===a.Y.AMP||e===a.Y.PAREN_L||e===a.Y.PAREN_R||e===a.Y.SPREAD||e===a.Y.COLON||e===a.Y.EQUALS||e===a.Y.AT||e===a.Y.BRACKET_L||e===a.Y.BRACKET_R||e===a.Y.BRACE_L||e===a.Y.PIPE||e===a.Y.BRACE_R}function c(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function d(e,t){return f(e.charCodeAt(t))&&h(e.charCodeAt(t+1))}function f(e){return e>=55296&&e<=56319}function h(e){return e>=56320&&e<=57343}function p(e,t){const n=e.source.body.codePointAt(t);if(void 0===n)return a.Y.EOF;if(n>=32&&n<=126){const e=String.fromCodePoint(n);return'"'===e?"'\"'":'"'.concat(e,'"')}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function g(e,t,n,r,o){const s=e.line,a=1+n-e.lineStart;return new i.ou(t,n,r,s,a,o)}function m(e,t){const n=e.source.body,i=n.length;let o=t;for(;o<i;){const t=n.charCodeAt(o);switch(t){case 65279:case 9:case 32:case 44:++o;continue;case 10:++o,++e.line,e.lineStart=o;continue;case 13:10===n.charCodeAt(o+1)?o+=2:++o,++e.line,e.lineStart=o;continue;case 35:return v(e,o);case 33:return g(e,a.Y.BANG,o,o+1);case 36:return g(e,a.Y.DOLLAR,o,o+1);case 38:return g(e,a.Y.AMP,o,o+1);case 40:return g(e,a.Y.PAREN_L,o,o+1);case 41:return g(e,a.Y.PAREN_R,o,o+1);case 46:if(46===n.charCodeAt(o+1)&&46===n.charCodeAt(o+2))return g(e,a.Y.SPREAD,o,o+3);break;case 58:return g(e,a.Y.COLON,o,o+1);case 61:return g(e,a.Y.EQUALS,o,o+1);case 64:return g(e,a.Y.AT,o,o+1);case 91:return g(e,a.Y.BRACKET_L,o,o+1);case 93:return g(e,a.Y.BRACKET_R,o,o+1);case 123:return g(e,a.Y.BRACE_L,o,o+1);case 124:return g(e,a.Y.PIPE,o,o+1);case 125:return g(e,a.Y.BRACE_R,o,o+1);case 34:return 34===n.charCodeAt(o+1)&&34===n.charCodeAt(o+2)?I(e,o):E(e,o)}if((0,s.yp)(t)||45===t)return y(e,o,t);if((0,s.un)(t))return w(e,o);throw(0,r.I)(e.source,o,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":c(t)||d(n,o)?"Unexpected character: ".concat(p(e,o),"."):"Invalid character: ".concat(p(e,o),"."))}return g(e,a.Y.EOF,i,i)}function v(e,t){const n=e.source.body,r=n.length;let i=t+1;for(;i<r;){const e=n.charCodeAt(i);if(10===e||13===e)break;if(c(e))++i;else{if(!d(n,i))break;i+=2}}return g(e,a.Y.COMMENT,t,i,n.slice(t+1,i))}function y(e,t,n){const i=e.source.body;let o=t,u=n,l=!1;if(45===u&&(u=i.charCodeAt(++o)),48===u){if(u=i.charCodeAt(++o),(0,s.yp)(u))throw(0,r.I)(e.source,o,"Invalid number, unexpected digit after 0: ".concat(p(e,o),"."))}else o=_(e,o,u),u=i.charCodeAt(o);if(46===u&&(l=!0,u=i.charCodeAt(++o),o=_(e,o,u),u=i.charCodeAt(o)),69!==u&&101!==u||(l=!0,u=i.charCodeAt(++o),43!==u&&45!==u||(u=i.charCodeAt(++o)),o=_(e,o,u),u=i.charCodeAt(o)),46===u||(0,s.un)(u))throw(0,r.I)(e.source,o,"Invalid number, expected digit but got: ".concat(p(e,o),"."));return g(e,l?a.Y.FLOAT:a.Y.INT,t,o,i.slice(t,o))}function _(e,t,n){if(!(0,s.yp)(n))throw(0,r.I)(e.source,t,"Invalid number, expected digit but got: ".concat(p(e,t),"."));const i=e.source.body;let o=t+1;for(;(0,s.yp)(i.charCodeAt(o));)++o;return o}function E(e,t){const n=e.source.body,i=n.length;let o=t+1,s=o,u="";for(;o<i;){const i=n.charCodeAt(o);if(34===i)return u+=n.slice(s,o),g(e,a.Y.STRING,t,o+1,u);if(92!==i){if(10===i||13===i)break;if(c(i))++o;else{if(!d(n,o))throw(0,r.I)(e.source,o,"Invalid character within String: ".concat(p(e,o),"."));o+=2}}else{u+=n.slice(s,o);const t=117===n.charCodeAt(o+1)?123===n.charCodeAt(o+2)?b(e,o):D(e,o):S(e,o);u+=t.value,o+=t.size,s=o}}throw(0,r.I)(e.source,o,"Unterminated string.")}function b(e,t){const n=e.source.body;let i=0,o=3;for(;o<12;){const e=n.charCodeAt(t+o++);if(125===e){if(o<5||!c(i))break;return{value:String.fromCodePoint(i),size:o}}if(i=i<<4|T(e),i<0)break}throw(0,r.I)(e.source,t,'Invalid Unicode escape sequence: "'.concat(n.slice(t,t+o),'".'))}function D(e,t){const n=e.source.body,i=N(n,t+2);if(c(i))return{value:String.fromCodePoint(i),size:6};if(f(i)&&92===n.charCodeAt(t+6)&&117===n.charCodeAt(t+7)){const e=N(n,t+8);if(h(e))return{value:String.fromCodePoint(i,e),size:12}}throw(0,r.I)(e.source,t,'Invalid Unicode escape sequence: "'.concat(n.slice(t,t+6),'".'))}function N(e,t){return T(e.charCodeAt(t))<<12|T(e.charCodeAt(t+1))<<8|T(e.charCodeAt(t+2))<<4|T(e.charCodeAt(t+3))}function T(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function S(e,t){const n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"\t",size:2}}throw(0,r.I)(e.source,t,'Invalid character escape sequence: "'.concat(n.slice(t,t+2),'".'))}function I(e,t){const n=e.source.body,i=n.length;let s=e.lineStart,u=t+3,l=u,f="";const h=[];for(;u<i;){const i=n.charCodeAt(u);if(34===i&&34===n.charCodeAt(u+1)&&34===n.charCodeAt(u+2)){f+=n.slice(l,u),h.push(f);const r=g(e,a.Y.BLOCK_STRING,t,u+3,(0,o.OC)(h).join("\n"));return e.line+=h.length-1,e.lineStart=s,r}if(92!==i||34!==n.charCodeAt(u+1)||34!==n.charCodeAt(u+2)||34!==n.charCodeAt(u+3))if(10!==i&&13!==i)if(c(i))++u;else{if(!d(n,u))throw(0,r.I)(e.source,u,"Invalid character within String: ".concat(p(e,u),"."));u+=2}else f+=n.slice(l,u),h.push(f),13===i&&10===n.charCodeAt(u+1)?u+=2:++u,f="",l=u,s=u;else f+=n.slice(l,u),l=u+1,u+=4}throw(0,r.I)(e.source,u,"Unterminated string.")}function w(e,t){const n=e.source.body,r=n.length;let i=t+1;for(;i<r;){const e=n.charCodeAt(i);if(!(0,s.xr)(e))break;++i}return g(e,a.Y.NAME,t,i,n.slice(t,i))}},2832:(e,t,n)=>{"use strict";n.d(t,{g:()=>o});var r=n(4061);const i=/\r\n|[\n\r]/g;function o(e,t){let n=0,o=1;for(const s of e.body.matchAll(i)){if("number"===typeof s.index||(0,r.V)(!1),s.index>=t)break;n=s.index+s[0].length,o+=1}return{line:o,column:t+1-n}}},9932:(e,t,n)=>{"use strict";n.d(t,{$x:()=>d,Mb:()=>h,qg:()=>c,u8:()=>f});var r=n(362),i=n(8907),o=n(5617),s=n(466),a=n(8017),u=n(4858),l=n(8382);function c(e,t){return new p(e,t).parseDocument()}function d(e,t){const n=new p(e,t);n.expectToken(l.Y.SOF);const r=n.parseValueLiteral(!1);return n.expectToken(l.Y.EOF),r}function f(e,t){const n=new p(e,t);n.expectToken(l.Y.SOF);const r=n.parseConstValueLiteral();return n.expectToken(l.Y.EOF),r}function h(e,t){const n=new p(e,t);n.expectToken(l.Y.SOF);const r=n.parseTypeReference();return n.expectToken(l.Y.EOF),r}class p{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(0,u._)(e)?e:new u.k(e);this._lexer=new a.J(n),this._options=t,this._tokenCounter=0}parseName(){const e=this.expectToken(l.Y.NAME);return this.node(e,{kind:s.b.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:s.b.DOCUMENT,definitions:this.many(l.Y.SOF,this.parseDefinition,l.Y.EOF)})}parseDefinition(){if(this.peek(l.Y.BRACE_L))return this.parseOperationDefinition();const e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===l.Y.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(e)throw(0,r.I)(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){const e=this._lexer.token;if(this.peek(l.Y.BRACE_L))return this.node(e,{kind:s.b.OPERATION_DEFINITION,operation:i.cE.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const t=this.parseOperationType();let n;return this.peek(l.Y.NAME)&&(n=this.parseName()),this.node(e,{kind:s.b.OPERATION_DEFINITION,operation:t,name:n,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const e=this.expectToken(l.Y.NAME);switch(e.value){case"query":return i.cE.QUERY;case"mutation":return i.cE.MUTATION;case"subscription":return i.cE.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(l.Y.PAREN_L,this.parseVariableDefinition,l.Y.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:s.b.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(l.Y.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(l.Y.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const e=this._lexer.token;return this.expectToken(l.Y.DOLLAR),this.node(e,{kind:s.b.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:s.b.SELECTION_SET,selections:this.many(l.Y.BRACE_L,this.parseSelection,l.Y.BRACE_R)})}parseSelection(){return this.peek(l.Y.SPREAD)?this.parseFragment():this.parseField()}parseField(){const e=this._lexer.token,t=this.parseName();let n,r;return this.expectOptionalToken(l.Y.COLON)?(n=t,r=this.parseName()):r=t,this.node(e,{kind:s.b.FIELD,alias:n,name:r,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(l.Y.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){const t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(l.Y.PAREN_L,t,l.Y.PAREN_R)}parseArgument(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=this._lexer.token,n=this.parseName();return this.expectToken(l.Y.COLON),this.node(t,{kind:s.b.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const e=this._lexer.token;this.expectToken(l.Y.SPREAD);const t=this.expectOptionalKeyword("on");return!t&&this.peek(l.Y.NAME)?this.node(e,{kind:s.b.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:s.b.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const e=this._lexer.token;return this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables?this.node(e,{kind:s.b.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:s.b.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){const t=this._lexer.token;switch(t.kind){case l.Y.BRACKET_L:return this.parseList(e);case l.Y.BRACE_L:return this.parseObject(e);case l.Y.INT:return this.advanceLexer(),this.node(t,{kind:s.b.INT,value:t.value});case l.Y.FLOAT:return this.advanceLexer(),this.node(t,{kind:s.b.FLOAT,value:t.value});case l.Y.STRING:case l.Y.BLOCK_STRING:return this.parseStringLiteral();case l.Y.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:s.b.BOOLEAN,value:!0});case"false":return this.node(t,{kind:s.b.BOOLEAN,value:!1});case"null":return this.node(t,{kind:s.b.NULL});default:return this.node(t,{kind:s.b.ENUM,value:t.value})}case l.Y.DOLLAR:if(e){if(this.expectToken(l.Y.DOLLAR),this._lexer.token.kind===l.Y.NAME){const e=this._lexer.token.value;throw(0,r.I)(this._lexer.source,t.start,'Unexpected variable "$'.concat(e,'" in constant value.'))}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:s.b.STRING,value:e.value,block:e.kind===l.Y.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:s.b.LIST,values:this.any(l.Y.BRACKET_L,(()=>this.parseValueLiteral(e)),l.Y.BRACKET_R)})}parseObject(e){return this.node(this._lexer.token,{kind:s.b.OBJECT,fields:this.any(l.Y.BRACE_L,(()=>this.parseObjectField(e)),l.Y.BRACE_R)})}parseObjectField(e){const t=this._lexer.token,n=this.parseName();return this.expectToken(l.Y.COLON),this.node(t,{kind:s.b.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){const t=[];for(;this.peek(l.Y.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){const t=this._lexer.token;return this.expectToken(l.Y.AT),this.node(t,{kind:s.b.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){const e=this._lexer.token;let t;if(this.expectOptionalToken(l.Y.BRACKET_L)){const n=this.parseTypeReference();this.expectToken(l.Y.BRACKET_R),t=this.node(e,{kind:s.b.LIST_TYPE,type:n})}else t=this.parseNamedType();return this.expectOptionalToken(l.Y.BANG)?this.node(e,{kind:s.b.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:s.b.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(l.Y.STRING)||this.peek(l.Y.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");const n=this.parseConstDirectives(),r=this.many(l.Y.BRACE_L,this.parseOperationTypeDefinition,l.Y.BRACE_R);return this.node(e,{kind:s.b.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r})}parseOperationTypeDefinition(){const e=this._lexer.token,t=this.parseOperationType();this.expectToken(l.Y.COLON);const n=this.parseNamedType();return this.node(e,{kind:s.b.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");const n=this.parseName(),r=this.parseConstDirectives();return this.node(e,{kind:s.b.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r})}parseObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");const n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:s.b.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(l.Y.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(l.Y.BRACE_L,this.parseFieldDefinition,l.Y.BRACE_R)}parseFieldDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(l.Y.COLON);const i=this.parseTypeReference(),o=this.parseConstDirectives();return this.node(e,{kind:s.b.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:o})}parseArgumentDefs(){return this.optionalMany(l.Y.PAREN_L,this.parseInputValueDef,l.Y.PAREN_R)}parseInputValueDef(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(l.Y.COLON);const r=this.parseTypeReference();let i;this.expectOptionalToken(l.Y.EQUALS)&&(i=this.parseConstValueLiteral());const o=this.parseConstDirectives();return this.node(e,{kind:s.b.INPUT_VALUE_DEFINITION,description:t,name:n,type:r,defaultValue:i,directives:o})}parseInterfaceTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");const n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:s.b.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o})}parseUnionTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:s.b.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(l.Y.EQUALS)?this.delimitedMany(l.Y.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:s.b.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i})}parseEnumValuesDefinition(){return this.optionalMany(l.Y.BRACE_L,this.parseEnumValueDefinition,l.Y.BRACE_R)}parseEnumValueDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(e,{kind:s.b.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw(0,r.I)(this._lexer.source,this._lexer.token.start,"".concat(g(this._lexer.token)," is reserved and cannot be used for an enum value."));return this.parseName()}parseInputObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:s.b.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(l.Y.BRACE_L,this.parseInputValueDef,l.Y.BRACE_R)}parseTypeSystemExtension(){const e=this._lexer.lookahead();if(e.kind===l.Y.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const t=this.parseConstDirectives(),n=this.optionalMany(l.Y.BRACE_L,this.parseOperationTypeDefinition,l.Y.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:s.b.SCHEMA_EXTENSION,directives:t,operationTypes:n})}parseScalarTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const t=this.parseName(),n=this.parseConstDirectives();if(0===n.length)throw this.unexpected();return this.node(e,{kind:s.b.SCALAR_TYPE_EXTENSION,name:t,directives:n})}parseObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:s.b.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseInterfaceTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:s.b.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseUnionTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const t=this.parseName(),n=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:s.b.UNION_TYPE_EXTENSION,name:t,directives:n,types:r})}parseEnumTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const t=this.parseName(),n=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:s.b.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r})}parseInputObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const t=this.parseName(),n=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:s.b.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r})}parseDirectiveDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(l.Y.AT);const n=this.parseName(),r=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const o=this.parseDirectiveLocations();return this.node(e,{kind:s.b.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:i,locations:o})}parseDirectiveLocations(){return this.delimitedMany(l.Y.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(o.H,t.value))return t;throw this.unexpected(e)}node(e,t){return!0!==this._options.noLocation&&(t.loc=new i.aZ(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){const t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw(0,r.I)(this._lexer.source,t.start,"Expected ".concat(m(e),", found ").concat(g(t),"."))}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){const t=this._lexer.token;if(t.kind!==l.Y.NAME||t.value!==e)throw(0,r.I)(this._lexer.source,t.start,'Expected "'.concat(e,'", found ').concat(g(t),"."));this.advanceLexer()}expectOptionalKeyword(e){const t=this._lexer.token;return t.kind===l.Y.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){const t=null!==e&&void 0!==e?e:this._lexer.token;return(0,r.I)(this._lexer.source,t.start,"Unexpected ".concat(g(t),"."))}any(e,t,n){this.expectToken(e);const r=[];for(;!this.expectOptionalToken(n);)r.push(t.call(this));return r}optionalMany(e,t,n){if(this.expectOptionalToken(e)){const e=[];do{e.push(t.call(this))}while(!this.expectOptionalToken(n));return e}return[]}many(e,t,n){this.expectToken(e);const r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r}delimitedMany(e,t){this.expectOptionalToken(e);const n=[];do{n.push(t.call(this))}while(this.expectOptionalToken(e));return n}advanceLexer(){const{maxTokens:e}=this._options,t=this._lexer.advance();if(void 0!==e&&t.kind!==l.Y.EOF&&(++this._tokenCounter,this._tokenCounter>e))throw(0,r.I)(this._lexer.source,t.start,"Document contains more that ".concat(e," tokens. Parsing aborted."))}}function g(e){const t=e.value;return m(e.kind)+(null!=t?' "'.concat(t,'"'):"")}function m(e){return(0,a.Z)(e)?'"'.concat(e,'"'):e}},7196:(e,t,n)=>{"use strict";n.d(t,{MD:()=>i,TZ:()=>u,VK:()=>s,_m:()=>o,a6:()=>d,aR:()=>a,dI:()=>l,fT:()=>f,i7:()=>h,xu:()=>c});var r=n(466);function i(e){return o(e)||c(e)||f(e)}function o(e){return e.kind===r.b.OPERATION_DEFINITION||e.kind===r.b.FRAGMENT_DEFINITION}function s(e){return e.kind===r.b.FIELD||e.kind===r.b.FRAGMENT_SPREAD||e.kind===r.b.INLINE_FRAGMENT}function a(e){return e.kind===r.b.VARIABLE||e.kind===r.b.INT||e.kind===r.b.FLOAT||e.kind===r.b.STRING||e.kind===r.b.BOOLEAN||e.kind===r.b.NULL||e.kind===r.b.ENUM||e.kind===r.b.LIST||e.kind===r.b.OBJECT}function u(e){return a(e)&&(e.kind===r.b.LIST?e.values.some(u):e.kind===r.b.OBJECT?e.fields.some((e=>u(e.value))):e.kind!==r.b.VARIABLE)}function l(e){return e.kind===r.b.NAMED_TYPE||e.kind===r.b.LIST_TYPE||e.kind===r.b.NON_NULL_TYPE}function c(e){return e.kind===r.b.SCHEMA_DEFINITION||d(e)||e.kind===r.b.DIRECTIVE_DEFINITION}function d(e){return e.kind===r.b.SCALAR_TYPE_DEFINITION||e.kind===r.b.OBJECT_TYPE_DEFINITION||e.kind===r.b.INTERFACE_TYPE_DEFINITION||e.kind===r.b.UNION_TYPE_DEFINITION||e.kind===r.b.ENUM_TYPE_DEFINITION||e.kind===r.b.INPUT_OBJECT_TYPE_DEFINITION}function f(e){return e.kind===r.b.SCHEMA_EXTENSION||h(e)}function h(e){return e.kind===r.b.SCALAR_TYPE_EXTENSION||e.kind===r.b.OBJECT_TYPE_EXTENSION||e.kind===r.b.INTERFACE_TYPE_EXTENSION||e.kind===r.b.UNION_TYPE_EXTENSION||e.kind===r.b.ENUM_TYPE_EXTENSION||e.kind===r.b.INPUT_OBJECT_TYPE_EXTENSION}},1159:(e,t,n)=>{"use strict";n.d(t,{C:()=>o,V:()=>i});var r=n(2832);function i(e){return o(e.source,(0,r.g)(e.source,e.start))}function o(e,t){const n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,o=e.locationOffset.line-1,a=t.line+o,u=1===t.line?n:0,l=t.column+u,c="".concat(e.name,":").concat(a,":").concat(l,"\n"),d=r.split(/\r\n|[\n\r]/g),f=d[i];if(f.length>120){const e=Math.floor(l/80),t=l%80,n=[];for(let r=0;r<f.length;r+=80)n.push(f.slice(r,r+80));return c+s([["".concat(a," |"),n[0]],...n.slice(1,e+1).map((e=>["|",e])),["|","^".padStart(t)],["|",n[e+1]]])}return c+s([["".concat(a-1," |"),d[i-1]],["".concat(a," |"),f],["|","^".padStart(l)],["".concat(a+1," |"),d[i+1]]])}function s(e){const t=e.filter((e=>{let[t,n]=e;return void 0!==n})),n=Math.max(...t.map((e=>{let[t]=e;return t.length})));return t.map((e=>{let[t,r]=e;return t.padStart(n)+(r?" "+r:"")})).join("\n")}},1073:(e,t,n)=>{"use strict";function r(e){return'"'.concat(e.replace(i,o),'"')}n.d(t,{T:()=>r});const i=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function o(e){return s[e.charCodeAt(0)]}const s=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"]},807:(e,t,n)=>{"use strict";n.d(t,{y:()=>s});var r=n(379),i=n(1073),o=n(8449);function s(e){return(0,o.YR)(e,a)}const a={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>u(e.definitions,"\n\n")},OperationDefinition:{leave(e){const t=c("(",u(e.variableDefinitions,", "),")"),n=u([e.operation,u([e.name,t]),u(e.directives," ")]," ");return("query"===n?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:e=>{let{variable:t,type:n,defaultValue:r,directives:i}=e;return t+": "+n+c(" = ",r)+c(" ",u(i," "))}},SelectionSet:{leave:e=>{let{selections:t}=e;return l(t)}},Field:{leave(e){let{alias:t,name:n,arguments:r,directives:i,selectionSet:o}=e;const s=c("",t,": ")+n;let a=s+c("(",u(r,", "),")");return a.length>80&&(a=s+c("(\n",d(u(r,"\n")),"\n)")),u([a,u(i," "),o]," ")}},Argument:{leave:e=>{let{name:t,value:n}=e;return t+": "+n}},FragmentSpread:{leave:e=>{let{name:t,directives:n}=e;return"..."+t+c(" ",u(n," "))}},InlineFragment:{leave:e=>{let{typeCondition:t,directives:n,selectionSet:r}=e;return u(["...",c("on ",t),u(n," "),r]," ")}},FragmentDefinition:{leave:e=>{let{name:t,typeCondition:n,variableDefinitions:r,directives:i,selectionSet:o}=e;return"fragment ".concat(t).concat(c("(",u(r,", "),")")," ")+"on ".concat(n," ").concat(c("",u(i," ")," "))+o}},IntValue:{leave:e=>{let{value:t}=e;return t}},FloatValue:{leave:e=>{let{value:t}=e;return t}},StringValue:{leave:e=>{let{value:t,block:n}=e;return n?(0,r.yo)(t):(0,i.T)(t)}},BooleanValue:{leave:e=>{let{value:t}=e;return t?"true":"false"}},NullValue:{leave:()=>"null"},EnumValue:{leave:e=>{let{value:t}=e;return t}},ListValue:{leave:e=>{let{values:t}=e;return"["+u(t,", ")+"]"}},ObjectValue:{leave:e=>{let{fields:t}=e;return"{"+u(t,", ")+"}"}},ObjectField:{leave:e=>{let{name:t,value:n}=e;return t+": "+n}},Directive:{leave:e=>{let{name:t,arguments:n}=e;return"@"+t+c("(",u(n,", "),")")}},NamedType:{leave:e=>{let{name:t}=e;return t}},ListType:{leave:e=>{let{type:t}=e;return"["+t+"]"}},NonNullType:{leave:e=>{let{type:t}=e;return t+"!"}},SchemaDefinition:{leave:e=>{let{description:t,directives:n,operationTypes:r}=e;return c("",t,"\n")+u(["schema",u(n," "),l(r)]," ")}},OperationTypeDefinition:{leave:e=>{let{operation:t,type:n}=e;return t+": "+n}},ScalarTypeDefinition:{leave:e=>{let{description:t,name:n,directives:r}=e;return c("",t,"\n")+u(["scalar",n,u(r," ")]," ")}},ObjectTypeDefinition:{leave:e=>{let{description:t,name:n,interfaces:r,directives:i,fields:o}=e;return c("",t,"\n")+u(["type",n,c("implements ",u(r," & ")),u(i," "),l(o)]," ")}},FieldDefinition:{leave:e=>{let{description:t,name:n,arguments:r,type:i,directives:o}=e;return c("",t,"\n")+n+(f(r)?c("(\n",d(u(r,"\n")),"\n)"):c("(",u(r,", "),")"))+": "+i+c(" ",u(o," "))}},InputValueDefinition:{leave:e=>{let{description:t,name:n,type:r,defaultValue:i,directives:o}=e;return c("",t,"\n")+u([n+": "+r,c("= ",i),u(o," ")]," ")}},InterfaceTypeDefinition:{leave:e=>{let{description:t,name:n,interfaces:r,directives:i,fields:o}=e;return c("",t,"\n")+u(["interface",n,c("implements ",u(r," & ")),u(i," "),l(o)]," ")}},UnionTypeDefinition:{leave:e=>{let{description:t,name:n,directives:r,types:i}=e;return c("",t,"\n")+u(["union",n,u(r," "),c("= ",u(i," | "))]," ")}},EnumTypeDefinition:{leave:e=>{let{description:t,name:n,directives:r,values:i}=e;return c("",t,"\n")+u(["enum",n,u(r," "),l(i)]," ")}},EnumValueDefinition:{leave:e=>{let{description:t,name:n,directives:r}=e;return c("",t,"\n")+u([n,u(r," ")]," ")}},InputObjectTypeDefinition:{leave:e=>{let{description:t,name:n,directives:r,fields:i}=e;return c("",t,"\n")+u(["input",n,u(r," "),l(i)]," ")}},DirectiveDefinition:{leave:e=>{let{description:t,name:n,arguments:r,repeatable:i,locations:o}=e;return c("",t,"\n")+"directive @"+n+(f(r)?c("(\n",d(u(r,"\n")),"\n)"):c("(",u(r,", "),")"))+(i?" repeatable":"")+" on "+u(o," | ")}},SchemaExtension:{leave:e=>{let{directives:t,operationTypes:n}=e;return u(["extend schema",u(t," "),l(n)]," ")}},ScalarTypeExtension:{leave:e=>{let{name:t,directives:n}=e;return u(["extend scalar",t,u(n," ")]," ")}},ObjectTypeExtension:{leave:e=>{let{name:t,interfaces:n,directives:r,fields:i}=e;return u(["extend type",t,c("implements ",u(n," & ")),u(r," "),l(i)]," ")}},InterfaceTypeExtension:{leave:e=>{let{name:t,interfaces:n,directives:r,fields:i}=e;return u(["extend interface",t,c("implements ",u(n," & ")),u(r," "),l(i)]," ")}},UnionTypeExtension:{leave:e=>{let{name:t,directives:n,types:r}=e;return u(["extend union",t,u(n," "),c("= ",u(r," | "))]," ")}},EnumTypeExtension:{leave:e=>{let{name:t,directives:n,values:r}=e;return u(["extend enum",t,u(n," "),l(r)]," ")}},InputObjectTypeExtension:{leave:e=>{let{name:t,directives:n,fields:r}=e;return u(["extend input",t,u(n," "),l(r)]," ")}}};function u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";var n;return null!==(n=null===e||void 0===e?void 0:e.filter((e=>e)).join(t))&&void 0!==n?n:""}function l(e){return c("{\n",d(u(e,"\n")),"\n}")}function c(e,t){return null!=t&&""!==t?e+t+(arguments.length>2&&void 0!==arguments[2]?arguments[2]:""):""}function d(e){return c(" ",e.replace(/\n/g,"\n "))}function f(e){var t;return null!==(t=null===e||void 0===e?void 0:e.some((e=>e.includes("\n"))))&&void 0!==t&&t}},4858:(e,t,n)=>{"use strict";n.d(t,{_:()=>a,k:()=>s});var r=n(398),i=n(5457),o=n(9725);class s{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"===typeof e||(0,r.U)(!1,"Body must be a string. Received: ".concat((0,i.N)(e),".")),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||(0,r.U)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,r.U)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function a(e){return(0,o.h)(e,s)}},8382:(e,t,n)=>{"use strict";var r;n.d(t,{Y:()=>r}),function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"}(r||(r={}))},8449:(e,t,n)=>{"use strict";n.d(t,{UY:()=>d,XO:()=>c,YR:()=>u,oP:()=>l,sP:()=>a});var r=n(398),i=n(5457),o=n(8907),s=n(466);const a=Object.freeze({});function u(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.aD;const u=new Map;for(const r of Object.values(s.b))u.set(r,c(t,r));let l,d,f,h=Array.isArray(e),p=[e],g=-1,m=[],v=e;const y=[],_=[];do{g++;const e=g===p.length,s=e&&0!==m.length;if(e){if(d=0===_.length?void 0:y[y.length-1],v=f,f=_.pop(),s)if(h){v=v.slice();let e=0;for(const[t,n]of m){const r=t-e;null===n?(v.splice(r,1),e++):v[r]=n}}else{v=Object.defineProperties({},Object.getOwnPropertyDescriptors(v));for(const[e,t]of m)v[e]=t}g=l.index,p=l.keys,m=l.edits,h=l.inArray,l=l.prev}else if(f){if(d=h?g:p[g],v=f[d],null===v||void 0===v)continue;y.push(d)}let c;if(!Array.isArray(v)){var E,b;(0,o.Ll)(v)||(0,r.U)(!1,"Invalid AST Node: ".concat((0,i.N)(v),"."));const n=e?null===(E=u.get(v.kind))||void 0===E?void 0:E.leave:null===(b=u.get(v.kind))||void 0===b?void 0:b.enter;if(c=null===n||void 0===n?void 0:n.call(t,v,d,f,y,_),c===a)break;if(!1===c){if(!e){y.pop();continue}}else if(void 0!==c&&(m.push([d,c]),!e)){if(!(0,o.Ll)(c)){y.pop();continue}v=c}}var D;if(void 0===c&&s&&m.push([d,v]),e)y.pop();else l={inArray:h,index:g,keys:p,edits:m,prev:l},h=Array.isArray(v),p=h?v:null!==(D=n[v.kind])&&void 0!==D?D:[],g=-1,m=[],f&&_.push(f),f=v}while(void 0!==l);return 0!==m.length?m[m.length-1][1]:e}function l(e){const t=new Array(e.length).fill(null),n=Object.create(null);for(const r of Object.values(s.b)){let i=!1;const o=new Array(e.length).fill(void 0),s=new Array(e.length).fill(void 0);for(let t=0;t<e.length;++t){const{enter:n,leave:a}=c(e[t],r);i||(i=null!=n||null!=a),o[t]=n,s[t]=a}if(!i)continue;const u={enter(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];const s=r[0];for(let l=0;l<e.length;l++)if(null===t[l]){var u;const n=null===(u=o[l])||void 0===u?void 0:u.apply(e[l],r);if(!1===n)t[l]=s;else if(n===a)t[l]=a;else if(void 0!==n)return n}},leave(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];const o=r[0];for(let l=0;l<e.length;l++)if(null===t[l]){var u;const n=null===(u=s[l])||void 0===u?void 0:u.apply(e[l],r);if(n===a)t[l]=a;else if(void 0!==n&&!1!==n)return n}else t[l]===o&&(t[l]=null)}};n[r]=u}return n}function c(e,t){const n=e[t];return"object"===typeof n?n:"function"===typeof n?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}function d(e,t,n){const{enter:r,leave:i}=c(e,t);return n?i:r}},6412:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,I:()=>s});var r=n(398),i=n(5298),o=n(8894);function s(e){if(null!=e||(0,r.U)(!1,"Must provide name."),"string"===typeof e||(0,r.U)(!1,"Expected name to be a string."),0===e.length)throw new i.eO("Expected name to be a non-empty string.");for(let t=1;t<e.length;++t)if(!(0,o.xr)(e.charCodeAt(t)))throw new i.eO('Names must only contain [_a-zA-Z0-9] but "'.concat(e,'" does not.'));if(!(0,o.un)(e.charCodeAt(0)))throw new i.eO('Names must start with [_a-zA-Z] but "'.concat(e,'" does not.'));return e}function a(e){if("true"===e||"false"===e||"null"===e)throw new i.eO("Enum values cannot be named: ".concat(e));return s(e)}},7929:(e,t,n)=>{"use strict";n.d(t,{Zb:()=>ve,zP:()=>Ee,VA:()=>pe,KT:()=>z,Gc:()=>W,bh:()=>se,Ag:()=>oe,hI:()=>ge,g0:()=>fe,N_:()=>H,Ye:()=>q,el:()=>C,Yq:()=>F,L9:()=>B,qL:()=>I,D0:()=>K,dL:()=>k,sF:()=>te,ZX:()=>P,wG:()=>$,qC:()=>T,yh:()=>U,Zx:()=>D,j:()=>E,EG:()=>A,B3:()=>J,Kx:()=>le,MR:()=>ne,yl:()=>Z,Lc:()=>G,ML:()=>Y,oF:()=>R,qK:()=>O,dX:()=>M,kD:()=>S,zf:()=>j,Fs:()=>L,sy:()=>ee,bd:()=>x,wj:()=>X,YQ:()=>N,oH:()=>V,xP:()=>he,YX:()=>De,lg:()=>b,Xj:()=>_,CK:()=>w,lS:()=>Q,qN:()=>ie,aj:()=>re});var r=n(398),i=n(3108);function o(e){return e}var s=n(5457),a=n(9725),u=n(5515),l=n(4386),c=n(3817),d=n(8998),f=n(9884),h=n(775),p=n(5298),g=n(466),m=n(807),v=n(7761),y=n(6412);function _(e){return b(e)||N(e)||S(e)||w(e)||R(e)||O(e)||L(e)||x(e)}function E(e){if(!_(e))throw new Error("Expected ".concat((0,s.N)(e)," to be a GraphQL type."));return e}function b(e){return(0,a.h)(e,oe)}function D(e){if(!b(e))throw new Error("Expected ".concat((0,s.N)(e)," to be a GraphQL Scalar type."));return e}function N(e){return(0,a.h)(e,se)}function T(e){if(!N(e))throw new Error("Expected ".concat((0,s.N)(e)," to be a GraphQL Object type."));return e}function S(e){return(0,a.h)(e,pe)}function I(e){if(!S(e))throw new Error("Expected ".concat((0,s.N)(e)," to be a GraphQL Interface type."));return e}function w(e){return(0,a.h)(e,ge)}function A(e){if(!w(e))throw new Error("Expected ".concat((0,s.N)(e)," to be a GraphQL Union type."));return e}function R(e){return(0,a.h)(e,ve)}function C(e){if(!R(e))throw new Error("Expected ".concat((0,s.N)(e)," to be a GraphQL Enum type."));return e}function O(e){return(0,a.h)(e,Ee)}function F(e){if(!O(e))throw new Error("Expected ".concat((0,s.N)(e)," to be a GraphQL Input Object type."));return e}function L(e){return(0,a.h)(e,z)}function k(e){if(!L(e))throw new Error("Expected ".concat((0,s.N)(e)," to be a GraphQL List type."));return e}function x(e){return(0,a.h)(e,W)}function P(e){if(!x(e))throw new Error("Expected ".concat((0,s.N)(e)," to be a GraphQL Non-Null type."));return e}function M(e){return b(e)||R(e)||O(e)||Q(e)&&M(e.ofType)}function B(e){if(!M(e))throw new Error("Expected ".concat((0,s.N)(e)," to be a GraphQL input type."));return e}function V(e){return b(e)||N(e)||S(e)||w(e)||R(e)||Q(e)&&V(e.ofType)}function U(e){if(!V(e))throw new Error("Expected ".concat((0,s.N)(e)," to be a GraphQL output type."));return e}function j(e){return b(e)||R(e)}function K(e){if(!j(e))throw new Error("Expected ".concat((0,s.N)(e)," to be a GraphQL leaf type."));return e}function Y(e){return N(e)||S(e)||w(e)}function q(e){if(!Y(e))throw new Error("Expected ".concat((0,s.N)(e)," to be a GraphQL composite type."));return e}function G(e){return S(e)||w(e)}function H(e){if(!G(e))throw new Error("Expected ".concat((0,s.N)(e)," to be a GraphQL abstract type."));return e}class z{constructor(e){_(e)||(0,r.U)(!1,"Expected ".concat((0,s.N)(e)," to be a GraphQL type.")),this.ofType=e}get[Symbol.toStringTag](){return"GraphQLList"}toString(){return"["+String(this.ofType)+"]"}toJSON(){return this.toString()}}class W{constructor(e){X(e)||(0,r.U)(!1,"Expected ".concat((0,s.N)(e)," to be a GraphQL nullable type.")),this.ofType=e}get[Symbol.toStringTag](){return"GraphQLNonNull"}toString(){return String(this.ofType)+"!"}toJSON(){return this.toString()}}function Q(e){return L(e)||x(e)}function J(e){if(!Q(e))throw new Error("Expected ".concat((0,s.N)(e)," to be a GraphQL wrapping type."));return e}function X(e){return _(e)&&!x(e)}function $(e){if(!X(e))throw new Error("Expected ".concat((0,s.N)(e)," to be a GraphQL nullable type."));return e}function Z(e){if(e)return x(e)?e.ofType:e}function ee(e){return b(e)||N(e)||S(e)||w(e)||R(e)||O(e)}function te(e){if(!ee(e))throw new Error("Expected ".concat((0,s.N)(e)," to be a GraphQL named type."));return e}function ne(e){if(e){let t=e;for(;Q(t);)t=t.ofType;return t}}function re(e){return"function"===typeof e?e():e}function ie(e){return"function"===typeof e?e():e}class oe{constructor(e){var t,n,i,a;const u=null!==(t=e.parseValue)&&void 0!==t?t:o;this.name=(0,y.I)(e.name),this.description=e.description,this.specifiedByURL=e.specifiedByURL,this.serialize=null!==(n=e.serialize)&&void 0!==n?n:o,this.parseValue=u,this.parseLiteral=null!==(i=e.parseLiteral)&&void 0!==i?i:(e,t)=>u((0,v.F)(e,t)),this.extensions=(0,h.z)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(a=e.extensionASTNodes)&&void 0!==a?a:[],null==e.specifiedByURL||"string"===typeof e.specifiedByURL||(0,r.U)(!1,"".concat(this.name,' must provide "specifiedByURL" as a string, ')+"but got: ".concat((0,s.N)(e.specifiedByURL),".")),null==e.serialize||"function"===typeof e.serialize||(0,r.U)(!1,"".concat(this.name,' must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.')),e.parseLiteral&&("function"===typeof e.parseValue&&"function"===typeof e.parseLiteral||(0,r.U)(!1,"".concat(this.name,' must provide both "parseValue" and "parseLiteral" functions.')))}get[Symbol.toStringTag](){return"GraphQLScalarType"}toConfig(){return{name:this.name,description:this.description,specifiedByURL:this.specifiedByURL,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class se{constructor(e){var t;this.name=(0,y.I)(e.name),this.description=e.description,this.isTypeOf=e.isTypeOf,this.extensions=(0,h.z)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._fields=()=>ue(e),this._interfaces=()=>ae(e),null==e.isTypeOf||"function"===typeof e.isTypeOf||(0,r.U)(!1,"".concat(this.name,' must provide "isTypeOf" as a function, ')+"but got: ".concat((0,s.N)(e.isTypeOf),"."))}get[Symbol.toStringTag](){return"GraphQLObjectType"}getFields(){return"function"===typeof this._fields&&(this._fields=this._fields()),this._fields}getInterfaces(){return"function"===typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:de(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function ae(e){var t;const n=re(null!==(t=e.interfaces)&&void 0!==t?t:[]);return Array.isArray(n)||(0,r.U)(!1,"".concat(e.name," interfaces must be an Array or a function which returns an Array.")),n}function ue(e){const t=ie(e.fields);return ce(t)||(0,r.U)(!1,"".concat(e.name," fields must be an object with field names as keys or a function which returns such an object.")),(0,d.I)(t,((t,n)=>{var i;ce(t)||(0,r.U)(!1,"".concat(e.name,".").concat(n," field config must be an object.")),null==t.resolve||"function"===typeof t.resolve||(0,r.U)(!1,"".concat(e.name,".").concat(n," field resolver must be a function if ")+"provided, but got: ".concat((0,s.N)(t.resolve),"."));const o=null!==(i=t.args)&&void 0!==i?i:{};return ce(o)||(0,r.U)(!1,"".concat(e.name,".").concat(n," args must be an object with argument names as keys.")),{name:(0,y.I)(n),description:t.description,type:t.type,args:le(o),resolve:t.resolve,subscribe:t.subscribe,deprecationReason:t.deprecationReason,extensions:(0,h.z)(t.extensions),astNode:t.astNode}}))}function le(e){return Object.entries(e).map((e=>{let[t,n]=e;return{name:(0,y.I)(t),description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:(0,h.z)(n.extensions),astNode:n.astNode}}))}function ce(e){return(0,u.Z)(e)&&!Array.isArray(e)}function de(e){return(0,d.I)(e,(e=>({description:e.description,type:e.type,args:fe(e.args),resolve:e.resolve,subscribe:e.subscribe,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode})))}function fe(e){return(0,c.L)(e,(e=>e.name),(e=>({description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode})))}function he(e){return x(e.type)&&void 0===e.defaultValue}class pe{constructor(e){var t;this.name=(0,y.I)(e.name),this.description=e.description,this.resolveType=e.resolveType,this.extensions=(0,h.z)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._fields=ue.bind(void 0,e),this._interfaces=ae.bind(void 0,e),null==e.resolveType||"function"===typeof e.resolveType||(0,r.U)(!1,"".concat(this.name,' must provide "resolveType" as a function, ')+"but got: ".concat((0,s.N)(e.resolveType),"."))}get[Symbol.toStringTag](){return"GraphQLInterfaceType"}getFields(){return"function"===typeof this._fields&&(this._fields=this._fields()),this._fields}getInterfaces(){return"function"===typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:de(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class ge{constructor(e){var t;this.name=(0,y.I)(e.name),this.description=e.description,this.resolveType=e.resolveType,this.extensions=(0,h.z)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._types=me.bind(void 0,e),null==e.resolveType||"function"===typeof e.resolveType||(0,r.U)(!1,"".concat(this.name,' must provide "resolveType" as a function, ')+"but got: ".concat((0,s.N)(e.resolveType),"."))}get[Symbol.toStringTag](){return"GraphQLUnionType"}getTypes(){return"function"===typeof this._types&&(this._types=this._types()),this._types}toConfig(){return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function me(e){const t=re(e.types);return Array.isArray(t)||(0,r.U)(!1,"Must provide Array of types or a function which returns such an array for Union ".concat(e.name,".")),t}class ve{constructor(e){var t;this.name=(0,y.I)(e.name),this.description=e.description,this.extensions=(0,h.z)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._values="function"===typeof e.values?e.values:_e(this.name,e.values),this._valueLookup=null,this._nameLookup=null}get[Symbol.toStringTag](){return"GraphQLEnumType"}getValues(){return"function"===typeof this._values&&(this._values=_e(this.name,this._values())),this._values}getValue(e){return null===this._nameLookup&&(this._nameLookup=(0,l.K)(this.getValues(),(e=>e.name))),this._nameLookup[e]}serialize(e){null===this._valueLookup&&(this._valueLookup=new Map(this.getValues().map((e=>[e.value,e]))));const t=this._valueLookup.get(e);if(void 0===t)throw new p.eO('Enum "'.concat(this.name,'" cannot represent value: ').concat((0,s.N)(e)));return t.name}parseValue(e){if("string"!==typeof e){const t=(0,s.N)(e);throw new p.eO('Enum "'.concat(this.name,'" cannot represent non-string value: ').concat(t,".")+ye(this,t))}const t=this.getValue(e);if(null==t)throw new p.eO('Value "'.concat(e,'" does not exist in "').concat(this.name,'" enum.')+ye(this,e));return t.value}parseLiteral(e,t){if(e.kind!==g.b.ENUM){const t=(0,m.y)(e);throw new p.eO('Enum "'.concat(this.name,'" cannot represent non-enum value: ').concat(t,".")+ye(this,t),{nodes:e})}const n=this.getValue(e.value);if(null==n){const t=(0,m.y)(e);throw new p.eO('Value "'.concat(t,'" does not exist in "').concat(this.name,'" enum.')+ye(this,t),{nodes:e})}return n.value}toConfig(){const e=(0,c.L)(this.getValues(),(e=>e.name),(e=>({description:e.description,value:e.value,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode})));return{name:this.name,description:this.description,values:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function ye(e,t){const n=e.getValues().map((e=>e.name)),r=(0,f.x)(t,n);return(0,i.a)("the enum value",r)}function _e(e,t){return ce(t)||(0,r.U)(!1,"".concat(e," values must be an object with value names as keys.")),Object.entries(t).map((t=>{let[n,i]=t;return ce(i)||(0,r.U)(!1,"".concat(e,".").concat(n,' must refer to an object with a "value" key ')+"representing an internal value but got: ".concat((0,s.N)(i),".")),{name:(0,y.A)(n),description:i.description,value:void 0!==i.value?i.value:n,deprecationReason:i.deprecationReason,extensions:(0,h.z)(i.extensions),astNode:i.astNode}}))}class Ee{constructor(e){var t,n;this.name=(0,y.I)(e.name),this.description=e.description,this.extensions=(0,h.z)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this.isOneOf=null!==(n=e.isOneOf)&&void 0!==n&&n,this._fields=be.bind(void 0,e)}get[Symbol.toStringTag](){return"GraphQLInputObjectType"}getFields(){return"function"===typeof this._fields&&(this._fields=this._fields()),this._fields}toConfig(){const e=(0,d.I)(this.getFields(),(e=>({description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode})));return{name:this.name,description:this.description,fields:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,isOneOf:this.isOneOf}}toString(){return this.name}toJSON(){return this.toString()}}function be(e){const t=ie(e.fields);return ce(t)||(0,r.U)(!1,"".concat(e.name," fields must be an object with field names as keys or a function which returns such an object.")),(0,d.I)(t,((t,n)=>(!("resolve"in t)||(0,r.U)(!1,"".concat(e.name,".").concat(n," field has a resolve property, but Input Types cannot define resolvers.")),{name:(0,y.I)(n),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:(0,h.z)(t.extensions),astNode:t.astNode})))}function De(e){return x(e.type)&&void 0===e.defaultValue}},9005:(e,t,n)=>{"use strict";n.d(t,{HQ:()=>g,Il:()=>v,MQ:()=>m,Qe:()=>D,RR:()=>p,gw:()=>_,mM:()=>E,qT:()=>f,rc:()=>b,yK:()=>y,yq:()=>h});var r=n(398),i=n(5457),o=n(9725),s=n(5515),a=n(775),u=n(5617),l=n(6412),c=n(7929),d=n(6746);function f(e){return(0,o.h)(e,p)}function h(e){if(!f(e))throw new Error("Expected ".concat((0,i.N)(e)," to be a GraphQL directive."));return e}class p{constructor(e){var t,n;this.name=(0,l.I)(e.name),this.description=e.description,this.locations=e.locations,this.isRepeatable=null!==(t=e.isRepeatable)&&void 0!==t&&t,this.extensions=(0,a.z)(e.extensions),this.astNode=e.astNode,Array.isArray(e.locations)||(0,r.U)(!1,"@".concat(e.name," locations must be an Array."));const i=null!==(n=e.args)&&void 0!==n?n:{};(0,s.Z)(i)&&!Array.isArray(i)||(0,r.U)(!1,"@".concat(e.name," args must be an object with argument names as keys.")),this.args=(0,c.Kx)(i)}get[Symbol.toStringTag](){return"GraphQLDirective"}toConfig(){return{name:this.name,description:this.description,locations:this.locations,args:(0,c.g0)(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}}toString(){return"@"+this.name}toJSON(){return this.toString()}}const g=new p({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[u.H.FIELD,u.H.FRAGMENT_SPREAD,u.H.INLINE_FRAGMENT],args:{if:{type:new c.Gc(d.kk),description:"Included when true."}}}),m=new p({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[u.H.FIELD,u.H.FRAGMENT_SPREAD,u.H.INLINE_FRAGMENT],args:{if:{type:new c.Gc(d.kk),description:"Skipped when true."}}}),v="No longer supported",y=new p({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[u.H.FIELD_DEFINITION,u.H.ARGUMENT_DEFINITION,u.H.INPUT_FIELD_DEFINITION,u.H.ENUM_VALUE],args:{reason:{type:d.FV,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).",defaultValue:v}}}),_=new p({name:"specifiedBy",description:"Exposes a URL that specifies the behavior of this scalar.",locations:[u.H.SCALAR],args:{url:{type:new c.Gc(d.FV),description:"The URL that specifies the behavior of this scalar."}}}),E=new p({name:"oneOf",description:"Indicates exactly one field must be supplied and this field must not be `null`.",locations:[u.H.INPUT_OBJECT],args:{}}),b=Object.freeze([g,m,y,_,E]);function D(e){return b.some((t=>{let{name:n}=t;return n===e.name}))}},2176:(e,t,n)=>{"use strict";n.d(t,{$4:()=>f,B0:()=>y,B1:()=>m,P8:()=>h,S0:()=>_,V4:()=>D,Xe:()=>E,Yh:()=>N,Ym:()=>g,em:()=>c,fY:()=>v,of:()=>b,sv:()=>d,z9:()=>p});var r=n(5457),i=n(4061),o=n(5617),s=n(807),a=n(4960),u=n(7929),l=n(6746);const c=new u.bh({name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:()=>({description:{type:l.FV,resolve:e=>e.description},types:{description:"A list of all types supported by this server.",type:new u.Gc(new u.KT(new u.Gc(h))),resolve:e=>Object.values(e.getTypeMap())},queryType:{description:"The type that query operations will be rooted at.",type:new u.Gc(h),resolve:e=>e.getQueryType()},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:h,resolve:e=>e.getMutationType()},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:h,resolve:e=>e.getSubscriptionType()},directives:{description:"A list of all directives supported by this server.",type:new u.Gc(new u.KT(new u.Gc(d))),resolve:e=>e.getDirectives()}})}),d=new u.bh({name:"__Directive",description:"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.",fields:()=>({name:{type:new u.Gc(l.FV),resolve:e=>e.name},description:{type:l.FV,resolve:e=>e.description},isRepeatable:{type:new u.Gc(l.kk),resolve:e=>e.isRepeatable},locations:{type:new u.Gc(new u.KT(new u.Gc(f))),resolve:e=>e.locations},args:{type:new u.Gc(new u.KT(new u.Gc(g))),args:{includeDeprecated:{type:l.kk,defaultValue:!1}},resolve(e,t){let{includeDeprecated:n}=t;return n?e.args:e.args.filter((e=>null==e.deprecationReason))}}})}),f=new u.Zb({name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",values:{QUERY:{value:o.H.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:o.H.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:o.H.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:o.H.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:o.H.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:o.H.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:o.H.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:o.H.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:o.H.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:o.H.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:o.H.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:o.H.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:o.H.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:o.H.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:o.H.UNION,description:"Location adjacent to a union definition."},ENUM:{value:o.H.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:o.H.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:o.H.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:o.H.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),h=new u.bh({name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:()=>({kind:{type:new u.Gc(y),resolve:e=>(0,u.lg)(e)?v.SCALAR:(0,u.YQ)(e)?v.OBJECT:(0,u.kD)(e)?v.INTERFACE:(0,u.CK)(e)?v.UNION:(0,u.oF)(e)?v.ENUM:(0,u.qK)(e)?v.INPUT_OBJECT:(0,u.Fs)(e)?v.LIST:(0,u.bd)(e)?v.NON_NULL:void(0,i.V)(!1,'Unexpected type: "'.concat((0,r.N)(e),'".'))},name:{type:l.FV,resolve:e=>"name"in e?e.name:void 0},description:{type:l.FV,resolve:e=>"description"in e?e.description:void 0},specifiedByURL:{type:l.FV,resolve:e=>"specifiedByURL"in e?e.specifiedByURL:void 0},fields:{type:new u.KT(new u.Gc(p)),args:{includeDeprecated:{type:l.kk,defaultValue:!1}},resolve(e,t){let{includeDeprecated:n}=t;if((0,u.YQ)(e)||(0,u.kD)(e)){const t=Object.values(e.getFields());return n?t:t.filter((e=>null==e.deprecationReason))}}},interfaces:{type:new u.KT(new u.Gc(h)),resolve(e){if((0,u.YQ)(e)||(0,u.kD)(e))return e.getInterfaces()}},possibleTypes:{type:new u.KT(new u.Gc(h)),resolve(e,t,n,r){let{schema:i}=r;if((0,u.Lc)(e))return i.getPossibleTypes(e)}},enumValues:{type:new u.KT(new u.Gc(m)),args:{includeDeprecated:{type:l.kk,defaultValue:!1}},resolve(e,t){let{includeDeprecated:n}=t;if((0,u.oF)(e)){const t=e.getValues();return n?t:t.filter((e=>null==e.deprecationReason))}}},inputFields:{type:new u.KT(new u.Gc(g)),args:{includeDeprecated:{type:l.kk,defaultValue:!1}},resolve(e,t){let{includeDeprecated:n}=t;if((0,u.qK)(e)){const t=Object.values(e.getFields());return n?t:t.filter((e=>null==e.deprecationReason))}}},ofType:{type:h,resolve:e=>"ofType"in e?e.ofType:void 0},isOneOf:{type:l.kk,resolve:e=>{if((0,u.qK)(e))return e.isOneOf}}})}),p=new u.bh({name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:()=>({name:{type:new u.Gc(l.FV),resolve:e=>e.name},description:{type:l.FV,resolve:e=>e.description},args:{type:new u.Gc(new u.KT(new u.Gc(g))),args:{includeDeprecated:{type:l.kk,defaultValue:!1}},resolve(e,t){let{includeDeprecated:n}=t;return n?e.args:e.args.filter((e=>null==e.deprecationReason))}},type:{type:new u.Gc(h),resolve:e=>e.type},isDeprecated:{type:new u.Gc(l.kk),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:l.FV,resolve:e=>e.deprecationReason}})}),g=new u.bh({name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:()=>({name:{type:new u.Gc(l.FV),resolve:e=>e.name},description:{type:l.FV,resolve:e=>e.description},type:{type:new u.Gc(h),resolve:e=>e.type},defaultValue:{type:l.FV,description:"A GraphQL-formatted string representing the default value for this input value.",resolve(e){const{type:t,defaultValue:n}=e,r=(0,a.K)(n,t);return r?(0,s.y)(r):null}},isDeprecated:{type:new u.Gc(l.kk),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:l.FV,resolve:e=>e.deprecationReason}})}),m=new u.bh({name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:()=>({name:{type:new u.Gc(l.FV),resolve:e=>e.name},description:{type:l.FV,resolve:e=>e.description},isDeprecated:{type:new u.Gc(l.kk),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:l.FV,resolve:e=>e.deprecationReason}})});var v;!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"}(v||(v={}));const y=new u.Zb({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:v.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:v.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:v.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:v.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:v.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:v.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:v.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:v.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}}),_={name:"__schema",type:new u.Gc(c),description:"Access the current type schema of this server.",args:[],resolve:(e,t,n,r)=>{let{schema:i}=r;return i},deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},E={name:"__type",type:h,description:"Request the type information of a single type.",args:[{name:"name",description:void 0,type:new u.Gc(l.FV),defaultValue:void 0,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0}],resolve:(e,t,n,r)=>{let{name:i}=t,{schema:o}=r;return o.getType(i)},deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},b={name:"__typename",type:new u.Gc(l.FV),description:"The name of the current Object type at runtime.",args:[],resolve:(e,t,n,r)=>{let{parentType:i}=r;return i.name},deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},D=Object.freeze([c,d,f,h,p,g,m,y]);function N(e){return D.some((t=>{let{name:n}=t;return e.name===n}))}},6746:(e,t,n)=>{"use strict";n.d(t,{BW:()=>l,FV:()=>h,Fh:()=>d,N1:()=>g,PZ:()=>v,YC:()=>m,kk:()=>p,nM:()=>c,qS:()=>f});var r=n(5457),i=n(5515),o=n(5298),s=n(466),a=n(807),u=n(7929);const l=2147483647,c=-2147483648,d=new u.Ag({name:"Int",description:"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",serialize(e){const t=y(e);if("boolean"===typeof t)return t?1:0;let n=t;if("string"===typeof t&&""!==t&&(n=Number(t)),"number"!==typeof n||!Number.isInteger(n))throw new o.eO("Int cannot represent non-integer value: ".concat((0,r.N)(t)));if(n>l||n<c)throw new o.eO("Int cannot represent non 32-bit signed integer value: "+(0,r.N)(t));return n},parseValue(e){if("number"!==typeof e||!Number.isInteger(e))throw new o.eO("Int cannot represent non-integer value: ".concat((0,r.N)(e)));if(e>l||e<c)throw new o.eO("Int cannot represent non 32-bit signed integer value: ".concat(e));return e},parseLiteral(e){if(e.kind!==s.b.INT)throw new o.eO("Int cannot represent non-integer value: ".concat((0,a.y)(e)),{nodes:e});const t=parseInt(e.value,10);if(t>l||t<c)throw new o.eO("Int cannot represent non 32-bit signed integer value: ".concat(e.value),{nodes:e});return t}}),f=new u.Ag({name:"Float",description:"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).",serialize(e){const t=y(e);if("boolean"===typeof t)return t?1:0;let n=t;if("string"===typeof t&&""!==t&&(n=Number(t)),"number"!==typeof n||!Number.isFinite(n))throw new o.eO("Float cannot represent non numeric value: ".concat((0,r.N)(t)));return n},parseValue(e){if("number"!==typeof e||!Number.isFinite(e))throw new o.eO("Float cannot represent non numeric value: ".concat((0,r.N)(e)));return e},parseLiteral(e){if(e.kind!==s.b.FLOAT&&e.kind!==s.b.INT)throw new o.eO("Float cannot represent non numeric value: ".concat((0,a.y)(e)),e);return parseFloat(e.value)}}),h=new u.Ag({name:"String",description:"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",serialize(e){const t=y(e);if("string"===typeof t)return t;if("boolean"===typeof t)return t?"true":"false";if("number"===typeof t&&Number.isFinite(t))return t.toString();throw new o.eO("String cannot represent value: ".concat((0,r.N)(e)))},parseValue(e){if("string"!==typeof e)throw new o.eO("String cannot represent a non string value: ".concat((0,r.N)(e)));return e},parseLiteral(e){if(e.kind!==s.b.STRING)throw new o.eO("String cannot represent a non string value: ".concat((0,a.y)(e)),{nodes:e});return e.value}}),p=new u.Ag({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize(e){const t=y(e);if("boolean"===typeof t)return t;if(Number.isFinite(t))return 0!==t;throw new o.eO("Boolean cannot represent a non boolean value: ".concat((0,r.N)(t)))},parseValue(e){if("boolean"!==typeof e)throw new o.eO("Boolean cannot represent a non boolean value: ".concat((0,r.N)(e)));return e},parseLiteral(e){if(e.kind!==s.b.BOOLEAN)throw new o.eO("Boolean cannot represent a non boolean value: ".concat((0,a.y)(e)),{nodes:e});return e.value}}),g=new u.Ag({name:"ID",description:'The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.',serialize(e){const t=y(e);if("string"===typeof t)return t;if(Number.isInteger(t))return String(t);throw new o.eO("ID cannot represent value: ".concat((0,r.N)(e)))},parseValue(e){if("string"===typeof e)return e;if("number"===typeof e&&Number.isInteger(e))return e.toString();throw new o.eO("ID cannot represent value: ".concat((0,r.N)(e)))},parseLiteral(e){if(e.kind!==s.b.STRING&&e.kind!==s.b.INT)throw new o.eO("ID cannot represent a non-string and non-integer value: "+(0,a.y)(e),{nodes:e});return e.value}}),m=Object.freeze([h,d,f,p,g]);function v(e){return m.some((t=>{let{name:n}=t;return e.name===n}))}function y(e){if((0,i.Z)(e)){if("function"===typeof e.valueOf){const t=e.valueOf();if(!(0,i.Z)(t))return t}if("function"===typeof e.toJSON)return e.toJSON()}return e}},122:(e,t,n)=>{"use strict";n.d(t,{GU:()=>h,V4:()=>p,Wl:()=>f});var r=n(398),i=n(5457),o=n(9725),s=n(5515),a=n(775),u=n(8907),l=n(7929),c=n(9005),d=n(2176);function f(e){return(0,o.h)(e,p)}function h(e){if(!f(e))throw new Error("Expected ".concat((0,i.N)(e)," to be a GraphQL schema."));return e}class p{constructor(e){var t,n;this.__validationErrors=!0===e.assumeValid?[]:void 0,(0,s.Z)(e)||(0,r.U)(!1,"Must provide configuration object."),!e.types||Array.isArray(e.types)||(0,r.U)(!1,'"types" must be Array if provided but got: '.concat((0,i.N)(e.types),".")),!e.directives||Array.isArray(e.directives)||(0,r.U)(!1,'"directives" must be Array if provided but got: '+"".concat((0,i.N)(e.directives),".")),this.description=e.description,this.extensions=(0,a.z)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._queryType=e.query,this._mutationType=e.mutation,this._subscriptionType=e.subscription,this._directives=null!==(n=e.directives)&&void 0!==n?n:c.rc;const o=new Set(e.types);if(null!=e.types)for(const r of e.types)o.delete(r),g(r,o);null!=this._queryType&&g(this._queryType,o),null!=this._mutationType&&g(this._mutationType,o),null!=this._subscriptionType&&g(this._subscriptionType,o);for(const r of this._directives)if((0,c.qT)(r))for(const e of r.args)g(e.type,o);g(d.em,o),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null);for(const i of o){if(null==i)continue;const e=i.name;if(e||(0,r.U)(!1,"One of the provided types for building the Schema is missing a name."),void 0!==this._typeMap[e])throw new Error('Schema must contain uniquely named types but contains multiple types named "'.concat(e,'".'));if(this._typeMap[e]=i,(0,l.kD)(i)){for(const t of i.getInterfaces())if((0,l.kD)(t)){let e=this._implementationsMap[t.name];void 0===e&&(e=this._implementationsMap[t.name]={objects:[],interfaces:[]}),e.interfaces.push(i)}}else if((0,l.YQ)(i))for(const t of i.getInterfaces())if((0,l.kD)(t)){let e=this._implementationsMap[t.name];void 0===e&&(e=this._implementationsMap[t.name]={objects:[],interfaces:[]}),e.objects.push(i)}}}get[Symbol.toStringTag](){return"GraphQLSchema"}getQueryType(){return this._queryType}getMutationType(){return this._mutationType}getSubscriptionType(){return this._subscriptionType}getRootType(e){switch(e){case u.cE.QUERY:return this.getQueryType();case u.cE.MUTATION:return this.getMutationType();case u.cE.SUBSCRIPTION:return this.getSubscriptionType()}}getTypeMap(){return this._typeMap}getType(e){return this.getTypeMap()[e]}getPossibleTypes(e){return(0,l.CK)(e)?e.getTypes():this.getImplementations(e).objects}getImplementations(e){const t=this._implementationsMap[e.name];return null!==t&&void 0!==t?t:{objects:[],interfaces:[]}}isSubType(e,t){let n=this._subTypeMap[e.name];if(void 0===n){if(n=Object.create(null),(0,l.CK)(e))for(const t of e.getTypes())n[t.name]=!0;else{const t=this.getImplementations(e);for(const e of t.objects)n[e.name]=!0;for(const e of t.interfaces)n[e.name]=!0}this._subTypeMap[e.name]=n}return void 0!==n[t.name]}getDirectives(){return this._directives}getDirective(e){return this.getDirectives().find((t=>t.name===e))}toConfig(){return{description:this.description,query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:Object.values(this.getTypeMap()),directives:this.getDirectives(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,assumeValid:void 0!==this.__validationErrors}}}function g(e,t){const n=(0,l.MR)(e);if(!t.has(n))if(t.add(n),(0,l.CK)(n))for(const r of n.getTypes())g(r,t);else if((0,l.YQ)(n)||(0,l.kD)(n)){for(const e of n.getInterfaces())g(e,t);for(const e of Object.values(n.getFields())){g(e.type,t);for(const n of e.args)g(n.type,t)}}else if((0,l.qK)(n))for(const r of Object.values(n.getFields()))g(r.type,t);return t}},6297:(e,t,n)=>{"use strict";n.d(t,{Y:()=>f,i:()=>d});var r=n(5457),i=n(5298),o=n(8907),s=n(7450),a=n(7929),u=n(9005),l=n(2176),c=n(122);function d(e){if((0,c.GU)(e),e.__validationErrors)return e.__validationErrors;const t=new h(e);!function(e){const t=e.schema,n=t.getQueryType();if(n){if(!(0,a.YQ)(n)){var i;e.reportError("Query root type must be Object type, it cannot be ".concat((0,r.N)(n),"."),null!==(i=p(t,o.cE.QUERY))&&void 0!==i?i:n.astNode)}}else e.reportError("Query root type must be provided.",t.astNode);const s=t.getMutationType();var u;s&&!(0,a.YQ)(s)&&e.reportError("Mutation root type must be Object type if provided, it cannot be "+"".concat((0,r.N)(s),"."),null!==(u=p(t,o.cE.MUTATION))&&void 0!==u?u:s.astNode);const l=t.getSubscriptionType();var c;l&&!(0,a.YQ)(l)&&e.reportError("Subscription root type must be Object type if provided, it cannot be "+"".concat((0,r.N)(l),"."),null!==(c=p(t,o.cE.SUBSCRIPTION))&&void 0!==c?c:l.astNode)}(t),function(e){for(const n of e.schema.getDirectives())if((0,u.qT)(n)){g(e,n);for(const i of n.args){var t;if(g(e,i),(0,a.dX)(i.type)||e.reportError("The type of @".concat(n.name,"(").concat(i.name,":) must be Input Type ")+"but got: ".concat((0,r.N)(i.type),"."),i.astNode),(0,a.xP)(i)&&null!=i.deprecationReason)e.reportError("Required argument @".concat(n.name,"(").concat(i.name,":) cannot be deprecated."),[I(i.astNode),null===(t=i.astNode)||void 0===t?void 0:t.type])}}else e.reportError("Expected directive but got: ".concat((0,r.N)(n),"."),null===n||void 0===n?void 0:n.astNode)}(t),function(e){const t=function(e){const t=Object.create(null),n=[],r=Object.create(null);return i;function i(o){if(t[o.name])return;t[o.name]=!0,r[o.name]=n.length;const s=Object.values(o.getFields());for(const t of s)if((0,a.bd)(t.type)&&(0,a.qK)(t.type.ofType)){const o=t.type.ofType,s=r[o.name];if(n.push(t),void 0===s)i(o);else{const t=n.slice(s),r=t.map((e=>e.name)).join(".");e.reportError('Cannot reference Input Object "'.concat(o.name,'" within itself through a series of non-null fields: "').concat(r,'".'),t.map((e=>e.astNode)))}n.pop()}r[o.name]=void 0}}(e),n=e.schema.getTypeMap();for(const i of Object.values(n))(0,a.sy)(i)?((0,l.Yh)(i)||g(e,i),(0,a.YQ)(i)||(0,a.kD)(i)?(m(e,i),v(e,i)):(0,a.CK)(i)?E(e,i):(0,a.oF)(i)?b(e,i):(0,a.qK)(i)&&(D(e,i),t(i))):e.reportError("Expected GraphQL named type but got: ".concat((0,r.N)(i),"."),i.astNode)}(t);const n=t.getErrors();return e.__validationErrors=n,n}function f(e){const t=d(e);if(0!==t.length)throw new Error(t.map((e=>e.message)).join("\n\n"))}class h{constructor(e){this._errors=[],this.schema=e}reportError(e,t){const n=Array.isArray(t)?t.filter(Boolean):t;this._errors.push(new i.eO(e,{nodes:n}))}getErrors(){return this._errors}}function p(e,t){var n;return null===(n=[e.astNode,...e.extensionASTNodes].flatMap((e=>{var t;return null!==(t=null===e||void 0===e?void 0:e.operationTypes)&&void 0!==t?t:[]})).find((e=>e.operation===t)))||void 0===n?void 0:n.type}function g(e,t){t.name.startsWith("__")&&e.reportError('Name "'.concat(t.name,'" must not begin with "__", which is reserved by GraphQL introspection.'),t.astNode)}function m(e,t){const n=Object.values(t.getFields());0===n.length&&e.reportError("Type ".concat(t.name," must define one or more fields."),[t.astNode,...t.extensionASTNodes]);for(const u of n){var i;if(g(e,u),!(0,a.oH)(u.type))e.reportError("The type of ".concat(t.name,".").concat(u.name," must be Output Type ")+"but got: ".concat((0,r.N)(u.type),"."),null===(i=u.astNode)||void 0===i?void 0:i.type);for(const n of u.args){const i=n.name;var o,s;if(g(e,n),!(0,a.dX)(n.type))e.reportError("The type of ".concat(t.name,".").concat(u.name,"(").concat(i,":) must be Input ")+"Type but got: ".concat((0,r.N)(n.type),"."),null===(o=n.astNode)||void 0===o?void 0:o.type);if((0,a.xP)(n)&&null!=n.deprecationReason)e.reportError("Required argument ".concat(t.name,".").concat(u.name,"(").concat(i,":) cannot be deprecated."),[I(n.astNode),null===(s=n.astNode)||void 0===s?void 0:s.type])}}}function v(e,t){const n=Object.create(null);for(const i of t.getInterfaces())(0,a.kD)(i)?t!==i?n[i.name]?e.reportError("Type ".concat(t.name," can only implement ").concat(i.name," once."),T(t,i)):(n[i.name]=!0,_(e,t,i),y(e,t,i)):e.reportError("Type ".concat(t.name," cannot implement itself because it would create a circular reference."),T(t,i)):e.reportError("Type ".concat((0,r.N)(t)," must only implement Interface types, ")+"it cannot implement ".concat((0,r.N)(i),"."),T(t,i))}function y(e,t,n){const i=t.getFields();for(const d of Object.values(n.getFields())){const f=d.name,h=i[f];if(h){var o,u;if(!(0,s.sP)(e.schema,h.type,d.type))e.reportError("Interface field ".concat(n.name,".").concat(f," expects type ")+"".concat((0,r.N)(d.type)," but ").concat(t.name,".").concat(f," ")+"is type ".concat((0,r.N)(h.type),"."),[null===(o=d.astNode)||void 0===o?void 0:o.type,null===(u=h.astNode)||void 0===u?void 0:u.type]);for(const i of d.args){const o=i.name,a=h.args.find((e=>e.name===o));var l,c;if(a){if(!(0,s.n8)(i.type,a.type))e.reportError("Interface field argument ".concat(n.name,".").concat(f,"(").concat(o,":) ")+"expects type ".concat((0,r.N)(i.type)," but ")+"".concat(t.name,".").concat(f,"(").concat(o,":) is type ")+"".concat((0,r.N)(a.type),"."),[null===(l=i.astNode)||void 0===l?void 0:l.type,null===(c=a.astNode)||void 0===c?void 0:c.type])}else e.reportError("Interface field argument ".concat(n.name,".").concat(f,"(").concat(o,":) expected but ").concat(t.name,".").concat(f," does not provide it."),[i.astNode,h.astNode])}for(const r of h.args){const i=r.name;!d.args.find((e=>e.name===i))&&(0,a.xP)(r)&&e.reportError("Object field ".concat(t.name,".").concat(f," includes required argument ").concat(i," that is missing from the Interface field ").concat(n.name,".").concat(f,"."),[r.astNode,d.astNode])}}else e.reportError("Interface field ".concat(n.name,".").concat(f," expected but ").concat(t.name," does not provide it."),[d.astNode,t.astNode,...t.extensionASTNodes])}}function _(e,t,n){const r=t.getInterfaces();for(const i of n.getInterfaces())r.includes(i)||e.reportError(i===t?"Type ".concat(t.name," cannot implement ").concat(n.name," because it would create a circular reference."):"Type ".concat(t.name," must implement ").concat(i.name," because it is implemented by ").concat(n.name,"."),[...T(n,i),...T(t,n)])}function E(e,t){const n=t.getTypes();0===n.length&&e.reportError("Union type ".concat(t.name," must define one or more member types."),[t.astNode,...t.extensionASTNodes]);const i=Object.create(null);for(const o of n)i[o.name]?e.reportError("Union type ".concat(t.name," can only include type ").concat(o.name," once."),S(t,o.name)):(i[o.name]=!0,(0,a.YQ)(o)||e.reportError("Union type ".concat(t.name," can only include Object types, ")+"it cannot include ".concat((0,r.N)(o),"."),S(t,String(o))))}function b(e,t){const n=t.getValues();0===n.length&&e.reportError("Enum type ".concat(t.name," must define one or more values."),[t.astNode,...t.extensionASTNodes]);for(const r of n)g(e,r)}function D(e,t){const n=Object.values(t.getFields());0===n.length&&e.reportError("Input Object type ".concat(t.name," must define one or more fields."),[t.astNode,...t.extensionASTNodes]);for(const s of n){var i,o;if(g(e,s),!(0,a.dX)(s.type))e.reportError("The type of ".concat(t.name,".").concat(s.name," must be Input Type ")+"but got: ".concat((0,r.N)(s.type),"."),null===(i=s.astNode)||void 0===i?void 0:i.type);if((0,a.YX)(s)&&null!=s.deprecationReason)e.reportError("Required input field ".concat(t.name,".").concat(s.name," cannot be deprecated."),[I(s.astNode),null===(o=s.astNode)||void 0===o?void 0:o.type]);t.isOneOf&&N(t,s,e)}}function N(e,t,n){var r;(0,a.bd)(t.type)&&n.reportError("OneOf input field ".concat(e.name,".").concat(t.name," must be nullable."),null===(r=t.astNode)||void 0===r?void 0:r.type);void 0!==t.defaultValue&&n.reportError("OneOf input field ".concat(e.name,".").concat(t.name," cannot have a default value."),t.astNode)}function T(e,t){const{astNode:n,extensionASTNodes:r}=e;return(null!=n?[n,...r]:r).flatMap((e=>{var t;return null!==(t=e.interfaces)&&void 0!==t?t:[]})).filter((e=>e.name.value===t.name))}function S(e,t){const{astNode:n,extensionASTNodes:r}=e;return(null!=n?[n,...r]:r).flatMap((e=>{var t;return null!==(t=e.types)&&void 0!==t?t:[]})).filter((e=>e.name.value===t))}function I(e){var t;return null===e||void 0===e||null===(t=e.directives)||void 0===t?void 0:t.find((e=>e.name.value===u.yK.name))}},2679:(e,t,n)=>{"use strict";n.d(t,{D:()=>l,S:()=>d});var r=n(8907),i=n(466),o=n(8449),s=n(7929),a=n(2176),u=n(5629);class l{constructor(e,t,n){this._schema=e,this._typeStack=[],this._parentTypeStack=[],this._inputTypeStack=[],this._fieldDefStack=[],this._defaultValueStack=[],this._directive=null,this._argument=null,this._enumValue=null,this._getFieldDef=null!==n&&void 0!==n?n:c,t&&((0,s.dX)(t)&&this._inputTypeStack.push(t),(0,s.ML)(t)&&this._parentTypeStack.push(t),(0,s.oH)(t)&&this._typeStack.push(t))}get[Symbol.toStringTag](){return"TypeInfo"}getType(){if(this._typeStack.length>0)return this._typeStack[this._typeStack.length-1]}getParentType(){if(this._parentTypeStack.length>0)return this._parentTypeStack[this._parentTypeStack.length-1]}getInputType(){if(this._inputTypeStack.length>0)return this._inputTypeStack[this._inputTypeStack.length-1]}getParentInputType(){if(this._inputTypeStack.length>1)return this._inputTypeStack[this._inputTypeStack.length-2]}getFieldDef(){if(this._fieldDefStack.length>0)return this._fieldDefStack[this._fieldDefStack.length-1]}getDefaultValue(){if(this._defaultValueStack.length>0)return this._defaultValueStack[this._defaultValueStack.length-1]}getDirective(){return this._directive}getArgument(){return this._argument}getEnumValue(){return this._enumValue}enter(e){const t=this._schema;switch(e.kind){case i.b.SELECTION_SET:{const e=(0,s.MR)(this.getType());this._parentTypeStack.push((0,s.ML)(e)?e:void 0);break}case i.b.FIELD:{const n=this.getParentType();let r,i;n&&(r=this._getFieldDef(t,n,e),r&&(i=r.type)),this._fieldDefStack.push(r),this._typeStack.push((0,s.oH)(i)?i:void 0);break}case i.b.DIRECTIVE:this._directive=t.getDirective(e.name.value);break;case i.b.OPERATION_DEFINITION:{const n=t.getRootType(e.operation);this._typeStack.push((0,s.YQ)(n)?n:void 0);break}case i.b.INLINE_FRAGMENT:case i.b.FRAGMENT_DEFINITION:{const n=e.typeCondition,r=n?(0,u.v)(t,n):(0,s.MR)(this.getType());this._typeStack.push((0,s.oH)(r)?r:void 0);break}case i.b.VARIABLE_DEFINITION:{const n=(0,u.v)(t,e.type);this._inputTypeStack.push((0,s.dX)(n)?n:void 0);break}case i.b.ARGUMENT:{var n;let t,r;const i=null!==(n=this.getDirective())&&void 0!==n?n:this.getFieldDef();i&&(t=i.args.find((t=>t.name===e.name.value)),t&&(r=t.type)),this._argument=t,this._defaultValueStack.push(t?t.defaultValue:void 0),this._inputTypeStack.push((0,s.dX)(r)?r:void 0);break}case i.b.LIST:{const e=(0,s.yl)(this.getInputType()),t=(0,s.Fs)(e)?e.ofType:e;this._defaultValueStack.push(void 0),this._inputTypeStack.push((0,s.dX)(t)?t:void 0);break}case i.b.OBJECT_FIELD:{const t=(0,s.MR)(this.getInputType());let n,r;(0,s.qK)(t)&&(r=t.getFields()[e.name.value],r&&(n=r.type)),this._defaultValueStack.push(r?r.defaultValue:void 0),this._inputTypeStack.push((0,s.dX)(n)?n:void 0);break}case i.b.ENUM:{const t=(0,s.MR)(this.getInputType());let n;(0,s.oF)(t)&&(n=t.getValue(e.value)),this._enumValue=n;break}}}leave(e){switch(e.kind){case i.b.SELECTION_SET:this._parentTypeStack.pop();break;case i.b.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case i.b.DIRECTIVE:this._directive=null;break;case i.b.OPERATION_DEFINITION:case i.b.INLINE_FRAGMENT:case i.b.FRAGMENT_DEFINITION:this._typeStack.pop();break;case i.b.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case i.b.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case i.b.LIST:case i.b.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case i.b.ENUM:this._enumValue=null}}}function c(e,t,n){const r=n.name.value;return r===a.S0.name&&e.getQueryType()===t?a.S0:r===a.Xe.name&&e.getQueryType()===t?a.Xe:r===a.of.name&&(0,s.ML)(t)?a.of:(0,s.YQ)(t)||(0,s.kD)(t)?t.getFields()[r]:void 0}function d(e,t){return{enter(){for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];const a=i[0];e.enter(a);const u=(0,o.XO)(t,a.kind).enter;if(u){const n=u.apply(t,i);return void 0!==n&&(e.leave(a),(0,r.Ll)(n)&&e.enter(n)),n}},leave(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];const s=r[0],a=(0,o.XO)(t,s.kind).leave;let u;return a&&(u=a.apply(t,r)),e.leave(s),u}}}},4960:(e,t,n)=>{"use strict";n.d(t,{K:()=>c});var r=n(5457),i=n(4061),o=n(8344),s=n(5515),a=n(466),u=n(7929),l=n(6746);function c(e,t){if((0,u.bd)(t)){const n=c(e,t.ofType);return(null===n||void 0===n?void 0:n.kind)===a.b.NULL?null:n}if(null===e)return{kind:a.b.NULL};if(void 0===e)return null;if((0,u.Fs)(t)){const n=t.ofType;if((0,o.A)(e)){const t=[];for(const r of e){const e=c(r,n);null!=e&&t.push(e)}return{kind:a.b.LIST,values:t}}return c(e,n)}if((0,u.qK)(t)){if(!(0,s.Z)(e))return null;const n=[];for(const r of Object.values(t.getFields())){const t=c(e[r.name],r.type);t&&n.push({kind:a.b.OBJECT_FIELD,name:{kind:a.b.NAME,value:r.name},value:t})}return{kind:a.b.OBJECT,fields:n}}if((0,u.zf)(t)){const n=t.serialize(e);if(null==n)return null;if("boolean"===typeof n)return{kind:a.b.BOOLEAN,value:n};if("number"===typeof n&&Number.isFinite(n)){const e=String(n);return d.test(e)?{kind:a.b.INT,value:e}:{kind:a.b.FLOAT,value:e}}if("string"===typeof n)return(0,u.oF)(t)?{kind:a.b.ENUM,value:n}:t===l.N1&&d.test(n)?{kind:a.b.INT,value:n}:{kind:a.b.STRING,value:n};throw new TypeError("Cannot convert value to AST: ".concat((0,r.N)(n),"."))}(0,i.V)(!1,"Unexpected input type: "+(0,r.N)(t))}const d=/^-?(?:0|[1-9][0-9]*)$/},8706:(e,t,n)=>{"use strict";n.d(t,{I:()=>d,o:()=>c});var r=n(398),i=n(466),o=n(9932),s=n(9005),a=n(122),u=n(2518),l=n(7646);function c(e,t){null!=e&&e.kind===i.b.DOCUMENT||(0,r.U)(!1,"Must provide valid Document AST."),!0!==(null===t||void 0===t?void 0:t.assumeValid)&&!0!==(null===t||void 0===t?void 0:t.assumeValidSDL)&&(0,u.uq)(e);const n={description:void 0,types:[],directives:[],extensions:Object.create(null),extensionASTNodes:[],assumeValid:!1},o=(0,l.c)(n,e,t);if(null==o.astNode)for(const r of o.types)switch(r.name){case"Query":o.query=r;break;case"Mutation":o.mutation=r;break;case"Subscription":o.subscription=r}const c=[...o.directives,...s.rc.filter((e=>o.directives.every((t=>t.name!==e.name))))];return new a.V4({...o,directives:c})}function d(e,t){return c((0,o.qg)(e,{noLocation:null===t||void 0===t?void 0:t.noLocation,allowLegacyFragmentVariables:null===t||void 0===t?void 0:t.allowLegacyFragmentVariables}),{assumeValidSDL:null===t||void 0===t?void 0:t.assumeValidSDL,assumeValid:null===t||void 0===t?void 0:t.assumeValid})}},7467:(e,t,n)=>{"use strict";n.d(t,{v:()=>h});var r=n(3108),i=n(5457),o=n(4061),s=n(8344),a=n(5515),u=n(3106),l=n(2336),c=n(9884),d=n(5298),f=n(7929);function h(e,t){return g(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:p,void 0)}function p(e,t,n){let r="Invalid value "+(0,i.N)(t);throw e.length>0&&(r+=' at "value'.concat((0,l.q)(e),'"')),n.message=r+": "+n.message,n}function g(e,t,n,l){if((0,f.bd)(t))return null!=e?g(e,t.ofType,n,l):void n((0,u.A)(l),e,new d.eO('Expected non-nullable type "'.concat((0,i.N)(t),'" not to be null.')));if(null==e)return null;if((0,f.Fs)(t)){const r=t.ofType;return(0,s.A)(e)?Array.from(e,((e,t)=>{const i=(0,u.f)(l,t,void 0);return g(e,r,n,i)})):[g(e,r,n,l)]}if((0,f.qK)(t)){if(!(0,a.Z)(e))return void n((0,u.A)(l),e,new d.eO('Expected type "'.concat(t.name,'" to be an object.')));const o={},s=t.getFields();for(const r of Object.values(s)){const s=e[r.name];if(void 0!==s)o[r.name]=g(s,r.type,n,(0,u.f)(l,r.name,t.name));else if(void 0!==r.defaultValue)o[r.name]=r.defaultValue;else if((0,f.bd)(r.type)){const t=(0,i.N)(r.type);n((0,u.A)(l),e,new d.eO('Field "'.concat(r.name,'" of required type "').concat(t,'" was not provided.')))}}for(const i of Object.keys(e))if(!s[i]){const o=(0,c.x)(i,Object.keys(t.getFields()));n((0,u.A)(l),e,new d.eO('Field "'.concat(i,'" is not defined by type "').concat(t.name,'".')+(0,r.a)(o)))}if(t.isOneOf){const r=Object.keys(o);1!==r.length&&n((0,u.A)(l),e,new d.eO('Exactly one key must be specified for OneOf type "'.concat(t.name,'".')));const i=r[0],s=o[i];null===s&&n((0,u.A)(l).concat(i),s,new d.eO('Field "'.concat(i,'" must be non-null.')))}return o}if((0,f.zf)(t)){let r;try{r=t.parseValue(e)}catch(h){return void(h instanceof d.eO?n((0,u.A)(l),e,h):n((0,u.A)(l),e,new d.eO('Expected type "'.concat(t.name,'". ')+h.message,{originalError:h})))}return void 0===r&&n((0,u.A)(l),e,new d.eO('Expected type "'.concat(t.name,'".'))),r}(0,o.V)(!1,"Unexpected input type: "+(0,i.N)(t))}},7646:(e,t,n)=>{"use strict";n.d(t,{c:()=>_,i:()=>y});var r=n(398),i=n(5457),o=n(4061),s=n(4386),a=n(8998),u=n(466),l=n(7196),c=n(7929),d=n(9005),f=n(2176),h=n(6746),p=n(122),g=n(2518),m=n(8723),v=n(1286);function y(e,t,n){(0,p.GU)(e),null!=t&&t.kind===u.b.DOCUMENT||(0,r.U)(!1,"Must provide valid Document AST."),!0!==(null===n||void 0===n?void 0:n.assumeValid)&&!0!==(null===n||void 0===n?void 0:n.assumeValidSDL)&&(0,g.$T)(t,e);const i=e.toConfig(),o=_(i,t,n);return i===o?e:new p.V4(o)}function _(e,t,n){var r,s,p,g;const y=[],_=Object.create(null),N=[];let T;const S=[];for(const i of t.definitions)if(i.kind===u.b.SCHEMA_DEFINITION)T=i;else if(i.kind===u.b.SCHEMA_EXTENSION)S.push(i);else if((0,l.a6)(i))y.push(i);else if((0,l.i7)(i)){const e=i.name.value,t=_[e];_[e]=t?t.concat([i]):[i]}else i.kind===u.b.DIRECTIVE_DEFINITION&&N.push(i);if(0===Object.keys(_).length&&0===y.length&&0===N.length&&0===S.length&&null==T)return e;const I=Object.create(null);for(const i of e.types)I[i.name]=O(i);for(const i of y){var w;const e=i.name.value;I[e]=null!==(w=E[e])&&void 0!==w?w:Y(i)}const A={query:e.query&&C(e.query),mutation:e.mutation&&C(e.mutation),subscription:e.subscription&&C(e.subscription),...T&&k([T]),...k(S)};return{description:null===(r=T)||void 0===r||null===(s=r.description)||void 0===s?void 0:s.value,...A,types:Object.values(I),directives:[...e.directives.map((function(e){const t=e.toConfig();return new d.RR({...t,args:(0,a.I)(t.args,L)})})),...N.map((function(e){var t;return new d.RR({name:e.name.value,description:null===(t=e.description)||void 0===t?void 0:t.value,locations:e.locations.map((e=>{let{value:t}=e;return t})),isRepeatable:e.repeatable,args:B(e.arguments),astNode:e})}))],extensions:Object.create(null),astNode:null!==(p=T)&&void 0!==p?p:e.astNode,extensionASTNodes:e.extensionASTNodes.concat(S),assumeValid:null!==(g=null===n||void 0===n?void 0:n.assumeValid)&&void 0!==g&&g};function R(e){return(0,c.Fs)(e)?new c.KT(R(e.ofType)):(0,c.bd)(e)?new c.Gc(R(e.ofType)):C(e)}function C(e){return I[e.name]}function O(e){return(0,f.Yh)(e)||(0,h.PZ)(e)?e:(0,c.lg)(e)?function(e){var t;const n=e.toConfig(),r=null!==(t=_[n.name])&&void 0!==t?t:[];let i=n.specifiedByURL;for(const s of r){var o;i=null!==(o=D(s))&&void 0!==o?o:i}return new c.Ag({...n,specifiedByURL:i,extensionASTNodes:n.extensionASTNodes.concat(r)})}(e):(0,c.YQ)(e)?function(e){var t;const n=e.toConfig(),r=null!==(t=_[n.name])&&void 0!==t?t:[];return new c.bh({...n,interfaces:()=>[...e.getInterfaces().map(C),...j(r)],fields:()=>({...(0,a.I)(n.fields,F),...M(r)}),extensionASTNodes:n.extensionASTNodes.concat(r)})}(e):(0,c.kD)(e)?function(e){var t;const n=e.toConfig(),r=null!==(t=_[n.name])&&void 0!==t?t:[];return new c.VA({...n,interfaces:()=>[...e.getInterfaces().map(C),...j(r)],fields:()=>({...(0,a.I)(n.fields,F),...M(r)}),extensionASTNodes:n.extensionASTNodes.concat(r)})}(e):(0,c.CK)(e)?function(e){var t;const n=e.toConfig(),r=null!==(t=_[n.name])&&void 0!==t?t:[];return new c.hI({...n,types:()=>[...e.getTypes().map(C),...K(r)],extensionASTNodes:n.extensionASTNodes.concat(r)})}(e):(0,c.oF)(e)?function(e){var t;const n=e.toConfig(),r=null!==(t=_[e.name])&&void 0!==t?t:[];return new c.Zb({...n,values:{...n.values,...U(r)},extensionASTNodes:n.extensionASTNodes.concat(r)})}(e):(0,c.qK)(e)?function(e){var t;const n=e.toConfig(),r=null!==(t=_[n.name])&&void 0!==t?t:[];return new c.zP({...n,fields:()=>({...(0,a.I)(n.fields,(e=>({...e,type:R(e.type)}))),...V(r)}),extensionASTNodes:n.extensionASTNodes.concat(r)})}(e):void(0,o.V)(!1,"Unexpected type: "+(0,i.N)(e))}function F(e){return{...e,type:R(e.type),args:e.args&&(0,a.I)(e.args,L)}}function L(e){return{...e,type:R(e.type)}}function k(e){const t={};for(const r of e){var n;const e=null!==(n=r.operationTypes)&&void 0!==n?n:[];for(const n of e)t[n.operation]=x(n.type)}return t}function x(e){var t;const n=e.name.value,r=null!==(t=E[n])&&void 0!==t?t:I[n];if(void 0===r)throw new Error('Unknown type: "'.concat(n,'".'));return r}function P(e){return e.kind===u.b.LIST_TYPE?new c.KT(P(e.type)):e.kind===u.b.NON_NULL_TYPE?new c.Gc(P(e.type)):x(e)}function M(e){const t=Object.create(null);for(const i of e){var n;const e=null!==(n=i.fields)&&void 0!==n?n:[];for(const n of e){var r;t[n.name.value]={type:P(n.type),description:null===(r=n.description)||void 0===r?void 0:r.value,args:B(n.arguments),deprecationReason:b(n),astNode:n}}}return t}function B(e){const t=null!==e&&void 0!==e?e:[],n=Object.create(null);for(const i of t){var r;const e=P(i.type);n[i.name.value]={type:e,description:null===(r=i.description)||void 0===r?void 0:r.value,defaultValue:(0,v.i)(i.defaultValue,e),deprecationReason:b(i),astNode:i}}return n}function V(e){const t=Object.create(null);for(const i of e){var n;const e=null!==(n=i.fields)&&void 0!==n?n:[];for(const n of e){var r;const e=P(n.type);t[n.name.value]={type:e,description:null===(r=n.description)||void 0===r?void 0:r.value,defaultValue:(0,v.i)(n.defaultValue,e),deprecationReason:b(n),astNode:n}}}return t}function U(e){const t=Object.create(null);for(const i of e){var n;const e=null!==(n=i.values)&&void 0!==n?n:[];for(const n of e){var r;t[n.name.value]={description:null===(r=n.description)||void 0===r?void 0:r.value,deprecationReason:b(n),astNode:n}}}return t}function j(e){return e.flatMap((e=>{var t,n;return null!==(t=null===(n=e.interfaces)||void 0===n?void 0:n.map(x))&&void 0!==t?t:[]}))}function K(e){return e.flatMap((e=>{var t,n;return null!==(t=null===(n=e.types)||void 0===n?void 0:n.map(x))&&void 0!==t?t:[]}))}function Y(e){var t;const n=e.name.value,r=null!==(t=_[n])&&void 0!==t?t:[];switch(e.kind){case u.b.OBJECT_TYPE_DEFINITION:{var i;const t=[e,...r];return new c.bh({name:n,description:null===(i=e.description)||void 0===i?void 0:i.value,interfaces:()=>j(t),fields:()=>M(t),astNode:e,extensionASTNodes:r})}case u.b.INTERFACE_TYPE_DEFINITION:{var o;const t=[e,...r];return new c.VA({name:n,description:null===(o=e.description)||void 0===o?void 0:o.value,interfaces:()=>j(t),fields:()=>M(t),astNode:e,extensionASTNodes:r})}case u.b.ENUM_TYPE_DEFINITION:{var s;const t=[e,...r];return new c.Zb({name:n,description:null===(s=e.description)||void 0===s?void 0:s.value,values:U(t),astNode:e,extensionASTNodes:r})}case u.b.UNION_TYPE_DEFINITION:{var a;const t=[e,...r];return new c.hI({name:n,description:null===(a=e.description)||void 0===a?void 0:a.value,types:()=>K(t),astNode:e,extensionASTNodes:r})}case u.b.SCALAR_TYPE_DEFINITION:var l;return new c.Ag({name:n,description:null===(l=e.description)||void 0===l?void 0:l.value,specifiedByURL:D(e),astNode:e,extensionASTNodes:r});case u.b.INPUT_OBJECT_TYPE_DEFINITION:{var f;const t=[e,...r];return new c.zP({name:n,description:null===(f=e.description)||void 0===f?void 0:f.value,fields:()=>V(t),astNode:e,extensionASTNodes:r,isOneOf:(h=e,Boolean((0,m.YY)(d.mM,h)))})}}var h}}const E=(0,s.K)([...h.YC,...f.V4],(e=>e.name));function b(e){const t=(0,m.YY)(d.yK,e);return null===t||void 0===t?void 0:t.reason}function D(e){const t=(0,m.YY)(d.gw,e);return null===t||void 0===t?void 0:t.url}},5238:(e,t,n)=>{"use strict";n.d(t,{M:()=>o});var r=n(5747),i=n(466);function o(e){switch(e.kind){case i.b.OBJECT:return{...e,fields:(t=e.fields,t.map((e=>({...e,value:o(e.value)}))).sort(((e,t)=>(0,r.p)(e.name.value,t.name.value))))};case i.b.LIST:return{...e,values:e.values.map(o)};case i.b.INT:case i.b.FLOAT:case i.b.STRING:case i.b.BOOLEAN:case i.b.NULL:case i.b.ENUM:case i.b.VARIABLE:return e}var t}},7450:(e,t,n)=>{"use strict";n.d(t,{n8:()=>i,sP:()=>o,uI:()=>s});var r=n(7929);function i(e,t){return e===t||((0,r.bd)(e)&&(0,r.bd)(t)||!(!(0,r.Fs)(e)||!(0,r.Fs)(t)))&&i(e.ofType,t.ofType)}function o(e,t,n){return t===n||((0,r.bd)(n)?!!(0,r.bd)(t)&&o(e,t.ofType,n.ofType):(0,r.bd)(t)?o(e,t.ofType,n):(0,r.Fs)(n)?!!(0,r.Fs)(t)&&o(e,t.ofType,n.ofType):!(0,r.Fs)(t)&&((0,r.Lc)(n)&&((0,r.kD)(t)||(0,r.YQ)(t))&&e.isSubType(n,t)))}function s(e,t,n){return t===n||((0,r.Lc)(t)?(0,r.Lc)(n)?e.getPossibleTypes(t).some((t=>e.isSubType(n,t))):e.isSubType(t,n):!!(0,r.Lc)(n)&&e.isSubType(n,t))}},5629:(e,t,n)=>{"use strict";n.d(t,{v:()=>o});var r=n(466),i=n(7929);function o(e,t){switch(t.kind){case r.b.LIST_TYPE:{const n=o(e,t.type);return n&&new i.KT(n)}case r.b.NON_NULL_TYPE:{const n=o(e,t.type);return n&&new i.Gc(n)}case r.b.NAMED_TYPE:return e.getType(t.name.value)}}},1286:(e,t,n)=>{"use strict";n.d(t,{i:()=>u});var r=n(5457),i=n(4061),o=n(4386),s=n(466),a=n(7929);function u(e,t,n){if(e){if(e.kind===s.b.VARIABLE){const r=e.name.value;if(null==n||void 0===n[r])return;const i=n[r];if(null===i&&(0,a.bd)(t))return;return i}if((0,a.bd)(t)){if(e.kind===s.b.NULL)return;return u(e,t.ofType,n)}if(e.kind===s.b.NULL)return null;if((0,a.Fs)(t)){const r=t.ofType;if(e.kind===s.b.LIST){const t=[];for(const i of e.values)if(l(i,n)){if((0,a.bd)(r))return;t.push(null)}else{const e=u(i,r,n);if(void 0===e)return;t.push(e)}return t}const i=u(e,r,n);if(void 0===i)return;return[i]}if((0,a.qK)(t)){if(e.kind!==s.b.OBJECT)return;const r=Object.create(null),i=(0,o.K)(e.fields,(e=>e.name.value));for(const e of Object.values(t.getFields())){const t=i[e.name];if(!t||l(t.value,n)){if(void 0!==e.defaultValue)r[e.name]=e.defaultValue;else if((0,a.bd)(e.type))return;continue}const o=u(t.value,e.type,n);if(void 0===o)return;r[e.name]=o}if(t.isOneOf){const e=Object.keys(r);if(1!==e.length)return;if(null===r[e[0]])return}return r}if((0,a.zf)(t)){let r;try{r=t.parseLiteral(e,n)}catch(c){return}if(void 0===r)return;return r}(0,i.V)(!1,"Unexpected input type: "+(0,r.N)(t))}}function l(e,t){return e.kind===s.b.VARIABLE&&(null==t||void 0===t[e.name.value])}},7761:(e,t,n)=>{"use strict";n.d(t,{F:()=>o});var r=n(3817),i=n(466);function o(e,t){switch(e.kind){case i.b.NULL:return null;case i.b.INT:return parseInt(e.value,10);case i.b.FLOAT:return parseFloat(e.value);case i.b.STRING:case i.b.ENUM:case i.b.BOOLEAN:return e.value;case i.b.LIST:return e.values.map((e=>o(e,t)));case i.b.OBJECT:return(0,r.L)(e.fields,(e=>e.name.value),(e=>o(e.value,t)));case i.b.VARIABLE:return null===t||void 0===t?void 0:t[e.name.value]}}},9602:(e,t,n)=>{"use strict";n.d(t,{dY:()=>u,ot:()=>a});var r=n(466),i=n(8449),o=n(2679);class s{constructor(e,t){this._ast=e,this._fragments=void 0,this._fragmentSpreads=new Map,this._recursivelyReferencedFragments=new Map,this._onError=t}get[Symbol.toStringTag](){return"ASTValidationContext"}reportError(e){this._onError(e)}getDocument(){return this._ast}getFragment(e){let t;if(this._fragments)t=this._fragments;else{t=Object.create(null);for(const e of this.getDocument().definitions)e.kind===r.b.FRAGMENT_DEFINITION&&(t[e.name.value]=e);this._fragments=t}return t[e]}getFragmentSpreads(e){let t=this._fragmentSpreads.get(e);if(!t){t=[];const n=[e];let i;for(;i=n.pop();)for(const e of i.selections)e.kind===r.b.FRAGMENT_SPREAD?t.push(e):e.selectionSet&&n.push(e.selectionSet);this._fragmentSpreads.set(e,t)}return t}getRecursivelyReferencedFragments(e){let t=this._recursivelyReferencedFragments.get(e);if(!t){t=[];const n=Object.create(null),r=[e.selectionSet];let i;for(;i=r.pop();)for(const e of this.getFragmentSpreads(i)){const i=e.name.value;if(!0!==n[i]){n[i]=!0;const e=this.getFragment(i);e&&(t.push(e),r.push(e.selectionSet))}}this._recursivelyReferencedFragments.set(e,t)}return t}}class a extends s{constructor(e,t,n){super(e,n),this._schema=t}get[Symbol.toStringTag](){return"SDLValidationContext"}getSchema(){return this._schema}}class u extends s{constructor(e,t,n,r){super(t,r),this._schema=e,this._typeInfo=n,this._variableUsages=new Map,this._recursiveVariableUsages=new Map}get[Symbol.toStringTag](){return"ValidationContext"}getSchema(){return this._schema}getVariableUsages(e){let t=this._variableUsages.get(e);if(!t){const n=[],r=new o.D(this._schema);(0,i.YR)(e,(0,o.S)(r,{VariableDefinition:()=>!1,Variable(e){n.push({node:e,type:r.getInputType(),defaultValue:r.getDefaultValue()})}})),t=n,this._variableUsages.set(e,t)}return t}getRecursiveVariableUsages(e){let t=this._recursiveVariableUsages.get(e);if(!t){t=this.getVariableUsages(e);for(const n of this.getRecursivelyReferencedFragments(e))t=t.concat(this.getVariableUsages(n));this._recursiveVariableUsages.set(e,t)}return t}getType(){return this._typeInfo.getType()}getParentType(){return this._typeInfo.getParentType()}getInputType(){return this._typeInfo.getInputType()}getParentInputType(){return this._typeInfo.getParentInputType()}getFieldDef(){return this._typeInfo.getFieldDef()}getDirective(){return this._typeInfo.getDirective()}getArgument(){return this._typeInfo.getArgument()}getEnumValue(){return this._typeInfo.getEnumValue()}}},1412:(e,t,n)=>{"use strict";n.d(t,{T:()=>s});var r=n(5298),i=n(466),o=n(7196);function s(e){return{Document(t){for(const n of t.definitions)if(!(0,o._m)(n)){const t=n.kind===i.b.SCHEMA_DEFINITION||n.kind===i.b.SCHEMA_EXTENSION?"schema":'"'+n.name.value+'"';e.reportError(new r.eO("The ".concat(t," definition is not executable."),{nodes:n}))}return!1}}}},36:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(3108),i=n(5747),o=n(9884),s=n(5298),a=n(7929);function u(e){return{Field(t){const n=e.getParentType();if(n){if(!e.getFieldDef()){const u=e.getSchema(),l=t.name.value;let c=(0,r.a)("to use an inline fragment on",function(e,t,n){if(!(0,a.Lc)(t))return[];const r=new Set,o=Object.create(null);for(const i of e.getPossibleTypes(t))if(i.getFields()[n]){r.add(i),o[i.name]=1;for(const e of i.getInterfaces()){var s;e.getFields()[n]&&(r.add(e),o[e.name]=(null!==(s=o[e.name])&&void 0!==s?s:0)+1)}}return[...r].sort(((t,n)=>{const r=o[n.name]-o[t.name];return 0!==r?r:(0,a.kD)(t)&&e.isSubType(t,n)?-1:(0,a.kD)(n)&&e.isSubType(n,t)?1:(0,i.p)(t.name,n.name)})).map((e=>e.name))}(u,n,l));""===c&&(c=(0,r.a)(function(e,t){if((0,a.YQ)(e)||(0,a.kD)(e)){const n=Object.keys(e.getFields());return(0,o.x)(t,n)}return[]}(n,l))),e.reportError(new s.eO('Cannot query field "'.concat(l,'" on type "').concat(n.name,'".')+c,{nodes:t}))}}}}}},146:(e,t,n)=>{"use strict";n.d(t,{T:()=>a});var r=n(5298),i=n(807),o=n(7929),s=n(5629);function a(e){return{InlineFragment(t){const n=t.typeCondition;if(n){const t=(0,s.v)(e.getSchema(),n);if(t&&!(0,o.ML)(t)){const t=(0,i.y)(n);e.reportError(new r.eO('Fragment cannot condition on non composite type "'.concat(t,'".'),{nodes:n}))}}},FragmentDefinition(t){const n=(0,s.v)(e.getSchema(),t.typeCondition);if(n&&!(0,o.ML)(n)){const n=(0,i.y)(t.typeCondition);e.reportError(new r.eO('Fragment "'.concat(t.name.value,'" cannot condition on non composite type "').concat(n,'".'),{nodes:t.typeCondition}))}}}}},8598:(e,t,n)=>{"use strict";n.d(t,{P:()=>u,W:()=>l});var r=n(3108),i=n(9884),o=n(5298),s=n(466),a=n(9005);function u(e){return{...l(e),Argument(t){const n=e.getArgument(),s=e.getFieldDef(),a=e.getParentType();if(!n&&s&&a){const n=t.name.value,u=s.args.map((e=>e.name)),l=(0,i.x)(n,u);e.reportError(new o.eO('Unknown argument "'.concat(n,'" on field "').concat(a.name,".").concat(s.name,'".')+(0,r.a)(l),{nodes:t}))}}}}function l(e){const t=Object.create(null),n=e.getSchema(),u=n?n.getDirectives():a.rc;for(const r of u)t[r.name]=r.args.map((e=>e.name));const l=e.getDocument().definitions;for(const r of l)if(r.kind===s.b.DIRECTIVE_DEFINITION){var c;const e=null!==(c=r.arguments)&&void 0!==c?c:[];t[r.name.value]=e.map((e=>e.name.value))}return{Directive(n){const s=n.name.value,a=t[s];if(n.arguments&&a)for(const t of n.arguments){const n=t.name.value;if(!a.includes(n)){const u=(0,i.x)(n,a);e.reportError(new o.eO('Unknown argument "'.concat(n,'" on directive "@').concat(s,'".')+(0,r.a)(u),{nodes:t}))}}return!1}}}},7413:(e,t,n)=>{"use strict";n.d(t,{e:()=>c});var r=n(5457),i=n(4061),o=n(5298),s=n(8907),a=n(5617),u=n(466),l=n(9005);function c(e){const t=Object.create(null),n=e.getSchema(),c=n?n.getDirectives():l.rc;for(const r of c)t[r.name]=r.locations;const d=e.getDocument().definitions;for(const r of d)r.kind===u.b.DIRECTIVE_DEFINITION&&(t[r.name.value]=r.locations.map((e=>e.value)));return{Directive(n,l,c,d,f){const h=n.name.value,p=t[h];if(!p)return void e.reportError(new o.eO('Unknown directive "@'.concat(h,'".'),{nodes:n}));const g=function(e){const t=e[e.length-1];switch("kind"in t||(0,i.V)(!1),t.kind){case u.b.OPERATION_DEFINITION:return function(e){switch(e){case s.cE.QUERY:return a.H.QUERY;case s.cE.MUTATION:return a.H.MUTATION;case s.cE.SUBSCRIPTION:return a.H.SUBSCRIPTION}}(t.operation);case u.b.FIELD:return a.H.FIELD;case u.b.FRAGMENT_SPREAD:return a.H.FRAGMENT_SPREAD;case u.b.INLINE_FRAGMENT:return a.H.INLINE_FRAGMENT;case u.b.FRAGMENT_DEFINITION:return a.H.FRAGMENT_DEFINITION;case u.b.VARIABLE_DEFINITION:return a.H.VARIABLE_DEFINITION;case u.b.SCHEMA_DEFINITION:case u.b.SCHEMA_EXTENSION:return a.H.SCHEMA;case u.b.SCALAR_TYPE_DEFINITION:case u.b.SCALAR_TYPE_EXTENSION:return a.H.SCALAR;case u.b.OBJECT_TYPE_DEFINITION:case u.b.OBJECT_TYPE_EXTENSION:return a.H.OBJECT;case u.b.FIELD_DEFINITION:return a.H.FIELD_DEFINITION;case u.b.INTERFACE_TYPE_DEFINITION:case u.b.INTERFACE_TYPE_EXTENSION:return a.H.INTERFACE;case u.b.UNION_TYPE_DEFINITION:case u.b.UNION_TYPE_EXTENSION:return a.H.UNION;case u.b.ENUM_TYPE_DEFINITION:case u.b.ENUM_TYPE_EXTENSION:return a.H.ENUM;case u.b.ENUM_VALUE_DEFINITION:return a.H.ENUM_VALUE;case u.b.INPUT_OBJECT_TYPE_DEFINITION:case u.b.INPUT_OBJECT_TYPE_EXTENSION:return a.H.INPUT_OBJECT;case u.b.INPUT_VALUE_DEFINITION:{const t=e[e.length-3];return"kind"in t||(0,i.V)(!1),t.kind===u.b.INPUT_OBJECT_TYPE_DEFINITION?a.H.INPUT_FIELD_DEFINITION:a.H.ARGUMENT_DEFINITION}default:(0,i.V)(!1,"Unexpected kind: "+(0,r.N)(t.kind))}}(f);g&&!p.includes(g)&&e.reportError(new o.eO('Directive "@'.concat(h,'" may not be used on ').concat(g,"."),{nodes:n}))}}}},9129:(e,t,n)=>{"use strict";n.d(t,{K:()=>i});var r=n(5298);function i(e){return{FragmentSpread(t){const n=t.name.value;e.getFragment(n)||e.reportError(new r.eO('Unknown fragment "'.concat(n,'".'),{nodes:t.name}))}}}},1769:(e,t,n)=>{"use strict";n.d(t,{y:()=>u});var r=n(3108),i=n(9884),o=n(5298),s=n(7196),a=n(2176);function u(e){const t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),a=Object.create(null);for(const r of e.getDocument().definitions)(0,s.a6)(r)&&(a[r.name.value]=!0);const u=[...Object.keys(n),...Object.keys(a)];return{NamedType(t,c,d,f,h){const p=t.name.value;if(!n[p]&&!a[p]){var g;const n=null!==(g=h[2])&&void 0!==g?g:d,a=null!=n&&("kind"in(m=n)&&((0,s.xu)(m)||(0,s.fT)(m)));if(a&&l.includes(p))return;const c=(0,i.x)(p,a?l.concat(u):u);e.reportError(new o.eO('Unknown type "'.concat(p,'".')+(0,r.a)(c),{nodes:t}))}var m}}}const l=[...n(6746).YC,...a.V4].map((e=>e.name))},2976:(e,t,n)=>{"use strict";n.d(t,{P:()=>o});var r=n(5298),i=n(466);function o(e){let t=0;return{Document(e){t=e.definitions.filter((e=>e.kind===i.b.OPERATION_DEFINITION)).length},OperationDefinition(n){!n.name&&t>1&&e.reportError(new r.eO("This anonymous operation must be the only defined operation.",{nodes:n}))}}}},6396:(e,t,n)=>{"use strict";n.d(t,{l:()=>i});var r=n(5298);function i(e){var t,n,i;const o=e.getSchema(),s=null!==(t=null!==(n=null!==(i=null===o||void 0===o?void 0:o.astNode)&&void 0!==i?i:null===o||void 0===o?void 0:o.getQueryType())&&void 0!==n?n:null===o||void 0===o?void 0:o.getMutationType())&&void 0!==t?t:null===o||void 0===o?void 0:o.getSubscriptionType();let a=0;return{SchemaDefinition(t){s?e.reportError(new r.eO("Cannot define a new schema within a schema extension.",{nodes:t})):(a>0&&e.reportError(new r.eO("Must provide only one schema definition.",{nodes:t})),++a)}}}},2744:(e,t,n)=>{"use strict";n.d(t,{B:()=>s});var r=n(5298),i=n(466);const o=3;function s(e){function t(n){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Object.create(null),s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(n.kind===i.b.FRAGMENT_SPREAD){const i=n.name.value;if(!0===r[i])return!1;const o=e.getFragment(i);if(!o)return!1;try{return r[i]=!0,t(o,r,s)}finally{r[i]=void 0}}if(n.kind===i.b.FIELD&&("fields"===n.name.value||"interfaces"===n.name.value||"possibleTypes"===n.name.value||"inputFields"===n.name.value)&&(s++,s>=o))return!0;if("selectionSet"in n&&n.selectionSet)for(const e of n.selectionSet.selections)if(t(e,r,s))return!0;return!1}return{Field(n){if(("__schema"===n.name.value||"__type"===n.name.value)&&t(n))return e.reportError(new r.eO("Maximum introspection depth exceeded",{nodes:[n]})),!1}}}},6354:(e,t,n)=>{"use strict";n.d(t,{n:()=>i});var r=n(5298);function i(e){const t=Object.create(null),n=[],i=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition:e=>(o(e),!1)};function o(s){if(t[s.name.value])return;const a=s.name.value;t[a]=!0;const u=e.getFragmentSpreads(s.selectionSet);if(0!==u.length){i[a]=n.length;for(const t of u){const s=t.name.value,a=i[s];if(n.push(t),void 0===a){const t=e.getFragment(s);t&&o(t)}else{const t=n.slice(a),i=t.slice(0,-1).map((e=>'"'+e.name.value+'"')).join(", ");e.reportError(new r.eO('Cannot spread fragment "'.concat(s,'" within itself')+(""!==i?" via ".concat(i,"."):"."),{nodes:t}))}n.pop()}i[a]=void 0}}}},1676:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(5298);function i(e){let t=Object.create(null);return{OperationDefinition:{enter(){t=Object.create(null)},leave(n){const i=e.getRecursiveVariableUsages(n);for(const{node:o}of i){const i=o.name.value;!0!==t[i]&&e.reportError(new r.eO(n.name?'Variable "$'.concat(i,'" is not defined by operation "').concat(n.name.value,'".'):'Variable "$'.concat(i,'" is not defined.'),{nodes:[o,n]}))}}},VariableDefinition(e){t[e.variable.name.value]=!0}}}},4008:(e,t,n)=>{"use strict";n.d(t,{z:()=>i});var r=n(5298);function i(e){const t=[],n=[];return{OperationDefinition:e=>(t.push(e),!1),FragmentDefinition:e=>(n.push(e),!1),Document:{leave(){const i=Object.create(null);for(const n of t)for(const t of e.getRecursivelyReferencedFragments(n))i[t.name.value]=!0;for(const t of n){const n=t.name.value;!0!==i[n]&&e.reportError(new r.eO('Fragment "'.concat(n,'" is never used.'),{nodes:t}))}}}}}},2260:(e,t,n)=>{"use strict";n.d(t,{p:()=>i});var r=n(5298);function i(e){let t=[];return{OperationDefinition:{enter(){t=[]},leave(n){const i=Object.create(null),o=e.getRecursiveVariableUsages(n);for(const{node:e}of o)i[e.name.value]=!0;for(const s of t){const t=s.variable.name.value;!0!==i[t]&&e.reportError(new r.eO(n.name?'Variable "$'.concat(t,'" is never used in operation "').concat(n.name.value,'".'):'Variable "$'.concat(t,'" is never used.'),{nodes:s}))}}},VariableDefinition(e){t.push(e)}}}},1041:(e,t,n)=>{"use strict";n.d(t,{K:()=>d});var r=n(5457),i=n(5298),o=n(466),s=n(807),a=n(7929),u=n(5238),l=n(5629);function c(e){return Array.isArray(e)?e.map((e=>{let[t,n]=e;return'subfields "'.concat(t,'" conflict because ')+c(n)})).join(" and "):e}function d(e){const t=new b,n=new Map;return{SelectionSet(r){const o=function(e,t,n,r,i){const o=[],[s,a]=y(e,t,r,i);if(function(e,t,n,r,i){for(const[o,s]of Object.entries(i))if(s.length>1)for(let i=0;i<s.length;i++)for(let a=i+1;a<s.length;a++){const u=g(e,n,r,!1,o,s[i],s[a]);u&&t.push(u)}}(e,o,t,n,s),0!==a.length)for(let u=0;u<a.length;u++){f(e,o,t,n,!1,s,a[u]);for(let r=u+1;r<a.length;r++)h(e,o,t,n,!1,a[u],a[r])}return o}(e,n,t,e.getParentType(),r);for(const[[t,n],s,a]of o){const r=c(n);e.reportError(new i.eO('Fields "'.concat(t,'" conflict because ').concat(r,". Use different aliases on the fields to fetch both if this was intentional."),{nodes:s.concat(a)}))}}}}function f(e,t,n,r,i,o,s){const a=e.getFragment(s);if(!a)return;const[u,l]=_(e,n,a);if(o!==u){p(e,t,n,r,i,o,u);for(const a of l)r.has(a,s,i)||(r.add(a,s,i),f(e,t,n,r,i,o,a))}}function h(e,t,n,r,i,o,s){if(o===s)return;if(r.has(o,s,i))return;r.add(o,s,i);const a=e.getFragment(o),u=e.getFragment(s);if(!a||!u)return;const[l,c]=_(e,n,a),[d,f]=_(e,n,u);p(e,t,n,r,i,l,d);for(const p of f)h(e,t,n,r,i,o,p);for(const p of c)h(e,t,n,r,i,p,s)}function p(e,t,n,r,i,o,s){for(const[a,u]of Object.entries(o)){const o=s[a];if(o)for(const s of u)for(const u of o){const o=g(e,n,r,i,a,s,u);o&&t.push(o)}}}function g(e,t,n,i,o,s,u){const[l,c,d]=s,[g,_,E]=u,b=i||l!==g&&(0,a.YQ)(l)&&(0,a.YQ)(g);if(!b){const e=c.name.value,t=_.name.value;if(e!==t)return[[o,'"'.concat(e,'" and "').concat(t,'" are different fields')],[c],[_]];if(!function(e,t){const n=e.arguments,r=t.arguments;if(void 0===n||0===n.length)return void 0===r||0===r.length;if(void 0===r||0===r.length)return!1;if(n.length!==r.length)return!1;const i=new Map(r.map((e=>{let{name:t,value:n}=e;return[t.value,n]})));return n.every((e=>{const t=e.value,n=i.get(e.name.value);return void 0!==n&&m(t)===m(n)}))}(c,_))return[[o,"they have differing arguments"],[c],[_]]}const D=null===d||void 0===d?void 0:d.type,N=null===E||void 0===E?void 0:E.type;if(D&&N&&v(D,N))return[[o,'they return conflicting types "'.concat((0,r.N)(D),'" and "').concat((0,r.N)(N),'"')],[c],[_]];const T=c.selectionSet,S=_.selectionSet;if(T&&S){const r=function(e,t,n,r,i,o,s,a){const u=[],[l,c]=y(e,t,i,o),[d,g]=y(e,t,s,a);p(e,u,t,n,r,l,d);for(const h of g)f(e,u,t,n,r,l,h);for(const h of c)f(e,u,t,n,r,d,h);for(const f of c)for(const i of g)h(e,u,t,n,r,f,i);return u}(e,t,n,b,(0,a.MR)(D),T,(0,a.MR)(N),S);return function(e,t,n,r){if(e.length>0)return[[t,e.map((e=>{let[t]=e;return t}))],[n,...e.map((e=>{let[,t]=e;return t})).flat()],[r,...e.map((e=>{let[,,t]=e;return t})).flat()]]}(r,o,c,_)}}function m(e){return(0,s.y)((0,u.M)(e))}function v(e,t){return(0,a.Fs)(e)?!(0,a.Fs)(t)||v(e.ofType,t.ofType):!!(0,a.Fs)(t)||((0,a.bd)(e)?!(0,a.bd)(t)||v(e.ofType,t.ofType):!!(0,a.bd)(t)||!(!(0,a.zf)(e)&&!(0,a.zf)(t))&&e!==t)}function y(e,t,n,r){const i=t.get(r);if(i)return i;const o=Object.create(null),s=Object.create(null);E(e,n,r,o,s);const a=[o,Object.keys(s)];return t.set(r,a),a}function _(e,t,n){const r=t.get(n.selectionSet);if(r)return r;const i=(0,l.v)(e.getSchema(),n.typeCondition);return y(e,t,i,n.selectionSet)}function E(e,t,n,r,i){for(const s of n.selections)switch(s.kind){case o.b.FIELD:{const e=s.name.value;let n;((0,a.YQ)(t)||(0,a.kD)(t))&&(n=t.getFields()[e]);const i=s.alias?s.alias.value:e;r[i]||(r[i]=[]),r[i].push([t,s,n]);break}case o.b.FRAGMENT_SPREAD:i[s.name.value]=!0;break;case o.b.INLINE_FRAGMENT:{const n=s.typeCondition,o=n?(0,l.v)(e.getSchema(),n):t;E(e,o,s.selectionSet,r,i);break}}}class b{constructor(){this._data=new Map}has(e,t,n){var r;const[i,o]=e<t?[e,t]:[t,e],s=null===(r=this._data.get(i))||void 0===r?void 0:r.get(o);return void 0!==s&&(!!n||n===s)}add(e,t,n){const[r,i]=e<t?[e,t]:[t,e],o=this._data.get(r);void 0===o?this._data.set(r,new Map([[i,n]])):o.set(i,n)}}},6609:(e,t,n)=>{"use strict";n.d(t,{y:()=>u});var r=n(5457),i=n(5298),o=n(7929),s=n(7450),a=n(5629);function u(e){return{InlineFragment(t){const n=e.getType(),a=e.getParentType();if((0,o.ML)(n)&&(0,o.ML)(a)&&!(0,s.uI)(e.getSchema(),n,a)){const o=(0,r.N)(a),s=(0,r.N)(n);e.reportError(new i.eO('Fragment cannot be spread here as objects of type "'.concat(o,'" can never be of type "').concat(s,'".'),{nodes:t}))}},FragmentSpread(t){const n=t.name.value,u=function(e,t){const n=e.getFragment(t);if(n){const t=(0,a.v)(e.getSchema(),n.typeCondition);if((0,o.ML)(t))return t}}(e,n),l=e.getParentType();if(u&&l&&!(0,s.uI)(e.getSchema(),u,l)){const o=(0,r.N)(l),s=(0,r.N)(u);e.reportError(new i.eO('Fragment "'.concat(n,'" cannot be spread here as objects of type "').concat(o,'" can never be of type "').concat(s,'".'),{nodes:t}))}}}}},826:(e,t,n)=>{"use strict";n.d(t,{S:()=>d});var r=n(3108),i=n(5457),o=n(4061),s=n(9884),a=n(5298),u=n(466),l=n(7196),c=n(7929);function d(e){const t=e.getSchema(),n=Object.create(null);for(const r of e.getDocument().definitions)(0,l.a6)(r)&&(n[r.name.value]=r);return{ScalarTypeExtension:d,ObjectTypeExtension:d,InterfaceTypeExtension:d,UnionTypeExtension:d,EnumTypeExtension:d,InputObjectTypeExtension:d};function d(l){const d=l.name.value,h=n[d],p=null===t||void 0===t?void 0:t.getType(d);let g;if(h?g=f[h.kind]:p&&(g=function(e){if((0,c.lg)(e))return u.b.SCALAR_TYPE_EXTENSION;if((0,c.YQ)(e))return u.b.OBJECT_TYPE_EXTENSION;if((0,c.kD)(e))return u.b.INTERFACE_TYPE_EXTENSION;if((0,c.CK)(e))return u.b.UNION_TYPE_EXTENSION;if((0,c.oF)(e))return u.b.ENUM_TYPE_EXTENSION;if((0,c.qK)(e))return u.b.INPUT_OBJECT_TYPE_EXTENSION;(0,o.V)(!1,"Unexpected type: "+(0,i.N)(e))}(p)),g){if(g!==l.kind){const t=function(e){switch(e){case u.b.SCALAR_TYPE_EXTENSION:return"scalar";case u.b.OBJECT_TYPE_EXTENSION:return"object";case u.b.INTERFACE_TYPE_EXTENSION:return"interface";case u.b.UNION_TYPE_EXTENSION:return"union";case u.b.ENUM_TYPE_EXTENSION:return"enum";case u.b.INPUT_OBJECT_TYPE_EXTENSION:return"input object";default:(0,o.V)(!1,"Unexpected kind: "+(0,i.N)(e))}}(l.kind);e.reportError(new a.eO("Cannot extend non-".concat(t,' type "').concat(d,'".'),{nodes:h?[h,l]:l}))}}else{const i=Object.keys({...n,...null===t||void 0===t?void 0:t.getTypeMap()}),o=(0,s.x)(d,i);e.reportError(new a.eO('Cannot extend type "'.concat(d,'" because it is not defined.')+(0,r.a)(o),{nodes:l.name}))}}}const f={[u.b.SCALAR_TYPE_DEFINITION]:u.b.SCALAR_TYPE_EXTENSION,[u.b.OBJECT_TYPE_DEFINITION]:u.b.OBJECT_TYPE_EXTENSION,[u.b.INTERFACE_TYPE_DEFINITION]:u.b.INTERFACE_TYPE_EXTENSION,[u.b.UNION_TYPE_DEFINITION]:u.b.UNION_TYPE_EXTENSION,[u.b.ENUM_TYPE_DEFINITION]:u.b.ENUM_TYPE_EXTENSION,[u.b.INPUT_OBJECT_TYPE_DEFINITION]:u.b.INPUT_OBJECT_TYPE_EXTENSION}},6740:(e,t,n)=>{"use strict";n.d(t,{A:()=>d,X:()=>c});var r=n(5457),i=n(4386),o=n(5298),s=n(466),a=n(807),u=n(7929),l=n(9005);function c(e){return{...d(e),Field:{leave(t){var n;const i=e.getFieldDef();if(!i)return!1;const s=new Set(null===(n=t.arguments)||void 0===n?void 0:n.map((e=>e.name.value)));for(const a of i.args)if(!s.has(a.name)&&(0,u.xP)(a)){const n=(0,r.N)(a.type);e.reportError(new o.eO('Field "'.concat(i.name,'" argument "').concat(a.name,'" of type "').concat(n,'" is required, but it was not provided.'),{nodes:t}))}}}}}function d(e){var t;const n=Object.create(null),c=e.getSchema(),d=null!==(t=null===c||void 0===c?void 0:c.getDirectives())&&void 0!==t?t:l.rc;for(const r of d)n[r.name]=(0,i.K)(r.args.filter(u.xP),(e=>e.name));const h=e.getDocument().definitions;for(const r of h)if(r.kind===s.b.DIRECTIVE_DEFINITION){var p;const e=null!==(p=r.arguments)&&void 0!==p?p:[];n[r.name.value]=(0,i.K)(e.filter(f),(e=>e.name.value))}return{Directive:{leave(t){const i=t.name.value,s=n[i];if(s){var l;const n=null!==(l=t.arguments)&&void 0!==l?l:[],c=new Set(n.map((e=>e.name.value)));for(const[l,d]of Object.entries(s))if(!c.has(l)){const n=(0,u.Xj)(d.type)?(0,r.N)(d.type):(0,a.y)(d.type);e.reportError(new o.eO('Directive "@'.concat(i,'" argument "').concat(l,'" of type "').concat(n,'" is required, but it was not provided.'),{nodes:t}))}}}}}}function f(e){return e.type.kind===s.b.NON_NULL_TYPE&&null==e.defaultValue}},4741:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5457),i=n(5298),o=n(7929);function s(e){return{Field(t){const n=e.getType(),s=t.selectionSet;if(n)if((0,o.zf)((0,o.MR)(n))){if(s){const o=t.name.value,a=(0,r.N)(n);e.reportError(new i.eO('Field "'.concat(o,'" must not have a selection since type "').concat(a,'" has no subfields.'),{nodes:s}))}}else if(!s){const o=t.name.value,s=(0,r.N)(n);e.reportError(new i.eO('Field "'.concat(o,'" of type "').concat(s,'" must have a selection of subfields. Did you mean "').concat(o,' { ... }"?'),{nodes:t}))}}}}},4900:(e,t,n)=>{"use strict";n.d(t,{R:()=>s});var r=n(5298),i=n(466),o=n(2938);function s(e){return{OperationDefinition(t){if("subscription"===t.operation){const n=e.getSchema(),s=n.getSubscriptionType();if(s){const a=t.name?t.name.value:null,u=Object.create(null),l=e.getDocument(),c=Object.create(null);for(const e of l.definitions)e.kind===i.b.FRAGMENT_DEFINITION&&(c[e.name.value]=e);const d=(0,o._)(n,c,u,s,t.selectionSet);if(d.size>1){const t=[...d.values()].slice(1).flat();e.reportError(new r.eO(null!=a?'Subscription "'.concat(a,'" must select only one top level field.'):"Anonymous Subscription must select only one top level field.",{nodes:t}))}for(const t of d.values()){t[0].name.value.startsWith("__")&&e.reportError(new r.eO(null!=a?'Subscription "'.concat(a,'" must not select an introspection top level field.'):"Anonymous Subscription must not select an introspection top level field.",{nodes:t}))}}}}}}},4199:(e,t,n)=>{"use strict";n.d(t,{E:()=>o});var r=n(5551),i=n(5298);function o(e){return{DirectiveDefinition(e){var t;const r=null!==(t=e.arguments)&&void 0!==t?t:[];return n("@".concat(e.name.value),r)},InterfaceTypeDefinition:t,InterfaceTypeExtension:t,ObjectTypeDefinition:t,ObjectTypeExtension:t};function t(e){var t;const r=e.name.value,i=null!==(t=e.fields)&&void 0!==t?t:[];for(const s of i){var o;const e=s.name.value,t=null!==(o=s.arguments)&&void 0!==o?o:[];n("".concat(r,".").concat(e),t)}return!1}function n(t,n){const o=(0,r.$)(n,(e=>e.name.value));for(const[r,s]of o)s.length>1&&e.reportError(new i.eO('Argument "'.concat(t,"(").concat(r,':)" can only be defined once.'),{nodes:s.map((e=>e.name))}));return!1}}},1138:(e,t,n)=>{"use strict";n.d(t,{J:()=>o});var r=n(5551),i=n(5298);function o(e){return{Field:t,Directive:t};function t(t){var n;const o=null!==(n=t.arguments)&&void 0!==n?n:[],s=(0,r.$)(o,(e=>e.name.value));for(const[r,a]of s)a.length>1&&e.reportError(new i.eO('There can be only one argument named "'.concat(r,'".'),{nodes:a.map((e=>e.name))}))}}},1622:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(5298);function i(e){const t=Object.create(null),n=e.getSchema();return{DirectiveDefinition(i){const o=i.name.value;if(null===n||void 0===n||!n.getDirective(o))return t[o]?e.reportError(new r.eO('There can be only one directive named "@'.concat(o,'".'),{nodes:[t[o],i.name]})):t[o]=i.name,!1;e.reportError(new r.eO('Directive "@'.concat(o,'" already exists in the schema. It cannot be redefined.'),{nodes:i.name}))}}}},2739:(e,t,n)=>{"use strict";n.d(t,{U:()=>a});var r=n(5298),i=n(466),o=n(7196),s=n(9005);function a(e){const t=Object.create(null),n=e.getSchema(),a=n?n.getDirectives():s.rc;for(const r of a)t[r.name]=!r.isRepeatable;const u=e.getDocument().definitions;for(const r of u)r.kind===i.b.DIRECTIVE_DEFINITION&&(t[r.name.value]=!r.repeatable);const l=Object.create(null),c=Object.create(null);return{enter(n){if(!("directives"in n)||!n.directives)return;let s;if(n.kind===i.b.SCHEMA_DEFINITION||n.kind===i.b.SCHEMA_EXTENSION)s=l;else if((0,o.a6)(n)||(0,o.i7)(n)){const e=n.name.value;s=c[e],void 0===s&&(c[e]=s=Object.create(null))}else s=Object.create(null);for(const i of n.directives){const n=i.name.value;t[n]&&(s[n]?e.reportError(new r.eO('The directive "@'.concat(n,'" can only be used once at this location.'),{nodes:[s[n],i]})):s[n]=i)}}}}},8041:(e,t,n)=>{"use strict";n.d(t,{g:()=>o});var r=n(5298),i=n(7929);function o(e){const t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),o=Object.create(null);return{EnumTypeDefinition:s,EnumTypeExtension:s};function s(t){var s;const a=t.name.value;o[a]||(o[a]=Object.create(null));const u=null!==(s=t.values)&&void 0!==s?s:[],l=o[a];for(const o of u){const t=o.name.value,s=n[a];(0,i.oF)(s)&&s.getValue(t)?e.reportError(new r.eO('Enum value "'.concat(a,".").concat(t,'" already exists in the schema. It cannot also be defined in this type extension.'),{nodes:o.name})):l[t]?e.reportError(new r.eO('Enum value "'.concat(a,".").concat(t,'" can only be defined once.'),{nodes:[l[t],o.name]})):l[t]=o.name}return!1}}},1638:(e,t,n)=>{"use strict";n.d(t,{X:()=>o});var r=n(5298),i=n(7929);function o(e){const t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),i=Object.create(null);return{InputObjectTypeDefinition:o,InputObjectTypeExtension:o,InterfaceTypeDefinition:o,InterfaceTypeExtension:o,ObjectTypeDefinition:o,ObjectTypeExtension:o};function o(t){var o;const a=t.name.value;i[a]||(i[a]=Object.create(null));const u=null!==(o=t.fields)&&void 0!==o?o:[],l=i[a];for(const i of u){const t=i.name.value;s(n[a],t)?e.reportError(new r.eO('Field "'.concat(a,".").concat(t,'" already exists in the schema. It cannot also be defined in this type extension.'),{nodes:i.name})):l[t]?e.reportError(new r.eO('Field "'.concat(a,".").concat(t,'" can only be defined once.'),{nodes:[l[t],i.name]})):l[t]=i.name}return!1}}function s(e,t){return!!((0,i.YQ)(e)||(0,i.kD)(e)||(0,i.qK)(e))&&null!=e.getFields()[t]}},6261:(e,t,n)=>{"use strict";n.d(t,{K:()=>i});var r=n(5298);function i(e){const t=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition(n){const i=n.name.value;return t[i]?e.reportError(new r.eO('There can be only one fragment named "'.concat(i,'".'),{nodes:[t[i],n.name]})):t[i]=n.name,!1}}}},6669:(e,t,n)=>{"use strict";n.d(t,{C:()=>o});var r=n(4061),i=n(5298);function o(e){const t=[];let n=Object.create(null);return{ObjectValue:{enter(){t.push(n),n=Object.create(null)},leave(){const e=t.pop();e||(0,r.V)(!1),n=e}},ObjectField(t){const r=t.name.value;n[r]?e.reportError(new i.eO('There can be only one input field named "'.concat(r,'".'),{nodes:[n[r],t.name]})):n[r]=t.name}}}},3938:(e,t,n)=>{"use strict";n.d(t,{H:()=>i});var r=n(5298);function i(e){const t=Object.create(null);return{OperationDefinition(n){const i=n.name;return i&&(t[i.value]?e.reportError(new r.eO('There can be only one operation named "'.concat(i.value,'".'),{nodes:[t[i.value],i]})):t[i.value]=i),!1},FragmentDefinition:()=>!1}}},3677:(e,t,n)=>{"use strict";n.d(t,{u:()=>i});var r=n(5298);function i(e){const t=e.getSchema(),n=Object.create(null),i=t?{query:t.getQueryType(),mutation:t.getMutationType(),subscription:t.getSubscriptionType()}:{};return{SchemaDefinition:o,SchemaExtension:o};function o(t){var o;const s=null!==(o=t.operationTypes)&&void 0!==o?o:[];for(const a of s){const t=a.operation,o=n[t];i[t]?e.reportError(new r.eO("Type for ".concat(t," already defined in the schema. It cannot be redefined."),{nodes:a})):o?e.reportError(new r.eO("There can be only one ".concat(t," type in schema."),{nodes:[o,a]})):n[t]=a}return!1}}},4341:(e,t,n)=>{"use strict";n.d(t,{i:()=>i});var r=n(5298);function i(e){const t=Object.create(null),n=e.getSchema();return{ScalarTypeDefinition:i,ObjectTypeDefinition:i,InterfaceTypeDefinition:i,UnionTypeDefinition:i,EnumTypeDefinition:i,InputObjectTypeDefinition:i};function i(i){const o=i.name.value;if(null===n||void 0===n||!n.getType(o))return t[o]?e.reportError(new r.eO('There can be only one type named "'.concat(o,'".'),{nodes:[t[o],i.name]})):t[o]=i.name,!1;e.reportError(new r.eO('Type "'.concat(o,'" already exists in the schema. It cannot also be defined in this type definition.'),{nodes:i.name}))}}},3341:(e,t,n)=>{"use strict";n.d(t,{_:()=>o});var r=n(5551),i=n(5298);function o(e){return{OperationDefinition(t){var n;const o=null!==(n=t.variableDefinitions)&&void 0!==n?n:[],s=(0,r.$)(o,(e=>e.variable.name.value));for(const[r,a]of s)a.length>1&&e.reportError(new i.eO('There can be only one variable named "$'.concat(r,'".'),{nodes:a.map((e=>e.variable.name))}))}}}},2639:(e,t,n)=>{"use strict";n.d(t,{U:()=>d});var r=n(3108),i=n(5457),o=n(4386),s=n(9884),a=n(5298),u=n(466),l=n(807),c=n(7929);function d(e){let t={};return{OperationDefinition:{enter(){t={}}},VariableDefinition(e){t[e.variable.name.value]=e},ListValue(t){const n=(0,c.yl)(e.getParentInputType());if(!(0,c.Fs)(n))return f(e,t),!1},ObjectValue(n){const r=(0,c.MR)(e.getInputType());if(!(0,c.qK)(r))return f(e,n),!1;const s=(0,o.K)(n.fields,(e=>e.name.value));for(const t of Object.values(r.getFields())){if(!s[t.name]&&(0,c.YX)(t)){const o=(0,i.N)(t.type);e.reportError(new a.eO('Field "'.concat(r.name,".").concat(t.name,'" of required type "').concat(o,'" was not provided.'),{nodes:n}))}}r.isOneOf&&function(e,t,n,r,i){var o;const s=Object.keys(r);if(1!==s.length)return void e.reportError(new a.eO('OneOf Input Object "'.concat(n.name,'" must specify exactly one key.'),{nodes:[t]}));const l=null===(o=r[s[0]])||void 0===o?void 0:o.value,c=!l||l.kind===u.b.NULL,d=(null===l||void 0===l?void 0:l.kind)===u.b.VARIABLE;if(c)return void e.reportError(new a.eO('Field "'.concat(n.name,".").concat(s[0],'" must be non-null.'),{nodes:[t]}));if(d){const r=l.name.value;i[r].type.kind!==u.b.NON_NULL_TYPE&&e.reportError(new a.eO('Variable "'.concat(r,'" must be non-nullable to be used for OneOf Input Object "').concat(n.name,'".'),{nodes:[t]}))}}(e,n,r,s,t)},ObjectField(t){const n=(0,c.MR)(e.getParentInputType());if(!e.getInputType()&&(0,c.qK)(n)){const i=(0,s.x)(t.name.value,Object.keys(n.getFields()));e.reportError(new a.eO('Field "'.concat(t.name.value,'" is not defined by type "').concat(n.name,'".')+(0,r.a)(i),{nodes:t}))}},NullValue(t){const n=e.getInputType();(0,c.bd)(n)&&e.reportError(new a.eO('Expected value of type "'.concat((0,i.N)(n),'", found ').concat((0,l.y)(t),"."),{nodes:t}))},EnumValue:t=>f(e,t),IntValue:t=>f(e,t),FloatValue:t=>f(e,t),StringValue:t=>f(e,t),BooleanValue:t=>f(e,t)}}function f(e,t){const n=e.getInputType();if(!n)return;const r=(0,c.MR)(n);if((0,c.zf)(r))try{if(void 0===r.parseLiteral(t,void 0)){const r=(0,i.N)(n);e.reportError(new a.eO('Expected value of type "'.concat(r,'", found ').concat((0,l.y)(t),"."),{nodes:t}))}}catch(o){const r=(0,i.N)(n);o instanceof a.eO?e.reportError(o):e.reportError(new a.eO('Expected value of type "'.concat(r,'", found ').concat((0,l.y)(t),"; ")+o.message,{nodes:t,originalError:o}))}else{const r=(0,i.N)(n);e.reportError(new a.eO('Expected value of type "'.concat(r,'", found ').concat((0,l.y)(t),"."),{nodes:t}))}}},3909:(e,t,n)=>{"use strict";n.d(t,{J:()=>a});var r=n(5298),i=n(807),o=n(7929),s=n(5629);function a(e){return{VariableDefinition(t){const n=(0,s.v)(e.getSchema(),t.type);if(void 0!==n&&!(0,o.dX)(n)){const n=t.variable.name.value,o=(0,i.y)(t.type);e.reportError(new r.eO('Variable "$'.concat(n,'" cannot be non-input type "').concat(o,'".'),{nodes:t.type}))}}}}},1813:(e,t,n)=>{"use strict";n.d(t,{E:()=>l});var r=n(5457),i=n(5298),o=n(466),s=n(7929),a=n(7450),u=n(5629);function l(e){let t=Object.create(null);return{OperationDefinition:{enter(){t=Object.create(null)},leave(n){const o=e.getRecursiveVariableUsages(n);for(const{node:s,type:a,defaultValue:l}of o){const n=s.name.value,o=t[n];if(o&&a){const t=e.getSchema(),d=(0,u.v)(t,o.type);if(d&&!c(t,d,o.defaultValue,a,l)){const t=(0,r.N)(d),u=(0,r.N)(a);e.reportError(new i.eO('Variable "$'.concat(n,'" of type "').concat(t,'" used in position expecting type "').concat(u,'".'),{nodes:[o,s]}))}}}}},VariableDefinition(e){t[e.variable.name.value]=e}}}function c(e,t,n,r,i){if((0,s.bd)(r)&&!(0,s.bd)(t)){if(!(null!=n&&n.kind!==o.b.NULL)&&!(void 0!==i))return!1;const s=r.ofType;return(0,a.sP)(e,t,s)}return(0,a.sP)(e,t,r)}},1969:(e,t,n)=>{"use strict";n.d(t,{k:()=>s});var r=n(4061),i=n(5298),o=n(7929);function s(e){return{Field(t){const n=e.getFieldDef(),o=null===n||void 0===n?void 0:n.deprecationReason;if(n&&null!=o){const s=e.getParentType();null!=s||(0,r.V)(!1),e.reportError(new i.eO("The field ".concat(s.name,".").concat(n.name," is deprecated. ").concat(o),{nodes:t}))}},Argument(t){const n=e.getArgument(),o=null===n||void 0===n?void 0:n.deprecationReason;if(n&&null!=o){const s=e.getDirective();if(null!=s)e.reportError(new i.eO('Directive "@'.concat(s.name,'" argument "').concat(n.name,'" is deprecated. ').concat(o),{nodes:t}));else{const s=e.getParentType(),a=e.getFieldDef();null!=s&&null!=a||(0,r.V)(!1),e.reportError(new i.eO('Field "'.concat(s.name,".").concat(a.name,'" argument "').concat(n.name,'" is deprecated. ').concat(o),{nodes:t}))}}},ObjectField(t){const n=(0,o.MR)(e.getParentInputType());if((0,o.qK)(n)){const r=n.getFields()[t.name.value],o=null===r||void 0===r?void 0:r.deprecationReason;null!=o&&e.reportError(new i.eO("The input field ".concat(n.name,".").concat(r.name," is deprecated. ").concat(o),{nodes:t}))}},EnumValue(t){const n=e.getEnumValue(),s=null===n||void 0===n?void 0:n.deprecationReason;if(n&&null!=s){const a=(0,o.MR)(e.getInputType());null!=a||(0,r.V)(!1),e.reportError(new i.eO('The enum value "'.concat(a.name,".").concat(n.name,'" is deprecated. ').concat(s),{nodes:t}))}}}}},9523:(e,t,n)=>{"use strict";n.d(t,{H7:()=>U,b0:()=>B,gv:()=>V});var r=n(1412),i=n(36),o=n(146),s=n(8598),a=n(7413),u=n(9129),l=n(1769),c=n(2976),d=n(6396),f=n(2744),h=n(6354),p=n(1676),g=n(4008),m=n(2260),v=n(1041),y=n(6609),_=n(826),E=n(6740),b=n(4741),D=n(4900),N=n(4199),T=n(1138),S=n(1622),I=n(2739),w=n(8041),A=n(1638),R=n(6261),C=n(6669),O=n(3938),F=n(3677),L=n(4341),k=n(3341),x=n(2639),P=n(3909),M=n(1813);const B=Object.freeze([f.B]),V=Object.freeze([r.T,O.H,c.P,D.R,l.y,o.T,P.J,b.A,i.Z,R.K,u.K,g.z,y.y,h.n,k._,p.Z,m.p,a.e,I.U,s.P,T.J,x.U,E.X,M.E,v.K,C.C,...B]),U=Object.freeze([d.l,F.u,L.i,w.g,A.X,N.E,S.Z,l.y,a.e,I.U,_.S,s.W,T.J,C.C,E.A])},2518:(e,t,n)=>{"use strict";n.d(t,{$T:()=>h,tf:()=>c,uq:()=>f});var r=n(398),i=n(5298),o=n(8449),s=n(6297),a=n(2679),u=n(9523),l=n(9602);function c(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u.gv,c=arguments.length>3?arguments[3]:void 0,d=arguments.length>4&&void 0!==arguments[4]?arguments[4]:new a.D(e);var f;const h=null!==(f=null===c||void 0===c?void 0:c.maxErrors)&&void 0!==f?f:100;t||(0,r.U)(!1,"Must provide document."),(0,s.Y)(e);const p=Object.freeze({}),g=[],m=new l.dY(e,t,d,(e=>{if(g.length>=h)throw g.push(new i.eO("Too many validation errors, error limit reached. Validation aborted.")),p;g.push(e)})),v=(0,o.oP)(n.map((e=>e(m))));try{(0,o.YR)(t,(0,a.S)(d,v))}catch(y){if(y!==p)throw y}return g}function d(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u.H7;const r=[],i=new l.ot(e,t,(e=>{r.push(e)})),s=n.map((e=>e(i)));return(0,o.YR)(e,(0,o.oP)(s)),r}function f(e){const t=d(e);if(0!==t.length)throw new Error(t.map((e=>e.message)).join("\n\n"))}function h(e,t){const n=d(e,t);if(0!==n.length)throw new Error(n.map((e=>e.message)).join("\n\n"))}}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";const e=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout((()=>{if(e.stack){if(a.isErrorNoTelemetry(e))throw new a(e.message+"\n\n"+e.stack);throw new Error(e.message+"\n\n"+e.stack)}throw e}),0)}}emit(e){this.listeners.forEach((t=>{t(e)}))}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function t(t){o(t)||e.onUnexpectedError(t)}function r(e){if(e instanceof Error){const{name:t,message:n}=e;return{$isError:!0,name:t,message:n,stack:e.stacktrace||e.stack,noTelemetry:a.isErrorNoTelemetry(e)}}return e}const i="Canceled";function o(e){return e instanceof s||e instanceof Error&&e.name===i&&e.message===i}class s extends Error{constructor(){super(i),this.name=this.message}}Error;class a extends Error{constructor(e){super(e),this.name="CodeExpectedError"}static fromError(e){if(e instanceof a)return e;const t=new a;return t.message=e.message,t.stack=e.stack,t}static isErrorNoTelemetry(e){return"CodeExpectedError"===e.name}}class u extends Error{constructor(e){super(e||"An unexpected bug occurred."),Object.setPrototypeOf(this,u.prototype)}}function l(e,t){const n=this;let r,i=!1;return function(){if(i)return r;if(i=!0,t)try{r=e.apply(n,arguments)}finally{t()}else r=e.apply(n,arguments);return r}}var c;!function(e){function t(e){return e&&"object"===typeof e&&"function"===typeof e[Symbol.iterator]}e.is=t;const n=Object.freeze([]);function*r(e){yield e}e.empty=function(){return n},e.single=r,e.wrap=function(e){return t(e)?e:r(e)},e.from=function(e){return e||n},e.reverse=function*(e){for(let t=e.length-1;t>=0;t--)yield e[t]},e.isEmpty=function(e){return!e||!0===e[Symbol.iterator]().next().done},e.first=function(e){return e[Symbol.iterator]().next().value},e.some=function(e,t){for(const n of e)if(t(n))return!0;return!1},e.find=function(e,t){for(const n of e)if(t(n))return n},e.filter=function*(e,t){for(const n of e)t(n)&&(yield n)},e.map=function*(e,t){let n=0;for(const r of e)yield t(r,n++)},e.concat=function*(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(const r of t)yield*r},e.reduce=function(e,t,n){let r=n;for(const i of e)r=t(r,i);return r},e.slice=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length;return function*(){for(t<0&&(t+=e.length),n<0?n+=e.length:n>e.length&&(n=e.length);t<n;t++)yield e[t]}()},e.consume=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;const r=[];if(0===n)return[r,t];const i=t[Symbol.iterator]();for(let o=0;o<n;o++){const t=i.next();if(t.done)return[r,e.empty()];r.push(t.value)}return[r,{[Symbol.iterator]:()=>i}]}}(c||(c={}));let d=null;function f(e){return null===d||void 0===d||d.trackDisposable(e),e}function h(e){null===d||void 0===d||d.markAsDisposed(e)}function p(e,t){null===d||void 0===d||d.setParent(e,t)}function g(e){if(c.is(e)){const t=[];for(const n of e)if(n)try{n.dispose()}catch(ih){t.push(ih)}if(1===t.length)throw t[0];if(t.length>1)throw new AggregateError(t,"Encountered errors while disposing of store");return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function m(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=v((()=>g(t)));return function(e,t){if(d)for(const n of e)d.setParent(n,t)}(t,r),r}function v(e){const t=f({dispose:l((()=>{h(t),e()}))});return t}class y{constructor(){this._toDispose=new Set,this._isDisposed=!1,f(this)}dispose(){this._isDisposed||(h(this),this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(0!==this._toDispose.size)try{g(this._toDispose)}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return p(e,this),this._isDisposed?y.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}deleteAndLeak(e){e&&this._toDispose.has(e)&&(this._toDispose.delete(e),p(e,null))}}y.DISABLE_DISPOSED_WARNING=!1;class _{constructor(){this._store=new y,f(this),p(this._store,this)}dispose(){h(this),this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}_.None=Object.freeze({dispose(){}});Symbol.iterator;class E{constructor(e){this.element=e,this.next=E.Undefined,this.prev=E.Undefined}}E.Undefined=new E(void 0);class b{constructor(){this._first=E.Undefined,this._last=E.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===E.Undefined}clear(){let e=this._first;for(;e!==E.Undefined;){const t=e.next;e.prev=E.Undefined,e.next=E.Undefined,e=t}this._first=E.Undefined,this._last=E.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const n=new E(e);if(this._first===E.Undefined)this._first=n,this._last=n;else if(t){const e=this._last;this._last=n,n.prev=e,e.next=n}else{const e=this._first;this._first=n,n.next=e,e.prev=n}this._size+=1;let r=!1;return()=>{r||(r=!0,this._remove(n))}}shift(){if(this._first!==E.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==E.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==E.Undefined&&e.next!==E.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===E.Undefined&&e.next===E.Undefined?(this._first=E.Undefined,this._last=E.Undefined):e.next===E.Undefined?(this._last=this._last.prev,this._last.next=E.Undefined):e.prev===E.Undefined&&(this._first=this._first.next,this._first.prev=E.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==E.Undefined;)yield e.element,e=e.next}}const D=globalThis.performance&&"function"===typeof globalThis.performance.now;class N{static create(e){return new N(e)}constructor(e){this._now=D&&!1===e?Date.now:globalThis.performance.now.bind(globalThis.performance),this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}elapsed(){return-1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}}var T;!function(e){function t(e){false}function n(e){return function(t){let n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=!1;return n=e((e=>{if(!i)return n?n.dispose():i=!0,t.call(r,e)}),null,arguments.length>2?arguments[2]:void 0),i&&n.dispose(),n}}function r(e,t,n){return o((function(n){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e((e=>n.call(r,t(e))),null,arguments.length>2?arguments[2]:void 0)}),n)}function i(e,t,n){return o((function(n){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e((e=>t(e)&&n.call(r,e)),null,arguments.length>2?arguments[2]:void 0)}),n)}function o(e,n){let r;const i={onWillAddFirstListener(){r=e(o.fire,o)},onDidRemoveLastListener(){null===r||void 0===r||r.dispose()}};n||t();const o=new R(i);return null===n||void 0===n||n.add(o),o.event}function s(e,n){let r,i,o,s,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100,u=arguments.length>3&&void 0!==arguments[3]&&arguments[3],l=arguments.length>4&&void 0!==arguments[4]&&arguments[4],c=arguments.length>6?arguments[6]:void 0,d=0;const f={leakWarningThreshold:arguments.length>5?arguments[5]:void 0,onWillAddFirstListener(){r=e((e=>{d++,i=n(i,e),u&&!o&&(h.fire(i),i=void 0),s=()=>{const e=i;i=void 0,o=void 0,(!u||d>1)&&h.fire(e),d=0},"number"===typeof a?(clearTimeout(o),o=setTimeout(s,a)):void 0===o&&(o=0,queueMicrotask(s))}))},onWillRemoveListener(){l&&d>0&&(null===s||void 0===s||s())},onDidRemoveLastListener(){s=void 0,r.dispose()}};c||t();const h=new R(f);return null===c||void 0===c||c.add(h),h.event}e.None=()=>_.None,e.defer=function(e,t){return s(e,(()=>{}),0,void 0,!0,void 0,t)},e.once=n,e.map=r,e.forEach=function(e,t,n){return o((function(n){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e((e=>{t(e),n.call(r,e)}),null,arguments.length>2?arguments[2]:void 0)}),n)},e.filter=i,e.signal=function(e){return e},e.any=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0;const i=m(...t.map((t=>t((t=>e.call(n,t))))));return function(e,t){t instanceof Array?t.push(e):t&&t.add(e);return e}(i,r)}},e.reduce=function(e,t,n,i){let o=n;return r(e,(e=>(o=t(o,e),o)),i)},e.debounce=s,e.accumulate=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2?arguments[2]:void 0;return e.debounce(t,((e,t)=>e?(e.push(t),e):[t]),n,void 0,!0,void 0,r)},e.latch=function(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e,t)=>e===t,r=!0;return i(e,(e=>{const i=r||!n(e,t);return r=!1,t=e,i}),arguments.length>2?arguments[2]:void 0)},e.split=function(t,n,r){return[e.filter(t,n,r),e.filter(t,(e=>!n(e)),r)]},e.buffer=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>3?arguments[3]:void 0,r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:[]).slice(),i=e((e=>{r?r.push(e):s.fire(e)}));n&&n.add(i);const o=()=>{null===r||void 0===r||r.forEach((e=>s.fire(e))),r=null},s=new R({onWillAddFirstListener(){i||(i=e((e=>s.fire(e))),n&&n.add(i))},onDidAddFirstListener(){r&&(t?setTimeout(o):o())},onDidRemoveLastListener(){i&&i.dispose(),i=null}});return n&&n.add(s),s.event},e.chain=function(e,t){return(n,r,i)=>{const o=t(new u);return e((function(e){const t=o.evaluate(e);t!==a&&n.call(r,t)}),void 0,i)}};const a=Symbol("HaltChainable");class u{constructor(){this.steps=[]}map(e){return this.steps.push(e),this}forEach(e){return this.steps.push((t=>(e(t),t))),this}filter(e){return this.steps.push((t=>e(t)?t:a)),this}reduce(e,t){let n=t;return this.steps.push((t=>(n=e(n,t),n))),this}latch(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(e,t)=>e===t,n=!0;return this.steps.push((r=>{const i=n||!t(r,e);return n=!1,e=r,i?r:a})),this}evaluate(e){for(const t of this.steps)if((e=t(e))===a)break;return e}}e.fromNodeEventEmitter=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e=>e;const r=function(){return i.fire(n(...arguments))},i=new R({onWillAddFirstListener:()=>e.on(t,r),onDidRemoveLastListener:()=>e.removeListener(t,r)});return i.event},e.fromDOMEventEmitter=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e=>e;const r=function(){return i.fire(n(...arguments))},i=new R({onWillAddFirstListener:()=>e.addEventListener(t,r),onDidRemoveLastListener:()=>e.removeEventListener(t,r)});return i.event},e.toPromise=function(e){return new Promise((t=>n(e)(t)))},e.fromPromise=function(e){const t=new R;return e.then((e=>{t.fire(e)}),(()=>{t.fire(void 0)})).finally((()=>{t.dispose()})),t.event},e.runAndSubscribe=function(e,t,n){return t(n),e((e=>t(e)))},e.runAndSubscribeWithStore=function(e,t){let n=null;function r(e){null===n||void 0===n||n.dispose(),n=new y,t(e,n)}r(void 0);const i=e((e=>r(e)));return v((()=>{i.dispose(),null===n||void 0===n||n.dispose()}))};class l{constructor(e,n){this._observable=e,this._counter=0,this._hasChanged=!1;const r={onWillAddFirstListener:()=>{e.addObserver(this)},onDidRemoveLastListener:()=>{e.removeObserver(this)}};n||t(),this.emitter=new R(r),n&&n.add(this.emitter)}beginUpdate(e){this._counter++}handlePossibleChange(e){}handleChange(e,t){this._hasChanged=!0}endUpdate(e){this._counter--,0===this._counter&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}e.fromObservable=function(e,t){return new l(e,t).emitter.event},e.fromObservableLight=function(e){return(t,n,r)=>{let i=0,o=!1;const s={beginUpdate(){i++},endUpdate(){i--,0===i&&(e.reportChanges(),o&&(o=!1,t.call(n)))},handlePossibleChange(){},handleChange(){o=!0}};e.addObserver(s),e.reportChanges();const a={dispose(){e.removeObserver(s)}};return r instanceof y?r.add(a):Array.isArray(r)&&r.push(a),a}}}(T||(T={}));class S{constructor(e){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name="".concat(e,"_").concat(S._idPool++),S.all.add(this)}start(e){this._stopWatch=new N,this.listenerCount=e}stop(){if(this._stopWatch){const e=this._stopWatch.elapsed();this.durations.push(e),this.elapsedOverall+=e,this.invocationCount+=1,this._stopWatch=void 0}}}S.all=new Set,S._idPool=0;class I{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Math.random().toString(18).slice(2,5);this.threshold=e,this.name=t,this._warnCountdown=0}dispose(){var e;null===(e=this._stacks)||void 0===e||e.clear()}check(e,t){const n=this.threshold;if(n<=0||t<n)return;this._stacks||(this._stacks=new Map);const r=this._stacks.get(e.value)||0;if(this._stacks.set(e.value,r+1),this._warnCountdown-=1,this._warnCountdown<=0){let e;this._warnCountdown=.5*n;let r=0;for(const[t,n]of this._stacks)(!e||r<n)&&(e=t,r=n);console.warn("[".concat(this.name,"] potential listener LEAK detected, having ").concat(t," listeners already. MOST frequent listener (").concat(r,"):")),console.warn(e)}return()=>{const t=this._stacks.get(e.value)||0;this._stacks.set(e.value,t-1)}}}class w{static create(){var e;return new w(null!==(e=(new Error).stack)&&void 0!==e?e:"")}constructor(e){this.value=e}print(){console.warn(this.value.split("\n").slice(2).join("\n"))}}class A{constructor(e){this.value=e}}class R{constructor(e){var t,n,r,i,o;this._size=0,this._options=e,this._leakageMon=(null===(t=this._options)||void 0===t?void 0:t.leakWarningThreshold)?new I(null!==(r=null===(n=this._options)||void 0===n?void 0:n.leakWarningThreshold)&&void 0!==r?r:-1):void 0,this._perfMon=(null===(i=this._options)||void 0===i?void 0:i._profName)?new S(this._options._profName):void 0,this._deliveryQueue=null===(o=this._options)||void 0===o?void 0:o.deliveryQueue}dispose(){var e,t,n,r;this._disposed||(this._disposed=!0,(null===(e=this._deliveryQueue)||void 0===e?void 0:e.current)===this&&this._deliveryQueue.reset(),this._listeners&&(this._listeners=void 0,this._size=0),null===(n=null===(t=this._options)||void 0===t?void 0:t.onDidRemoveLastListener)||void 0===n||n.call(t),null===(r=this._leakageMon)||void 0===r||r.dispose())}get event(){var e;return null!==(e=this._event)&&void 0!==e||(this._event=(e,t,n)=>{var r,i,o,s,a;if(this._leakageMon&&this._size>3*this._leakageMon.threshold)return console.warn("[".concat(this._leakageMon.name,"] REFUSES to accept new listeners because it exceeded its threshold by far")),_.None;if(this._disposed)return _.None;t&&(e=e.bind(t));const u=new A(e);let l;this._leakageMon&&this._size>=Math.ceil(.2*this._leakageMon.threshold)&&(u.stack=w.create(),l=this._leakageMon.check(u.stack,this._size+1)),this._listeners?this._listeners instanceof A?(null!==(a=this._deliveryQueue)&&void 0!==a||(this._deliveryQueue=new C),this._listeners=[this._listeners,u]):this._listeners.push(u):(null===(i=null===(r=this._options)||void 0===r?void 0:r.onWillAddFirstListener)||void 0===i||i.call(r,this),this._listeners=u,null===(s=null===(o=this._options)||void 0===o?void 0:o.onDidAddFirstListener)||void 0===s||s.call(o,this)),this._size++;const c=v((()=>{null===l||void 0===l||l(),this._removeListener(u)}));return n instanceof y?n.add(c):Array.isArray(n)&&n.push(c),c}),this._event}_removeListener(e){var t,n,r,i;if(null===(n=null===(t=this._options)||void 0===t?void 0:t.onWillRemoveListener)||void 0===n||n.call(t,this),!this._listeners)return;if(1===this._size)return this._listeners=void 0,null===(i=null===(r=this._options)||void 0===r?void 0:r.onDidRemoveLastListener)||void 0===i||i.call(r,this),void(this._size=0);const o=this._listeners,s=o.indexOf(e);if(-1===s)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),new Error("Attempted to dispose unknown listener");this._size--,o[s]=void 0;const a=this._deliveryQueue.current===this;if(2*this._size<=o.length){let e=0;for(let t=0;t<o.length;t++)o[t]?o[e++]=o[t]:a&&(this._deliveryQueue.end--,e<this._deliveryQueue.i&&this._deliveryQueue.i--);o.length=e}}_deliver(e,n){var r;if(!e)return;const i=(null===(r=this._options)||void 0===r?void 0:r.onListenerError)||t;if(i)try{e.value(n)}catch(ih){i(ih)}else e.value(n)}_deliverQueue(e){const t=e.current._listeners;for(;e.i<e.end;)this._deliver(t[e.i++],e.value);e.reset()}fire(e){var t,n,r,i;if((null===(t=this._deliveryQueue)||void 0===t?void 0:t.current)&&(this._deliverQueue(this._deliveryQueue),null===(n=this._perfMon)||void 0===n||n.stop()),null===(r=this._perfMon)||void 0===r||r.start(this._size),this._listeners)if(this._listeners instanceof A)this._deliver(this._listeners,e);else{const t=this._deliveryQueue;t.enqueue(this,e,this._listeners.length),this._deliverQueue(t)}else;null===(i=this._perfMon)||void 0===i||i.stop()}hasListeners(){return this._size>0}}class C{constructor(){this.i=-1,this.end=0}enqueue(e,t,n){this.i=0,this.end=n,this.current=e,this.value=t}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}Object.prototype.hasOwnProperty;function O(e){const t=[];for(const n of function(e){let t=[];for(;Object.prototype!==e;)t=t.concat(Object.getOwnPropertyNames(e)),e=Object.getPrototypeOf(e);return t}(e))"function"===typeof e[n]&&t.push(n);return t}let F="undefined"!==typeof document&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function L(e,t){let n;return n=0===t.length?e:e.replace(/\{(\d+)\}/g,((e,n)=>{const r=n[0],i=t[r];let o=e;return"string"===typeof i?o=i:"number"!==typeof i&&"boolean"!==typeof i&&void 0!==i&&null!==i||(o=String(i)),o})),F&&(n="\uff3b"+n.replace(/[aouei]/g,"$&$&")+"\uff3d"),n}function k(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return L(t,r)}var x;const P="en";let M,B,V=!1,U=!1,j=!1,K=!1,Y=!1,q=!1,G=!1,H=!1,z=!1,W=!1,Q=null,J=null,X=null;const $=globalThis;let Z;"undefined"!==typeof $.vscode&&"undefined"!==typeof $.vscode.process?Z=$.vscode.process:"undefined"!==typeof process&&(Z=process);const ee="string"===typeof(null===(x=null===Z||void 0===Z?void 0:Z.versions)||void 0===x?void 0:x.electron),te=ee&&"renderer"===(null===Z||void 0===Z?void 0:Z.type);if("object"!==typeof navigator||te)if("object"===typeof Z){V="win32"===Z.platform,U="darwin"===Z.platform,j="linux"===Z.platform,K=j&&!!Z.env.SNAP&&!!Z.env.SNAP_REVISION,G=ee,z=!!Z.env.CI||!!Z.env.BUILD_ARTIFACTSTAGINGDIRECTORY,M=P,Q=P;const e=Z.env.VSCODE_NLS_CONFIG;if(e)try{const t=JSON.parse(e),n=t.availableLanguages["*"];M=t.locale,J=t.osLocale,Q=n||P,X=t._translationsConfigFile}catch(ih){}Y=!0}else console.error("Unable to resolve platform.");else{B=navigator.userAgent,V=B.indexOf("Windows")>=0,U=B.indexOf("Macintosh")>=0,H=(B.indexOf("Macintosh")>=0||B.indexOf("iPad")>=0||B.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,j=B.indexOf("Linux")>=0,W=(null===B||void 0===B?void 0:B.indexOf("Mobi"))>=0,q=!0;M=void k({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_")||P,Q=M,J=navigator.language}let ne=0;U?ne=1:V?ne=3:j&&(ne=2);const re=V,ie=U,oe=(q&&"function"===typeof $.importScripts&&$.origin,B),se="function"===typeof $.postMessage&&!$.importScripts;(()=>{if(se){const e=[];$.addEventListener("message",(t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let n=0,r=e.length;n<r;n++){const r=e[n];if(r.id===t.data.vscodeScheduleAsyncWork)return e.splice(n,1),void r.callback()}}));let t=0;return n=>{const r=++t;e.push({id:r,callback:n}),$.postMessage({vscodeScheduleAsyncWork:r},"*")}}})();const ae=!!(oe&&oe.indexOf("Chrome")>=0);oe&&oe.indexOf("Firefox"),!ae&&oe&&oe.indexOf("Safari"),oe&&oe.indexOf("Edg/"),oe&&oe.indexOf("Android");class ue{constructor(e){this.executor=e,this._didRun=!1}get value(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}var le;function ce(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function de(e){return e>=65&&e<=90}function fe(e){return 55296<=e&&e<=56319}function he(e){return 56320<=e&&e<=57343}function pe(e,t){return t-56320+(e-55296<<10)+65536}function ge(e,t,n){const r=e.charCodeAt(n);if(fe(r)&&n+1<t){const t=e.charCodeAt(n+1);if(he(t))return pe(r,t)}return r}const me=/^[\t\n\r\x20-\x7E]*$/;String.fromCharCode(65279);class ve{static getInstance(){return ve._INSTANCE||(ve._INSTANCE=new ve),ve._INSTANCE}constructor(){this._data=JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;const t=this._data,n=t.length/3;let r=1;for(;r<=n;)if(e<t[3*r])r*=2;else{if(!(e>t[3*r+1]))return t[3*r+2];r=2*r+1}return 0}}ve._INSTANCE=null;class ye{static getInstance(e){return le.cache.get(Array.from(e))}static getLocales(){return le._locales.value}constructor(e){this.confusableDictionary=e}isAmbiguous(e){return this.confusableDictionary.has(e)}getPrimaryConfusable(e){return this.confusableDictionary.get(e)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}le=ye,ye.ambiguousCharacterData=new ue((()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}'))),ye.cache=new class{constructor(e){this.fn=e,this.lastCache=void 0,this.lastArgKey=void 0}get(e){const t=JSON.stringify(e);return this.lastArgKey!==t&&(this.lastArgKey=t,this.lastCache=this.fn(e)),this.lastCache}}((e=>{function t(e){const t=new Map;for(let n=0;n<e.length;n+=2)t.set(e[n],e[n+1]);return t}function n(e,t){if(!e)return t;const n=new Map;for(const[r,i]of e)t.has(r)&&n.set(r,i);return n}const r=le.ambiguousCharacterData.value;let i,o=e.filter((e=>!e.startsWith("_")&&e in r));0===o.length&&(o=["_default"]);for(const a of o){i=n(i,t(r[a]))}const s=function(e,t){const n=new Map(e);for(const[r,i]of t)n.set(r,i);return n}(t(r._common),i);return new le(s)})),ye._locales=new ue((()=>Object.keys(le.ambiguousCharacterData.value).filter((e=>!e.startsWith("_")))));class _e{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static getData(){return this._data||(this._data=new Set(_e.getRawData())),this._data}static isInvisibleCharacter(e){return _e.getData().has(e)}static get codePoints(){return _e.getData()}}_e._data=void 0;const Ee="$initialize";let be;class De{constructor(e,t,n,r){this.vsWorker=e,this.req=t,this.method=n,this.args=r,this.type=0}}class Ne{constructor(e,t,n,r){this.vsWorker=e,this.seq=t,this.res=n,this.err=r,this.type=1}}class Te{constructor(e,t,n,r){this.vsWorker=e,this.req=t,this.eventName=n,this.arg=r,this.type=2}}class Se{constructor(e,t,n){this.vsWorker=e,this.req=t,this.event=n,this.type=3}}class Ie{constructor(e,t){this.vsWorker=e,this.req=t,this.type=4}}class we{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(e){this._workerId=e}sendMessage(e,t){const n=String(++this._lastSentReq);return new Promise(((r,i)=>{this._pendingReplies[n]={resolve:r,reject:i},this._send(new De(this._workerId,n,e,t))}))}listen(e,t){let n=null;const r=new R({onWillAddFirstListener:()=>{n=String(++this._lastSentReq),this._pendingEmitters.set(n,r),this._send(new Te(this._workerId,n,e,t))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(n),this._send(new Ie(this._workerId,n)),n=null}});return r.event}handleMessage(e){e&&e.vsWorker&&(-1!==this._workerId&&e.vsWorker!==this._workerId||this._handleMessage(e))}_handleMessage(e){switch(e.type){case 1:return this._handleReplyMessage(e);case 0:return this._handleRequestMessage(e);case 2:return this._handleSubscribeEventMessage(e);case 3:return this._handleEventMessage(e);case 4:return this._handleUnsubscribeEventMessage(e)}}_handleReplyMessage(e){if(!this._pendingReplies[e.seq])return void console.warn("Got reply to unknown seq");const t=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let n=e.err;return e.err.$isError&&(n=new Error,n.name=e.err.name,n.message=e.err.message,n.stack=e.err.stack),void t.reject(n)}t.resolve(e.res)}_handleRequestMessage(e){const t=e.req;this._handler.handleMessage(e.method,e.args).then((e=>{this._send(new Ne(this._workerId,t,e,void 0))}),(e=>{e.detail instanceof Error&&(e.detail=r(e.detail)),this._send(new Ne(this._workerId,t,void 0,r(e)))}))}_handleSubscribeEventMessage(e){const t=e.req,n=this._handler.handleEvent(e.eventName,e.arg)((e=>{this._send(new Se(this._workerId,t,e))}));this._pendingEvents.set(t,n)}_handleEventMessage(e){this._pendingEmitters.has(e.req)?this._pendingEmitters.get(e.req).fire(e.event):console.warn("Got event for unknown req")}_handleUnsubscribeEventMessage(e){this._pendingEvents.has(e.req)?(this._pendingEvents.get(e.req).dispose(),this._pendingEvents.delete(e.req)):console.warn("Got unsubscribe for unknown req")}_send(e){const t=[];if(0===e.type)for(let n=0;n<e.args.length;n++)e.args[n]instanceof ArrayBuffer&&t.push(e.args[n]);else 1===e.type&&e.res instanceof ArrayBuffer&&t.push(e.res);this._handler.sendMessage(e,t)}}function Ae(e){return"o"===e[0]&&"n"===e[1]&&de(e.charCodeAt(2))}function Re(e){return/^onDynamic/.test(e)&&de(e.charCodeAt(9))}function Ce(e,t,n){const r=e=>function(){const n=Array.prototype.slice.call(arguments,0);return t(e,n)},i=e=>function(t){return n(e,t)},o={};for(const s of e)Re(s)?o[s]=i(s):Ae(s)?o[s]=n(s,void 0):o[s]=r(s);return o}class Oe{constructor(e,t){this._requestHandlerFactory=t,this._requestHandler=null,this._protocol=new we({sendMessage:(t,n)=>{e(t,n)},handleMessage:(e,t)=>this._handleMessage(e,t),handleEvent:(e,t)=>this._handleEvent(e,t)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,t){if(e===Ee)return this.initialize(t[0],t[1],t[2],t[3]);if(!this._requestHandler||"function"!==typeof this._requestHandler[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,t))}catch(ih){return Promise.reject(ih)}}_handleEvent(e,t){if(!this._requestHandler)throw new Error("Missing requestHandler");if(Re(e)){const n=this._requestHandler[e].call(this._requestHandler,t);if("function"!==typeof n)throw new Error("Missing dynamic event ".concat(e," on request handler."));return n}if(Ae(e)){const t=this._requestHandler[e];if("function"!==typeof t)throw new Error("Missing event ".concat(e," on request handler."));return t}throw new Error("Malformed event name ".concat(e))}initialize(e,t,n,r){this._protocol.setWorkerId(e);const i=Ce(r,((e,t)=>this._protocol.sendMessage(e,t)),((e,t)=>this._protocol.listen(e,t)));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(i),Promise.resolve(O(this._requestHandler))):(t&&("undefined"!==typeof t.baseUrl&&delete t.baseUrl,"undefined"!==typeof t.paths&&"undefined"!==typeof t.paths.vs&&delete t.paths.vs,void 0!==typeof t.trustedTypesPolicy&&delete t.trustedTypesPolicy,t.catchError=!0,globalThis.require.config(t)),new Promise(((e,t)=>{(0,globalThis.require)([n],(n=>{this._requestHandler=n.create(i),this._requestHandler?e(O(this._requestHandler)):t(new Error("No RequestHandler!"))}),t)})))}}class Fe{constructor(e,t,n,r){this.originalStart=e,this.originalLength=t,this.modifiedStart=n,this.modifiedLength=r}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function Le(e,t){return(t<<5)-t+e|0}function ke(e,t){t=Le(149417,t);for(let n=0,r=e.length;n<r;n++)t=Le(e.charCodeAt(n),t);return t}function xe(e,t){const n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:32)-t;return(e<<t|(~((1<<n)-1)&e)>>>n)>>>0}function Pe(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.byteLength,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;for(let i=0;i<n;i++)e[t+i]=r}function Me(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:32;return e instanceof ArrayBuffer?Array.from(new Uint8Array(e)).map((e=>e.toString(16).padStart(2,"0"))).join(""):function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0";for(;e.length<t;)e=n+e;return e}((e>>>0).toString(16),t/4)}class Be{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){const t=e.length;if(0===t)return;const n=this._buff;let r,i,o=this._buffLen,s=this._leftoverHighSurrogate;for(0!==s?(r=s,i=-1,s=0):(r=e.charCodeAt(0),i=0);;){let a=r;if(fe(r)){if(!(i+1<t)){s=r;break}{const t=e.charCodeAt(i+1);he(t)?(i++,a=pe(r,t)):a=65533}}else he(r)&&(a=65533);if(o=this._push(n,o,a),i++,!(i<t))break;r=e.charCodeAt(i)}this._buffLen=o,this._leftoverHighSurrogate=s}_push(e,t,n){return n<128?e[t++]=n:n<2048?(e[t++]=192|(1984&n)>>>6,e[t++]=128|(63&n)>>>0):n<65536?(e[t++]=224|(61440&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0):(e[t++]=240|(1835008&n)>>>18,e[t++]=128|(258048&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),Me(this._h0)+Me(this._h1)+Me(this._h2)+Me(this._h3)+Me(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,Pe(this._buff,this._buffLen),this._buffLen>56&&(this._step(),Pe(this._buff));const e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){const e=Be._bigBlock32,t=this._buffDV;for(let c=0;c<64;c+=4)e.setUint32(c,t.getUint32(c,!1),!1);for(let c=64;c<320;c+=4)e.setUint32(c,xe(e.getUint32(c-12,!1)^e.getUint32(c-32,!1)^e.getUint32(c-56,!1)^e.getUint32(c-64,!1),1),!1);let n,r,i,o=this._h0,s=this._h1,a=this._h2,u=this._h3,l=this._h4;for(let c=0;c<80;c++)c<20?(n=s&a|~s&u,r=1518500249):c<40?(n=s^a^u,r=1859775393):c<60?(n=s&a|s&u|a&u,r=2400959708):(n=s^a^u,r=3395469782),i=xe(o,5)+n+l+r+e.getUint32(4*c,!1)&4294967295,l=u,u=a,a=xe(s,30),s=o,o=i;this._h0=this._h0+o&4294967295,this._h1=this._h1+s&4294967295,this._h2=this._h2+a&4294967295,this._h3=this._h3+u&4294967295,this._h4=this._h4+l&4294967295}}Be._bigBlock32=new DataView(new ArrayBuffer(320));class Ve{constructor(e){this.source=e}getElements(){const e=this.source,t=new Int32Array(e.length);for(let n=0,r=e.length;n<r;n++)t[n]=e.charCodeAt(n);return t}}function Ue(e,t,n){return new qe(new Ve(e),new Ve(t)).ComputeDiff(n).changes}class je{static Assert(e,t){if(!e)throw new Error(t)}}class Ke{static Copy(e,t,n,r,i){for(let o=0;o<i;o++)n[r+o]=e[t+o]}static Copy2(e,t,n,r,i){for(let o=0;o<i;o++)n[r+o]=e[t+o]}}class Ye{constructor(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}MarkNextChange(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new Fe(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class qe{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.ContinueProcessingPredicate=n,this._originalSequence=e,this._modifiedSequence=t;const[r,i,o]=qe._getElements(e),[s,a,u]=qe._getElements(t);this._hasStrings=o&&u,this._originalStringElements=r,this._originalElementsOrHash=i,this._modifiedStringElements=s,this._modifiedElementsOrHash=a,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"===typeof e[0]}static _getElements(e){const t=e.getElements();if(qe._isStringArray(t)){const e=new Int32Array(t.length);for(let n=0,r=t.length;n<r;n++)e[n]=ke(t[n],0);return[t,e,!0]}return t instanceof Int32Array?[[],t,!1]:[[],new Int32Array(t),!1]}ElementsAreEqual(e,t){return this._originalElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._modifiedStringElements[t])}ElementsAreStrictEqual(e,t){if(!this.ElementsAreEqual(e,t))return!1;return qe._getStrictElement(this._originalSequence,e)===qe._getStrictElement(this._modifiedSequence,t)}static _getStrictElement(e,t){return"function"===typeof e.getStrictElement?e.getStrictElement(t):null}OriginalElementsAreEqual(e,t){return this._originalElementsOrHash[e]===this._originalElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._originalStringElements[t])}ModifiedElementsAreEqual(e,t){return this._modifiedElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._modifiedStringElements[e]===this._modifiedStringElements[t])}ComputeDiff(e){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,e)}_ComputeDiff(e,t,n,r,i){const o=[!1];let s=this.ComputeDiffRecursive(e,t,n,r,o);return i&&(s=this.PrettifyChanges(s)),{quitEarly:o[0],changes:s}}ComputeDiffRecursive(e,t,n,r,i){for(i[0]=!1;e<=t&&n<=r&&this.ElementsAreEqual(e,n);)e++,n++;for(;t>=e&&r>=n&&this.ElementsAreEqual(t,r);)t--,r--;if(e>t||n>r){let i;return n<=r?(je.Assert(e===t+1,"originalStart should only be one more than originalEnd"),i=[new Fe(e,0,n,r-n+1)]):e<=t?(je.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),i=[new Fe(e,t-e+1,n,0)]):(je.Assert(e===t+1,"originalStart should only be one more than originalEnd"),je.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),i=[]),i}const o=[0],s=[0],a=this.ComputeRecursionPoint(e,t,n,r,o,s,i),u=o[0],l=s[0];if(null!==a)return a;if(!i[0]){const o=this.ComputeDiffRecursive(e,u,n,l,i);let s=[];return s=i[0]?[new Fe(u+1,t-(u+1)+1,l+1,r-(l+1)+1)]:this.ComputeDiffRecursive(u+1,t,l+1,r,i),this.ConcatenateChanges(o,s)}return[new Fe(e,t-e+1,n,r-n+1)]}WALKTRACE(e,t,n,r,i,o,s,a,u,l,c,d,f,h,p,g,m,v){let y=null,_=null,E=new Ye,b=t,D=n,N=f[0]-g[0]-r,T=-1073741824,S=this.m_forwardHistory.length-1;do{const t=N+e;t===b||t<D&&u[t-1]<u[t+1]?(h=(c=u[t+1])-N-r,c<T&&E.MarkNextChange(),T=c,E.AddModifiedElement(c+1,h),N=t+1-e):(h=(c=u[t-1]+1)-N-r,c<T&&E.MarkNextChange(),T=c-1,E.AddOriginalElement(c,h+1),N=t-1-e),S>=0&&(e=(u=this.m_forwardHistory[S])[0],b=1,D=u.length-1)}while(--S>=-1);if(y=E.getReverseChanges(),v[0]){let e=f[0]+1,t=g[0]+1;if(null!==y&&y.length>0){const n=y[y.length-1];e=Math.max(e,n.getOriginalEnd()),t=Math.max(t,n.getModifiedEnd())}_=[new Fe(e,d-e+1,t,p-t+1)]}else{E=new Ye,b=o,D=s,N=f[0]-g[0]-a,T=1073741824,S=m?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const e=N+i;e===b||e<D&&l[e-1]>=l[e+1]?(h=(c=l[e+1]-1)-N-a,c>T&&E.MarkNextChange(),T=c+1,E.AddOriginalElement(c+1,h+1),N=e+1-i):(h=(c=l[e-1])-N-a,c>T&&E.MarkNextChange(),T=c,E.AddModifiedElement(c+1,h+1),N=e-1-i),S>=0&&(i=(l=this.m_reverseHistory[S])[0],b=1,D=l.length-1)}while(--S>=-1);_=E.getChanges()}return this.ConcatenateChanges(y,_)}ComputeRecursionPoint(e,t,n,r,i,o,s){let a=0,u=0,l=0,c=0,d=0,f=0;e--,n--,i[0]=0,o[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const h=t-e+(r-n),p=h+1,g=new Int32Array(p),m=new Int32Array(p),v=r-n,y=t-e,_=e-n,E=t-r,b=(y-v)%2===0;g[v]=e,m[y]=t,s[0]=!1;for(let D=1;D<=h/2+1;D++){let h=0,N=0;l=this.ClipDiagonalBound(v-D,D,v,p),c=this.ClipDiagonalBound(v+D,D,v,p);for(let e=l;e<=c;e+=2){a=e===l||e<c&&g[e-1]<g[e+1]?g[e+1]:g[e-1]+1,u=a-(e-v)-_;const n=a;for(;a<t&&u<r&&this.ElementsAreEqual(a+1,u+1);)a++,u++;if(g[e]=a,a+u>h+N&&(h=a,N=u),!b&&Math.abs(e-y)<=D-1&&a>=m[e])return i[0]=a,o[0]=u,n<=m[e]&&D<=1448?this.WALKTRACE(v,l,c,_,y,d,f,E,g,m,a,t,i,u,r,o,b,s):null}const T=(h-e+(N-n)-D)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(h,T))return s[0]=!0,i[0]=h,o[0]=N,T>0&&D<=1448?this.WALKTRACE(v,l,c,_,y,d,f,E,g,m,a,t,i,u,r,o,b,s):(e++,n++,[new Fe(e,t-e+1,n,r-n+1)]);d=this.ClipDiagonalBound(y-D,D,y,p),f=this.ClipDiagonalBound(y+D,D,y,p);for(let p=d;p<=f;p+=2){a=p===d||p<f&&m[p-1]>=m[p+1]?m[p+1]-1:m[p-1],u=a-(p-y)-E;const h=a;for(;a>e&&u>n&&this.ElementsAreEqual(a,u);)a--,u--;if(m[p]=a,b&&Math.abs(p-v)<=D&&a<=g[p])return i[0]=a,o[0]=u,h>=g[p]&&D<=1448?this.WALKTRACE(v,l,c,_,y,d,f,E,g,m,a,t,i,u,r,o,b,s):null}if(D<=1447){let e=new Int32Array(c-l+2);e[0]=v-l+1,Ke.Copy2(g,l,e,1,c-l+1),this.m_forwardHistory.push(e),e=new Int32Array(f-d+2),e[0]=y-d+1,Ke.Copy2(m,d,e,1,f-d+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(v,l,c,_,y,d,f,E,g,m,a,t,i,u,r,o,b,s)}PrettifyChanges(e){for(let t=0;t<e.length;t++){const n=e[t],r=t<e.length-1?e[t+1].originalStart:this._originalElementsOrHash.length,i=t<e.length-1?e[t+1].modifiedStart:this._modifiedElementsOrHash.length,o=n.originalLength>0,s=n.modifiedLength>0;for(;n.originalStart+n.originalLength<r&&n.modifiedStart+n.modifiedLength<i&&(!o||this.OriginalElementsAreEqual(n.originalStart,n.originalStart+n.originalLength))&&(!s||this.ModifiedElementsAreEqual(n.modifiedStart,n.modifiedStart+n.modifiedLength));){const e=this.ElementsAreStrictEqual(n.originalStart,n.modifiedStart);if(this.ElementsAreStrictEqual(n.originalStart+n.originalLength,n.modifiedStart+n.modifiedLength)&&!e)break;n.originalStart++,n.modifiedStart++}const a=[null];t<e.length-1&&this.ChangesOverlap(e[t],e[t+1],a)&&(e[t]=a[0],e.splice(t+1,1),t--)}for(let t=e.length-1;t>=0;t--){const n=e[t];let r=0,i=0;if(t>0){const n=e[t-1];r=n.originalStart+n.originalLength,i=n.modifiedStart+n.modifiedLength}const o=n.originalLength>0,s=n.modifiedLength>0;let a=0,u=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength);for(let e=1;;e++){const t=n.originalStart-e,l=n.modifiedStart-e;if(t<r||l<i)break;if(o&&!this.OriginalElementsAreEqual(t,t+n.originalLength))break;if(s&&!this.ModifiedElementsAreEqual(l,l+n.modifiedLength))break;const c=(t===r&&l===i?5:0)+this._boundaryScore(t,n.originalLength,l,n.modifiedLength);c>u&&(u=c,a=e)}n.originalStart-=a,n.modifiedStart-=a;const l=[null];t>0&&this.ChangesOverlap(e[t-1],e[t],l)&&(e[t-1]=l[0],e.splice(t,1),t++)}if(this._hasStrings)for(let t=1,n=e.length;t<n;t++){const n=e[t-1],r=e[t],i=r.originalStart-n.originalStart-n.originalLength,o=n.originalStart,s=r.originalStart+r.originalLength,a=s-o,u=n.modifiedStart,l=r.modifiedStart+r.modifiedLength,c=l-u;if(i<5&&a<20&&c<20){const e=this._findBetterContiguousSequence(o,a,u,c,i);if(e){const[t,o]=e;t===n.originalStart+n.originalLength&&o===n.modifiedStart+n.modifiedLength||(n.originalLength=t-n.originalStart,n.modifiedLength=o-n.modifiedStart,r.originalStart=t+i,r.modifiedStart=o+i,r.originalLength=s-r.originalStart,r.modifiedLength=l-r.modifiedStart)}}}return e}_findBetterContiguousSequence(e,t,n,r,i){if(t<i||r<i)return null;const o=e+t-i+1,s=n+r-i+1;let a=0,u=0,l=0;for(let c=e;c<o;c++)for(let e=n;e<s;e++){const t=this._contiguousSequenceScore(c,e,i);t>0&&t>a&&(a=t,u=c,l=e)}return a>0?[u,l]:null}_contiguousSequenceScore(e,t,n){let r=0;for(let i=0;i<n;i++){if(!this.ElementsAreEqual(e+i,t+i))return 0;r+=this._originalStringElements[e+i].length}return r}_OriginalIsBoundary(e){return e<=0||e>=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1}_boundaryScore(e,t,n,r){return(this._OriginalRegionIsBoundary(e,t)?1:0)+(this._ModifiedRegionIsBoundary(n,r)?1:0)}ConcatenateChanges(e,t){const n=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){const r=new Array(e.length+t.length-1);return Ke.Copy(e,0,r,0,e.length-1),r[e.length-1]=n[0],Ke.Copy(t,1,r,e.length,t.length-1),r}{const n=new Array(e.length+t.length);return Ke.Copy(e,0,n,0,e.length),Ke.Copy(t,0,n,e.length,t.length),n}}ChangesOverlap(e,t,n){if(je.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),je.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=t.originalStart||e.modifiedStart+e.modifiedLength>=t.modifiedStart){const r=e.originalStart;let i=e.originalLength;const o=e.modifiedStart;let s=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(i=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(s=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new Fe(r,i,o,s),!0}return n[0]=null,!1}ClipDiagonalBound(e,t,n,r){if(e>=0&&e<r)return e;const i=t%2===0;if(e<0){return i===(n%2===0)?0:1}return i===((r-n-1)%2===0)?r-1:r-2}}const Ge=globalThis.vscode;if("undefined"!==typeof Ge&&"undefined"!==typeof Ge.process){const e=Ge.process;be={get platform(){return e.platform},get arch(){return e.arch},get env(){return e.env},cwd:()=>e.cwd()}}else be="undefined"!==typeof process?{get platform(){return process.platform},get arch(){return process.arch},get env(){return{NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_API_URI:"https://api.chillicream.com",REACT_APP_DB_NAME:"chillicream-nitro",REACT_APP_SCHEME:"chillicream-nitro",REACT_APP_TUNNEL_URI:"https://tunnel.bananacakepop.com",REACT_APP_BCP_CLIENT_ID:"3c9f56bd-0e2c-4358-9bf5-ff3a0efa9bf5",REACT_APP_API_ENDPOINT:"https://api.chillicream.com/graphql",REACT_APP_CLOUD_URI_PATTERN:"^https?:\\/\\/.*?\\.(bananacakepop\\.com|chillicream\\.com|chillicream\\.cloud)",REACT_APP_GRAPHQL_CLIENT_ID:"Q2xpZW50Cmc5ZjAwOTFmNTY5NmQ0NTZkOWUwZDQ0ZDMzYjJhZDJlOA==",REACT_APP_IDENTITY_DOMAIN:"https://identity.chillicream.com",REACT_APP_IDENTITY_SCOPE:"openid offline_access documents:read documents:write workspace:manage",REACT_APP_MUI_X_LICENSE_KEY:"985282257ba1430a6c388f85a1dad858Tz05OTQ0OSxFPTE3NTk4MzQwMzUwMDAsUz1wcm8sTE09c3Vic2NyaXB0aW9uLFBWPWluaXRpYWwsS1Y9Mg=="}},cwd:()=>({NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_API_URI:"https://api.chillicream.com",REACT_APP_DB_NAME:"chillicream-nitro",REACT_APP_SCHEME:"chillicream-nitro",REACT_APP_TUNNEL_URI:"https://tunnel.bananacakepop.com",REACT_APP_BCP_CLIENT_ID:"3c9f56bd-0e2c-4358-9bf5-ff3a0efa9bf5",REACT_APP_API_ENDPOINT:"https://api.chillicream.com/graphql",REACT_APP_CLOUD_URI_PATTERN:"^https?:\\/\\/.*?\\.(bananacakepop\\.com|chillicream\\.com|chillicream\\.cloud)",REACT_APP_GRAPHQL_CLIENT_ID:"Q2xpZW50Cmc5ZjAwOTFmNTY5NmQ0NTZkOWUwZDQ0ZDMzYjJhZDJlOA==",REACT_APP_IDENTITY_DOMAIN:"https://identity.chillicream.com",REACT_APP_IDENTITY_SCOPE:"openid offline_access documents:read documents:write workspace:manage",REACT_APP_MUI_X_LICENSE_KEY:"985282257ba1430a6c388f85a1dad858Tz05OTQ0OSxFPTE3NTk4MzQwMzUwMDAsUz1wcm8sTE09c3Vic2NyaXB0aW9uLFBWPWluaXRpYWwsS1Y9Mg=="}.VSCODE_CWD||process.cwd())}:{get platform(){return re?"win32":ie?"darwin":"linux"},get arch(){},get env(){return{}},cwd:()=>"/"};const He=be.cwd,ze=(be.env,be.platform),We=46,Qe=47,Je=92,Xe=58;class $e extends Error{constructor(e,t,n){let r;"string"===typeof t&&0===t.indexOf("not ")?(r="must not be",t=t.replace(/^not /,"")):r="must be";const i=-1!==e.indexOf(".")?"property":"argument";let o='The "'.concat(e,'" ').concat(i," ").concat(r," of type ").concat(t);o+=". Received type ".concat(typeof n),super(o),this.code="ERR_INVALID_ARG_TYPE"}}function Ze(e,t){if("string"!==typeof e)throw new $e(t,"string",e)}const et="win32"===ze;function tt(e){return e===Qe||e===Je}function nt(e){return e===Qe}function rt(e){return e>=65&&e<=90||e>=97&&e<=122}function it(e,t,n,r){let i="",o=0,s=-1,a=0,u=0;for(let l=0;l<=e.length;++l){if(l<e.length)u=e.charCodeAt(l);else{if(r(u))break;u=Qe}if(r(u)){if(s===l-1||1===a);else if(2===a){if(i.length<2||2!==o||i.charCodeAt(i.length-1)!==We||i.charCodeAt(i.length-2)!==We){if(i.length>2){const e=i.lastIndexOf(n);-1===e?(i="",o=0):(i=i.slice(0,e),o=i.length-1-i.lastIndexOf(n)),s=l,a=0;continue}if(0!==i.length){i="",o=0,s=l,a=0;continue}}t&&(i+=i.length>0?"".concat(n,".."):"..",o=2)}else i.length>0?i+="".concat(n).concat(e.slice(s+1,l)):i=e.slice(s+1,l),o=l-s-1;s=l,a=0}else u===We&&-1!==a?++a:a=-1}return i}function ot(e,t){!function(e,t){if(null===e||"object"!==typeof e)throw new $e(t,"Object",e)}(t,"pathObject");const n=t.dir||t.root,r=t.base||"".concat(t.name||"").concat(t.ext||"");return n?n===t.root?"".concat(n).concat(r):"".concat(n).concat(e).concat(r):r}const st={resolve(){let e="",t="",n=!1;for(let r=arguments.length-1;r>=-1;r--){let i;if(r>=0){if(i=r<0||arguments.length<=r?void 0:arguments[r],Ze(i,"path"),0===i.length)continue}else 0===e.length?i=He():(i={NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_API_URI:"https://api.chillicream.com",REACT_APP_DB_NAME:"chillicream-nitro",REACT_APP_SCHEME:"chillicream-nitro",REACT_APP_TUNNEL_URI:"https://tunnel.bananacakepop.com",REACT_APP_BCP_CLIENT_ID:"3c9f56bd-0e2c-4358-9bf5-ff3a0efa9bf5",REACT_APP_API_ENDPOINT:"https://api.chillicream.com/graphql",REACT_APP_CLOUD_URI_PATTERN:"^https?:\\/\\/.*?\\.(bananacakepop\\.com|chillicream\\.com|chillicream\\.cloud)",REACT_APP_GRAPHQL_CLIENT_ID:"Q2xpZW50Cmc5ZjAwOTFmNTY5NmQ0NTZkOWUwZDQ0ZDMzYjJhZDJlOA==",REACT_APP_IDENTITY_DOMAIN:"https://identity.chillicream.com",REACT_APP_IDENTITY_SCOPE:"openid offline_access documents:read documents:write workspace:manage",REACT_APP_MUI_X_LICENSE_KEY:"985282257ba1430a6c388f85a1dad858Tz05OTQ0OSxFPTE3NTk4MzQwMzUwMDAsUz1wcm8sTE09c3Vic2NyaXB0aW9uLFBWPWluaXRpYWwsS1Y9Mg=="}["=".concat(e)]||He(),(void 0===i||i.slice(0,2).toLowerCase()!==e.toLowerCase()&&i.charCodeAt(2)===Je)&&(i="".concat(e,"\\")));const o=i.length;let s=0,a="",u=!1;const l=i.charCodeAt(0);if(1===o)tt(l)&&(s=1,u=!0);else if(tt(l))if(u=!0,tt(i.charCodeAt(1))){let e=2,t=e;for(;e<o&&!tt(i.charCodeAt(e));)e++;if(e<o&&e!==t){const n=i.slice(t,e);for(t=e;e<o&&tt(i.charCodeAt(e));)e++;if(e<o&&e!==t){for(t=e;e<o&&!tt(i.charCodeAt(e));)e++;e!==o&&e===t||(a="\\\\".concat(n,"\\").concat(i.slice(t,e)),s=e)}}}else s=1;else rt(l)&&i.charCodeAt(1)===Xe&&(a=i.slice(0,2),s=2,o>2&&tt(i.charCodeAt(2))&&(u=!0,s=3));if(a.length>0)if(e.length>0){if(a.toLowerCase()!==e.toLowerCase())continue}else e=a;if(n){if(e.length>0)break}else if(t="".concat(i.slice(s),"\\").concat(t),n=u,u&&e.length>0)break}return t=it(t,!n,"\\",tt),n?"".concat(e,"\\").concat(t):"".concat(e).concat(t)||"."},normalize(e){Ze(e,"path");const t=e.length;if(0===t)return".";let n,r=0,i=!1;const o=e.charCodeAt(0);if(1===t)return nt(o)?"\\":e;if(tt(o))if(i=!0,tt(e.charCodeAt(1))){let i=2,o=i;for(;i<t&&!tt(e.charCodeAt(i));)i++;if(i<t&&i!==o){const s=e.slice(o,i);for(o=i;i<t&&tt(e.charCodeAt(i));)i++;if(i<t&&i!==o){for(o=i;i<t&&!tt(e.charCodeAt(i));)i++;if(i===t)return"\\\\".concat(s,"\\").concat(e.slice(o),"\\");i!==o&&(n="\\\\".concat(s,"\\").concat(e.slice(o,i)),r=i)}}}else r=1;else rt(o)&&e.charCodeAt(1)===Xe&&(n=e.slice(0,2),r=2,t>2&&tt(e.charCodeAt(2))&&(i=!0,r=3));let s=r<t?it(e.slice(r),!i,"\\",tt):"";return 0!==s.length||i||(s="."),s.length>0&&tt(e.charCodeAt(t-1))&&(s+="\\"),void 0===n?i?"\\".concat(s):s:i?"".concat(n,"\\").concat(s):"".concat(n).concat(s)},isAbsolute(e){Ze(e,"path");const t=e.length;if(0===t)return!1;const n=e.charCodeAt(0);return tt(n)||t>2&&rt(n)&&e.charCodeAt(1)===Xe&&tt(e.charCodeAt(2))},join(){if(0===arguments.length)return".";let e,t;for(let i=0;i<arguments.length;++i){const n=i<0||arguments.length<=i?void 0:arguments[i];Ze(n,"path"),n.length>0&&(void 0===e?e=t=n:e+="\\".concat(n))}if(void 0===e)return".";let n=!0,r=0;if("string"===typeof t&&tt(t.charCodeAt(0))){++r;const e=t.length;e>1&&tt(t.charCodeAt(1))&&(++r,e>2&&(tt(t.charCodeAt(2))?++r:n=!1))}if(n){for(;r<e.length&&tt(e.charCodeAt(r));)r++;r>=2&&(e="\\".concat(e.slice(r)))}return st.normalize(e)},relative(e,t){if(Ze(e,"from"),Ze(t,"to"),e===t)return"";const n=st.resolve(e),r=st.resolve(t);if(n===r)return"";if((e=n.toLowerCase())===(t=r.toLowerCase()))return"";let i=0;for(;i<e.length&&e.charCodeAt(i)===Je;)i++;let o=e.length;for(;o-1>i&&e.charCodeAt(o-1)===Je;)o--;const s=o-i;let a=0;for(;a<t.length&&t.charCodeAt(a)===Je;)a++;let u=t.length;for(;u-1>a&&t.charCodeAt(u-1)===Je;)u--;const l=u-a,c=s<l?s:l;let d=-1,f=0;for(;f<c;f++){const n=e.charCodeAt(i+f);if(n!==t.charCodeAt(a+f))break;n===Je&&(d=f)}if(f!==c){if(-1===d)return r}else{if(l>c){if(t.charCodeAt(a+f)===Je)return r.slice(a+f+1);if(2===f)return r.slice(a+f)}s>c&&(e.charCodeAt(i+f)===Je?d=f:2===f&&(d=3)),-1===d&&(d=0)}let h="";for(f=i+d+1;f<=o;++f)f!==o&&e.charCodeAt(f)!==Je||(h+=0===h.length?"..":"\\..");return a+=d,h.length>0?"".concat(h).concat(r.slice(a,u)):(r.charCodeAt(a)===Je&&++a,r.slice(a,u))},toNamespacedPath(e){if("string"!==typeof e||0===e.length)return e;const t=st.resolve(e);if(t.length<=2)return e;if(t.charCodeAt(0)===Je){if(t.charCodeAt(1)===Je){const e=t.charCodeAt(2);if(63!==e&&e!==We)return"\\\\?\\UNC\\".concat(t.slice(2))}}else if(rt(t.charCodeAt(0))&&t.charCodeAt(1)===Xe&&t.charCodeAt(2)===Je)return"\\\\?\\".concat(t);return e},dirname(e){Ze(e,"path");const t=e.length;if(0===t)return".";let n=-1,r=0;const i=e.charCodeAt(0);if(1===t)return tt(i)?e:".";if(tt(i)){if(n=r=1,tt(e.charCodeAt(1))){let i=2,o=i;for(;i<t&&!tt(e.charCodeAt(i));)i++;if(i<t&&i!==o){for(o=i;i<t&&tt(e.charCodeAt(i));)i++;if(i<t&&i!==o){for(o=i;i<t&&!tt(e.charCodeAt(i));)i++;if(i===t)return e;i!==o&&(n=r=i+1)}}}}else rt(i)&&e.charCodeAt(1)===Xe&&(n=t>2&&tt(e.charCodeAt(2))?3:2,r=n);let o=-1,s=!0;for(let a=t-1;a>=r;--a)if(tt(e.charCodeAt(a))){if(!s){o=a;break}}else s=!1;if(-1===o){if(-1===n)return".";o=n}return e.slice(0,o)},basename(e,t){void 0!==t&&Ze(t,"ext"),Ze(e,"path");let n,r=0,i=-1,o=!0;if(e.length>=2&&rt(e.charCodeAt(0))&&e.charCodeAt(1)===Xe&&(r=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let s=t.length-1,a=-1;for(n=e.length-1;n>=r;--n){const u=e.charCodeAt(n);if(tt(u)){if(!o){r=n+1;break}}else-1===a&&(o=!1,a=n+1),s>=0&&(u===t.charCodeAt(s)?-1===--s&&(i=n):(s=-1,i=a))}return r===i?i=a:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=r;--n)if(tt(e.charCodeAt(n))){if(!o){r=n+1;break}}else-1===i&&(o=!1,i=n+1);return-1===i?"":e.slice(r,i)},extname(e){Ze(e,"path");let t=0,n=-1,r=0,i=-1,o=!0,s=0;e.length>=2&&e.charCodeAt(1)===Xe&&rt(e.charCodeAt(0))&&(t=r=2);for(let a=e.length-1;a>=t;--a){const t=e.charCodeAt(a);if(tt(t)){if(!o){r=a+1;break}}else-1===i&&(o=!1,i=a+1),t===We?-1===n?n=a:1!==s&&(s=1):-1!==n&&(s=-1)}return-1===n||-1===i||0===s||1===s&&n===i-1&&n===r+1?"":e.slice(n,i)},format:ot.bind(null,"\\"),parse(e){Ze(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=e.length;let r=0,i=e.charCodeAt(0);if(1===n)return tt(i)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(tt(i)){if(r=1,tt(e.charCodeAt(1))){let t=2,i=t;for(;t<n&&!tt(e.charCodeAt(t));)t++;if(t<n&&t!==i){for(i=t;t<n&&tt(e.charCodeAt(t));)t++;if(t<n&&t!==i){for(i=t;t<n&&!tt(e.charCodeAt(t));)t++;t===n?r=t:t!==i&&(r=t+1)}}}}else if(rt(i)&&e.charCodeAt(1)===Xe){if(n<=2)return t.root=t.dir=e,t;if(r=2,tt(e.charCodeAt(2))){if(3===n)return t.root=t.dir=e,t;r=3}}r>0&&(t.root=e.slice(0,r));let o=-1,s=r,a=-1,u=!0,l=e.length-1,c=0;for(;l>=r;--l)if(i=e.charCodeAt(l),tt(i)){if(!u){s=l+1;break}}else-1===a&&(u=!1,a=l+1),i===We?-1===o?o=l:1!==c&&(c=1):-1!==o&&(c=-1);return-1!==a&&(-1===o||0===c||1===c&&o===a-1&&o===s+1?t.base=t.name=e.slice(s,a):(t.name=e.slice(s,o),t.base=e.slice(s,a),t.ext=e.slice(o,a))),t.dir=s>0&&s!==r?e.slice(0,s-1):t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},at=(()=>{if(et){const e=/\\/g;return()=>{const t=He().replace(e,"/");return t.slice(t.indexOf("/"))}}return()=>He()})(),ut={resolve(){let e="",t=!1;for(let n=arguments.length-1;n>=-1&&!t;n--){const r=n>=0?n<0||arguments.length<=n?void 0:arguments[n]:at();Ze(r,"path"),0!==r.length&&(e="".concat(r,"/").concat(e),t=r.charCodeAt(0)===Qe)}return e=it(e,!t,"/",nt),t?"/".concat(e):e.length>0?e:"."},normalize(e){if(Ze(e,"path"),0===e.length)return".";const t=e.charCodeAt(0)===Qe,n=e.charCodeAt(e.length-1)===Qe;return 0===(e=it(e,!t,"/",nt)).length?t?"/":n?"./":".":(n&&(e+="/"),t?"/".concat(e):e)},isAbsolute:e=>(Ze(e,"path"),e.length>0&&e.charCodeAt(0)===Qe),join(){if(0===arguments.length)return".";let e;for(let t=0;t<arguments.length;++t){const n=t<0||arguments.length<=t?void 0:arguments[t];Ze(n,"path"),n.length>0&&(void 0===e?e=n:e+="/".concat(n))}return void 0===e?".":ut.normalize(e)},relative(e,t){if(Ze(e,"from"),Ze(t,"to"),e===t)return"";if((e=ut.resolve(e))===(t=ut.resolve(t)))return"";const n=e.length,r=n-1,i=t.length-1,o=r<i?r:i;let s=-1,a=0;for(;a<o;a++){const n=e.charCodeAt(1+a);if(n!==t.charCodeAt(1+a))break;n===Qe&&(s=a)}if(a===o)if(i>o){if(t.charCodeAt(1+a)===Qe)return t.slice(1+a+1);if(0===a)return t.slice(1+a)}else r>o&&(e.charCodeAt(1+a)===Qe?s=a:0===a&&(s=0));let u="";for(a=1+s+1;a<=n;++a)a!==n&&e.charCodeAt(a)!==Qe||(u+=0===u.length?"..":"/..");return"".concat(u).concat(t.slice(1+s))},toNamespacedPath:e=>e,dirname(e){if(Ze(e,"path"),0===e.length)return".";const t=e.charCodeAt(0)===Qe;let n=-1,r=!0;for(let i=e.length-1;i>=1;--i)if(e.charCodeAt(i)===Qe){if(!r){n=i;break}}else r=!1;return-1===n?t?"/":".":t&&1===n?"//":e.slice(0,n)},basename(e,t){void 0!==t&&Ze(t,"ext"),Ze(e,"path");let n,r=0,i=-1,o=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let s=t.length-1,a=-1;for(n=e.length-1;n>=0;--n){const u=e.charCodeAt(n);if(u===Qe){if(!o){r=n+1;break}}else-1===a&&(o=!1,a=n+1),s>=0&&(u===t.charCodeAt(s)?-1===--s&&(i=n):(s=-1,i=a))}return r===i?i=a:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=0;--n)if(e.charCodeAt(n)===Qe){if(!o){r=n+1;break}}else-1===i&&(o=!1,i=n+1);return-1===i?"":e.slice(r,i)},extname(e){Ze(e,"path");let t=-1,n=0,r=-1,i=!0,o=0;for(let s=e.length-1;s>=0;--s){const a=e.charCodeAt(s);if(a!==Qe)-1===r&&(i=!1,r=s+1),a===We?-1===t?t=s:1!==o&&(o=1):-1!==t&&(o=-1);else if(!i){n=s+1;break}}return-1===t||-1===r||0===o||1===o&&t===r-1&&t===n+1?"":e.slice(t,r)},format:ot.bind(null,"/"),parse(e){Ze(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=e.charCodeAt(0)===Qe;let r;n?(t.root="/",r=1):r=0;let i=-1,o=0,s=-1,a=!0,u=e.length-1,l=0;for(;u>=r;--u){const t=e.charCodeAt(u);if(t!==Qe)-1===s&&(a=!1,s=u+1),t===We?-1===i?i=u:1!==l&&(l=1):-1!==i&&(l=-1);else if(!a){o=u+1;break}}if(-1!==s){const r=0===o&&n?1:o;-1===i||0===l||1===l&&i===s-1&&i===o+1?t.base=t.name=e.slice(r,s):(t.name=e.slice(r,i),t.base=e.slice(r,s),t.ext=e.slice(i,s))}return o>0?t.dir=e.slice(0,o-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};ut.win32=st.win32=st,ut.posix=st.posix=ut;et?st.normalize:ut.normalize,et?st.resolve:ut.resolve,et?st.relative:ut.relative,et?st.dirname:ut.dirname,et?st.basename:ut.basename,et?st.extname:ut.extname,et?st.sep:ut.sep;const lt=/^\w[\w\d+.-]*$/,ct=/^\//,dt=/^\/\//;const ft="",ht="/",pt=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class gt{static isUri(e){return e instanceof gt||!!e&&("string"===typeof e.authority&&"string"===typeof e.fragment&&"string"===typeof e.path&&"string"===typeof e.query&&"string"===typeof e.scheme&&"string"===typeof e.fsPath&&"function"===typeof e.with&&"function"===typeof e.toString)}constructor(e,t,n,r,i){let o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];"object"===typeof e?(this.scheme=e.scheme||ft,this.authority=e.authority||ft,this.path=e.path||ft,this.query=e.query||ft,this.fragment=e.fragment||ft):(this.scheme=function(e,t){return e||t?e:"file"}(e,o),this.authority=t||ft,this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==ht&&(t=ht+t):t=ht}return t}(this.scheme,n||ft),this.query=r||ft,this.fragment=i||ft,function(e,t){if(!e.scheme&&t)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'.concat(e.authority,'", path: "').concat(e.path,'", query: "').concat(e.query,'", fragment: "').concat(e.fragment,'"}'));if(e.scheme&&!lt.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!ct.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(dt.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,o))}get fsPath(){return bt(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:n,path:r,query:i,fragment:o}=e;return void 0===t?t=this.scheme:null===t&&(t=ft),void 0===n?n=this.authority:null===n&&(n=ft),void 0===r?r=this.path:null===r&&(r=ft),void 0===i?i=this.query:null===i&&(i=ft),void 0===o?o=this.fragment:null===o&&(o=ft),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&o===this.fragment?this:new vt(t,n,r,i,o)}static parse(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=pt.exec(e);return n?new vt(n[2]||ft,St(n[4]||ft),St(n[5]||ft),St(n[7]||ft),St(n[9]||ft),t):new vt(ft,ft,ft,ft,ft)}static file(e){let t=ft;if(re&&(e=e.replace(/\\/g,ht)),e[0]===ht&&e[1]===ht){const n=e.indexOf(ht,2);-1===n?(t=e.substring(2),e=ht):(t=e.substring(2,n),e=e.substring(n)||ht)}return new vt("file",t,e,ft,ft)}static from(e,t){return new vt(e.scheme,e.authority,e.path,e.query,e.fragment,t)}static joinPath(e){if(!e.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let t;for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return t=re&&"file"===e.scheme?gt.file(st.join(bt(e,!0),...r)).path:ut.join(e.path,...r),e.with({path:t})}toString(){return Dt(this,arguments.length>0&&void 0!==arguments[0]&&arguments[0])}toJSON(){return this}static revive(e){var t,n;if(e){if(e instanceof gt)return e;{const r=new vt(e);return r._formatted=null!==(t=e.external)&&void 0!==t?t:null,r._fsPath=e._sep===mt&&null!==(n=e.fsPath)&&void 0!==n?n:null,r}}return e}}const mt=re?1:void 0;class vt extends gt{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=bt(this,!1)),this._fsPath}toString(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]?Dt(this,!0):(this._formatted||(this._formatted=Dt(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=mt),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}const yt={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function _t(e,t,n){let r,i=-1;for(let o=0;o<e.length;o++){const s=e.charCodeAt(o);if(s>=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57||45===s||46===s||95===s||126===s||t&&47===s||n&&91===s||n&&93===s||n&&58===s)-1!==i&&(r+=encodeURIComponent(e.substring(i,o)),i=-1),void 0!==r&&(r+=e.charAt(o));else{void 0===r&&(r=e.substr(0,o));const t=yt[s];void 0!==t?(-1!==i&&(r+=encodeURIComponent(e.substring(i,o)),i=-1),r+=t):-1===i&&(i=o)}}return-1!==i&&(r+=encodeURIComponent(e.substring(i))),void 0!==r?r:e}function Et(e){let t;for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);35===r||63===r?(void 0===t&&(t=e.substr(0,n)),t+=yt[r]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function bt(e,t){let n;return n=e.authority&&e.path.length>1&&"file"===e.scheme?"//".concat(e.authority).concat(e.path):47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,re&&(n=n.replace(/\//g,"\\")),n}function Dt(e,t){const n=t?Et:_t;let r="",{scheme:i,authority:o,path:s,query:a,fragment:u}=e;if(i&&(r+=i,r+=":"),(o||"file"===i)&&(r+=ht,r+=ht),o){let e=o.indexOf("@");if(-1!==e){const t=o.substr(0,e);o=o.substr(e+1),e=t.lastIndexOf(":"),-1===e?r+=n(t,!1,!1):(r+=n(t.substr(0,e),!1,!1),r+=":",r+=n(t.substr(e+1),!1,!0)),r+="@"}o=o.toLowerCase(),e=o.lastIndexOf(":"),-1===e?r+=n(o,!1,!0):(r+=n(o.substr(0,e),!1,!0),r+=o.substr(e))}if(s){if(s.length>=3&&47===s.charCodeAt(0)&&58===s.charCodeAt(2)){const e=s.charCodeAt(1);e>=65&&e<=90&&(s="/".concat(String.fromCharCode(e+32),":").concat(s.substr(3)))}else if(s.length>=2&&58===s.charCodeAt(1)){const e=s.charCodeAt(0);e>=65&&e<=90&&(s="".concat(String.fromCharCode(e+32),":").concat(s.substr(2)))}r+=n(s,!0,!1)}return a&&(r+="?",r+=n(a,!1,!1)),u&&(r+="#",r+=t?u:_t(u,!1,!1)),r}function Nt(e){try{return decodeURIComponent(e)}catch(x){return e.length>3?e.substr(0,3)+Nt(e.substr(3)):e}}const Tt=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function St(e){return e.match(Tt)?e.replace(Tt,(e=>Nt(e))):e}class It{constructor(e,t){this.lineNumber=e,this.column=t}with(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.lineNumber,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.column;return e===this.lineNumber&&t===this.column?this:new It(e,t)}delta(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.with(this.lineNumber+e,this.column+t)}equals(e){return It.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return It.isBefore(this,e)}static isBefore(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<t.column}isBeforeOrEqual(e){return It.isBeforeOrEqual(this,e)}static isBeforeOrEqual(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<=t.column}static compare(e,t){const n=0|e.lineNumber,r=0|t.lineNumber;if(n===r){return(0|e.column)-(0|t.column)}return n-r}clone(){return new It(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(e){return new It(e.lineNumber,e.column)}static isIPosition(e){return e&&"number"===typeof e.lineNumber&&"number"===typeof e.column}toJSON(){return{lineNumber:this.lineNumber,column:this.column}}}class wt{constructor(e,t,n,r){e>n||e===n&&t>r?(this.startLineNumber=n,this.startColumn=r,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=r)}isEmpty(){return wt.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return wt.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumber<e.startLineNumber||t.lineNumber>e.endLineNumber)&&(!(t.lineNumber===e.startLineNumber&&t.column<e.startColumn)&&!(t.lineNumber===e.endLineNumber&&t.column>e.endColumn))}static strictContainsPosition(e,t){return!(t.lineNumber<e.startLineNumber||t.lineNumber>e.endLineNumber)&&(!(t.lineNumber===e.startLineNumber&&t.column<=e.startColumn)&&!(t.lineNumber===e.endLineNumber&&t.column>=e.endColumn))}containsRange(e){return wt.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber)&&(!(t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>e.endColumn)))}strictContainsRange(e){return wt.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber)&&(!(t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<=e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>=e.endColumn)))}plusRange(e){return wt.plusRange(this,e)}static plusRange(e,t){let n,r,i,o;return t.startLineNumber<e.startLineNumber?(n=t.startLineNumber,r=t.startColumn):t.startLineNumber===e.startLineNumber?(n=t.startLineNumber,r=Math.min(t.startColumn,e.startColumn)):(n=e.startLineNumber,r=e.startColumn),t.endLineNumber>e.endLineNumber?(i=t.endLineNumber,o=t.endColumn):t.endLineNumber===e.endLineNumber?(i=t.endLineNumber,o=Math.max(t.endColumn,e.endColumn)):(i=e.endLineNumber,o=e.endColumn),new wt(n,r,i,o)}intersectRanges(e){return wt.intersectRanges(this,e)}static intersectRanges(e,t){let n=e.startLineNumber,r=e.startColumn,i=e.endLineNumber,o=e.endColumn;const s=t.startLineNumber,a=t.startColumn,u=t.endLineNumber,l=t.endColumn;return n<s?(n=s,r=a):n===s&&(r=Math.max(r,a)),i>u?(i=u,o=l):i===u&&(o=Math.min(o,l)),n>i||n===i&&r>o?null:new wt(n,r,i,o)}equalsRange(e){return wt.equalsRange(this,e)}static equalsRange(e,t){return!e&&!t||!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return wt.getEndPosition(this)}static getEndPosition(e){return new It(e.endLineNumber,e.endColumn)}getStartPosition(){return wt.getStartPosition(this)}static getStartPosition(e){return new It(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new wt(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new wt(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return wt.collapseToStart(this)}static collapseToStart(e){return new wt(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}collapseToEnd(){return wt.collapseToEnd(this)}static collapseToEnd(e){return new wt(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn)}delta(e){return new wt(this.startLineNumber+e,this.startColumn,this.endLineNumber+e,this.endColumn)}static fromPositions(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return new wt(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new wt(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"===typeof e.startLineNumber&&"number"===typeof e.startColumn&&"number"===typeof e.endLineNumber&&"number"===typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<e.startColumn)}static areIntersecting(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<=t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<=e.startColumn)}static compareRangesUsingStarts(e,t){if(e&&t){const n=0|e.startLineNumber,r=0|t.startLineNumber;if(n===r){const n=0|e.startColumn,r=0|t.startColumn;if(n===r){const n=0|e.endLineNumber,r=0|t.endLineNumber;if(n===r){return(0|e.endColumn)-(0|t.endColumn)}return n-r}return n-r}return n-r}return(e?1:0)-(t?1:0)}static compareRangesUsingEnds(e,t){return e.endLineNumber===t.endLineNumber?e.endColumn===t.endColumn?e.startLineNumber===t.startLineNumber?e.startColumn-t.startColumn:e.startLineNumber-t.startLineNumber:e.endColumn-t.endColumn:e.endLineNumber-t.endLineNumber}static spansMultipleLines(e){return e.endLineNumber>e.startLineNumber}toJSON(){return this}}var At;function Rt(e,t){return(n,r)=>t(e(n),e(r))}!function(e){e.isLessThan=function(e){return e<0},e.isLessThanOrEqual=function(e){return e<=0},e.isGreaterThan=function(e){return e>0},e.isNeitherLessOrGreaterThan=function(e){return 0===e},e.greaterThan=1,e.lessThan=-1,e.neitherLessOrGreaterThan=0}(At||(At={}));const Ct=(e,t)=>e-t;class Ot{constructor(e){this.iterate=e}toArray(){const e=[];return this.iterate((t=>(e.push(t),!0))),e}filter(e){return new Ot((t=>this.iterate((n=>!e(n)||t(n)))))}map(e){return new Ot((t=>this.iterate((n=>t(e(n))))))}findLast(e){let t;return this.iterate((n=>(e(n)&&(t=n),!0))),t}findLastMaxBy(e){let t,n=!0;return this.iterate((r=>((n||At.isGreaterThan(e(r,t)))&&(n=!1,t=r),!0))),t}}function Ft(e){return e<0?0:e>255?255:0|e}function Lt(e){return e<0?0:e>4294967295?4294967295:0|e}Ot.empty=new Ot((e=>{}));class kt{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,t){e=Lt(e);const n=this.values,r=this.prefixSum,i=t.length;return 0!==i&&(this.values=new Uint32Array(n.length+i),this.values.set(n.subarray(0,e),0),this.values.set(n.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(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(e,t){return e=Lt(e),t=Lt(t),this.values[e]!==t&&(this.values[e]=t,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)}removeValues(e,t){e=Lt(e),t=Lt(t);const n=this.values,r=this.prefixSum;if(e>=n.length)return!1;const i=n.length-e;return t>=i&&(t=i),0!==t&&(this.values=new Uint32Array(n.length-t),this.values.set(n.subarray(0,e),0),this.values.set(n.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(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return 0===this.values.length?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(e){return e<0?0:(e=Lt(e),this._getPrefixSum(e))}_getPrefixSum(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 n=t;n<=e;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let t=0,n=this.values.length-1,r=0,i=0,o=0;for(;t<=n;)if(r=t+(n-t)/2|0,i=this.prefixSum[r],o=i-this.values[r],e<o)n=r-1;else{if(!(e>=i))break;t=r+1}return new xt(r,e-o)}}class xt{constructor(e,t){this.index=e,this.remainder=t,this._prefixSumIndexOfResultBrand=void 0,this.index=e,this.remainder=t}}class Pt{constructor(e,t,n,r){this._uri=e,this._lines=t,this._eol=n,this._versionId=r,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);const t=e.changes;for(const n of t)this._acceptDeleteRange(n.range),this._acceptInsertText(new It(n.range.startLineNumber,n.range.startColumn),n.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const e=this._eol.length,t=this._lines.length,n=new Uint32Array(t);for(let r=0;r<t;r++)n[r]=this._lines[r].length+e;this._lineStarts=new kt(n)}}_setLineText(e,t){this._lines[e]=t,this._lineStarts&&this._lineStarts.setValue(e,this._lines[e].length+this._eol.length)}_acceptDeleteRange(e){if(e.startLineNumber!==e.endLineNumber)this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.endLineNumber-1].substring(e.endColumn-1)),this._lines.splice(e.startLineNumber,e.endLineNumber-e.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(e.startLineNumber,e.endLineNumber-e.startLineNumber);else{if(e.startColumn===e.endColumn)return;this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.startLineNumber-1].substring(e.endColumn-1))}}_acceptInsertText(e,t){if(0===t.length)return;const n=t.split(/\r\n|\r|\n/);if(1===n.length)return void this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]+this._lines[e.lineNumber-1].substring(e.column-1));n[n.length-1]+=this._lines[e.lineNumber-1].substring(e.column-1),this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]);const r=new Uint32Array(n.length-1);for(let i=1;i<n.length;i++)this._lines.splice(e.lineNumber+i-1,0,n[i]),r[i-1]=n[i].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(e.lineNumber,r)}}const Mt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="(-?\\d*\\.\\d\\w*)|([^";for(const n of"`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?")e.indexOf(n)>=0||(t+="\\"+n);return t+="\\s]+)",new RegExp(t,"g")}();function Bt(e){let t=Mt;if(e&&e instanceof RegExp)if(e.global)t=e;else{let n="g";e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.unicode&&(n+="u"),t=new RegExp(e.source,n)}return t.lastIndex=0,t}const Vt=new b;function Ut(e,t,n,r,i){if(t=Bt(t),i||(i=c.first(Vt)),n.length>i.maxLen){let o=e-i.maxLen/2;return o<0?o=0:r+=o,Ut(e,t,n=n.substring(o,e+i.maxLen/2),r,i)}const o=Date.now(),s=e-1-r;let a=-1,u=null;for(let l=1;!(Date.now()-o>=i.timeBudget);l++){const e=s-i.windowSize*l;t.lastIndex=Math.max(0,e);const r=jt(t,n,s,a);if(!r&&u)break;if(u=r,e<=0)break;a=e}if(u){const e={word:u[0],startColumn:r+1+u.index,endColumn:r+1+u.index+u[0].length};return t.lastIndex=0,e}return null}function jt(e,t,n,r){let i;for(;i=e.exec(t);){const t=i.index||0;if(t<=n&&e.lastIndex>=n)return i;if(r>0&&t>r)return null}return null}Vt.unshift({maxLen:1e3,windowSize:15,timeBudget:150});class Kt{constructor(e){const t=Ft(e);this._defaultValue=t,this._asciiMap=Kt._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){const t=new Uint8Array(256);return t.fill(e),t}set(e,t){const n=Ft(t);e>=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}class Yt{constructor(e,t,n){const r=new Uint8Array(e*t);for(let i=0,o=e*t;i<o;i++)r[i]=n;this._data=r,this.rows=e,this.cols=t}get(e,t){return this._data[e*this.cols+t]}set(e,t,n){this._data[e*this.cols+t]=n}}class qt{constructor(e){let t=0,n=0;for(let i=0,o=e.length;i<o;i++){const[r,o,s]=e[i];o>t&&(t=o),r>n&&(n=r),s>n&&(n=s)}t++,n++;const r=new Yt(n,t,0);for(let i=0,o=e.length;i<o;i++){const[t,n,o]=e[i];r.set(t,n,o)}this._states=r,this._maxCharCode=t}nextState(e,t){return t<0||t>=this._maxCharCode?0:this._states.get(e,t)}}let Gt=null;let Ht=null;class zt{static _createLink(e,t,n,r,i){let o=i-1;do{const n=t.charCodeAt(o);if(2!==e.get(n))break;o--}while(o>r);if(r>0){const e=t.charCodeAt(r-1),n=t.charCodeAt(o);(40===e&&41===n||91===e&&93===n||123===e&&125===n)&&o--}return{range:{startLineNumber:n,startColumn:r+1,endLineNumber:n,endColumn:o+2},url:t.substring(r,o+1)}}static computeLinks(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(null===Gt&&(Gt=new qt([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),Gt);const n=function(){if(null===Ht){Ht=new Kt(0);const e=" \t<>'\"\u3001\u3002\uff61\uff64\uff0c\uff0e\uff1a\uff1b\u2018\u3008\u300c\u300e\u3014\uff08\uff3b\uff5b\uff62\uff63\uff5d\uff3d\uff09\u3015\u300f\u300d\u3009\u2019\uff40\uff5e\u2026";for(let n=0;n<e.length;n++)Ht.set(e.charCodeAt(n),1);const t=".,;:";for(let n=0;n<t.length;n++)Ht.set(t.charCodeAt(n),2)}return Ht}(),r=[];for(let i=1,o=e.getLineCount();i<=o;i++){const o=e.getLineContent(i),s=o.length;let a=0,u=0,l=0,c=1,d=!1,f=!1,h=!1,p=!1;for(;a<s;){let e=!1;const s=o.charCodeAt(a);if(13===c){let t;switch(s){case 40:d=!0,t=0;break;case 41:t=d?0:1;break;case 91:h=!0,f=!0,t=0;break;case 93:h=!1,t=f?0:1;break;case 123:p=!0,t=0;break;case 125:t=p?0:1;break;case 39:case 34:case 96:t=l===s?1:39===l||34===l||96===l?0:1;break;case 42:t=42===l?1:0;break;case 124:t=124===l?1:0;break;case 32:t=h?0:1;break;default:t=n.get(s)}1===t&&(r.push(zt._createLink(n,o,i,u,a)),e=!0)}else if(12===c){let t;91===s?(f=!0,t=0):t=n.get(s),1===t?e=!0:c=13}else c=t.nextState(c,s),0===c&&(e=!0);e&&(c=1,d=!1,f=!1,p=!1,u=a+1,l=s),a++}13===c&&r.push(zt._createLink(n,o,i,u,s))}return r}}class Wt{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}navigateValueSet(e,t,n,r,i){if(e&&t){const n=this.doNavigateValueSet(t,i);if(n)return{range:e,value:n}}if(n&&r){const e=this.doNavigateValueSet(r,i);if(e)return{range:n,value:e}}return null}doNavigateValueSet(e,t){const n=this.numberReplace(e,t);return null!==n?n:this.textReplace(e,t)}numberReplace(e,t){const n=Math.pow(10,e.length-(e.lastIndexOf(".")+1));let r=Number(e);const i=parseFloat(e);return isNaN(r)||isNaN(i)||r!==i?null:0!==r||t?(r=Math.floor(r*n),r+=t?n:-n,String(r/n)):null}textReplace(e,t){return this.valueSetsReplace(this._defaultValueSet,e,t)}valueSetsReplace(e,t,n){let r=null;for(let i=0,o=e.length;null===r&&i<o;i++)r=this.valueSetReplace(e[i],t,n);return r}valueSetReplace(e,t,n){let r=e.indexOf(t);return r>=0?(r+=n?1:-1,r<0?r=e.length-1:r%=e.length,e[r]):null}}Wt.INSTANCE=new Wt;const Qt=Object.freeze((function(e,t){const n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}}));var Jt;!function(e){e.isCancellationToken=function(t){return t===e.None||t===e.Cancelled||(t instanceof Xt||!(!t||"object"!==typeof t)&&("boolean"===typeof t.isCancellationRequested&&"function"===typeof t.onCancellationRequested))},e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:T.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:Qt})}(Jt||(Jt={}));class Xt{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?Qt:(this._emitter||(this._emitter=new R),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class $t{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new Xt),this._token}cancel(){this._token?this._token instanceof Xt&&this._token.cancel():this._token=Jt.Cancelled}dispose(){var e;arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.cancel(),null===(e=this._parentListener)||void 0===e||e.dispose(),this._token?this._token instanceof Xt&&this._token.dispose():this._token=Jt.None}}class Zt{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}const en=new Zt,tn=new Zt,nn=new Zt,rn=new Array(230),on={},sn=[],an=Object.create(null),un=Object.create(null),ln=[],cn=[];for(let n=0;n<=193;n++)ln[n]=-1;for(let n=0;n<=132;n++)cn[n]=-1;var dn;!function(){const e="",t=[[1,0,"None",0,"unknown",0,"VK_UNKNOWN",e,e],[1,1,"Hyper",0,e,0,e,e,e],[1,2,"Super",0,e,0,e,e,e],[1,3,"Fn",0,e,0,e,e,e],[1,4,"FnLock",0,e,0,e,e,e],[1,5,"Suspend",0,e,0,e,e,e],[1,6,"Resume",0,e,0,e,e,e],[1,7,"Turbo",0,e,0,e,e,e],[1,8,"Sleep",0,e,0,"VK_SLEEP",e,e],[1,9,"WakeUp",0,e,0,e,e,e],[0,10,"KeyA",31,"A",65,"VK_A",e,e],[0,11,"KeyB",32,"B",66,"VK_B",e,e],[0,12,"KeyC",33,"C",67,"VK_C",e,e],[0,13,"KeyD",34,"D",68,"VK_D",e,e],[0,14,"KeyE",35,"E",69,"VK_E",e,e],[0,15,"KeyF",36,"F",70,"VK_F",e,e],[0,16,"KeyG",37,"G",71,"VK_G",e,e],[0,17,"KeyH",38,"H",72,"VK_H",e,e],[0,18,"KeyI",39,"I",73,"VK_I",e,e],[0,19,"KeyJ",40,"J",74,"VK_J",e,e],[0,20,"KeyK",41,"K",75,"VK_K",e,e],[0,21,"KeyL",42,"L",76,"VK_L",e,e],[0,22,"KeyM",43,"M",77,"VK_M",e,e],[0,23,"KeyN",44,"N",78,"VK_N",e,e],[0,24,"KeyO",45,"O",79,"VK_O",e,e],[0,25,"KeyP",46,"P",80,"VK_P",e,e],[0,26,"KeyQ",47,"Q",81,"VK_Q",e,e],[0,27,"KeyR",48,"R",82,"VK_R",e,e],[0,28,"KeyS",49,"S",83,"VK_S",e,e],[0,29,"KeyT",50,"T",84,"VK_T",e,e],[0,30,"KeyU",51,"U",85,"VK_U",e,e],[0,31,"KeyV",52,"V",86,"VK_V",e,e],[0,32,"KeyW",53,"W",87,"VK_W",e,e],[0,33,"KeyX",54,"X",88,"VK_X",e,e],[0,34,"KeyY",55,"Y",89,"VK_Y",e,e],[0,35,"KeyZ",56,"Z",90,"VK_Z",e,e],[0,36,"Digit1",22,"1",49,"VK_1",e,e],[0,37,"Digit2",23,"2",50,"VK_2",e,e],[0,38,"Digit3",24,"3",51,"VK_3",e,e],[0,39,"Digit4",25,"4",52,"VK_4",e,e],[0,40,"Digit5",26,"5",53,"VK_5",e,e],[0,41,"Digit6",27,"6",54,"VK_6",e,e],[0,42,"Digit7",28,"7",55,"VK_7",e,e],[0,43,"Digit8",29,"8",56,"VK_8",e,e],[0,44,"Digit9",30,"9",57,"VK_9",e,e],[0,45,"Digit0",21,"0",48,"VK_0",e,e],[1,46,"Enter",3,"Enter",13,"VK_RETURN",e,e],[1,47,"Escape",9,"Escape",27,"VK_ESCAPE",e,e],[1,48,"Backspace",1,"Backspace",8,"VK_BACK",e,e],[1,49,"Tab",2,"Tab",9,"VK_TAB",e,e],[1,50,"Space",10,"Space",32,"VK_SPACE",e,e],[0,51,"Minus",88,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[0,52,"Equal",86,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[0,53,"BracketLeft",92,"[",219,"VK_OEM_4","[","OEM_4"],[0,54,"BracketRight",94,"]",221,"VK_OEM_6","]","OEM_6"],[0,55,"Backslash",93,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,56,"IntlHash",0,e,0,e,e,e],[0,57,"Semicolon",85,";",186,"VK_OEM_1",";","OEM_1"],[0,58,"Quote",95,"'",222,"VK_OEM_7","'","OEM_7"],[0,59,"Backquote",91,"`",192,"VK_OEM_3","`","OEM_3"],[0,60,"Comma",87,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[0,61,"Period",89,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[0,62,"Slash",90,"/",191,"VK_OEM_2","/","OEM_2"],[1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL",e,e],[1,64,"F1",59,"F1",112,"VK_F1",e,e],[1,65,"F2",60,"F2",113,"VK_F2",e,e],[1,66,"F3",61,"F3",114,"VK_F3",e,e],[1,67,"F4",62,"F4",115,"VK_F4",e,e],[1,68,"F5",63,"F5",116,"VK_F5",e,e],[1,69,"F6",64,"F6",117,"VK_F6",e,e],[1,70,"F7",65,"F7",118,"VK_F7",e,e],[1,71,"F8",66,"F8",119,"VK_F8",e,e],[1,72,"F9",67,"F9",120,"VK_F9",e,e],[1,73,"F10",68,"F10",121,"VK_F10",e,e],[1,74,"F11",69,"F11",122,"VK_F11",e,e],[1,75,"F12",70,"F12",123,"VK_F12",e,e],[1,76,"PrintScreen",0,e,0,e,e,e],[1,77,"ScrollLock",84,"ScrollLock",145,"VK_SCROLL",e,e],[1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE",e,e],[1,79,"Insert",19,"Insert",45,"VK_INSERT",e,e],[1,80,"Home",14,"Home",36,"VK_HOME",e,e],[1,81,"PageUp",11,"PageUp",33,"VK_PRIOR",e,e],[1,82,"Delete",20,"Delete",46,"VK_DELETE",e,e],[1,83,"End",13,"End",35,"VK_END",e,e],[1,84,"PageDown",12,"PageDown",34,"VK_NEXT",e,e],[1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",e],[1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",e],[1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",e],[1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",e],[1,89,"NumLock",83,"NumLock",144,"VK_NUMLOCK",e,e],[1,90,"NumpadDivide",113,"NumPad_Divide",111,"VK_DIVIDE",e,e],[1,91,"NumpadMultiply",108,"NumPad_Multiply",106,"VK_MULTIPLY",e,e],[1,92,"NumpadSubtract",111,"NumPad_Subtract",109,"VK_SUBTRACT",e,e],[1,93,"NumpadAdd",109,"NumPad_Add",107,"VK_ADD",e,e],[1,94,"NumpadEnter",3,e,0,e,e,e],[1,95,"Numpad1",99,"NumPad1",97,"VK_NUMPAD1",e,e],[1,96,"Numpad2",100,"NumPad2",98,"VK_NUMPAD2",e,e],[1,97,"Numpad3",101,"NumPad3",99,"VK_NUMPAD3",e,e],[1,98,"Numpad4",102,"NumPad4",100,"VK_NUMPAD4",e,e],[1,99,"Numpad5",103,"NumPad5",101,"VK_NUMPAD5",e,e],[1,100,"Numpad6",104,"NumPad6",102,"VK_NUMPAD6",e,e],[1,101,"Numpad7",105,"NumPad7",103,"VK_NUMPAD7",e,e],[1,102,"Numpad8",106,"NumPad8",104,"VK_NUMPAD8",e,e],[1,103,"Numpad9",107,"NumPad9",105,"VK_NUMPAD9",e,e],[1,104,"Numpad0",98,"NumPad0",96,"VK_NUMPAD0",e,e],[1,105,"NumpadDecimal",112,"NumPad_Decimal",110,"VK_DECIMAL",e,e],[0,106,"IntlBackslash",97,"OEM_102",226,"VK_OEM_102",e,e],[1,107,"ContextMenu",58,"ContextMenu",93,e,e,e],[1,108,"Power",0,e,0,e,e,e],[1,109,"NumpadEqual",0,e,0,e,e,e],[1,110,"F13",71,"F13",124,"VK_F13",e,e],[1,111,"F14",72,"F14",125,"VK_F14",e,e],[1,112,"F15",73,"F15",126,"VK_F15",e,e],[1,113,"F16",74,"F16",127,"VK_F16",e,e],[1,114,"F17",75,"F17",128,"VK_F17",e,e],[1,115,"F18",76,"F18",129,"VK_F18",e,e],[1,116,"F19",77,"F19",130,"VK_F19",e,e],[1,117,"F20",78,"F20",131,"VK_F20",e,e],[1,118,"F21",79,"F21",132,"VK_F21",e,e],[1,119,"F22",80,"F22",133,"VK_F22",e,e],[1,120,"F23",81,"F23",134,"VK_F23",e,e],[1,121,"F24",82,"F24",135,"VK_F24",e,e],[1,122,"Open",0,e,0,e,e,e],[1,123,"Help",0,e,0,e,e,e],[1,124,"Select",0,e,0,e,e,e],[1,125,"Again",0,e,0,e,e,e],[1,126,"Undo",0,e,0,e,e,e],[1,127,"Cut",0,e,0,e,e,e],[1,128,"Copy",0,e,0,e,e,e],[1,129,"Paste",0,e,0,e,e,e],[1,130,"Find",0,e,0,e,e,e],[1,131,"AudioVolumeMute",117,"AudioVolumeMute",173,"VK_VOLUME_MUTE",e,e],[1,132,"AudioVolumeUp",118,"AudioVolumeUp",175,"VK_VOLUME_UP",e,e],[1,133,"AudioVolumeDown",119,"AudioVolumeDown",174,"VK_VOLUME_DOWN",e,e],[1,134,"NumpadComma",110,"NumPad_Separator",108,"VK_SEPARATOR",e,e],[0,135,"IntlRo",115,"ABNT_C1",193,"VK_ABNT_C1",e,e],[1,136,"KanaMode",0,e,0,e,e,e],[0,137,"IntlYen",0,e,0,e,e,e],[1,138,"Convert",0,e,0,e,e,e],[1,139,"NonConvert",0,e,0,e,e,e],[1,140,"Lang1",0,e,0,e,e,e],[1,141,"Lang2",0,e,0,e,e,e],[1,142,"Lang3",0,e,0,e,e,e],[1,143,"Lang4",0,e,0,e,e,e],[1,144,"Lang5",0,e,0,e,e,e],[1,145,"Abort",0,e,0,e,e,e],[1,146,"Props",0,e,0,e,e,e],[1,147,"NumpadParenLeft",0,e,0,e,e,e],[1,148,"NumpadParenRight",0,e,0,e,e,e],[1,149,"NumpadBackspace",0,e,0,e,e,e],[1,150,"NumpadMemoryStore",0,e,0,e,e,e],[1,151,"NumpadMemoryRecall",0,e,0,e,e,e],[1,152,"NumpadMemoryClear",0,e,0,e,e,e],[1,153,"NumpadMemoryAdd",0,e,0,e,e,e],[1,154,"NumpadMemorySubtract",0,e,0,e,e,e],[1,155,"NumpadClear",131,"Clear",12,"VK_CLEAR",e,e],[1,156,"NumpadClearEntry",0,e,0,e,e,e],[1,0,e,5,"Ctrl",17,"VK_CONTROL",e,e],[1,0,e,4,"Shift",16,"VK_SHIFT",e,e],[1,0,e,6,"Alt",18,"VK_MENU",e,e],[1,0,e,57,"Meta",91,"VK_COMMAND",e,e],[1,157,"ControlLeft",5,e,0,"VK_LCONTROL",e,e],[1,158,"ShiftLeft",4,e,0,"VK_LSHIFT",e,e],[1,159,"AltLeft",6,e,0,"VK_LMENU",e,e],[1,160,"MetaLeft",57,e,0,"VK_LWIN",e,e],[1,161,"ControlRight",5,e,0,"VK_RCONTROL",e,e],[1,162,"ShiftRight",4,e,0,"VK_RSHIFT",e,e],[1,163,"AltRight",6,e,0,"VK_RMENU",e,e],[1,164,"MetaRight",57,e,0,"VK_RWIN",e,e],[1,165,"BrightnessUp",0,e,0,e,e,e],[1,166,"BrightnessDown",0,e,0,e,e,e],[1,167,"MediaPlay",0,e,0,e,e,e],[1,168,"MediaRecord",0,e,0,e,e,e],[1,169,"MediaFastForward",0,e,0,e,e,e],[1,170,"MediaRewind",0,e,0,e,e,e],[1,171,"MediaTrackNext",124,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK",e,e],[1,172,"MediaTrackPrevious",125,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK",e,e],[1,173,"MediaStop",126,"MediaStop",178,"VK_MEDIA_STOP",e,e],[1,174,"Eject",0,e,0,e,e,e],[1,175,"MediaPlayPause",127,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE",e,e],[1,176,"MediaSelect",128,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT",e,e],[1,177,"LaunchMail",129,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL",e,e],[1,178,"LaunchApp2",130,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2",e,e],[1,179,"LaunchApp1",0,e,0,"VK_MEDIA_LAUNCH_APP1",e,e],[1,180,"SelectTask",0,e,0,e,e,e],[1,181,"LaunchScreenSaver",0,e,0,e,e,e],[1,182,"BrowserSearch",120,"BrowserSearch",170,"VK_BROWSER_SEARCH",e,e],[1,183,"BrowserHome",121,"BrowserHome",172,"VK_BROWSER_HOME",e,e],[1,184,"BrowserBack",122,"BrowserBack",166,"VK_BROWSER_BACK",e,e],[1,185,"BrowserForward",123,"BrowserForward",167,"VK_BROWSER_FORWARD",e,e],[1,186,"BrowserStop",0,e,0,"VK_BROWSER_STOP",e,e],[1,187,"BrowserRefresh",0,e,0,"VK_BROWSER_REFRESH",e,e],[1,188,"BrowserFavorites",0,e,0,"VK_BROWSER_FAVORITES",e,e],[1,189,"ZoomToggle",0,e,0,e,e,e],[1,190,"MailReply",0,e,0,e,e,e],[1,191,"MailForward",0,e,0,e,e,e],[1,192,"MailSend",0,e,0,e,e,e],[1,0,e,114,"KeyInComposition",229,e,e,e],[1,0,e,116,"ABNT_C2",194,"VK_ABNT_C2",e,e],[1,0,e,96,"OEM_8",223,"VK_OEM_8",e,e],[1,0,e,0,e,0,"VK_KANA",e,e],[1,0,e,0,e,0,"VK_HANGUL",e,e],[1,0,e,0,e,0,"VK_JUNJA",e,e],[1,0,e,0,e,0,"VK_FINAL",e,e],[1,0,e,0,e,0,"VK_HANJA",e,e],[1,0,e,0,e,0,"VK_KANJI",e,e],[1,0,e,0,e,0,"VK_CONVERT",e,e],[1,0,e,0,e,0,"VK_NONCONVERT",e,e],[1,0,e,0,e,0,"VK_ACCEPT",e,e],[1,0,e,0,e,0,"VK_MODECHANGE",e,e],[1,0,e,0,e,0,"VK_SELECT",e,e],[1,0,e,0,e,0,"VK_PRINT",e,e],[1,0,e,0,e,0,"VK_EXECUTE",e,e],[1,0,e,0,e,0,"VK_SNAPSHOT",e,e],[1,0,e,0,e,0,"VK_HELP",e,e],[1,0,e,0,e,0,"VK_APPS",e,e],[1,0,e,0,e,0,"VK_PROCESSKEY",e,e],[1,0,e,0,e,0,"VK_PACKET",e,e],[1,0,e,0,e,0,"VK_DBE_SBCSCHAR",e,e],[1,0,e,0,e,0,"VK_DBE_DBCSCHAR",e,e],[1,0,e,0,e,0,"VK_ATTN",e,e],[1,0,e,0,e,0,"VK_CRSEL",e,e],[1,0,e,0,e,0,"VK_EXSEL",e,e],[1,0,e,0,e,0,"VK_EREOF",e,e],[1,0,e,0,e,0,"VK_PLAY",e,e],[1,0,e,0,e,0,"VK_ZOOM",e,e],[1,0,e,0,e,0,"VK_NONAME",e,e],[1,0,e,0,e,0,"VK_PA1",e,e],[1,0,e,0,e,0,"VK_OEM_CLEAR",e,e]],n=[],r=[];for(const i of t){const[e,t,o,s,a,u,l,c,d]=i;if(r[t]||(r[t]=!0,sn[t]=o,an[o]=t,un[o.toLowerCase()]=t,e&&(ln[t]=s,0!==s&&3!==s&&5!==s&&4!==s&&6!==s&&57!==s&&(cn[s]=t))),!n[s]){if(n[s]=!0,!a)throw new Error("String representation missing for key code ".concat(s," around scan code ").concat(o));en.define(s,a),tn.define(s,c||a),nn.define(s,d||c||a)}u&&(rn[u]=s),l&&(on[l]=s)}cn[3]=46}(),function(e){e.toString=function(e){return en.keyCodeToStr(e)},e.fromString=function(e){return en.strToKeyCode(e)},e.toUserSettingsUS=function(e){return tn.keyCodeToStr(e)},e.toUserSettingsGeneral=function(e){return nn.keyCodeToStr(e)},e.fromUserSettings=function(e){return tn.strToKeyCode(e)||nn.strToKeyCode(e)},e.toElectronAccelerator=function(e){if(e>=98&&e<=113)return null;switch(e){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return en.keyCodeToStr(e)}}(dn||(dn={}));class fn extends wt{constructor(e,t,n,r){super(e,t,n,r),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=n,this.positionColumn=r}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return fn.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new fn(this.startLineNumber,this.startColumn,e,t):new fn(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new It(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new It(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,t){return 0===this.getDirection()?new fn(e,t,this.endLineNumber,this.endColumn):new fn(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return new fn(e.lineNumber,e.column,t.lineNumber,t.column)}static fromRange(e,t){return 0===t?new fn(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new fn(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new fn(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n++)if(!this.selectionsEqual(e[n],t[n]))return!1;return!0}static isISelection(e){return e&&"number"===typeof e.selectionStartLineNumber&&"number"===typeof e.selectionStartColumn&&"number"===typeof e.positionLineNumber&&"number"===typeof e.positionColumn}static createWithDirection(e,t,n,r,i){return 0===i?new fn(e,t,n,r):new fn(n,r,e,t)}}function hn(e){return"string"===typeof e}const pn=Object.create(null);function gn(e,t){if(hn(t)){const n=pn[t];if(void 0===n)throw new Error("".concat(e," references an unknown codicon: ").concat(t));t=n}return pn[e]=t,{id:e}}const mn={add:gn("add",6e4),plus:gn("plus",6e4),gistNew:gn("gist-new",6e4),repoCreate:gn("repo-create",6e4),lightbulb:gn("lightbulb",60001),lightBulb:gn("light-bulb",60001),repo:gn("repo",60002),repoDelete:gn("repo-delete",60002),gistFork:gn("gist-fork",60003),repoForked:gn("repo-forked",60003),gitPullRequest:gn("git-pull-request",60004),gitPullRequestAbandoned:gn("git-pull-request-abandoned",60004),recordKeys:gn("record-keys",60005),keyboard:gn("keyboard",60005),tag:gn("tag",60006),tagAdd:gn("tag-add",60006),tagRemove:gn("tag-remove",60006),gitPullRequestLabel:gn("git-pull-request-label",60006),person:gn("person",60007),personFollow:gn("person-follow",60007),personOutline:gn("person-outline",60007),personFilled:gn("person-filled",60007),gitBranch:gn("git-branch",60008),gitBranchCreate:gn("git-branch-create",60008),gitBranchDelete:gn("git-branch-delete",60008),sourceControl:gn("source-control",60008),mirror:gn("mirror",60009),mirrorPublic:gn("mirror-public",60009),star:gn("star",60010),starAdd:gn("star-add",60010),starDelete:gn("star-delete",60010),starEmpty:gn("star-empty",60010),comment:gn("comment",60011),commentAdd:gn("comment-add",60011),alert:gn("alert",60012),warning:gn("warning",60012),search:gn("search",60013),searchSave:gn("search-save",60013),logOut:gn("log-out",60014),signOut:gn("sign-out",60014),logIn:gn("log-in",60015),signIn:gn("sign-in",60015),eye:gn("eye",60016),eyeUnwatch:gn("eye-unwatch",60016),eyeWatch:gn("eye-watch",60016),circleFilled:gn("circle-filled",60017),primitiveDot:gn("primitive-dot",60017),closeDirty:gn("close-dirty",60017),debugBreakpoint:gn("debug-breakpoint",60017),debugBreakpointDisabled:gn("debug-breakpoint-disabled",60017),debugHint:gn("debug-hint",60017),primitiveSquare:gn("primitive-square",60018),edit:gn("edit",60019),pencil:gn("pencil",60019),info:gn("info",60020),issueOpened:gn("issue-opened",60020),gistPrivate:gn("gist-private",60021),gitForkPrivate:gn("git-fork-private",60021),lock:gn("lock",60021),mirrorPrivate:gn("mirror-private",60021),close:gn("close",60022),removeClose:gn("remove-close",60022),x:gn("x",60022),repoSync:gn("repo-sync",60023),sync:gn("sync",60023),clone:gn("clone",60024),desktopDownload:gn("desktop-download",60024),beaker:gn("beaker",60025),microscope:gn("microscope",60025),vm:gn("vm",60026),deviceDesktop:gn("device-desktop",60026),file:gn("file",60027),fileText:gn("file-text",60027),more:gn("more",60028),ellipsis:gn("ellipsis",60028),kebabHorizontal:gn("kebab-horizontal",60028),mailReply:gn("mail-reply",60029),reply:gn("reply",60029),organization:gn("organization",60030),organizationFilled:gn("organization-filled",60030),organizationOutline:gn("organization-outline",60030),newFile:gn("new-file",60031),fileAdd:gn("file-add",60031),newFolder:gn("new-folder",60032),fileDirectoryCreate:gn("file-directory-create",60032),trash:gn("trash",60033),trashcan:gn("trashcan",60033),history:gn("history",60034),clock:gn("clock",60034),folder:gn("folder",60035),fileDirectory:gn("file-directory",60035),symbolFolder:gn("symbol-folder",60035),logoGithub:gn("logo-github",60036),markGithub:gn("mark-github",60036),github:gn("github",60036),terminal:gn("terminal",60037),console:gn("console",60037),repl:gn("repl",60037),zap:gn("zap",60038),symbolEvent:gn("symbol-event",60038),error:gn("error",60039),stop:gn("stop",60039),variable:gn("variable",60040),symbolVariable:gn("symbol-variable",60040),array:gn("array",60042),symbolArray:gn("symbol-array",60042),symbolModule:gn("symbol-module",60043),symbolPackage:gn("symbol-package",60043),symbolNamespace:gn("symbol-namespace",60043),symbolObject:gn("symbol-object",60043),symbolMethod:gn("symbol-method",60044),symbolFunction:gn("symbol-function",60044),symbolConstructor:gn("symbol-constructor",60044),symbolBoolean:gn("symbol-boolean",60047),symbolNull:gn("symbol-null",60047),symbolNumeric:gn("symbol-numeric",60048),symbolNumber:gn("symbol-number",60048),symbolStructure:gn("symbol-structure",60049),symbolStruct:gn("symbol-struct",60049),symbolParameter:gn("symbol-parameter",60050),symbolTypeParameter:gn("symbol-type-parameter",60050),symbolKey:gn("symbol-key",60051),symbolText:gn("symbol-text",60051),symbolReference:gn("symbol-reference",60052),goToFile:gn("go-to-file",60052),symbolEnum:gn("symbol-enum",60053),symbolValue:gn("symbol-value",60053),symbolRuler:gn("symbol-ruler",60054),symbolUnit:gn("symbol-unit",60054),activateBreakpoints:gn("activate-breakpoints",60055),archive:gn("archive",60056),arrowBoth:gn("arrow-both",60057),arrowDown:gn("arrow-down",60058),arrowLeft:gn("arrow-left",60059),arrowRight:gn("arrow-right",60060),arrowSmallDown:gn("arrow-small-down",60061),arrowSmallLeft:gn("arrow-small-left",60062),arrowSmallRight:gn("arrow-small-right",60063),arrowSmallUp:gn("arrow-small-up",60064),arrowUp:gn("arrow-up",60065),bell:gn("bell",60066),bold:gn("bold",60067),book:gn("book",60068),bookmark:gn("bookmark",60069),debugBreakpointConditionalUnverified:gn("debug-breakpoint-conditional-unverified",60070),debugBreakpointConditional:gn("debug-breakpoint-conditional",60071),debugBreakpointConditionalDisabled:gn("debug-breakpoint-conditional-disabled",60071),debugBreakpointDataUnverified:gn("debug-breakpoint-data-unverified",60072),debugBreakpointData:gn("debug-breakpoint-data",60073),debugBreakpointDataDisabled:gn("debug-breakpoint-data-disabled",60073),debugBreakpointLogUnverified:gn("debug-breakpoint-log-unverified",60074),debugBreakpointLog:gn("debug-breakpoint-log",60075),debugBreakpointLogDisabled:gn("debug-breakpoint-log-disabled",60075),briefcase:gn("briefcase",60076),broadcast:gn("broadcast",60077),browser:gn("browser",60078),bug:gn("bug",60079),calendar:gn("calendar",60080),caseSensitive:gn("case-sensitive",60081),check:gn("check",60082),checklist:gn("checklist",60083),chevronDown:gn("chevron-down",60084),dropDownButton:gn("drop-down-button",60084),chevronLeft:gn("chevron-left",60085),chevronRight:gn("chevron-right",60086),chevronUp:gn("chevron-up",60087),chromeClose:gn("chrome-close",60088),chromeMaximize:gn("chrome-maximize",60089),chromeMinimize:gn("chrome-minimize",60090),chromeRestore:gn("chrome-restore",60091),circle:gn("circle",60092),circleOutline:gn("circle-outline",60092),debugBreakpointUnverified:gn("debug-breakpoint-unverified",60092),circleSlash:gn("circle-slash",60093),circuitBoard:gn("circuit-board",60094),clearAll:gn("clear-all",60095),clippy:gn("clippy",60096),closeAll:gn("close-all",60097),cloudDownload:gn("cloud-download",60098),cloudUpload:gn("cloud-upload",60099),code:gn("code",60100),collapseAll:gn("collapse-all",60101),colorMode:gn("color-mode",60102),commentDiscussion:gn("comment-discussion",60103),compareChanges:gn("compare-changes",60157),creditCard:gn("credit-card",60105),dash:gn("dash",60108),dashboard:gn("dashboard",60109),database:gn("database",60110),debugContinue:gn("debug-continue",60111),debugDisconnect:gn("debug-disconnect",60112),debugPause:gn("debug-pause",60113),debugRestart:gn("debug-restart",60114),debugStart:gn("debug-start",60115),debugStepInto:gn("debug-step-into",60116),debugStepOut:gn("debug-step-out",60117),debugStepOver:gn("debug-step-over",60118),debugStop:gn("debug-stop",60119),debug:gn("debug",60120),deviceCameraVideo:gn("device-camera-video",60121),deviceCamera:gn("device-camera",60122),deviceMobile:gn("device-mobile",60123),diffAdded:gn("diff-added",60124),diffIgnored:gn("diff-ignored",60125),diffModified:gn("diff-modified",60126),diffRemoved:gn("diff-removed",60127),diffRenamed:gn("diff-renamed",60128),diff:gn("diff",60129),discard:gn("discard",60130),editorLayout:gn("editor-layout",60131),emptyWindow:gn("empty-window",60132),exclude:gn("exclude",60133),extensions:gn("extensions",60134),eyeClosed:gn("eye-closed",60135),fileBinary:gn("file-binary",60136),fileCode:gn("file-code",60137),fileMedia:gn("file-media",60138),filePdf:gn("file-pdf",60139),fileSubmodule:gn("file-submodule",60140),fileSymlinkDirectory:gn("file-symlink-directory",60141),fileSymlinkFile:gn("file-symlink-file",60142),fileZip:gn("file-zip",60143),files:gn("files",60144),filter:gn("filter",60145),flame:gn("flame",60146),foldDown:gn("fold-down",60147),foldUp:gn("fold-up",60148),fold:gn("fold",60149),folderActive:gn("folder-active",60150),folderOpened:gn("folder-opened",60151),gear:gn("gear",60152),gift:gn("gift",60153),gistSecret:gn("gist-secret",60154),gist:gn("gist",60155),gitCommit:gn("git-commit",60156),gitCompare:gn("git-compare",60157),gitMerge:gn("git-merge",60158),githubAction:gn("github-action",60159),githubAlt:gn("github-alt",60160),globe:gn("globe",60161),grabber:gn("grabber",60162),graph:gn("graph",60163),gripper:gn("gripper",60164),heart:gn("heart",60165),home:gn("home",60166),horizontalRule:gn("horizontal-rule",60167),hubot:gn("hubot",60168),inbox:gn("inbox",60169),issueClosed:gn("issue-closed",60324),issueReopened:gn("issue-reopened",60171),issues:gn("issues",60172),italic:gn("italic",60173),jersey:gn("jersey",60174),json:gn("json",60175),bracket:gn("bracket",60175),kebabVertical:gn("kebab-vertical",60176),key:gn("key",60177),law:gn("law",60178),lightbulbAutofix:gn("lightbulb-autofix",60179),linkExternal:gn("link-external",60180),link:gn("link",60181),listOrdered:gn("list-ordered",60182),listUnordered:gn("list-unordered",60183),liveShare:gn("live-share",60184),loading:gn("loading",60185),location:gn("location",60186),mailRead:gn("mail-read",60187),mail:gn("mail",60188),markdown:gn("markdown",60189),megaphone:gn("megaphone",60190),mention:gn("mention",60191),milestone:gn("milestone",60192),gitPullRequestMilestone:gn("git-pull-request-milestone",60192),mortarBoard:gn("mortar-board",60193),move:gn("move",60194),multipleWindows:gn("multiple-windows",60195),mute:gn("mute",60196),noNewline:gn("no-newline",60197),note:gn("note",60198),octoface:gn("octoface",60199),openPreview:gn("open-preview",60200),package:gn("package",60201),paintcan:gn("paintcan",60202),pin:gn("pin",60203),play:gn("play",60204),run:gn("run",60204),plug:gn("plug",60205),preserveCase:gn("preserve-case",60206),preview:gn("preview",60207),project:gn("project",60208),pulse:gn("pulse",60209),question:gn("question",60210),quote:gn("quote",60211),radioTower:gn("radio-tower",60212),reactions:gn("reactions",60213),references:gn("references",60214),refresh:gn("refresh",60215),regex:gn("regex",60216),remoteExplorer:gn("remote-explorer",60217),remote:gn("remote",60218),remove:gn("remove",60219),replaceAll:gn("replace-all",60220),replace:gn("replace",60221),repoClone:gn("repo-clone",60222),repoForcePush:gn("repo-force-push",60223),repoPull:gn("repo-pull",60224),repoPush:gn("repo-push",60225),report:gn("report",60226),requestChanges:gn("request-changes",60227),rocket:gn("rocket",60228),rootFolderOpened:gn("root-folder-opened",60229),rootFolder:gn("root-folder",60230),rss:gn("rss",60231),ruby:gn("ruby",60232),saveAll:gn("save-all",60233),saveAs:gn("save-as",60234),save:gn("save",60235),screenFull:gn("screen-full",60236),screenNormal:gn("screen-normal",60237),searchStop:gn("search-stop",60238),server:gn("server",60240),settingsGear:gn("settings-gear",60241),settings:gn("settings",60242),shield:gn("shield",60243),smiley:gn("smiley",60244),sortPrecedence:gn("sort-precedence",60245),splitHorizontal:gn("split-horizontal",60246),splitVertical:gn("split-vertical",60247),squirrel:gn("squirrel",60248),starFull:gn("star-full",60249),starHalf:gn("star-half",60250),symbolClass:gn("symbol-class",60251),symbolColor:gn("symbol-color",60252),symbolCustomColor:gn("symbol-customcolor",60252),symbolConstant:gn("symbol-constant",60253),symbolEnumMember:gn("symbol-enum-member",60254),symbolField:gn("symbol-field",60255),symbolFile:gn("symbol-file",60256),symbolInterface:gn("symbol-interface",60257),symbolKeyword:gn("symbol-keyword",60258),symbolMisc:gn("symbol-misc",60259),symbolOperator:gn("symbol-operator",60260),symbolProperty:gn("symbol-property",60261),wrench:gn("wrench",60261),wrenchSubaction:gn("wrench-subaction",60261),symbolSnippet:gn("symbol-snippet",60262),tasklist:gn("tasklist",60263),telescope:gn("telescope",60264),textSize:gn("text-size",60265),threeBars:gn("three-bars",60266),thumbsdown:gn("thumbsdown",60267),thumbsup:gn("thumbsup",60268),tools:gn("tools",60269),triangleDown:gn("triangle-down",60270),triangleLeft:gn("triangle-left",60271),triangleRight:gn("triangle-right",60272),triangleUp:gn("triangle-up",60273),twitter:gn("twitter",60274),unfold:gn("unfold",60275),unlock:gn("unlock",60276),unmute:gn("unmute",60277),unverified:gn("unverified",60278),verified:gn("verified",60279),versions:gn("versions",60280),vmActive:gn("vm-active",60281),vmOutline:gn("vm-outline",60282),vmRunning:gn("vm-running",60283),watch:gn("watch",60284),whitespace:gn("whitespace",60285),wholeWord:gn("whole-word",60286),window:gn("window",60287),wordWrap:gn("word-wrap",60288),zoomIn:gn("zoom-in",60289),zoomOut:gn("zoom-out",60290),listFilter:gn("list-filter",60291),listFlat:gn("list-flat",60292),listSelection:gn("list-selection",60293),selection:gn("selection",60293),listTree:gn("list-tree",60294),debugBreakpointFunctionUnverified:gn("debug-breakpoint-function-unverified",60295),debugBreakpointFunction:gn("debug-breakpoint-function",60296),debugBreakpointFunctionDisabled:gn("debug-breakpoint-function-disabled",60296),debugStackframeActive:gn("debug-stackframe-active",60297),circleSmallFilled:gn("circle-small-filled",60298),debugStackframeDot:gn("debug-stackframe-dot",60298),debugStackframe:gn("debug-stackframe",60299),debugStackframeFocused:gn("debug-stackframe-focused",60299),debugBreakpointUnsupported:gn("debug-breakpoint-unsupported",60300),symbolString:gn("symbol-string",60301),debugReverseContinue:gn("debug-reverse-continue",60302),debugStepBack:gn("debug-step-back",60303),debugRestartFrame:gn("debug-restart-frame",60304),callIncoming:gn("call-incoming",60306),callOutgoing:gn("call-outgoing",60307),menu:gn("menu",60308),expandAll:gn("expand-all",60309),feedback:gn("feedback",60310),gitPullRequestReviewer:gn("git-pull-request-reviewer",60310),groupByRefType:gn("group-by-ref-type",60311),ungroupByRefType:gn("ungroup-by-ref-type",60312),account:gn("account",60313),gitPullRequestAssignee:gn("git-pull-request-assignee",60313),bellDot:gn("bell-dot",60314),debugConsole:gn("debug-console",60315),library:gn("library",60316),output:gn("output",60317),runAll:gn("run-all",60318),syncIgnored:gn("sync-ignored",60319),pinned:gn("pinned",60320),githubInverted:gn("github-inverted",60321),debugAlt:gn("debug-alt",60305),serverProcess:gn("server-process",60322),serverEnvironment:gn("server-environment",60323),pass:gn("pass",60324),stopCircle:gn("stop-circle",60325),playCircle:gn("play-circle",60326),record:gn("record",60327),debugAltSmall:gn("debug-alt-small",60328),vmConnect:gn("vm-connect",60329),cloud:gn("cloud",60330),merge:gn("merge",60331),exportIcon:gn("export",60332),graphLeft:gn("graph-left",60333),magnet:gn("magnet",60334),notebook:gn("notebook",60335),redo:gn("redo",60336),checkAll:gn("check-all",60337),pinnedDirty:gn("pinned-dirty",60338),passFilled:gn("pass-filled",60339),circleLargeFilled:gn("circle-large-filled",60340),circleLarge:gn("circle-large",60341),circleLargeOutline:gn("circle-large-outline",60341),combine:gn("combine",60342),gather:gn("gather",60342),table:gn("table",60343),variableGroup:gn("variable-group",60344),typeHierarchy:gn("type-hierarchy",60345),typeHierarchySub:gn("type-hierarchy-sub",60346),typeHierarchySuper:gn("type-hierarchy-super",60347),gitPullRequestCreate:gn("git-pull-request-create",60348),runAbove:gn("run-above",60349),runBelow:gn("run-below",60350),notebookTemplate:gn("notebook-template",60351),debugRerun:gn("debug-rerun",60352),workspaceTrusted:gn("workspace-trusted",60353),workspaceUntrusted:gn("workspace-untrusted",60354),workspaceUnspecified:gn("workspace-unspecified",60355),terminalCmd:gn("terminal-cmd",60356),terminalDebian:gn("terminal-debian",60357),terminalLinux:gn("terminal-linux",60358),terminalPowershell:gn("terminal-powershell",60359),terminalTmux:gn("terminal-tmux",60360),terminalUbuntu:gn("terminal-ubuntu",60361),terminalBash:gn("terminal-bash",60362),arrowSwap:gn("arrow-swap",60363),copy:gn("copy",60364),personAdd:gn("person-add",60365),filterFilled:gn("filter-filled",60366),wand:gn("wand",60367),debugLineByLine:gn("debug-line-by-line",60368),inspect:gn("inspect",60369),layers:gn("layers",60370),layersDot:gn("layers-dot",60371),layersActive:gn("layers-active",60372),compass:gn("compass",60373),compassDot:gn("compass-dot",60374),compassActive:gn("compass-active",60375),azure:gn("azure",60376),issueDraft:gn("issue-draft",60377),gitPullRequestClosed:gn("git-pull-request-closed",60378),gitPullRequestDraft:gn("git-pull-request-draft",60379),debugAll:gn("debug-all",60380),debugCoverage:gn("debug-coverage",60381),runErrors:gn("run-errors",60382),folderLibrary:gn("folder-library",60383),debugContinueSmall:gn("debug-continue-small",60384),beakerStop:gn("beaker-stop",60385),graphLine:gn("graph-line",60386),graphScatter:gn("graph-scatter",60387),pieChart:gn("pie-chart",60388),bracketDot:gn("bracket-dot",60389),bracketError:gn("bracket-error",60390),lockSmall:gn("lock-small",60391),azureDevops:gn("azure-devops",60392),verifiedFilled:gn("verified-filled",60393),newLine:gn("newline",60394),layout:gn("layout",60395),layoutActivitybarLeft:gn("layout-activitybar-left",60396),layoutActivitybarRight:gn("layout-activitybar-right",60397),layoutPanelLeft:gn("layout-panel-left",60398),layoutPanelCenter:gn("layout-panel-center",60399),layoutPanelJustify:gn("layout-panel-justify",60400),layoutPanelRight:gn("layout-panel-right",60401),layoutPanel:gn("layout-panel",60402),layoutSidebarLeft:gn("layout-sidebar-left",60403),layoutSidebarRight:gn("layout-sidebar-right",60404),layoutStatusbar:gn("layout-statusbar",60405),layoutMenubar:gn("layout-menubar",60406),layoutCentered:gn("layout-centered",60407),layoutSidebarRightOff:gn("layout-sidebar-right-off",60416),layoutPanelOff:gn("layout-panel-off",60417),layoutSidebarLeftOff:gn("layout-sidebar-left-off",60418),target:gn("target",60408),indent:gn("indent",60409),recordSmall:gn("record-small",60410),errorSmall:gn("error-small",60411),arrowCircleDown:gn("arrow-circle-down",60412),arrowCircleLeft:gn("arrow-circle-left",60413),arrowCircleRight:gn("arrow-circle-right",60414),arrowCircleUp:gn("arrow-circle-up",60415),heartFilled:gn("heart-filled",60420),map:gn("map",60421),mapFilled:gn("map-filled",60422),circleSmall:gn("circle-small",60423),bellSlash:gn("bell-slash",60424),bellSlashDot:gn("bell-slash-dot",60425),commentUnresolved:gn("comment-unresolved",60426),gitPullRequestGoToChanges:gn("git-pull-request-go-to-changes",60427),gitPullRequestNewChanges:gn("git-pull-request-new-changes",60428),searchFuzzy:gn("search-fuzzy",60429),commentDraft:gn("comment-draft",60430),send:gn("send",60431),sparkle:gn("sparkle",60432),insert:gn("insert",60433),mic:gn("mic",60434),thumbsDownFilled:gn("thumbsdown-filled",60435),thumbsUpFilled:gn("thumbsup-filled",60436),coffee:gn("coffee",60437),snake:gn("snake",60438),game:gn("game",60439),vr:gn("vr",60440),chip:gn("chip",60441),piano:gn("piano",60442),music:gn("music",60443),micFilled:gn("mic-filled",60444),gitFetch:gn("git-fetch",60445),copilot:gn("copilot",60446),lightbulbSparkle:gn("lightbulb-sparkle",60447),lightbulbSparkleAutofix:gn("lightbulb-sparkle-autofix",60447),robot:gn("robot",60448),sparkleFilled:gn("sparkle-filled",60449),diffSingle:gn("diff-single",60450),diffMultiple:gn("diff-multiple",60451),dialogError:gn("dialog-error","error"),dialogWarning:gn("dialog-warning","warning"),dialogInfo:gn("dialog-info","info"),dialogClose:gn("dialog-close","close"),treeItemExpanded:gn("tree-item-expanded","chevron-down"),treeFilterOnTypeOn:gn("tree-filter-on-type-on","list-filter"),treeFilterOnTypeOff:gn("tree-filter-on-type-off","list-selection"),treeFilterClear:gn("tree-filter-clear","close"),treeItemLoading:gn("tree-item-loading","loading"),menuSelection:gn("menu-selection","check"),menuSubmenu:gn("menu-submenu","chevron-right"),menuBarMore:gn("menubar-more","more"),scrollbarButtonLeft:gn("scrollbar-button-left","triangle-left"),scrollbarButtonRight:gn("scrollbar-button-right","triangle-right"),scrollbarButtonUp:gn("scrollbar-button-up","triangle-up"),scrollbarButtonDown:gn("scrollbar-button-down","triangle-down"),toolBarMore:gn("toolbar-more","more"),quickInputBack:gn("quick-input-back","arrow-left")};class vn extends _{get isResolved(){return this._isResolved}constructor(e,t,n){super(),this._registry=e,this._languageId=t,this._factory=n,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}dispose(){this._isDisposed=!0,super.dispose()}async resolve(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise}async _create(){const e=await this._factory.tokenizationSupport;this._isResolved=!0,e&&!this._isDisposed&&this._register(this._registry.register(this._languageId,e))}}class yn{constructor(e,t,n){this.offset=e,this.type=t,this.language=n,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}}var _n,En,bn,Dn;!function(e){const t=new Map;t.set(0,mn.symbolMethod),t.set(1,mn.symbolFunction),t.set(2,mn.symbolConstructor),t.set(3,mn.symbolField),t.set(4,mn.symbolVariable),t.set(5,mn.symbolClass),t.set(6,mn.symbolStruct),t.set(7,mn.symbolInterface),t.set(8,mn.symbolModule),t.set(9,mn.symbolProperty),t.set(10,mn.symbolEvent),t.set(11,mn.symbolOperator),t.set(12,mn.symbolUnit),t.set(13,mn.symbolValue),t.set(15,mn.symbolEnum),t.set(14,mn.symbolConstant),t.set(15,mn.symbolEnum),t.set(16,mn.symbolEnumMember),t.set(17,mn.symbolKeyword),t.set(27,mn.symbolSnippet),t.set(18,mn.symbolText),t.set(19,mn.symbolColor),t.set(20,mn.symbolFile),t.set(21,mn.symbolReference),t.set(22,mn.symbolCustomColor),t.set(23,mn.symbolFolder),t.set(24,mn.symbolTypeParameter),t.set(25,mn.account),t.set(26,mn.issues),e.toIcon=function(e){let n=t.get(e);return n||(console.info("No codicon found for CompletionItemKind "+e),n=mn.symbolProperty),n};const n=new Map;n.set("method",0),n.set("function",1),n.set("constructor",2),n.set("field",3),n.set("variable",4),n.set("class",5),n.set("struct",6),n.set("interface",7),n.set("module",8),n.set("property",9),n.set("event",10),n.set("operator",11),n.set("unit",12),n.set("value",13),n.set("constant",14),n.set("enum",15),n.set("enum-member",16),n.set("enumMember",16),n.set("keyword",17),n.set("snippet",27),n.set("text",18),n.set("color",19),n.set("file",20),n.set("reference",21),n.set("customcolor",22),n.set("folder",23),n.set("type-parameter",24),n.set("typeParameter",24),n.set("account",25),n.set("issue",26),e.fromString=function(e,t){let r=n.get(e);return"undefined"!==typeof r||t||(r=9),r}}(_n||(_n={})),function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"}(En||(En={}));!function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(bn||(bn={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(Dn||(Dn={}));k("Array","array"),k("Boolean","boolean"),k("Class","class"),k("Constant","constant"),k("Constructor","constructor"),k("Enum","enumeration"),k("EnumMember","enumeration member"),k("Event","event"),k("Field","field"),k("File","file"),k("Function","function"),k("Interface","interface"),k("Key","key"),k("Method","method"),k("Module","module"),k("Namespace","namespace"),k("Null","null"),k("Number","number"),k("Object","object"),k("Operator","operator"),k("Package","package"),k("Property","property"),k("String","string"),k("Struct","struct"),k("TypeParameter","type parameter"),k("Variable","variable");var Nn,Tn,Sn;!function(e){const t=new Map;t.set(0,mn.symbolFile),t.set(1,mn.symbolModule),t.set(2,mn.symbolNamespace),t.set(3,mn.symbolPackage),t.set(4,mn.symbolClass),t.set(5,mn.symbolMethod),t.set(6,mn.symbolProperty),t.set(7,mn.symbolField),t.set(8,mn.symbolConstructor),t.set(9,mn.symbolEnum),t.set(10,mn.symbolInterface),t.set(11,mn.symbolFunction),t.set(12,mn.symbolVariable),t.set(13,mn.symbolConstant),t.set(14,mn.symbolString),t.set(15,mn.symbolNumber),t.set(16,mn.symbolBoolean),t.set(17,mn.symbolArray),t.set(18,mn.symbolObject),t.set(19,mn.symbolKey),t.set(20,mn.symbolNull),t.set(21,mn.symbolEnumMember),t.set(22,mn.symbolStruct),t.set(23,mn.symbolEvent),t.set(24,mn.symbolOperator),t.set(25,mn.symbolTypeParameter),e.toIcon=function(e){let n=t.get(e);return n||(console.info("No codicon found for SymbolKind "+e),n=mn.symbolProperty),n}}(Nn||(Nn={}));class In{static fromValue(e){switch(e){case"comment":return In.Comment;case"imports":return In.Imports;case"region":return In.Region}return new In(e)}constructor(e){this.value=e}}In.Comment=new In("comment"),In.Imports=new In("imports"),In.Region=new In("region"),function(e){e.is=function(e){return!(!e||"object"!==typeof e)&&("string"===typeof e.id&&"string"===typeof e.title)}}(Tn||(Tn={})),function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"}(Sn||(Sn={}));new class{constructor(){this._tokenizationSupports=new Map,this._factories=new Map,this._onDidChange=new R,this.onDidChange=this._onDidChange.event,this._colorMap=null}handleChange(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})}register(e,t){return this._tokenizationSupports.set(e,t),this.handleChange([e]),v((()=>{this._tokenizationSupports.get(e)===t&&(this._tokenizationSupports.delete(e),this.handleChange([e]))}))}get(e){return this._tokenizationSupports.get(e)||null}registerFactory(e,t){var n;null===(n=this._factories.get(e))||void 0===n||n.dispose();const r=new vn(this,e,t);return this._factories.set(e,r),v((()=>{const t=this._factories.get(e);t&&t===r&&(this._factories.delete(e),t.dispose())}))}async getOrCreate(e){const t=this.get(e);if(t)return t;const n=this._factories.get(e);return!n||n.isResolved?null:(await n.resolve(),this.get(e))}isResolved(e){if(this.get(e))return!0;const t=this._factories.get(e);return!(t&&!t.isResolved)}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}};var wn,An,Rn,Cn,On,Fn,Ln,kn,xn,Pn,Mn,Bn,Vn,Un,jn,Kn,Yn,qn,Gn,Hn,zn,Wn,Qn,Jn,Xn,$n,Zn,er,tr,nr,rr,ir,or,sr,ar,ur,lr,cr,dr,fr;!function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"}(wn||(wn={})),function(e){e[e.Invoke=1]="Invoke",e[e.Auto=2]="Auto"}(An||(An={})),function(e){e[e.None=0]="None",e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"}(Rn||(Rn={})),function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.User=25]="User",e[e.Issue=26]="Issue",e[e.Snippet=27]="Snippet"}(Cn||(Cn={})),function(e){e[e.Deprecated=1]="Deprecated"}(On||(On={})),function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"}(Fn||(Fn={})),function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"}(Ln||(Ln={})),function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"}(kn||(kn={})),function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(xn||(xn={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(Pn||(Pn={})),function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"}(Mn||(Mn={})),function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.ariaLabel=4]="ariaLabel",e[e.ariaRequired=5]="ariaRequired",e[e.autoClosingBrackets=6]="autoClosingBrackets",e[e.autoClosingComments=7]="autoClosingComments",e[e.screenReaderAnnounceInlineSuggestion=8]="screenReaderAnnounceInlineSuggestion",e[e.autoClosingDelete=9]="autoClosingDelete",e[e.autoClosingOvertype=10]="autoClosingOvertype",e[e.autoClosingQuotes=11]="autoClosingQuotes",e[e.autoIndent=12]="autoIndent",e[e.automaticLayout=13]="automaticLayout",e[e.autoSurround=14]="autoSurround",e[e.bracketPairColorization=15]="bracketPairColorization",e[e.guides=16]="guides",e[e.codeLens=17]="codeLens",e[e.codeLensFontFamily=18]="codeLensFontFamily",e[e.codeLensFontSize=19]="codeLensFontSize",e[e.colorDecorators=20]="colorDecorators",e[e.colorDecoratorsLimit=21]="colorDecoratorsLimit",e[e.columnSelection=22]="columnSelection",e[e.comments=23]="comments",e[e.contextmenu=24]="contextmenu",e[e.copyWithSyntaxHighlighting=25]="copyWithSyntaxHighlighting",e[e.cursorBlinking=26]="cursorBlinking",e[e.cursorSmoothCaretAnimation=27]="cursorSmoothCaretAnimation",e[e.cursorStyle=28]="cursorStyle",e[e.cursorSurroundingLines=29]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=30]="cursorSurroundingLinesStyle",e[e.cursorWidth=31]="cursorWidth",e[e.disableLayerHinting=32]="disableLayerHinting",e[e.disableMonospaceOptimizations=33]="disableMonospaceOptimizations",e[e.domReadOnly=34]="domReadOnly",e[e.dragAndDrop=35]="dragAndDrop",e[e.dropIntoEditor=36]="dropIntoEditor",e[e.emptySelectionClipboard=37]="emptySelectionClipboard",e[e.experimentalWhitespaceRendering=38]="experimentalWhitespaceRendering",e[e.extraEditorClassName=39]="extraEditorClassName",e[e.fastScrollSensitivity=40]="fastScrollSensitivity",e[e.find=41]="find",e[e.fixedOverflowWidgets=42]="fixedOverflowWidgets",e[e.folding=43]="folding",e[e.foldingStrategy=44]="foldingStrategy",e[e.foldingHighlight=45]="foldingHighlight",e[e.foldingImportsByDefault=46]="foldingImportsByDefault",e[e.foldingMaximumRegions=47]="foldingMaximumRegions",e[e.unfoldOnClickAfterEndOfLine=48]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=49]="fontFamily",e[e.fontInfo=50]="fontInfo",e[e.fontLigatures=51]="fontLigatures",e[e.fontSize=52]="fontSize",e[e.fontWeight=53]="fontWeight",e[e.fontVariations=54]="fontVariations",e[e.formatOnPaste=55]="formatOnPaste",e[e.formatOnType=56]="formatOnType",e[e.glyphMargin=57]="glyphMargin",e[e.gotoLocation=58]="gotoLocation",e[e.hideCursorInOverviewRuler=59]="hideCursorInOverviewRuler",e[e.hover=60]="hover",e[e.inDiffEditor=61]="inDiffEditor",e[e.inlineSuggest=62]="inlineSuggest",e[e.letterSpacing=63]="letterSpacing",e[e.lightbulb=64]="lightbulb",e[e.lineDecorationsWidth=65]="lineDecorationsWidth",e[e.lineHeight=66]="lineHeight",e[e.lineNumbers=67]="lineNumbers",e[e.lineNumbersMinChars=68]="lineNumbersMinChars",e[e.linkedEditing=69]="linkedEditing",e[e.links=70]="links",e[e.matchBrackets=71]="matchBrackets",e[e.minimap=72]="minimap",e[e.mouseStyle=73]="mouseStyle",e[e.mouseWheelScrollSensitivity=74]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=75]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=76]="multiCursorMergeOverlapping",e[e.multiCursorModifier=77]="multiCursorModifier",e[e.multiCursorPaste=78]="multiCursorPaste",e[e.multiCursorLimit=79]="multiCursorLimit",e[e.occurrencesHighlight=80]="occurrencesHighlight",e[e.overviewRulerBorder=81]="overviewRulerBorder",e[e.overviewRulerLanes=82]="overviewRulerLanes",e[e.padding=83]="padding",e[e.pasteAs=84]="pasteAs",e[e.parameterHints=85]="parameterHints",e[e.peekWidgetDefaultFocus=86]="peekWidgetDefaultFocus",e[e.definitionLinkOpensInPeek=87]="definitionLinkOpensInPeek",e[e.quickSuggestions=88]="quickSuggestions",e[e.quickSuggestionsDelay=89]="quickSuggestionsDelay",e[e.readOnly=90]="readOnly",e[e.readOnlyMessage=91]="readOnlyMessage",e[e.renameOnType=92]="renameOnType",e[e.renderControlCharacters=93]="renderControlCharacters",e[e.renderFinalNewline=94]="renderFinalNewline",e[e.renderLineHighlight=95]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=96]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=97]="renderValidationDecorations",e[e.renderWhitespace=98]="renderWhitespace",e[e.revealHorizontalRightPadding=99]="revealHorizontalRightPadding",e[e.roundedSelection=100]="roundedSelection",e[e.rulers=101]="rulers",e[e.scrollbar=102]="scrollbar",e[e.scrollBeyondLastColumn=103]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=104]="scrollBeyondLastLine",e[e.scrollPredominantAxis=105]="scrollPredominantAxis",e[e.selectionClipboard=106]="selectionClipboard",e[e.selectionHighlight=107]="selectionHighlight",e[e.selectOnLineNumbers=108]="selectOnLineNumbers",e[e.showFoldingControls=109]="showFoldingControls",e[e.showUnused=110]="showUnused",e[e.snippetSuggestions=111]="snippetSuggestions",e[e.smartSelect=112]="smartSelect",e[e.smoothScrolling=113]="smoothScrolling",e[e.stickyScroll=114]="stickyScroll",e[e.stickyTabStops=115]="stickyTabStops",e[e.stopRenderingLineAfter=116]="stopRenderingLineAfter",e[e.suggest=117]="suggest",e[e.suggestFontSize=118]="suggestFontSize",e[e.suggestLineHeight=119]="suggestLineHeight",e[e.suggestOnTriggerCharacters=120]="suggestOnTriggerCharacters",e[e.suggestSelection=121]="suggestSelection",e[e.tabCompletion=122]="tabCompletion",e[e.tabIndex=123]="tabIndex",e[e.unicodeHighlighting=124]="unicodeHighlighting",e[e.unusualLineTerminators=125]="unusualLineTerminators",e[e.useShadowDOM=126]="useShadowDOM",e[e.useTabStops=127]="useTabStops",e[e.wordBreak=128]="wordBreak",e[e.wordSeparators=129]="wordSeparators",e[e.wordWrap=130]="wordWrap",e[e.wordWrapBreakAfterCharacters=131]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=132]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=133]="wordWrapColumn",e[e.wordWrapOverride1=134]="wordWrapOverride1",e[e.wordWrapOverride2=135]="wordWrapOverride2",e[e.wrappingIndent=136]="wrappingIndent",e[e.wrappingStrategy=137]="wrappingStrategy",e[e.showDeprecated=138]="showDeprecated",e[e.inlayHints=139]="inlayHints",e[e.editorClassName=140]="editorClassName",e[e.pixelRatio=141]="pixelRatio",e[e.tabFocusMode=142]="tabFocusMode",e[e.layoutInfo=143]="layoutInfo",e[e.wrappingInfo=144]="wrappingInfo",e[e.defaultColorDecorators=145]="defaultColorDecorators",e[e.colorDecoratorsActivatedOn=146]="colorDecoratorsActivatedOn",e[e.inlineCompletionsAccessibilityVerbose=147]="inlineCompletionsAccessibilityVerbose"}(Bn||(Bn={})),function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(Vn||(Vn={})),function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"}(Un||(Un={})),function(e){e[e.Left=1]="Left",e[e.Right=2]="Right"}(jn||(jn={})),function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"}(Kn||(Kn={})),function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"}(Yn||(Yn={})),function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"}(qn||(qn={})),function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"}(Gn||(Gn={})),function(e){e[e.DependsOnKbLayout=-1]="DependsOnKbLayout",e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.Digit0=21]="Digit0",e[e.Digit1=22]="Digit1",e[e.Digit2=23]="Digit2",e[e.Digit3=24]="Digit3",e[e.Digit4=25]="Digit4",e[e.Digit5=26]="Digit5",e[e.Digit6=27]="Digit6",e[e.Digit7=28]="Digit7",e[e.Digit8=29]="Digit8",e[e.Digit9=30]="Digit9",e[e.KeyA=31]="KeyA",e[e.KeyB=32]="KeyB",e[e.KeyC=33]="KeyC",e[e.KeyD=34]="KeyD",e[e.KeyE=35]="KeyE",e[e.KeyF=36]="KeyF",e[e.KeyG=37]="KeyG",e[e.KeyH=38]="KeyH",e[e.KeyI=39]="KeyI",e[e.KeyJ=40]="KeyJ",e[e.KeyK=41]="KeyK",e[e.KeyL=42]="KeyL",e[e.KeyM=43]="KeyM",e[e.KeyN=44]="KeyN",e[e.KeyO=45]="KeyO",e[e.KeyP=46]="KeyP",e[e.KeyQ=47]="KeyQ",e[e.KeyR=48]="KeyR",e[e.KeyS=49]="KeyS",e[e.KeyT=50]="KeyT",e[e.KeyU=51]="KeyU",e[e.KeyV=52]="KeyV",e[e.KeyW=53]="KeyW",e[e.KeyX=54]="KeyX",e[e.KeyY=55]="KeyY",e[e.KeyZ=56]="KeyZ",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.F20=78]="F20",e[e.F21=79]="F21",e[e.F22=80]="F22",e[e.F23=81]="F23",e[e.F24=82]="F24",e[e.NumLock=83]="NumLock",e[e.ScrollLock=84]="ScrollLock",e[e.Semicolon=85]="Semicolon",e[e.Equal=86]="Equal",e[e.Comma=87]="Comma",e[e.Minus=88]="Minus",e[e.Period=89]="Period",e[e.Slash=90]="Slash",e[e.Backquote=91]="Backquote",e[e.BracketLeft=92]="BracketLeft",e[e.Backslash=93]="Backslash",e[e.BracketRight=94]="BracketRight",e[e.Quote=95]="Quote",e[e.OEM_8=96]="OEM_8",e[e.IntlBackslash=97]="IntlBackslash",e[e.Numpad0=98]="Numpad0",e[e.Numpad1=99]="Numpad1",e[e.Numpad2=100]="Numpad2",e[e.Numpad3=101]="Numpad3",e[e.Numpad4=102]="Numpad4",e[e.Numpad5=103]="Numpad5",e[e.Numpad6=104]="Numpad6",e[e.Numpad7=105]="Numpad7",e[e.Numpad8=106]="Numpad8",e[e.Numpad9=107]="Numpad9",e[e.NumpadMultiply=108]="NumpadMultiply",e[e.NumpadAdd=109]="NumpadAdd",e[e.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",e[e.NumpadSubtract=111]="NumpadSubtract",e[e.NumpadDecimal=112]="NumpadDecimal",e[e.NumpadDivide=113]="NumpadDivide",e[e.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",e[e.ABNT_C1=115]="ABNT_C1",e[e.ABNT_C2=116]="ABNT_C2",e[e.AudioVolumeMute=117]="AudioVolumeMute",e[e.AudioVolumeUp=118]="AudioVolumeUp",e[e.AudioVolumeDown=119]="AudioVolumeDown",e[e.BrowserSearch=120]="BrowserSearch",e[e.BrowserHome=121]="BrowserHome",e[e.BrowserBack=122]="BrowserBack",e[e.BrowserForward=123]="BrowserForward",e[e.MediaTrackNext=124]="MediaTrackNext",e[e.MediaTrackPrevious=125]="MediaTrackPrevious",e[e.MediaStop=126]="MediaStop",e[e.MediaPlayPause=127]="MediaPlayPause",e[e.LaunchMediaPlayer=128]="LaunchMediaPlayer",e[e.LaunchMail=129]="LaunchMail",e[e.LaunchApp2=130]="LaunchApp2",e[e.Clear=131]="Clear",e[e.MAX_VALUE=132]="MAX_VALUE"}(Hn||(Hn={})),function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(zn||(zn={})),function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"}(Wn||(Wn={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(Qn||(Qn={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"}(Jn||(Jn={})),function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"}(Xn||(Xn={})),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}($n||($n={})),function(e){e[e.Left=0]="Left",e[e.Right=1]="Right",e[e.None=2]="None",e[e.LeftOfInjectedText=3]="LeftOfInjectedText",e[e.RightOfInjectedText=4]="RightOfInjectedText"}(Zn||(Zn={})),function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"}(er||(er={})),function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"}(tr||(tr={})),function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"}(nr||(nr={})),function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"}(rr||(rr={})),function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"}(ir||(ir={})),function(e){e.Off="off",e.OnCode="onCode",e.On="on"}(or||(or={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(sr||(sr={})),function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"}(ar||(ar={})),function(e){e[e.Deprecated=1]="Deprecated"}(ur||(ur={})),function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"}(lr||(lr={})),function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(cr||(cr={})),function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"}(dr||(dr={})),function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"}(fr||(fr={}));class hr{static chord(e,t){return function(e,t){return(e|(65535&t)<<16>>>0)>>>0}(e,t)}}hr.CtrlCmd=2048,hr.Shift=1024,hr.Alt=512,hr.WinCtrl=256;class pr extends Kt{constructor(e){super(0);for(let t=0,n=e.length;t<n;t++)this.set(e.charCodeAt(t),2);this.set(32,1),this.set(9,1)}}!function(e){const t={}}((e=>new pr(e)));var gr,mr,vr,yr;!function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(gr||(gr={})),function(e){e[e.Left=1]="Left",e[e.Right=2]="Right"}(mr||(mr={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(vr||(vr={})),function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"}(yr||(yr={}));function _r(e,t,n,r,i){return function(e,t,n,r,i){if(0===r)return!0;const o=t.charCodeAt(r-1);if(0!==e.get(o))return!0;if(13===o||10===o)return!0;if(i>0){const n=t.charCodeAt(r);if(0!==e.get(n))return!0}return!1}(e,t,0,r,i)&&function(e,t,n,r,i){if(r+i===n)return!0;const o=t.charCodeAt(r+i);if(0!==e.get(o))return!0;if(13===o||10===o)return!0;if(i>0){const n=t.charCodeAt(r+i-1);if(0!==e.get(n))return!0}return!1}(e,t,n,r,i)}class Er{constructor(e,t){this._wordSeparators=e,this._searchRegex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(e){const t=e.length;let n;do{if(this._prevMatchStartIndex+this._prevMatchLength===t)return null;if(n=this._searchRegex.exec(e),!n)return null;const r=n.index,i=n[0].length;if(r===this._prevMatchStartIndex&&i===this._prevMatchLength){if(0===i){ge(e,t,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=r,this._prevMatchLength=i,!this._wordSeparators||_r(this._wordSeparators,e,t,r,i))return n}while(n);return null}}function br(e){throw new Error(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Unreachable")}function Dr(e){e()||(e(),t(new u("Assertion Failed")))}function Nr(e,t){let n=0;for(;n<e.length-1;){if(!t(e[n],e[n+1]))return!1;n++}return!0}class Tr{static computeUnicodeHighlights(e,t,n){const r=n?n.startLineNumber:1,i=n?n.endLineNumber:e.getLineCount(),o=new Sr(t),s=o.getCandidateCodePoints();let a;var u;a="allNonBasicAscii"===s?new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):new RegExp("".concat((u=Array.from(s),"[".concat(ce(u.map((e=>String.fromCodePoint(e))).join("")),"]"))),"g");const l=new Er(null,a),c=[];let d,f=!1,h=0,p=0,g=0;e:for(let m=r,v=i;m<=v;m++){const t=e.getLineContent(m),n=t.length;l.reset(0);do{if(d=l.next(t),d){let e=d.index,r=d.index+d[0].length;if(e>0){fe(t.charCodeAt(e-1))&&e--}if(r+1<n){fe(t.charCodeAt(r-1))&&r++}const i=t.substring(e,r);let s=Ut(e+1,Mt,t,0);s&&s.endColumn<=e+1&&(s=null);const a=o.shouldHighlightNonBasicASCII(i,s?s.word:null);if(0!==a){3===a?h++:2===a?p++:1===a?g++:br(a);const t=1e3;if(c.length>=t){f=!0;break e}c.push(new wt(m,e+1,m,r+1))}}}while(d)}return{ranges:c,hasMore:f,ambiguousCharacterCount:h,invisibleCharacterCount:p,nonBasicAsciiCharacterCount:g}}static computeUnicodeHighlightReason(e,t){const n=new Sr(t);switch(n.shouldHighlightNonBasicASCII(e,null)){case 0:return null;case 2:return{kind:1};case 3:{const r=e.codePointAt(0),i=n.ambiguousCharacters.getPrimaryConfusable(r),o=ye.getLocales().filter((e=>!ye.getInstance(new Set([...t.allowedLocales,e])).isAmbiguous(r)));return{kind:0,confusableWith:String.fromCodePoint(i),notAmbiguousInLocales:o}}case 1:return{kind:2}}}}class Sr{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=ye.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";const e=new Set;if(this.options.invisibleCharacters)for(const t of _e.codePoints)Ir(String.fromCodePoint(t))||e.add(t);if(this.options.ambiguousCharacters)for(const t of this.ambiguousCharacters.getConfusableCodePoints())e.add(t);for(const t of this.allowedCodePoints)e.delete(t);return e}shouldHighlightNonBasicASCII(e,t){const n=e.codePointAt(0);if(this.allowedCodePoints.has(n))return 0;if(this.options.nonBasicASCII)return 1;let r=!1,i=!1;if(t)for(const s of t){const e=s.codePointAt(0),t=(o=s,me.test(o));r=r||t,t||this.ambiguousCharacters.isAmbiguous(e)||_e.isInvisibleCharacter(e)||(i=!0)}var o;return!r&&i?0:this.options.invisibleCharacters&&!Ir(e)&&_e.isInvisibleCharacter(n)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(n)?3:0}}function Ir(e){return" "===e||"\n"===e||"\t"===e}class wr{constructor(e,t,n){this.changes=e,this.moves=t,this.hitTimeout=n}}class Ar{constructor(e,t){this.lineRangeMapping=e,this.changes=t}}class Rr{static addRange(e,t){let n=0;for(;n<t.length&&t[n].endExclusive<e.start;)n++;let r=n;for(;r<t.length&&t[r].start<=e.endExclusive;)r++;if(n===r)t.splice(n,0,e);else{const i=Math.min(e.start,t[n].start),o=Math.max(e.endExclusive,t[r-1].endExclusive);t.splice(n,r-n,new Rr(i,o))}}static tryCreate(e,t){if(!(e>t))return new Rr(e,t)}static ofLength(e){return new Rr(0,e)}static ofStartAndLength(e,t){return new Rr(e,e+t)}constructor(e,t){if(this.start=e,this.endExclusive=t,e>t)throw new u("Invalid range: ".concat(this.toString()))}get isEmpty(){return this.start===this.endExclusive}delta(e){return new Rr(this.start+e,this.endExclusive+e)}deltaStart(e){return new Rr(this.start+e,this.endExclusive)}deltaEnd(e){return new Rr(this.start,this.endExclusive+e)}get length(){return this.endExclusive-this.start}toString(){return"[".concat(this.start,", ").concat(this.endExclusive,")")}equals(e){return this.start===e.start&&this.endExclusive===e.endExclusive}containsRange(e){return this.start<=e.start&&e.endExclusive<=this.endExclusive}contains(e){return this.start<=e&&e<this.endExclusive}join(e){return new Rr(Math.min(this.start,e.start),Math.max(this.endExclusive,e.endExclusive))}intersect(e){const t=Math.max(this.start,e.start),n=Math.min(this.endExclusive,e.endExclusive);if(t<=n)return new Rr(t,n)}isBefore(e){return this.endExclusive<=e.start}isAfter(e){return this.start>=e.endExclusive}slice(e){return e.slice(this.start,this.endExclusive)}clip(e){if(this.isEmpty)throw new u("Invalid clipping range: ".concat(this.toString()));return Math.max(this.start,Math.min(this.endExclusive-1,e))}clipCyclic(e){if(this.isEmpty)throw new u("Invalid clipping range: ".concat(this.toString()));return e<this.start?this.endExclusive-(this.start-e)%this.length:e>=this.endExclusive?this.start+(e-this.start)%this.length:e}forEach(e){for(let t=this.start;t<this.endExclusive;t++)e(t)}}function Cr(e,t){const n=Or(e,t);return-1===n?void 0:e[n]}function Or(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.length;for(;n<r;){const i=Math.floor((n+r)/2);t(e[i])?n=i+1:r=i}return n-1}function Fr(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.length;for(;n<r;){const i=Math.floor((n+r)/2);t(e[i])?r=i:n=i+1}return n}class Lr{constructor(e){this._array=e,this._findLastMonotonousLastIdx=0}findLastMonotonous(e){if(Lr.assertInvariants){if(this._prevFindLastPredicate)for(const t of this._array)if(this._prevFindLastPredicate(t)&&!e(t))throw new Error("MonotonousArray: current predicate must be weaker than (or equal to) the previous predicate.");this._prevFindLastPredicate=e}const t=Or(this._array,e,this._findLastMonotonousLastIdx);return this._findLastMonotonousLastIdx=t+1,-1===t?void 0:this._array[t]}}Lr.assertInvariants=!1;class kr{static fromRange(e){return new kr(e.startLineNumber,e.endLineNumber)}static fromRangeInclusive(e){return new kr(e.startLineNumber,e.endLineNumber+1)}static joinMany(e){if(0===e.length)return[];let t=new xr(e[0].slice());for(let n=1;n<e.length;n++)t=t.getUnion(new xr(e[n].slice()));return t.ranges}static ofLength(e,t){return new kr(e,e+t)}static deserialize(e){return new kr(e[0],e[1])}constructor(e,t){if(e>t)throw new u("startLineNumber ".concat(e," cannot be after endLineNumberExclusive ").concat(t));this.startLineNumber=e,this.endLineNumberExclusive=t}contains(e){return this.startLineNumber<=e&&e<this.endLineNumberExclusive}get isEmpty(){return this.startLineNumber===this.endLineNumberExclusive}delta(e){return new kr(this.startLineNumber+e,this.endLineNumberExclusive+e)}deltaLength(e){return new kr(this.startLineNumber,this.endLineNumberExclusive+e)}get length(){return this.endLineNumberExclusive-this.startLineNumber}join(e){return new kr(Math.min(this.startLineNumber,e.startLineNumber),Math.max(this.endLineNumberExclusive,e.endLineNumberExclusive))}toString(){return"[".concat(this.startLineNumber,",").concat(this.endLineNumberExclusive,")")}intersect(e){const t=Math.max(this.startLineNumber,e.startLineNumber),n=Math.min(this.endLineNumberExclusive,e.endLineNumberExclusive);if(t<=n)return new kr(t,n)}intersectsStrict(e){return this.startLineNumber<e.endLineNumberExclusive&&e.startLineNumber<this.endLineNumberExclusive}overlapOrTouch(e){return this.startLineNumber<=e.endLineNumberExclusive&&e.startLineNumber<=this.endLineNumberExclusive}equals(e){return this.startLineNumber===e.startLineNumber&&this.endLineNumberExclusive===e.endLineNumberExclusive}toInclusiveRange(){return this.isEmpty?null:new wt(this.startLineNumber,1,this.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER)}toExclusiveRange(){return new wt(this.startLineNumber,1,this.endLineNumberExclusive,1)}mapToLineArray(e){const t=[];for(let n=this.startLineNumber;n<this.endLineNumberExclusive;n++)t.push(e(n));return t}forEach(e){for(let t=this.startLineNumber;t<this.endLineNumberExclusive;t++)e(t)}serialize(){return[this.startLineNumber,this.endLineNumberExclusive]}includes(e){return this.startLineNumber<=e&&e<this.endLineNumberExclusive}toOffsetRange(){return new Rr(this.startLineNumber-1,this.endLineNumberExclusive-1)}}class xr{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this._normalizedRanges=e}get ranges(){return this._normalizedRanges}addRange(e){if(0===e.length)return;const t=Fr(this._normalizedRanges,(t=>t.endLineNumberExclusive>=e.startLineNumber)),n=Or(this._normalizedRanges,(t=>t.startLineNumber<=e.endLineNumberExclusive))+1;if(t===n)this._normalizedRanges.splice(t,0,e);else if(t===n-1){const n=this._normalizedRanges[t];this._normalizedRanges[t]=n.join(e)}else{const r=this._normalizedRanges[t].join(this._normalizedRanges[n-1]).join(e);this._normalizedRanges.splice(t,n-t,r)}}contains(e){const t=Cr(this._normalizedRanges,(t=>t.startLineNumber<=e));return!!t&&t.endLineNumberExclusive>e}intersects(e){const t=Cr(this._normalizedRanges,(t=>t.startLineNumber<e.endLineNumberExclusive));return!!t&&t.endLineNumberExclusive>e.startLineNumber}getUnion(e){if(0===this._normalizedRanges.length)return e;if(0===e._normalizedRanges.length)return this;const t=[];let n=0,r=0,i=null;for(;n<this._normalizedRanges.length||r<e._normalizedRanges.length;){let o=null;if(n<this._normalizedRanges.length&&r<e._normalizedRanges.length){const t=this._normalizedRanges[n],i=e._normalizedRanges[r];t.startLineNumber<i.startLineNumber?(o=t,n++):(o=i,r++)}else n<this._normalizedRanges.length?(o=this._normalizedRanges[n],n++):(o=e._normalizedRanges[r],r++);null===i?i=o:i.endLineNumberExclusive>=o.startLineNumber?i=new kr(i.startLineNumber,Math.max(i.endLineNumberExclusive,o.endLineNumberExclusive)):(t.push(i),i=o)}return null!==i&&t.push(i),new xr(t)}subtractFrom(e){const t=Fr(this._normalizedRanges,(t=>t.endLineNumberExclusive>=e.startLineNumber)),n=Or(this._normalizedRanges,(t=>t.startLineNumber<=e.endLineNumberExclusive))+1;if(t===n)return new xr([e]);const r=[];let i=e.startLineNumber;for(let o=t;o<n;o++){const e=this._normalizedRanges[o];e.startLineNumber>i&&r.push(new kr(i,e.startLineNumber)),i=e.endLineNumberExclusive}return i<e.endLineNumberExclusive&&r.push(new kr(i,e.endLineNumberExclusive)),new xr(r)}toString(){return this._normalizedRanges.map((e=>e.toString())).join(", ")}getIntersection(e){const t=[];let n=0,r=0;for(;n<this._normalizedRanges.length&&r<e._normalizedRanges.length;){const i=this._normalizedRanges[n],o=e._normalizedRanges[r],s=i.intersect(o);s&&!s.isEmpty&&t.push(s),i.endLineNumberExclusive<o.endLineNumberExclusive?n++:r++}return new xr(t)}getWithDelta(e){return new xr(this._normalizedRanges.map((t=>t.delta(e))))}}class Pr{static inverse(e,t,n){const r=[];let i=1,o=1;for(const a of e){const e=new Mr(new kr(i,a.original.startLineNumber),new kr(o,a.modified.startLineNumber),void 0);e.modified.isEmpty||r.push(e),i=a.original.endLineNumberExclusive,o=a.modified.endLineNumberExclusive}const s=new Mr(new kr(i,t+1),new kr(o,n+1),void 0);return s.modified.isEmpty||r.push(s),r}constructor(e,t){this.original=e,this.modified=t}toString(){return"{".concat(this.original.toString(),"->").concat(this.modified.toString(),"}")}flip(){return new Pr(this.modified,this.original)}join(e){return new Pr(this.original.join(e.original),this.modified.join(e.modified))}}class Mr extends Pr{constructor(e,t,n){super(e,t),this.innerChanges=n}flip(){var e;return new Mr(this.modified,this.original,null===(e=this.innerChanges)||void 0===e?void 0:e.map((e=>e.flip())))}}class Br{constructor(e,t){this.originalRange=e,this.modifiedRange=t}toString(){return"{".concat(this.originalRange.toString(),"->").concat(this.modifiedRange.toString(),"}")}flip(){return new Br(this.modifiedRange,this.originalRange)}}class Vr{computeDiff(e,t,n){var r;const i=new Gr(e,t,{maxComputationTime:n.maxComputationTimeMs,shouldIgnoreTrimWhitespace:n.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}).computeDiff(),o=[];let s=null;for(const a of i.changes){let e,t;e=0===a.originalEndLineNumber?new kr(a.originalStartLineNumber+1,a.originalStartLineNumber+1):new kr(a.originalStartLineNumber,a.originalEndLineNumber+1),t=0===a.modifiedEndLineNumber?new kr(a.modifiedStartLineNumber+1,a.modifiedStartLineNumber+1):new kr(a.modifiedStartLineNumber,a.modifiedEndLineNumber+1);let n=new Mr(e,t,null===(r=a.charChanges)||void 0===r?void 0:r.map((e=>new Br(new wt(e.originalStartLineNumber,e.originalStartColumn,e.originalEndLineNumber,e.originalEndColumn),new wt(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn)))));s&&(s.modified.endLineNumberExclusive!==n.modified.startLineNumber&&s.original.endLineNumberExclusive!==n.original.startLineNumber||(n=new Mr(s.original.join(n.original),s.modified.join(n.modified),s.innerChanges&&n.innerChanges?s.innerChanges.concat(n.innerChanges):void 0),o.pop())),o.push(n),s=n}return Dr((()=>Nr(o,((e,t)=>t.original.startLineNumber-e.original.endLineNumberExclusive===t.modified.startLineNumber-e.modified.endLineNumberExclusive&&e.original.endLineNumberExclusive<t.original.startLineNumber&&e.modified.endLineNumberExclusive<t.modified.startLineNumber)))),new wr(o,[],i.quitEarly)}}function Ur(e,t,n,r){return new qe(e,t,n).ComputeDiff(r)}class jr{constructor(e){const t=[],n=[];for(let r=0,i=e.length;r<i;r++)t[r]=Hr(e[r],1),n[r]=zr(e[r],1);this.lines=e,this._startColumns=t,this._endColumns=n}getElements(){const e=[];for(let t=0,n=this.lines.length;t<n;t++)e[t]=this.lines[t].substring(this._startColumns[t]-1,this._endColumns[t]-1);return e}getStrictElement(e){return this.lines[e]}getStartLineNumber(e){return e+1}getEndLineNumber(e){return e+1}createCharSequence(e,t,n){const r=[],i=[],o=[];let s=0;for(let a=t;a<=n;a++){const t=this.lines[a],u=e?this._startColumns[a]:1,l=e?this._endColumns[a]:t.length+1;for(let e=u;e<l;e++)r[s]=t.charCodeAt(e-1),i[s]=a+1,o[s]=e,s++;!e&&a<n&&(r[s]=10,i[s]=a+1,o[s]=t.length+1,s++)}return new Kr(r,i,o)}}class Kr{constructor(e,t,n){this._charCodes=e,this._lineNumbers=t,this._columns=n}toString(){return"["+this._charCodes.map(((e,t)=>(10===e?"\\n":String.fromCharCode(e))+"-(".concat(this._lineNumbers[t],",").concat(this._columns[t],")"))).join(", ")+"]"}_assertIndex(e,t){if(e<0||e>=t.length)throw new Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(e){return e>0&&e===this._lineNumbers.length?this.getEndLineNumber(e-1):(this._assertIndex(e,this._lineNumbers),this._lineNumbers[e])}getEndLineNumber(e){return-1===e?this.getStartLineNumber(e+1):(this._assertIndex(e,this._lineNumbers),10===this._charCodes[e]?this._lineNumbers[e]+1:this._lineNumbers[e])}getStartColumn(e){return e>0&&e===this._columns.length?this.getEndColumn(e-1):(this._assertIndex(e,this._columns),this._columns[e])}getEndColumn(e){return-1===e?this.getStartColumn(e+1):(this._assertIndex(e,this._columns),10===this._charCodes[e]?1:this._columns[e]+1)}}class Yr{constructor(e,t,n,r,i,o,s,a){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=n,this.originalEndColumn=r,this.modifiedStartLineNumber=i,this.modifiedStartColumn=o,this.modifiedEndLineNumber=s,this.modifiedEndColumn=a}static createFromDiffChange(e,t,n){const r=t.getStartLineNumber(e.originalStart),i=t.getStartColumn(e.originalStart),o=t.getEndLineNumber(e.originalStart+e.originalLength-1),s=t.getEndColumn(e.originalStart+e.originalLength-1),a=n.getStartLineNumber(e.modifiedStart),u=n.getStartColumn(e.modifiedStart),l=n.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),c=n.getEndColumn(e.modifiedStart+e.modifiedLength-1);return new Yr(r,i,o,s,a,u,l,c)}}class qr{constructor(e,t,n,r,i){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=n,this.modifiedEndLineNumber=r,this.charChanges=i}static createFromDiffResult(e,t,n,r,i,o,s){let a,u,l,c,d;if(0===t.originalLength?(a=n.getStartLineNumber(t.originalStart)-1,u=0):(a=n.getStartLineNumber(t.originalStart),u=n.getEndLineNumber(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(l=r.getStartLineNumber(t.modifiedStart)-1,c=0):(l=r.getStartLineNumber(t.modifiedStart),c=r.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),o&&t.originalLength>0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&i()){const o=n.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),a=r.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);if(o.getElements().length>0&&a.getElements().length>0){let e=Ur(o,a,i,!0).changes;s&&(e=function(e){if(e.length<=1)return e;const t=[e[0]];let n=t[0];for(let r=1,i=e.length;r<i;r++){const i=e[r],o=i.originalStart-(n.originalStart+n.originalLength),s=i.modifiedStart-(n.modifiedStart+n.modifiedLength);Math.min(o,s)<3?(n.originalLength=i.originalStart+i.originalLength-n.originalStart,n.modifiedLength=i.modifiedStart+i.modifiedLength-n.modifiedStart):(t.push(i),n=i)}return t}(e)),d=[];for(let t=0,n=e.length;t<n;t++)d.push(Yr.createFromDiffChange(e[t],o,a))}}return new qr(a,u,l,c,d)}}class Gr{constructor(e,t,n){this.shouldComputeCharChanges=n.shouldComputeCharChanges,this.shouldPostProcessCharChanges=n.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=n.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=n.shouldMakePrettyDiff,this.originalLines=e,this.modifiedLines=t,this.original=new jr(e),this.modified=new jr(t),this.continueLineDiff=Wr(n.maxComputationTime),this.continueCharDiff=Wr(0===n.maxComputationTime?0:Math.min(n.maxComputationTime,5e3))}computeDiff(){if(1===this.original.lines.length&&0===this.original.lines[0].length)return 1===this.modified.lines.length&&0===this.modified.lines[0].length?{quitEarly:!1,changes:[]}:{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.lines.length,charChanges:void 0}]};if(1===this.modified.lines.length&&0===this.modified.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:this.original.lines.length,modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:void 0}]};const e=Ur(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),t=e.changes,n=e.quitEarly;if(this.shouldIgnoreTrimWhitespace){const e=[];for(let n=0,r=t.length;n<r;n++)e.push(qr.createFromDiffResult(this.shouldIgnoreTrimWhitespace,t[n],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:n,changes:e}}const r=[];let i=0,o=0;for(let s=-1,a=t.length;s<a;s++){const e=s+1<a?t[s+1]:null,n=e?e.originalStart:this.originalLines.length,u=e?e.modifiedStart:this.modifiedLines.length;for(;i<n&&o<u;){const e=this.originalLines[i],t=this.modifiedLines[o];if(e!==t){{let n=Hr(e,1),s=Hr(t,1);for(;n>1&&s>1;){if(e.charCodeAt(n-2)!==t.charCodeAt(s-2))break;n--,s--}(n>1||s>1)&&this._pushTrimWhitespaceCharChange(r,i+1,1,n,o+1,1,s)}{let n=zr(e,1),s=zr(t,1);const a=e.length+1,u=t.length+1;for(;n<a&&s<u;){if(e.charCodeAt(n-1)!==e.charCodeAt(s-1))break;n++,s++}(n<a||s<u)&&this._pushTrimWhitespaceCharChange(r,i+1,n,a,o+1,s,u)}}i++,o++}e&&(r.push(qr.createFromDiffResult(this.shouldIgnoreTrimWhitespace,e,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),i+=e.originalLength,o+=e.modifiedLength)}return{quitEarly:n,changes:r}}_pushTrimWhitespaceCharChange(e,t,n,r,i,o,s){if(this._mergeTrimWhitespaceCharChange(e,t,n,r,i,o,s))return;let a;this.shouldComputeCharChanges&&(a=[new Yr(t,n,t,r,i,o,i,s)]),e.push(new qr(t,t,i,i,a))}_mergeTrimWhitespaceCharChange(e,t,n,r,i,o,s){const a=e.length;if(0===a)return!1;const u=e[a-1];return 0!==u.originalEndLineNumber&&0!==u.modifiedEndLineNumber&&(u.originalEndLineNumber===t&&u.modifiedEndLineNumber===i?(this.shouldComputeCharChanges&&u.charChanges&&u.charChanges.push(new Yr(t,n,t,r,i,o,i,s)),!0):u.originalEndLineNumber+1===t&&u.modifiedEndLineNumber+1===i&&(u.originalEndLineNumber=t,u.modifiedEndLineNumber=i,this.shouldComputeCharChanges&&u.charChanges&&u.charChanges.push(new Yr(t,n,t,r,i,o,i,s)),!0))}}function Hr(e,t){const n=function(e){for(let t=0,n=e.length;t<n;t++){const n=e.charCodeAt(t);if(32!==n&&9!==n)return t}return-1}(e);return-1===n?t:n+1}function zr(e,t){const n=function(e){for(let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length-1;t>=0;t--){const n=e.charCodeAt(t);if(32!==n&&9!==n)return t}return-1}(e);return-1===n?t:n+2}function Wr(e){if(0===e)return()=>!0;const t=Date.now();return()=>Date.now()-t<e}class Qr{static trivial(e,t){return new Qr([new Jr(Rr.ofLength(e.length),Rr.ofLength(t.length))],!1)}static trivialTimedOut(e,t){return new Qr([new Jr(Rr.ofLength(e.length),Rr.ofLength(t.length))],!0)}constructor(e,t){this.diffs=e,this.hitTimeout=t}}class Jr{static invert(e,t){const n=[];return function(e,t){for(let n=0;n<=e.length;n++)t(0===n?void 0:e[n-1],n===e.length?void 0:e[n])}(e,((e,r)=>{n.push(Jr.fromOffsetPairs(e?e.getEndExclusives():Xr.zero,r?r.getStarts():new Xr(t,(e?e.seq2Range.endExclusive-e.seq1Range.endExclusive:0)+t)))})),n}static fromOffsetPairs(e,t){return new Jr(new Rr(e.offset1,t.offset1),new Rr(e.offset2,t.offset2))}constructor(e,t){this.seq1Range=e,this.seq2Range=t}swap(){return new Jr(this.seq2Range,this.seq1Range)}toString(){return"".concat(this.seq1Range," <-> ").concat(this.seq2Range)}join(e){return new Jr(this.seq1Range.join(e.seq1Range),this.seq2Range.join(e.seq2Range))}delta(e){return 0===e?this:new Jr(this.seq1Range.delta(e),this.seq2Range.delta(e))}deltaStart(e){return 0===e?this:new Jr(this.seq1Range.deltaStart(e),this.seq2Range.deltaStart(e))}deltaEnd(e){return 0===e?this:new Jr(this.seq1Range.deltaEnd(e),this.seq2Range.deltaEnd(e))}intersect(e){const t=this.seq1Range.intersect(e.seq1Range),n=this.seq2Range.intersect(e.seq2Range);if(t&&n)return new Jr(t,n)}getStarts(){return new Xr(this.seq1Range.start,this.seq2Range.start)}getEndExclusives(){return new Xr(this.seq1Range.endExclusive,this.seq2Range.endExclusive)}}class Xr{constructor(e,t){this.offset1=e,this.offset2=t}toString(){return"".concat(this.offset1," <-> ").concat(this.offset2)}}Xr.zero=new Xr(0,0),Xr.max=new Xr(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER);class $r{isValid(){return!0}}$r.instance=new $r;class Zr{constructor(e){if(this.timeout=e,this.startTime=Date.now(),this.valid=!0,e<=0)throw new u("timeout must be positive")}isValid(){return!(Date.now()-this.startTime<this.timeout)&&this.valid&&(this.valid=!1),this.valid}}class ei{constructor(e,t){this.width=e,this.height=t,this.array=[],this.array=new Array(e*t)}get(e,t){return this.array[e+t*this.width]}set(e,t,n){this.array[e+t*this.width]=n}}function ti(e){return 32===e||9===e}class ni{static getKey(e){let t=this.chrKeys.get(e);return void 0===t&&(t=this.chrKeys.size,this.chrKeys.set(e,t)),t}constructor(e,t,n){this.range=e,this.lines=t,this.source=n,this.histogram=[];let r=0;for(let i=e.startLineNumber-1;i<e.endLineNumberExclusive-1;i++){const e=t[i];for(let t=0;t<e.length;t++){r++;const n=e[t],i=ni.getKey(n);this.histogram[i]=(this.histogram[i]||0)+1}r++;const n=ni.getKey("\n");this.histogram[n]=(this.histogram[n]||0)+1}this.totalCount=r}computeSimilarity(e){var t,n;let r=0;const i=Math.max(this.histogram.length,e.histogram.length);for(let o=0;o<i;o++)r+=Math.abs((null!==(t=this.histogram[o])&&void 0!==t?t:0)-(null!==(n=e.histogram[o])&&void 0!==n?n:0));return 1-r/(this.totalCount+e.totalCount)}}ni.chrKeys=new Map;class ri{compute(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:$r.instance,r=arguments.length>3?arguments[3]:void 0;if(0===e.length||0===t.length)return Qr.trivial(e,t);const i=new ei(e.length,t.length),o=new ei(e.length,t.length),s=new ei(e.length,t.length);for(let h=0;h<e.length;h++)for(let a=0;a<t.length;a++){if(!n.isValid())return Qr.trivialTimedOut(e,t);const u=0===h?0:i.get(h-1,a),l=0===a?0:i.get(h,a-1);let c;e.getElement(h)===t.getElement(a)?(c=0===h||0===a?0:i.get(h-1,a-1),h>0&&a>0&&3===o.get(h-1,a-1)&&(c+=s.get(h-1,a-1)),c+=r?r(h,a):1):c=-1;const d=Math.max(u,l,c);if(d===c){const e=h>0&&a>0?s.get(h-1,a-1):0;s.set(h,a,e+1),o.set(h,a,3)}else d===u?(s.set(h,a,0),o.set(h,a,1)):d===l&&(s.set(h,a,0),o.set(h,a,2));i.set(h,a,d)}const a=[];let u=e.length,l=t.length;function c(e,t){e+1===u&&t+1===l||a.push(new Jr(new Rr(e+1,u),new Rr(t+1,l))),u=e,l=t}let d=e.length-1,f=t.length-1;for(;d>=0&&f>=0;)3===o.get(d,f)?(c(d,f),d--,f--):1===o.get(d,f)?d--:f--;return c(-1,-1),a.reverse(),new Qr(a,!1)}}class ii{compute(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:$r.instance;if(0===e.length||0===t.length)return Qr.trivial(e,t);const r=e,i=t;function o(e,t){for(;e<r.length&&t<i.length&&r.getElement(e)===i.getElement(t);)e++,t++;return e}let s=0;const a=new si;a.set(0,o(0,0));const u=new ai;u.set(0,0===a.get(0)?null:new oi(null,0,0,a.get(0)));let l=0;e:for(;;){if(s++,!n.isValid())return Qr.trivialTimedOut(r,i);const e=-Math.min(s,i.length+s%2),t=Math.min(s,r.length+s%2);for(l=e;l<=t;l+=2){let n=0;const s=l===t?-1:a.get(l+1),c=l===e?-1:a.get(l-1)+1;n++;const d=Math.min(Math.max(s,c),r.length),f=d-l;if(n++,d>r.length||f>i.length)continue;const h=o(d,f);a.set(l,h);const p=d===s?u.get(l+1):u.get(l-1);if(u.set(l,h!==d?new oi(p,d,f,h-d):p),a.get(l)===r.length&&a.get(l)-l===i.length)break e}}let c=u.get(l);const d=[];let f=r.length,h=i.length;for(;;){const e=c?c.x+c.length:0,t=c?c.y+c.length:0;if(e===f&&t===h||d.push(new Jr(new Rr(e,f),new Rr(t,h))),!c)break;f=c.x,h=c.y,c=c.prev}return d.reverse(),new Qr(d,!1)}}class oi{constructor(e,t,n,r){this.prev=e,this.x=t,this.y=n,this.length=r}}class si{constructor(){this.positiveArr=new Int32Array(10),this.negativeArr=new Int32Array(10)}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){if(e<0){if((e=-e-1)>=this.negativeArr.length){const e=this.negativeArr;this.negativeArr=new Int32Array(2*e.length),this.negativeArr.set(e)}this.negativeArr[e]=t}else{if(e>=this.positiveArr.length){const e=this.positiveArr;this.positiveArr=new Int32Array(2*e.length),this.positiveArr.set(e)}this.positiveArr[e]=t}}}class ai{constructor(){this.positiveArr=[],this.negativeArr=[]}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){e<0?(e=-e-1,this.negativeArr[e]=t):this.positiveArr[e]=t}}var ui;class li{constructor(e,t){this.uri=e,this.value=t}}class ci{constructor(e,t){if(this[ui]="ResourceMap",e instanceof ci)this.map=new Map(e.map),this.toKey=null!==t&&void 0!==t?t:ci.defaultToKey;else if(function(e){return Array.isArray(e)}(e)){this.map=new Map,this.toKey=null!==t&&void 0!==t?t:ci.defaultToKey;for(const[t,n]of e)this.set(t,n)}else this.map=new Map,this.toKey=null!==e&&void 0!==e?e:ci.defaultToKey}set(e,t){return this.map.set(this.toKey(e),new li(e,t)),this}get(e){var t;return null===(t=this.map.get(this.toKey(e)))||void 0===t?void 0:t.value}has(e){return this.map.has(this.toKey(e))}get size(){return this.map.size}clear(){this.map.clear()}delete(e){return this.map.delete(this.toKey(e))}forEach(e,t){"undefined"!==typeof t&&(e=e.bind(t));for(const[n,r]of this.map)e(r.value,r.uri,this)}*values(){for(const e of this.map.values())yield e.value}*keys(){for(const e of this.map.values())yield e.uri}*entries(){for(const e of this.map.values())yield[e.uri,e.value]}*[(ui=Symbol.toStringTag,Symbol.iterator)](){for(const[,e]of this.map)yield[e.uri,e.value]}}ci.defaultToKey=e=>e.toString();Symbol.toStringTag,Symbol.iterator;class di{constructor(){this.map=new Map}add(e,t){let n=this.map.get(e);n||(n=new Set,this.map.set(e,n)),n.add(t)}delete(e,t){const n=this.map.get(e);n&&(n.delete(t),0===n.size&&this.map.delete(e))}forEach(e,t){const n=this.map.get(e);n&&n.forEach(t)}get(e){const t=this.map.get(e);return t||new Set}}class fi{constructor(e,t,n){this.lines=e,this.considerWhitespaceChanges=n,this.elements=[],this.firstCharOffsetByLine=[],this.additionalOffsetByLine=[];let r=!1;t.start>0&&t.endExclusive>=e.length&&(t=new Rr(t.start-1,t.endExclusive),r=!0),this.lineRange=t,this.firstCharOffsetByLine[0]=0;for(let i=this.lineRange.start;i<this.lineRange.endExclusive;i++){let t=e[i],o=0;if(r)o=t.length,t="",r=!1;else if(!n){const e=t.trimStart();o=t.length-e.length,t=e.trimEnd()}this.additionalOffsetByLine.push(o);for(let e=0;e<t.length;e++)this.elements.push(t.charCodeAt(e));i<e.length-1&&(this.elements.push("\n".charCodeAt(0)),this.firstCharOffsetByLine[i-this.lineRange.start+1]=this.elements.length)}this.additionalOffsetByLine.push(0)}toString(){return'Slice: "'.concat(this.text,'"')}get text(){return this.getText(new Rr(0,this.length))}getText(e){return this.elements.slice(e.start,e.endExclusive).map((e=>String.fromCharCode(e))).join("")}getElement(e){return this.elements[e]}get length(){return this.elements.length}getBoundaryScore(e){const t=mi(e>0?this.elements[e-1]:-1),n=mi(e<this.elements.length?this.elements[e]:-1);if(7===t&&8===n)return 0;let r=0;return t!==n&&(r+=10,0===t&&1===n&&(r+=1)),r+=gi(t),r+=gi(n),r}translateOffset(e){if(this.lineRange.isEmpty)return new It(this.lineRange.start+1,1);const t=Or(this.firstCharOffsetByLine,(t=>t<=e));return new It(this.lineRange.start+t+1,e-this.firstCharOffsetByLine[t]+this.additionalOffsetByLine[t]+1)}translateRange(e){return wt.fromPositions(this.translateOffset(e.start),this.translateOffset(e.endExclusive))}findWordContaining(e){if(e<0||e>=this.elements.length)return;if(!hi(this.elements[e]))return;let t=e;for(;t>0&&hi(this.elements[t-1]);)t--;let n=e;for(;n<this.elements.length&&hi(this.elements[n]);)n++;return new Rr(t,n)}countLinesIn(e){return this.translateOffset(e.endExclusive).lineNumber-this.translateOffset(e.start).lineNumber}isStronglyEqual(e,t){return this.elements[e]===this.elements[t]}extendToFullLines(e){var t,n;const r=null!==(t=Cr(this.firstCharOffsetByLine,(t=>t<=e.start)))&&void 0!==t?t:0,i=null!==(n=function(e,t){const n=Fr(e,t);return n===e.length?void 0:e[n]}(this.firstCharOffsetByLine,(t=>e.endExclusive<=t)))&&void 0!==n?n:this.elements.length;return new Rr(r,i)}}function hi(e){return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57}const pi={0:0,1:0,2:0,3:10,4:2,5:3,6:3,7:10,8:10};function gi(e){return pi[e]}function mi(e){return 10===e?8:13===e?7:ti(e)?6:e>=97&&e<=122?0:e>=65&&e<=90?1:e>=48&&e<=57?2:-1===e?3:44===e||59===e?5:4}function vi(e,t,n,r,i,o){let{moves:s,excludedChanges:a}=function(e,t,n,r){const i=[],o=e.filter((e=>e.modified.isEmpty&&e.original.length>=3)).map((e=>new ni(e.original,t,e))),s=new Set(e.filter((e=>e.original.isEmpty&&e.modified.length>=3)).map((e=>new ni(e.modified,n,e)))),a=new Set;for(const u of o){let e,t=-1;for(const n of s){const r=u.computeSimilarity(n);r>t&&(t=r,e=n)}if(t>.9&&e&&(s.delete(e),i.push(new Pr(u.range,e.range)),a.add(u.source),a.add(e.source)),!r.isValid())return{moves:i,excludedChanges:a}}return{moves:i,excludedChanges:a}}(e,t,n,o);if(!o.isValid())return[];const u=e.filter((e=>!a.has(e))),l=function(e,t,n,r,i,o){const s=[],a=new di;for(const h of e)for(let e=h.original.startLineNumber;e<h.original.endLineNumberExclusive-2;e++){const n="".concat(t[e-1],":").concat(t[e+1-1],":").concat(t[e+2-1]);a.add(n,{range:new kr(e,e+3)})}const u=[];e.sort(Rt((e=>e.modified.startLineNumber),Ct));for(const h of e){let e=[];for(let t=h.modified.startLineNumber;t<h.modified.endLineNumberExclusive-2;t++){const r="".concat(n[t-1],":").concat(n[t+1-1],":").concat(n[t+2-1]),i=new kr(t,t+3),o=[];a.forEach(r,(t=>{let{range:n}=t;for(const s of e)if(s.originalLineRange.endLineNumberExclusive+1===n.endLineNumberExclusive&&s.modifiedLineRange.endLineNumberExclusive+1===i.endLineNumberExclusive)return s.originalLineRange=new kr(s.originalLineRange.startLineNumber,n.endLineNumberExclusive),s.modifiedLineRange=new kr(s.modifiedLineRange.startLineNumber,i.endLineNumberExclusive),void o.push(s);const r={modifiedLineRange:i,originalLineRange:n};u.push(r),o.push(r)})),e=o}if(!o.isValid())return[]}u.sort((l=Rt((e=>e.modifiedLineRange.length),Ct),(e,t)=>-l(e,t)));var l;const c=new xr,d=new xr;for(const h of u){const e=h.modifiedLineRange.startLineNumber-h.originalLineRange.startLineNumber,t=c.subtractFrom(h.modifiedLineRange),n=d.subtractFrom(h.originalLineRange).getWithDelta(e),r=t.getIntersection(n);for(const i of r.ranges){if(i.length<3)continue;const t=i,n=i.delta(-e);s.push(new Pr(n,t)),c.addRange(t),d.addRange(n)}}s.sort(Rt((e=>e.original.startLineNumber),Ct));const f=new Lr(e);for(let h=0;h<s.length;h++){const t=s[h],n=f.findLastMonotonous((e=>e.original.startLineNumber<=t.original.startLineNumber)),a=Cr(e,(e=>e.modified.startLineNumber<=t.modified.startLineNumber)),u=Math.max(t.original.startLineNumber-n.original.startLineNumber,t.modified.startLineNumber-a.modified.startLineNumber),l=f.findLastMonotonous((e=>e.original.startLineNumber<t.original.endLineNumberExclusive)),p=Cr(e,(e=>e.modified.startLineNumber<t.modified.endLineNumberExclusive)),g=Math.max(l.original.endLineNumberExclusive-t.original.endLineNumberExclusive,p.modified.endLineNumberExclusive-t.modified.endLineNumberExclusive);let m,v;for(m=0;m<u;m++){const e=t.original.startLineNumber-m-1,n=t.modified.startLineNumber-m-1;if(e>r.length||n>i.length)break;if(c.contains(n)||d.contains(e))break;if(!yi(r[e-1],i[n-1],o))break}for(m>0&&(d.addRange(new kr(t.original.startLineNumber-m,t.original.startLineNumber)),c.addRange(new kr(t.modified.startLineNumber-m,t.modified.startLineNumber))),v=0;v<g;v++){const e=t.original.endLineNumberExclusive+v,n=t.modified.endLineNumberExclusive+v;if(e>r.length||n>i.length)break;if(c.contains(n)||d.contains(e))break;if(!yi(r[e-1],i[n-1],o))break}v>0&&(d.addRange(new kr(t.original.endLineNumberExclusive,t.original.endLineNumberExclusive+v)),c.addRange(new kr(t.modified.endLineNumberExclusive,t.modified.endLineNumberExclusive+v))),(m>0||v>0)&&(s[h]=new Pr(new kr(t.original.startLineNumber-m,t.original.endLineNumberExclusive+v),new kr(t.modified.startLineNumber-m,t.modified.endLineNumberExclusive+v)))}return s}(u,r,i,t,n,o);return function(e,t){for(const n of t)e.push(n)}(s,l),s=function(e){if(0===e.length)return e;e.sort(Rt((e=>e.original.startLineNumber),Ct));const t=[e[0]];for(let n=1;n<e.length;n++){const r=t[t.length-1],i=e[n],o=i.original.startLineNumber-r.original.endLineNumberExclusive,s=i.modified.startLineNumber-r.modified.endLineNumberExclusive;o>=0&&s>=0&&o+s<=2?t[t.length-1]=r.join(i):t.push(i)}return t}(s),s=s.filter((e=>{const n=e.original.toOffsetRange().slice(t).map((e=>e.trim()));return n.join("\n").length>=15&&function(e,t){let n=0;for(const r of e)t(r)&&n++;return n}(n,(e=>e.length>=2))>=2})),s=function(e,t){const n=new Lr(e);return t=t.filter((t=>{const r=n.findLastMonotonous((e=>e.original.startLineNumber<t.original.endLineNumberExclusive))||new Pr(new kr(1,1),new kr(1,1)),i=Cr(e,(e=>e.modified.startLineNumber<t.modified.endLineNumberExclusive));return r!==i})),t}(e,s),s}function yi(e,t,n){if(e.trim()===t.trim())return!0;if(e.length>300&&t.length>300)return!1;const r=(new ii).compute(new fi([e],new Rr(0,1),!1),new fi([t],new Rr(0,1),!1),n);let i=0;const o=Jr.invert(r.diffs,e.length);for(const a of o)a.seq1Range.forEach((t=>{ti(e.charCodeAt(t))||i++}));const s=function(t){let n=0;for(let r=0;r<e.length;r++)ti(t.charCodeAt(r))||n++;return n}(e.length>t.length?e:t);return i/s>.6&&s>10}function _i(e,t,n){let r=n;return r=Ei(e,t,r),r=Ei(e,t,r),r=function(e,t,n){if(!e.getBoundaryScore||!t.getBoundaryScore)return n;for(let r=0;r<n.length;r++){const i=r>0?n[r-1]:void 0,o=n[r],s=r+1<n.length?n[r+1]:void 0,a=new Rr(i?i.seq1Range.start+1:0,s?s.seq1Range.endExclusive-1:e.length),u=new Rr(i?i.seq2Range.start+1:0,s?s.seq2Range.endExclusive-1:t.length);o.seq1Range.isEmpty?n[r]=bi(o,e,t,a,u):o.seq2Range.isEmpty&&(n[r]=bi(o.swap(),t,e,u,a).swap())}return n}(e,t,r),r}function Ei(e,t,n){if(0===n.length)return n;const r=[];r.push(n[0]);for(let o=1;o<n.length;o++){const i=r[r.length-1];let s=n[o];if(s.seq1Range.isEmpty||s.seq2Range.isEmpty){const n=s.seq1Range.start-i.seq1Range.endExclusive;let o;for(o=1;o<=n&&(e.getElement(s.seq1Range.start-o)===e.getElement(s.seq1Range.endExclusive-o)&&t.getElement(s.seq2Range.start-o)===t.getElement(s.seq2Range.endExclusive-o));o++);if(o--,o===n){r[r.length-1]=new Jr(new Rr(i.seq1Range.start,s.seq1Range.endExclusive-n),new Rr(i.seq2Range.start,s.seq2Range.endExclusive-n));continue}s=s.delta(-o)}r.push(s)}const i=[];for(let o=0;o<r.length-1;o++){const n=r[o+1];let s=r[o];if(s.seq1Range.isEmpty||s.seq2Range.isEmpty){const i=n.seq1Range.start-s.seq1Range.endExclusive;let a;for(a=0;a<i&&(e.isStronglyEqual(s.seq1Range.start+a,s.seq1Range.endExclusive+a)&&t.isStronglyEqual(s.seq2Range.start+a,s.seq2Range.endExclusive+a));a++);if(a===i){r[o+1]=new Jr(new Rr(s.seq1Range.start+i,n.seq1Range.endExclusive),new Rr(s.seq2Range.start+i,n.seq2Range.endExclusive));continue}a>0&&(s=s.delta(a))}i.push(s)}return r.length>0&&i.push(r[r.length-1]),i}function bi(e,t,n,r,i){let o=1;for(;e.seq1Range.start-o>=r.start&&e.seq2Range.start-o>=i.start&&n.isStronglyEqual(e.seq2Range.start-o,e.seq2Range.endExclusive-o)&&o<100;)o++;o--;let s=0;for(;e.seq1Range.start+s<r.endExclusive&&e.seq2Range.endExclusive+s<i.endExclusive&&n.isStronglyEqual(e.seq2Range.start+s,e.seq2Range.endExclusive+s)&&s<100;)s++;if(0===o&&0===s)return e;let a=0,u=-1;for(let l=-o;l<=s;l++){const r=e.seq2Range.start+l,i=e.seq2Range.endExclusive+l,o=e.seq1Range.start+l,s=t.getBoundaryScore(o)+n.getBoundaryScore(r)+n.getBoundaryScore(i);s>u&&(u=s,a=l)}return e.delta(a)}class Di{constructor(e,t){this.trimmedHash=e,this.lines=t}getElement(e){return this.trimmedHash[e]}get length(){return this.trimmedHash.length}getBoundaryScore(e){return 1e3-((0===e?0:Ni(this.lines[e-1]))+(e===this.lines.length?0:Ni(this.lines[e])))}getText(e){return this.lines.slice(e.start,e.endExclusive).join("\n")}isStronglyEqual(e,t){return this.lines[e]===this.lines[t]}}function Ni(e){let t=0;for(;t<e.length&&(32===e.charCodeAt(t)||9===e.charCodeAt(t));)t++;return t}class Ti{constructor(){this.dynamicProgrammingDiffing=new ri,this.myersDiffingAlgorithm=new ii}computeDiff(e,t,n){if(e.length<=1&&function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(e,t)=>e===t;if(e===t)return!0;if(!e||!t)return!1;if(e.length!==t.length)return!1;for(let r=0,i=e.length;r<i;r++)if(!n(e[r],t[r]))return!1;return!0}(e,t,((e,t)=>e===t)))return new wr([],[],!1);if(1===e.length&&0===e[0].length||1===t.length&&0===t[0].length)return new wr([new Mr(new kr(1,e.length+1),new kr(1,t.length+1),[new Br(new wt(1,1,e.length,e[0].length+1),new wt(1,1,t.length,t[0].length+1))])],[],!1);const r=0===n.maxComputationTimeMs?$r.instance:new Zr(n.maxComputationTimeMs),i=!n.ignoreTrimWhitespace,o=new Map;function s(e){let t=o.get(e);return void 0===t&&(t=o.size,o.set(e,t)),t}const a=e.map((e=>s(e.trim()))),u=t.map((e=>s(e.trim()))),l=new Di(a,e),c=new Di(u,t),d=(()=>l.length+c.length<1700?this.dynamicProgrammingDiffing.compute(l,c,r,((n,r)=>e[n]===t[r]?0===t[r].length?.1:1+Math.log(1+t[r].length):.99)):this.myersDiffingAlgorithm.compute(l,c))();let f=d.diffs,h=d.hitTimeout;f=_i(l,c,f),f=function(e,t,n){let r=n;if(0===r.length)return r;let i,o=0;do{i=!1;const s=[r[0]];for(let a=1;a<r.length;a++){const u=r[a],l=s[s.length-1];function c(t,n){const r=new Rr(l.seq1Range.endExclusive,u.seq1Range.start);return e.getText(r).replace(/\s/g,"").length<=4&&(t.seq1Range.length+t.seq2Range.length>5||n.seq1Range.length+n.seq2Range.length>5)}c(l,u)?(i=!0,s[s.length-1]=s[s.length-1].join(u)):s.push(u)}r=s}while(o++<10&&i);return r}(l,0,f);const p=[],g=n=>{if(i)for(let o=0;o<n;o++){const n=m+o,s=v+o;if(e[n]!==t[s]){const o=this.refineDiff(e,t,new Jr(new Rr(n,n+1),new Rr(s,s+1)),r,i);for(const e of o.mappings)p.push(e);o.hitTimeout&&(h=!0)}}};let m=0,v=0;for(const E of f){Dr((()=>E.seq1Range.start-m===E.seq2Range.start-v));g(E.seq1Range.start-m),m=E.seq1Range.endExclusive,v=E.seq2Range.endExclusive;const n=this.refineDiff(e,t,E,r,i);n.hitTimeout&&(h=!0);for(const e of n.mappings)p.push(e)}g(e.length-m);const y=Si(p,e,t);let _=[];return n.computeMoves&&(_=this.computeMoves(y,e,t,a,u,r,i)),Dr((()=>{function n(e,t){if(e.lineNumber<1||e.lineNumber>t.length)return!1;const n=t[e.lineNumber-1];return!(e.column<1||e.column>n.length+1)}function r(e,t){return!(e.startLineNumber<1||e.startLineNumber>t.length+1)&&!(e.endLineNumberExclusive<1||e.endLineNumberExclusive>t.length+1)}for(const i of y){if(!i.innerChanges)return!1;for(const r of i.innerChanges){if(!(n(r.modifiedRange.getStartPosition(),t)&&n(r.modifiedRange.getEndPosition(),t)&&n(r.originalRange.getStartPosition(),e)&&n(r.originalRange.getEndPosition(),e)))return!1}if(!r(i.modified,t)||!r(i.original,e))return!1}return!0})),new wr(y,_,h)}computeMoves(e,t,n,r,i,o,s){const a=vi(e,t,n,r,i,o).map((e=>{const r=Si(this.refineDiff(t,n,new Jr(e.original.toOffsetRange(),e.modified.toOffsetRange()),o,s).mappings,t,n,!0);return new Ar(e,r)}));return a}refineDiff(e,t,n,r,i){const o=new fi(e,n.seq1Range,i),s=new fi(t,n.seq2Range,i),a=o.length+s.length<500?this.dynamicProgrammingDiffing.compute(o,s,r):this.myersDiffingAlgorithm.compute(o,s,r);let u=a.diffs;u=_i(o,s,u),u=function(e,t,n){const r=[];let i;function o(){if(!i)return;const e=i.s1Range.length-i.deleted;i.s2Range.length,i.added,Math.max(i.deleted,i.added)+(i.count-1)>e&&r.push(new Jr(i.s1Range,i.s2Range)),i=void 0}for(const s of n){function a(e,t){var n,r,a,u;if(!i||!i.s1Range.containsRange(e)||!i.s2Range.containsRange(t))if(!i||i.s1Range.endExclusive<e.start&&i.s2Range.endExclusive<t.start)o(),i={added:0,deleted:0,count:0,s1Range:e,s2Range:t};else{const o=Rr.tryCreate(i.s1Range.endExclusive,e.start),s=Rr.tryCreate(i.s2Range.endExclusive,t.start);i.deleted+=null!==(n=null===o||void 0===o?void 0:o.length)&&void 0!==n?n:0,i.added+=null!==(r=null===s||void 0===s?void 0:s.length)&&void 0!==r?r:0,i.s1Range=i.s1Range.join(e),i.s2Range=i.s2Range.join(t)}const l=e.intersect(s.seq1Range),c=t.intersect(s.seq2Range);i.count++,i.deleted+=null!==(a=null===l||void 0===l?void 0:l.length)&&void 0!==a?a:0,i.added+=null!==(u=null===c||void 0===c?void 0:c.length)&&void 0!==u?u:0}const u=e.findWordContaining(s.seq1Range.start-1),l=t.findWordContaining(s.seq2Range.start-1),c=e.findWordContaining(s.seq1Range.endExclusive),d=t.findWordContaining(s.seq2Range.endExclusive);u&&c&&l&&d&&u.equals(c)&&l.equals(d)?a(u,l):(u&&l&&a(u,l),c&&d&&a(c,d))}return o(),function(e,t){const n=[];for(;e.length>0||t.length>0;){const r=e[0],i=t[0];let o;o=r&&(!i||r.seq1Range.start<i.seq1Range.start)?e.shift():t.shift(),n.length>0&&n[n.length-1].seq1Range.endExclusive>=o.seq1Range.start?n[n.length-1]=n[n.length-1].join(o):n.push(o)}return n}(n,r)}(o,s,u),u=function(e,t,n){const r=[];for(const i of n){const e=r[r.length-1];e&&(i.seq1Range.start-e.seq1Range.endExclusive<=2||i.seq2Range.start-e.seq2Range.endExclusive<=2)?r[r.length-1]=new Jr(e.seq1Range.join(i.seq1Range),e.seq2Range.join(i.seq2Range)):r.push(i)}return r}(0,0,u),u=function(e,t,n){let r=n;if(0===r.length)return r;let i,o=0;do{i=!1;const a=[r[0]];for(let u=1;u<r.length;u++){const l=r[u],c=a[a.length-1];function d(n,r){const i=new Rr(c.seq1Range.endExclusive,l.seq1Range.start);if(e.countLinesIn(i)>5||i.length>500)return!1;const o=e.getText(i).trim();if(o.length>20||o.split(/\r\n|\r|\n/).length>1)return!1;const s=e.countLinesIn(n.seq1Range),a=n.seq1Range.length,u=t.countLinesIn(n.seq2Range),d=n.seq2Range.length,f=e.countLinesIn(r.seq1Range),h=r.seq1Range.length,p=t.countLinesIn(r.seq2Range),g=r.seq2Range.length;function m(e){return Math.min(e,130)}return Math.pow(Math.pow(m(40*s+a),1.5)+Math.pow(m(40*u+d),1.5),1.5)+Math.pow(Math.pow(m(40*f+h),1.5)+Math.pow(m(40*p+g),1.5),1.5)>74184.96480721243}d(c,l)?(i=!0,a[a.length-1]=a[a.length-1].join(l)):a.push(l)}r=a}while(o++<10&&i);const s=[];return function(e,t){for(let n=0;n<e.length;n++)t(0===n?void 0:e[n-1],e[n],n+1===e.length?void 0:e[n+1])}(r,((t,n,r)=>{let i=n;function o(e){return e.length>0&&e.trim().length<=3&&n.seq1Range.length+n.seq2Range.length>100}const a=e.extendToFullLines(n.seq1Range),u=e.getText(new Rr(a.start,n.seq1Range.start));o(u)&&(i=i.deltaStart(-u.length));const l=e.getText(new Rr(n.seq1Range.endExclusive,a.endExclusive));o(l)&&(i=i.deltaEnd(l.length));const c=Jr.fromOffsetPairs(t?t.getEndExclusives():Xr.zero,r?r.getStarts():Xr.max),d=i.intersect(c);s.push(d)})),s}(o,s,u);const l=u.map((e=>new Br(o.translateRange(e.seq1Range),s.translateRange(e.seq2Range))));return{mappings:l,hitTimeout:a.hitTimeout}}}function Si(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const i=[];for(const o of function*(e,t){let n,r;for(const i of e)void 0!==r&&t(r,i)?n.push(i):(n&&(yield n),n=[i]),r=i;n&&(yield n)}(e.map((e=>function(e,t,n){let r=0,i=0;1===e.modifiedRange.endColumn&&1===e.originalRange.endColumn&&e.originalRange.startLineNumber+r<=e.originalRange.endLineNumber&&e.modifiedRange.startLineNumber+r<=e.modifiedRange.endLineNumber&&(i=-1);e.modifiedRange.startColumn-1>=n[e.modifiedRange.startLineNumber-1].length&&e.originalRange.startColumn-1>=t[e.originalRange.startLineNumber-1].length&&e.originalRange.startLineNumber<=e.originalRange.endLineNumber+i&&e.modifiedRange.startLineNumber<=e.modifiedRange.endLineNumber+i&&(r=1);const o=new kr(e.originalRange.startLineNumber+r,e.originalRange.endLineNumber+1+i),s=new kr(e.modifiedRange.startLineNumber+r,e.modifiedRange.endLineNumber+1+i);return new Mr(o,s,[e])}(e,t,n))),((e,t)=>e.original.overlapOrTouch(t.original)||e.modified.overlapOrTouch(t.modified)))){const e=o[0],t=o[o.length-1];i.push(new Mr(e.original.join(t.original),e.modified.join(t.modified),o.map((e=>e.innerChanges[0]))))}return Dr((()=>!(!r&&i.length>0&&i[0].original.startLineNumber!==i[0].modified.startLineNumber)&&Nr(i,((e,t)=>t.original.startLineNumber-e.original.endLineNumberExclusive===t.modified.startLineNumber-e.modified.endLineNumberExclusive&&e.original.endLineNumberExclusive<t.original.startLineNumber&&e.modified.endLineNumberExclusive<t.modified.startLineNumber)))),i}const Ii=()=>new Vr,wi=()=>new Ti;function Ai(e,t){const n=Math.pow(10,t);return Math.round(e*n)/n}class Ri{constructor(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;this._rgbaBrand=void 0,this.r=0|Math.min(255,Math.max(0,e)),this.g=0|Math.min(255,Math.max(0,t)),this.b=0|Math.min(255,Math.max(0,n)),this.a=Ai(Math.max(Math.min(1,r),0),3)}static equals(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a}}class Ci{constructor(e,t,n,r){this._hslaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=Ai(Math.max(Math.min(1,t),0),3),this.l=Ai(Math.max(Math.min(1,n),0),3),this.a=Ai(Math.max(Math.min(1,r),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.l===t.l&&e.a===t.a}static fromRGBA(e){const t=e.r/255,n=e.g/255,r=e.b/255,i=e.a,o=Math.max(t,n,r),s=Math.min(t,n,r);let a=0,u=0;const l=(s+o)/2,c=o-s;if(c>0){switch(u=Math.min(l<=.5?c/(2*l):c/(2-2*l),1),o){case t:a=(n-r)/c+(n<r?6:0);break;case n:a=(r-t)/c+2;break;case r:a=(t-n)/c+4}a*=60,a=Math.round(a)}return new Ci(a,u,l,i)}static _hue2rgb(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}static toRGBA(e){const t=e.h/360,{s:n,l:r,a:i}=e;let o,s,a;if(0===n)o=s=a=r;else{const e=r<.5?r*(1+n):r+n-r*n,i=2*r-e;o=Ci._hue2rgb(i,e,t+1/3),s=Ci._hue2rgb(i,e,t),a=Ci._hue2rgb(i,e,t-1/3)}return new Ri(Math.round(255*o),Math.round(255*s),Math.round(255*a),i)}}class Oi{constructor(e,t,n,r){this._hsvaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=Ai(Math.max(Math.min(1,t),0),3),this.v=Ai(Math.max(Math.min(1,n),0),3),this.a=Ai(Math.max(Math.min(1,r),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.v===t.v&&e.a===t.a}static fromRGBA(e){const t=e.r/255,n=e.g/255,r=e.b/255,i=Math.max(t,n,r),o=i-Math.min(t,n,r),s=0===i?0:o/i;let a;return a=0===o?0:i===t?((n-r)/o%6+6)%6:i===n?(r-t)/o+2:(t-n)/o+4,new Oi(Math.round(60*a),s,i,e.a)}static toRGBA(e){const{h:t,s:n,v:r,a:i}=e,o=r*n,s=o*(1-Math.abs(t/60%2-1)),a=r-o;let[u,l,c]=[0,0,0];return t<60?(u=o,l=s):t<120?(u=s,l=o):t<180?(l=o,c=s):t<240?(l=s,c=o):t<300?(u=s,c=o):t<=360&&(u=o,c=s),u=Math.round(255*(u+a)),l=Math.round(255*(l+a)),c=Math.round(255*(c+a)),new Ri(u,l,c,i)}}class Fi{static fromHex(e){return Fi.Format.CSS.parseHex(e)||Fi.red}static equals(e,t){return!e&&!t||!(!e||!t)&&e.equals(t)}get hsla(){return this._hsla?this._hsla:Ci.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:Oi.fromRGBA(this.rgba)}constructor(e){if(!e)throw new Error("Color needs a value");if(e instanceof Ri)this.rgba=e;else if(e instanceof Ci)this._hsla=e,this.rgba=Ci.toRGBA(e);else{if(!(e instanceof Oi))throw new Error("Invalid color ctor argument");this._hsva=e,this.rgba=Oi.toRGBA(e)}}equals(e){return!!e&&Ri.equals(this.rgba,e.rgba)&&Ci.equals(this.hsla,e.hsla)&&Oi.equals(this.hsva,e.hsva)}getRelativeLuminance(){return Ai(.2126*Fi._relativeLuminanceForComponent(this.rgba.r)+.7152*Fi._relativeLuminanceForComponent(this.rgba.g)+.0722*Fi._relativeLuminanceForComponent(this.rgba.b),4)}static _relativeLuminanceForComponent(e){const t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}isLighter(){return(299*this.rgba.r+587*this.rgba.g+114*this.rgba.b)/1e3>=128}isLighterThan(e){return this.getRelativeLuminance()>e.getRelativeLuminance()}isDarkerThan(e){return this.getRelativeLuminance()<e.getRelativeLuminance()}lighten(e){return new Fi(new Ci(this.hsla.h,this.hsla.s,this.hsla.l+this.hsla.l*e,this.hsla.a))}darken(e){return new Fi(new Ci(this.hsla.h,this.hsla.s,this.hsla.l-this.hsla.l*e,this.hsla.a))}transparent(e){const{r:t,g:n,b:r,a:i}=this.rgba;return new Fi(new Ri(t,n,r,i*e))}isTransparent(){return 0===this.rgba.a}isOpaque(){return 1===this.rgba.a}opposite(){return new Fi(new Ri(255-this.rgba.r,255-this.rgba.g,255-this.rgba.b,this.rgba.a))}makeOpaque(e){if(this.isOpaque()||1!==e.rgba.a)return this;const{r:t,g:n,b:r,a:i}=this.rgba;return new Fi(new Ri(e.rgba.r-i*(e.rgba.r-t),e.rgba.g-i*(e.rgba.g-n),e.rgba.b-i*(e.rgba.b-r),1))}toString(){return this._toString||(this._toString=Fi.Format.CSS.format(this)),this._toString}static getLighterColor(e,t,n){if(e.isLighterThan(t))return e;n=n||.5;const r=e.getRelativeLuminance(),i=t.getRelativeLuminance();return n=n*(i-r)/i,e.lighten(n)}static getDarkerColor(e,t,n){if(e.isDarkerThan(t))return e;n=n||.5;const r=e.getRelativeLuminance();return n=n*(r-t.getRelativeLuminance())/r,e.darken(n)}}function Li(e){const t=[];for(const n of e){const e=Number(n);(e||0===e&&""!==n.replace(/\s/g,""))&&t.push(e)}return t}function ki(e,t,n,r){return{red:e/255,blue:n/255,green:t/255,alpha:r}}function xi(e,t){const n=t.index,r=t[0].length;if(!n)return;const i=e.positionAt(n);return{startLineNumber:i.lineNumber,startColumn:i.column,endLineNumber:i.lineNumber,endColumn:i.column+r}}function Pi(e,t){if(!e)return;const n=Fi.Format.CSS.parseHex(t);return n?{range:e,color:ki(n.rgba.r,n.rgba.g,n.rgba.b,n.rgba.a)}:void 0}function Mi(e,t,n){if(!e||1!==t.length)return;const r=Li(t[0].values());return{range:e,color:ki(r[0],r[1],r[2],n?r[3]:1)}}function Bi(e,t,n){if(!e||1!==t.length)return;const r=Li(t[0].values()),i=new Fi(new Ci(r[0],r[1]/100,r[2]/100,n?r[3]:1));return{range:e,color:ki(i.rgba.r,i.rgba.g,i.rgba.b,i.rgba.a)}}function Vi(e,t){return"string"===typeof e?[...e.matchAll(t)]:e.findMatches(t)}function Ui(e){return e&&"function"===typeof e.getValue&&"function"===typeof e.positionAt?function(e){const t=[],n=Vi(e,/\b(rgb|rgba|hsl|hsla)(\([0-9\s,.\%]*\))|(#)([A-Fa-f0-9]{3})\b|(#)([A-Fa-f0-9]{4})\b|(#)([A-Fa-f0-9]{6})\b|(#)([A-Fa-f0-9]{8})\b/gm);if(n.length>0)for(const r of n){const n=r.filter((e=>void 0!==e)),i=n[1],o=n[2];if(!o)continue;let s;if("rgb"===i){const t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;s=Mi(xi(e,r),Vi(o,t),!1)}else if("rgba"===i){const t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;s=Mi(xi(e,r),Vi(o,t),!0)}else if("hsl"===i){const t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;s=Bi(xi(e,r),Vi(o,t),!1)}else if("hsla"===i){const t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;s=Bi(xi(e,r),Vi(o,t),!0)}else"#"===i&&(s=Pi(xi(e,r),i+o));s&&t.push(s)}return t}(e):[]}Fi.white=new Fi(new Ri(255,255,255,1)),Fi.black=new Fi(new Ri(0,0,0,1)),Fi.red=new Fi(new Ri(255,0,0,1)),Fi.blue=new Fi(new Ri(0,0,255,1)),Fi.green=new Fi(new Ri(0,255,0,1)),Fi.cyan=new Fi(new Ri(0,255,255,1)),Fi.lightgrey=new Fi(new Ri(211,211,211,1)),Fi.transparent=new Fi(new Ri(0,0,0,0)),function(e){let t;!function(t){let n;!function(t){function n(e){const t=e.toString(16);return 2!==t.length?"0"+t:t}function r(e){switch(e){case 48:return 0;case 49:return 1;case 50:return 2;case 51:return 3;case 52:return 4;case 53:return 5;case 54:return 6;case 55:return 7;case 56:return 8;case 57:return 9;case 97:case 65:return 10;case 98:case 66:return 11;case 99:case 67:return 12;case 100:case 68:return 13;case 101:case 69:return 14;case 102:case 70:return 15}return 0}t.formatRGB=function(t){return 1===t.rgba.a?"rgb(".concat(t.rgba.r,", ").concat(t.rgba.g,", ").concat(t.rgba.b,")"):e.Format.CSS.formatRGBA(t)},t.formatRGBA=function(e){return"rgba(".concat(e.rgba.r,", ").concat(e.rgba.g,", ").concat(e.rgba.b,", ").concat(+e.rgba.a.toFixed(2),")")},t.formatHSL=function(t){return 1===t.hsla.a?"hsl(".concat(t.hsla.h,", ").concat((100*t.hsla.s).toFixed(2),"%, ").concat((100*t.hsla.l).toFixed(2),"%)"):e.Format.CSS.formatHSLA(t)},t.formatHSLA=function(e){return"hsla(".concat(e.hsla.h,", ").concat((100*e.hsla.s).toFixed(2),"%, ").concat((100*e.hsla.l).toFixed(2),"%, ").concat(e.hsla.a.toFixed(2),")")},t.formatHex=function(e){return"#".concat(n(e.rgba.r)).concat(n(e.rgba.g)).concat(n(e.rgba.b))},t.formatHexA=function(t){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&1===t.rgba.a?e.Format.CSS.formatHex(t):"#".concat(n(t.rgba.r)).concat(n(t.rgba.g)).concat(n(t.rgba.b)).concat(n(Math.round(255*t.rgba.a)))},t.format=function(t){return t.isOpaque()?e.Format.CSS.formatHex(t):e.Format.CSS.formatRGBA(t)},t.parseHex=function(t){const n=t.length;if(0===n)return null;if(35!==t.charCodeAt(0))return null;if(7===n){const n=16*r(t.charCodeAt(1))+r(t.charCodeAt(2)),i=16*r(t.charCodeAt(3))+r(t.charCodeAt(4)),o=16*r(t.charCodeAt(5))+r(t.charCodeAt(6));return new e(new Ri(n,i,o,1))}if(9===n){const n=16*r(t.charCodeAt(1))+r(t.charCodeAt(2)),i=16*r(t.charCodeAt(3))+r(t.charCodeAt(4)),o=16*r(t.charCodeAt(5))+r(t.charCodeAt(6)),s=16*r(t.charCodeAt(7))+r(t.charCodeAt(8));return new e(new Ri(n,i,o,s/255))}if(4===n){const n=r(t.charCodeAt(1)),i=r(t.charCodeAt(2)),o=r(t.charCodeAt(3));return new e(new Ri(16*n+n,16*i+i,16*o+o))}if(5===n){const n=r(t.charCodeAt(1)),i=r(t.charCodeAt(2)),o=r(t.charCodeAt(3)),s=r(t.charCodeAt(4));return new e(new Ri(16*n+n,16*i+i,16*o+o,(16*s+s)/255))}return null}}(n=t.CSS||(t.CSS={}))}(t=e.Format||(e.Format={}))}(Fi||(Fi={}));class ji extends Pt{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}findMatches(e){const t=[];for(let n=0;n<this._lines.length;n++){const r=this._lines[n],i=this.offsetAt(new It(n+1,1)),o=r.matchAll(e);for(const e of o)(e.index||0===e.index)&&(e.index=e.index+i),t.push(e)}return t}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(e){return this._lines[e-1]}getWordAtPosition(e,t){const n=Ut(e.column,Bt(t),this._lines[e.lineNumber-1],0);return n?new wt(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn):null}words(e){const t=this._lines,n=this._wordenize.bind(this);let r=0,i="",o=0,s=[];return{*[Symbol.iterator](){for(;;)if(o<s.length){const e=i.substring(s[o].start,s[o].end);o+=1,yield e}else{if(!(r<t.length))break;i=t[r],s=n(i,e),o=0,r+=1}}}}getLineWords(e,t){const n=this._lines[e-1],r=this._wordenize(n,t),i=[];for(const o of r)i.push({word:n.substring(o.start,o.end),startColumn:o.start+1,endColumn:o.end+1});return i}_wordenize(e,t){const n=[];let r;for(t.lastIndex=0;(r=t.exec(e))&&0!==r[0].length;)n.push({start:r.index,end:r.index+r[0].length});return n}getValueInRange(e){if((e=this._validateRange(e)).startLineNumber===e.endLineNumber)return this._lines[e.startLineNumber-1].substring(e.startColumn-1,e.endColumn-1);const t=this._eol,n=e.startLineNumber-1,r=e.endLineNumber-1,i=[];i.push(this._lines[n].substring(e.startColumn-1));for(let o=n+1;o<r;o++)i.push(this._lines[o]);return i.push(this._lines[r].substring(0,e.endColumn-1)),i.join(t)}offsetAt(e){return e=this._validatePosition(e),this._ensureLineStarts(),this._lineStarts.getPrefixSum(e.lineNumber-2)+(e.column-1)}positionAt(e){e=Math.floor(e),e=Math.max(0,e),this._ensureLineStarts();const t=this._lineStarts.getIndexOf(e),n=this._lines[t.index].length;return{lineNumber:1+t.index,column:1+Math.min(t.remainder,n)}}_validateRange(e){const t=this._validatePosition({lineNumber:e.startLineNumber,column:e.startColumn}),n=this._validatePosition({lineNumber:e.endLineNumber,column:e.endColumn});return t.lineNumber!==e.startLineNumber||t.column!==e.startColumn||n.lineNumber!==e.endLineNumber||n.column!==e.endColumn?{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:n.lineNumber,endColumn:n.column}:e}_validatePosition(e){if(!It.isIPosition(e))throw new Error("bad position");let{lineNumber:t,column:n}=e,r=!1;if(t<1)t=1,n=1,r=!0;else if(t>this._lines.length)t=this._lines.length,n=this._lines[t-1].length+1,r=!0;else{const e=this._lines[t-1].length+1;n<1?(n=1,r=!0):n>e&&(n=e,r=!0)}return r?{lineNumber:t,column:n}:e}}class Ki{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){const e=[];return Object.keys(this._models).forEach((t=>e.push(this._models[t]))),e}acceptNewModel(e){this._models[e.url]=new ji(gt.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){if(!this._models[e])return;this._models[e].onEvents(t)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}async computeUnicodeHighlights(e,t,n){const r=this._getModel(e);return r?Tr.computeUnicodeHighlights(r,t,n):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}}async computeDiff(e,t,n,r){const i=this._getModel(e),o=this._getModel(t);return i&&o?Ki.computeDiff(i,o,n,r):null}static computeDiff(e,t,n,r){const i="advanced"===r?wi():Ii(),o=e.getLinesContent(),s=t.getLinesContent(),a=i.computeDiff(o,s,n);function u(e){return e.map((e=>{var t;return[e.original.startLineNumber,e.original.endLineNumberExclusive,e.modified.startLineNumber,e.modified.endLineNumberExclusive,null===(t=e.innerChanges)||void 0===t?void 0:t.map((e=>[e.originalRange.startLineNumber,e.originalRange.startColumn,e.originalRange.endLineNumber,e.originalRange.endColumn,e.modifiedRange.startLineNumber,e.modifiedRange.startColumn,e.modifiedRange.endLineNumber,e.modifiedRange.endColumn]))]}))}return{identical:!(a.changes.length>0)&&this._modelsAreIdentical(e,t),quitEarly:a.hitTimeout,changes:u(a.changes),moves:a.moves.map((e=>[e.lineRangeMapping.original.startLineNumber,e.lineRangeMapping.original.endLineNumberExclusive,e.lineRangeMapping.modified.startLineNumber,e.lineRangeMapping.modified.endLineNumberExclusive,u(e.changes)]))}}static _modelsAreIdentical(e,t){const n=e.getLineCount();if(n!==t.getLineCount())return!1;for(let r=1;r<=n;r++){if(e.getLineContent(r)!==t.getLineContent(r))return!1}return!0}async computeMoreMinimalEdits(e,t,n){const r=this._getModel(e);if(!r)return t;const i=[];let o;t=t.slice(0).sort(((e,t)=>{if(e.range&&t.range)return wt.compareRangesUsingStarts(e.range,t.range);return(e.range?0:1)-(t.range?0:1)}));let s=0;for(let a=1;a<t.length;a++)wt.getEndPosition(t[s].range).equals(wt.getStartPosition(t[a].range))?(t[s].range=wt.fromPositions(wt.getStartPosition(t[s].range),wt.getEndPosition(t[a].range)),t[s].text+=t[a].text):(s++,t[s]=t[a]);t.length=s+1;for(let{range:a,text:u,eol:l}of t){if("number"===typeof l&&(o=l),wt.isEmpty(a)&&!u)continue;const e=r.getValueInRange(a);if(u=u.replace(/\r\n|\n|\r/g,r.eol),e===u)continue;if(Math.max(u.length,e.length)>Ki._diffLimit){i.push({range:a,text:u});continue}const t=Ue(e,u,n),s=r.offsetAt(wt.lift(a).getStartPosition());for(const n of t){const e=r.positionAt(s+n.originalStart),t=r.positionAt(s+n.originalStart+n.originalLength),o={text:u.substr(n.modifiedStart,n.modifiedLength),range:{startLineNumber:e.lineNumber,startColumn:e.column,endLineNumber:t.lineNumber,endColumn:t.column}};r.getValueInRange(o.range)!==o.text&&i.push(o)}}return"number"===typeof o&&i.push({eol:o,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),i}async computeLinks(e){const t=this._getModel(e);return t?function(e){return e&&"function"===typeof e.getLineCount&&"function"===typeof e.getLineContent?zt.computeLinks(e):[]}(t):null}async computeDefaultDocumentColors(e){const t=this._getModel(e);return t?Ui(t):null}async textualSuggest(e,t,n,r){const i=new N,o=new RegExp(n,r),s=new Set;e:for(const a of e){const e=this._getModel(a);if(e)for(const n of e.words(o))if(n!==t&&isNaN(Number(n))&&(s.add(n),s.size>Ki._suggestionsLimit))break e}return{words:Array.from(s),duration:i.elapsed()}}async computeWordRanges(e,t,n,r){const i=this._getModel(e);if(!i)return Object.create(null);const o=new RegExp(n,r),s=Object.create(null);for(let a=t.startLineNumber;a<t.endLineNumber;a++){const e=i.getLineWords(a,o);for(const t of e){if(!isNaN(Number(t.word)))continue;let e=s[t.word];e||(e=[],s[t.word]=e),e.push({startLineNumber:a,startColumn:t.startColumn,endLineNumber:a,endColumn:t.endColumn})}}return s}async navigateValueSet(e,t,n,r,i){const o=this._getModel(e);if(!o)return null;const s=new RegExp(r,i);t.startColumn===t.endColumn&&(t={startLineNumber:t.startLineNumber,startColumn:t.startColumn,endLineNumber:t.endLineNumber,endColumn:t.endColumn+1});const a=o.getValueInRange(t),u=o.getWordAtPosition({lineNumber:t.startLineNumber,column:t.startColumn},s);if(!u)return null;const l=o.getValueInRange(u);return Wt.INSTANCE.navigateValueSet(t,a,u,l,n)}loadForeignModule(e,t,n){const r=function(e,t){const n=e=>function(){const n=Array.prototype.slice.call(arguments,0);return t(e,n)},r={};for(const i of e)r[i]=n(i);return r}(n,((e,t)=>this._host.fhr(e,t))),i={host:r,getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(i,t),Promise.resolve(O(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!==typeof this._foreignModule[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(ih){return Promise.reject(ih)}}}Ki._diffLimit=1e5,Ki._suggestionsLimit=1e4,"function"===typeof importScripts&&(globalThis.monaco={editor:void 0,languages:void 0,CancellationTokenSource:$t,Emitter:R,KeyCode:Hn,KeyMod:hr,Position:It,Range:wt,Selection:fn,SelectionDirection:ir,MarkerSeverity:zn,MarkerTag:Wn,Uri:gt,Token:yn});let Yi=!1;function qi(e){if(Yi)return;Yi=!0;const t=new Oe((e=>{globalThis.postMessage(e)}),(t=>new Ki(t,e)));globalThis.onmessage=e=>{t.onmessage(e.data)}}function Gi(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}globalThis.onmessage=e=>{Yi||qi(null)};var Hi=0;function zi(e){return"__private_"+Hi+++"_"+e}n(3179),n(6183);const Wi="AbortError",Qi=new DOMException("Action cancelled",Wi),Ji="Action timed out",Xi=new DOMException(Ji,Wi);var $i=zi("signal"),Zi=zi("checkIfCancelled"),eo=zi("promise");class to{constructor(e,t){Object.defineProperty(this,$i,{writable:!0,value:void 0}),Object.defineProperty(this,Zi,{writable:!0,value:void 0}),Object.defineProperty(this,eo,{writable:!0,value:void 0}),Gi(this,$i)[$i]=e,Gi(this,Zi)[Zi]=t}get aborted(){return Gi(this,$i)[$i].aborted}get cancelled(){return Gi(this,Zi)[Zi]()}get onabort(){return Gi(this,$i)[$i].onabort}get reason(){return Gi(this,$i)[$i].reason}dispatchEvent(e){return Gi(this,$i)[$i].dispatchEvent(e)}throwIfAborted(){Gi(this,$i)[$i].throwIfAborted()}toAbortSignal(){return Gi(this,$i)[$i]}toPromise(){if(Gi(this,eo)[eo])return Gi(this,eo)[eo];const e=this;let t=!1;return Gi(this,eo)[eo]=new Promise(((n,r)=>{if(e.aborted)return t=!0,void r(Xi);if(e.cancelled)return t=!0,void n();function i(){e.removeEventListener("abort",i),e.removeEventListener("cancelled",o),t||(t=!0,r(Xi))}function o(){e.removeEventListener("abort",i),e.removeEventListener("cancelled",o),t||(t=!0,n())}e.addEventListener("abort",i),e.addEventListener("cancelled",o)})),Gi(this,eo)[eo]}addEventListener(e,t,n){Gi(this,$i)[$i].addEventListener(e,t,n)}removeEventListener(e,t,n){Gi(this,$i)[$i].removeEventListener(e,t,n)}}class no{constructor(e){this._controller=new AbortController,this._signal=new to(this._controller.signal,(()=>this._cancelled)),this._cancelled=!1,this._timeoutHandle=void 0,this._timeoutHandle=self.setTimeout((()=>{this.abort(Ji)}),e)}get signal(){return this._signal}abort(e){this._controller.abort(e)}cancel(){this._cancelled=!0,self.clearTimeout(this._timeoutHandle),this._signal.dispatchEvent(new Event("cancelled"))}}function ro(e){return e instanceof DOMException&&e.name===Wi}n(6022),n(5885);n(3325);n(5084);const io=JSON.parse('{"QC":"Nitro","rE":"20.0.2"}');var oo,so;const ao=io.QC,uo=io.rE,lo=null!==(oo="Q2xpZW50Cmc5ZjAwOTFmNTY5NmQ0NTZkOWUwZDQ0ZDMzYjJhZDJlOA==")?oo:"",co=(io.rE,new RegExp("^https?:\\/\\/.*?\\.(bananacakepop\\.com|chillicream\\.com|chillicream\\.cloud)","i")),fo=null!==(so=null===co||void 0===co?void 0:co.test(self.origin))&&void 0!==so&&so,ho=navigator.userAgent.indexOf("Electron")>=0,po=fo?"cloud":ho?"app":"middleware",go="".concat(ao,"/").concat(uo," (").concat(po,")");(function(){if(navigator.userAgent.indexOf("Win")>=0)return"Windows";if(navigator.userAgent.indexOf("Mac")>=0)return"macOS";if(navigator.userAgent.indexOf("X11")>=0||navigator.userAgent.indexOf("Linux")>=0)return"Linux"})(),function(){const e=navigator.userAgent.toLowerCase();e.includes("mac os")||e.includes("ipad")}();const mo="Content-Type",vo=/^https?:\/\//i,yo=50,_o=1e3,Eo=5e3,bo=6e4,Do=3e5;n(3358);let No=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:21;return crypto.getRandomValues(new Uint8Array(e)).reduce(((e,t)=>e+=(t&=63)<36?t.toString(36):t<62?(t-26).toString(36).toUpperCase():t>62?"-":"_"),"")};const To="|";function So(e){return e&&e.length>0?"".concat(e).concat(To).concat(No()):No()}function Io(){return Date.now()}n(4159);let wo=function(e){return e[e.today=0]="today",e[e.last30Minutes=1800]="last30Minutes",e[e.lastHour=3600]="lastHour",e[e.last2Hours=7200]="last2Hours",e[e.last6Hours=21600]="last6Hours",e[e.last12Hours=43200]="last12Hours",e[e.last24Hours=86400]="last24Hours",e[e.last2Days=172800]="last2Days",e[e.last7Days=604800]="last7Days",e[e.last60Days=5184e3]="last60Days",e}({});n(9564),n(6532),n(6324),n(231),n(5666),n(7845);Map;n(2316);var Ao,Ro,Co;function Oo(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Fo(e){return Fo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Fo(e)}function Lo(e){var t=function(e,t){if("object"!=Fo(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Fo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Fo(t)?t:t+""}function ko(e,t,n){return(t=Lo(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xo=Object.defineProperty,Po=(e,t)=>{for(var n in t)xo(e,n,{get:t[n],enumerable:!0})},Mo={};Po(Mo,{languages:()=>As,options:()=>Rs,parsers:()=>Cs,printers:()=>Ia});var Bo=(e,t,n,r)=>{if(!e||null!=t)return t.replaceAll?t.replaceAll(n,r):n.global?t.replace(n,r):t.split(n).join(r)},Vo="indent",Uo="group",jo="if-break",Ko="line",Yo=()=>{},qo=Yo,Go=Yo;function Ho(e){return qo(e),{type:Vo,contents:e}}function zo(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return qo(e),Go(t.expandedStates,!0),{type:Uo,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function Wo(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return qo(e),""!==t&&qo(t),{type:jo,breakContents:e,flatContents:t,groupId:n.groupId}}var Qo={type:Ko},Jo={type:Ko,soft:!0},Xo=[{type:Ko,hard:!0},{type:"break-parent"}];function $o(e,t){qo(e),Go(t);let n=[];for(let r=0;r<t.length;r++)0!==r&&n.push(e),n.push(t[r]);return n}function Zo(e){return(t,n,r)=>{let i=!(null==r||!r.backwards);if(!1===n)return!1;let{length:o}=t,s=n;for(;s>=0&&s<o;){let n=t.charAt(s);if(e instanceof RegExp){if(!e.test(n))return s}else if(!e.includes(n))return s;i?s--:s++}return(-1===s||s===o)&&s}}Zo(/\s/u);var es=Zo(" \t"),ts=Zo(",; \t"),ns=Zo(/[^\n\r]/u);var rs=function(e,t,n){let r=!(null==n||!n.backwards);if(!1===t)return!1;let i=e.charAt(t);if(r){if("\r"===e.charAt(t-1)&&"\n"===i)return t-2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t-1}else{if("\r"===i&&"\n"===e.charAt(t+1))return t+2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t+1}return t};var is=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=es(e,n.backwards?t-1:t,n);return r!==rs(e,r,n)};var os=function(e,t){if(!1===t)return!1;if("/"===e.charAt(t)&&"*"===e.charAt(t+1))for(let n=t+2;n<e.length;++n)if("*"===e.charAt(n)&&"/"===e.charAt(n+1))return n+2;return t};var ss=function(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?ns(e,t):t)};var as=function(e,t){let n=null,r=t;for(;r!==n;)n=r,r=ts(e,r),r=os(e,r),r=es(e,r);return r=ss(e,r),r=rs(e,r),!1!==r&&is(e,r)};var us=function(e){return Array.isArray(e)&&e.length>0},ls=class extends Error{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"type";super("Unexpected ".concat(t," node ").concat(n,": ").concat(JSON.stringify(e[n]),".")),ko(this,"name","UnexpectedNodeError"),this.node=e}},cs=ls,ds=null;function fs(e){if(null!==ds&&(ds.property,1)){let e=ds;return ds=fs.prototype=null,e}return ds=fs.prototype=null!==e&&void 0!==e?e:Object.create(null),new fs}for(let n=0;n<=10;n++)fs();var hs,ps=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"type";return function(e){fs(e)}(e),function(n){let r=n[t],i=e[r];if(!Array.isArray(i))throw Object.assign(new Error("Missing visitor keys for '".concat(r,"'.")),{node:n});return i}},gs=class{constructor(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}},ms=class{constructor(e,t,n,r,i,o){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=o,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}},vs={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]};new Set(Object.keys(vs));!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(hs||(hs={}));var ys=ps(vs,"kind");function _s(e){return e.loc.start}function Es(e){return e.loc.end}var bs=function(e,t,n){let{node:r}=e;if(!r.description)return"";let i=[n("description")];return"InputValueDefinition"!==r.kind||r.description.block?i.push(Xo):i.push(Qo),i};function Ds(e,t,n){if(0===n.directives.length)return"";let r=$o(Qo,e.map(t,"directives"));return"FragmentDefinition"===n.kind||"OperationDefinition"===n.kind?zo([Qo,r]):[" ",zo(Ho([Jo,r]))]}function Ns(e,t,n,r){return e.map((e=>{let{isLast:r,node:i}=e,o=n();return!r&&as(t.originalText,Es(i))?[o,Xo]:o}),r)}function Ts(e,t){let{node:n}=e;return us(n.variableDefinitions)?zo(["(",Ho([Jo,$o([Wo("",", "),Jo],e.map(t,"variableDefinitions"))]),Jo,")"]):""}function Ss(e,t){"StringValue"===e.kind&&e.block&&!e.value.includes("\n")&&(t.value=e.value.trim())}Ss.ignoredProperties=new Set(["loc","comments"]);var Is={print:function(e,t,n){let{node:r}=e;switch(r.kind){case"Document":return[...$o(Xo,Ns(e,t,n,"definitions")),Xo];case"OperationDefinition":{let i="{"!==t.originalText[_s(r)],o=!!r.name;return[i?r.operation:"",i&&o?[" ",n("name")]:"",i&&!o&&us(r.variableDefinitions)?" ":"",Ts(e,n),Ds(e,n,r),i||o?" ":"",n("selectionSet")]}case"FragmentDefinition":return["fragment ",n("name"),Ts(e,n)," on ",n("typeCondition"),Ds(e,n,r)," ",n("selectionSet")];case"SelectionSet":return["{",Ho([Xo,$o(Xo,Ns(e,t,n,"selections"))]),Xo,"}"];case"Field":return zo([r.alias?[n("alias"),": "]:"",n("name"),r.arguments.length>0?zo(["(",Ho([Jo,$o([Wo("",", "),Jo],Ns(e,t,n,"arguments"))]),Jo,")"]):"",Ds(e,n,r),r.selectionSet?" ":"",n("selectionSet")]);case"Name":case"IntValue":case"FloatValue":case"EnumValue":return r.value;case"StringValue":if(r.block){let e=Bo(!1,r.value,'"""',String.raw(Ao||(Ao=Oo(['"""'],['\\"""'])))).split("\n");return 1===e.length&&(e[0]=e[0].trim()),e.every((e=>""===e))&&(e.length=0),$o(Xo,['"""',...e,'"""'])}return['"',Bo(!1,Bo(!1,r.value,/["\\]/gu,String.raw(Ro||(Ro=Oo(["$&"],["\\$&"])))),"\n",String.raw(Co||(Co=Oo(["\n"],["\\n"])))),'"'];case"BooleanValue":return r.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",n("name")];case"ListValue":return zo(["[",Ho([Jo,$o([Wo("",", "),Jo],e.map(n,"values"))]),Jo,"]"]);case"ObjectValue":{let i=t.bracketSpacing&&r.fields.length>0?" ":"";return zo(["{",i,Ho([Jo,$o([Wo("",", "),Jo],e.map(n,"fields"))]),Jo,Wo("",i),"}"])}case"ObjectField":case"Argument":return[n("name"),": ",n("value")];case"Directive":return["@",n("name"),r.arguments.length>0?zo(["(",Ho([Jo,$o([Wo("",", "),Jo],Ns(e,t,n,"arguments"))]),Jo,")"]):""];case"NamedType":return n("name");case"VariableDefinition":return[n("variable"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",Ds(e,n,r)];case"ObjectTypeExtension":case"ObjectTypeDefinition":case"InputObjectTypeExtension":case"InputObjectTypeDefinition":case"InterfaceTypeExtension":case"InterfaceTypeDefinition":{let{kind:i}=r,o=[];return i.endsWith("TypeDefinition")?o.push(bs(e,t,n)):o.push("extend "),i.startsWith("ObjectType")?o.push("type"):i.startsWith("InputObjectType")?o.push("input"):o.push("interface"),o.push(" ",n("name")),!i.startsWith("InputObjectType")&&r.interfaces.length>0&&o.push(" implements ",...function(e,t,n){let{node:r}=e,i=[],{interfaces:o}=r,s=e.map(n,"interfaces");for(let a=0;a<o.length;a++){let e=o[a];i.push(s[a]);let n=o[a+1];if(n){let r=t.originalText.slice(e.loc.end,n.loc.start).includes("#");i.push(" &",r?Qo:" ")}}return i}(e,t,n)),o.push(Ds(e,n,r)),r.fields.length>0&&o.push([" {",Ho([Xo,$o(Xo,Ns(e,t,n,"fields"))]),Xo,"}"]),o}case"FieldDefinition":return[bs(e,t,n),n("name"),r.arguments.length>0?zo(["(",Ho([Jo,$o([Wo("",", "),Jo],Ns(e,t,n,"arguments"))]),Jo,")"]):"",": ",n("type"),Ds(e,n,r)];case"DirectiveDefinition":return[bs(e,t,n),"directive ","@",n("name"),r.arguments.length>0?zo(["(",Ho([Jo,$o([Wo("",", "),Jo],Ns(e,t,n,"arguments"))]),Jo,")"]):"",r.repeatable?" repeatable":""," on ",...$o(" | ",e.map(n,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[bs(e,t,n),"EnumTypeExtension"===r.kind?"extend ":"","enum ",n("name"),Ds(e,n,r),r.values.length>0?[" {",Ho([Xo,$o(Xo,Ns(e,t,n,"values"))]),Xo,"}"]:""];case"EnumValueDefinition":return[bs(e,t,n),n("name"),Ds(e,n,r)];case"InputValueDefinition":return[bs(e,t,n),n("name"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",Ds(e,n,r)];case"SchemaExtension":return["extend schema",Ds(e,n,r),...r.operationTypes.length>0?[" {",Ho([Xo,$o(Xo,Ns(e,t,n,"operationTypes"))]),Xo,"}"]:[]];case"SchemaDefinition":return[bs(e,t,n),"schema",Ds(e,n,r)," {",r.operationTypes.length>0?Ho([Xo,$o(Xo,Ns(e,t,n,"operationTypes"))]):"",Xo,"}"];case"OperationTypeDefinition":return[r.operation,": ",n("type")];case"FragmentSpread":return["...",n("name"),Ds(e,n,r)];case"InlineFragment":return["...",r.typeCondition?[" on ",n("typeCondition")]:"",Ds(e,n,r)," ",n("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return zo([bs(e,t,n),zo(["UnionTypeExtension"===r.kind?"extend ":"","union ",n("name"),Ds(e,n,r),r.types.length>0?[" =",Wo(""," "),Ho([Wo([Qo,"| "]),$o([Qo,"| "],e.map(n,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[bs(e,t,n),"ScalarTypeExtension"===r.kind?"extend ":"","scalar ",n("name"),Ds(e,n,r)];case"NonNullType":return[n("type"),"!"];case"ListType":return["[",n("type"),"]"];default:throw new cs(r,"Graphql","kind")}},massageAstNode:Ss,hasPrettierIgnore:function(e){var t;let{node:n}=e;return null==(t=null==n?void 0:n.comments)?void 0:t.some((e=>"prettier-ignore"===e.value.trim()))},insertPragma:function(e){return"# @format\n\n"+e},printComment:function(e){let t=e.node;if("Comment"===t.kind)return"#"+t.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(t))},canAttachComment:function(e){return"Comment"!==e.kind},getVisitorKeys:ys},ws=Is,As=[{linguistLanguageId:139,name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",parsers:["graphql"],vscodeLanguageIds:["graphql"]}],Rs={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."}},Cs={};function Os(e,t){if(!e)throw new Error(null!==t&&void 0!==t?t:"Unexpected invariant triggered.")}Po(Cs,{graphql:()=>Sa});var Fs=/\r\n|[\n\r]/g;function Ls(e,t){let n=0,r=1;for(let i of e.body.matchAll(Fs)){if("number"==typeof i.index||Os(!1),i.index>=t)break;n=i.index+i[0].length,r+=1}return{line:r,column:t+1-n}}function ks(e){return xs(e.source,Ls(e.source,e.start))}function xs(e,t){let n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,o=e.locationOffset.line-1,s=t.line+o,a=1===t.line?n:0,u=t.column+a,l="".concat(e.name,":").concat(s,":").concat(u,"\n"),c=r.split(/\r\n|[\n\r]/g),d=c[i];if(d.length>120){let e=Math.floor(u/80),t=u%80,n=[];for(let r=0;r<d.length;r+=80)n.push(d.slice(r,r+80));return l+Ps([["".concat(s," |"),n[0]],...n.slice(1,e+1).map((e=>["|",e])),["|","^".padStart(t)],["|",n[e+1]]])}return l+Ps([["".concat(s-1," |"),c[i-1]],["".concat(s," |"),d],["|","^".padStart(u)],["".concat(s+1," |"),c[i+1]]])}function Ps(e){let t=e.filter((e=>{let[t,n]=e;return void 0!==n})),n=Math.max(...t.map((e=>{let[t]=e;return t.length})));return t.map((e=>{let[t,r]=e;return t.padStart(n)+(r?" "+r:"")})).join("\n")}var Ms,Bs,Vs,Us=class e extends Error{constructor(t){for(var n,r,i,o=arguments.length,s=new Array(o>1?o-1:0),a=1;a<o;a++)s[a-1]=arguments[a];let{nodes:u,source:l,positions:c,path:d,originalError:f,extensions:h}=function(e){let t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(s);super(t),this.name="GraphQLError",this.path=null!==d&&void 0!==d?d:void 0,this.originalError=null!==f&&void 0!==f?f:void 0,this.nodes=js(Array.isArray(u)?u:u?[u]:void 0);let p=js(null===(n=this.nodes)||void 0===n?void 0:n.map((e=>e.loc)).filter((e=>null!=e)));this.source=null!==l&&void 0!==l?l:null==p||null===(r=p[0])||void 0===r?void 0:r.source,this.positions=null!==c&&void 0!==c?c:null==p?void 0:p.map((e=>e.start)),this.locations=c&&l?c.map((e=>Ls(l,e))):null==p?void 0:p.map((e=>Ls(e.source,e.start)));let g=function(e){return"object"==typeof e&&null!==e}(null==f?void 0:f.extensions)?null==f?void 0:f.extensions:void 0;this.extensions=null!==(i=null!==h&&void 0!==h?h:g)&&void 0!==i?i:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=f&&f.stack?Object.defineProperty(this,"stack",{value:f.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,e):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(let t of this.nodes)t.loc&&(e+="\n\n"+ks(t.loc));else if(this.source&&this.locations)for(let t of this.locations)e+="\n\n"+xs(this.source,t);return e}toJSON(){let e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}};function js(e){return void 0===e||0===e.length?void 0:e}function Ks(e,t,n){return new Us("Syntax Error: ".concat(n),{source:e,positions:[t]})}function Ys(e){return 9===e||32===e}function qs(e){return e>=48&&e<=57}function Gs(e){return e>=97&&e<=122||e>=65&&e<=90}function Hs(e){return Gs(e)||95===e}function zs(e){return Gs(e)||qs(e)||95===e}function Ws(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,i=-1;for(let s=0;s<e.length;++s){var o;let t=e[s],a=Qs(t);a!==t.length&&(r=null!==(o=r)&&void 0!==o?o:s,i=s,0!==s&&a<n&&(n=a))}return e.map(((e,t)=>0===t?e:e.slice(n))).slice(null!==(t=r)&&void 0!==t?t:0,i+1)}function Qs(e){let t=0;for(;t<e.length&&Ys(e.charCodeAt(t));)++t;return t}!function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"}(Ms||(Ms={})),function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"}(Bs||(Bs={})),function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"}(Vs||(Vs={}));var Js=class{constructor(e){let t=new ms(Vs.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==Vs.EOF)do{if(e.next)e=e.next;else{let t=ra(this,e.end);e.next=t,t.prev=e,e=t}}while(e.kind===Vs.COMMENT);return e}};function Xs(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function $s(e,t){return Zs(e.charCodeAt(t))&&ea(e.charCodeAt(t+1))}function Zs(e){return e>=55296&&e<=56319}function ea(e){return e>=56320&&e<=57343}function ta(e,t){let n=e.source.body.codePointAt(t);if(void 0===n)return Vs.EOF;if(n>=32&&n<=126){let e=String.fromCodePoint(n);return'"'===e?"'\"'":'"'.concat(e,'"')}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function na(e,t,n,r,i){let o=e.line,s=1+n-e.lineStart;return new ms(t,n,r,o,s,i)}function ra(e,t){let n=e.source.body,r=n.length,i=t;for(;i<r;){let t=n.charCodeAt(i);switch(t){case 65279:case 9:case 32:case 44:++i;continue;case 10:++i,++e.line,e.lineStart=i;continue;case 13:10===n.charCodeAt(i+1)?i+=2:++i,++e.line,e.lineStart=i;continue;case 35:return ia(e,i);case 33:return na(e,Vs.BANG,i,i+1);case 36:return na(e,Vs.DOLLAR,i,i+1);case 38:return na(e,Vs.AMP,i,i+1);case 40:return na(e,Vs.PAREN_L,i,i+1);case 41:return na(e,Vs.PAREN_R,i,i+1);case 46:if(46===n.charCodeAt(i+1)&&46===n.charCodeAt(i+2))return na(e,Vs.SPREAD,i,i+3);break;case 58:return na(e,Vs.COLON,i,i+1);case 61:return na(e,Vs.EQUALS,i,i+1);case 64:return na(e,Vs.AT,i,i+1);case 91:return na(e,Vs.BRACKET_L,i,i+1);case 93:return na(e,Vs.BRACKET_R,i,i+1);case 123:return na(e,Vs.BRACE_L,i,i+1);case 124:return na(e,Vs.PIPE,i,i+1);case 125:return na(e,Vs.BRACE_R,i,i+1);case 34:return 34===n.charCodeAt(i+1)&&34===n.charCodeAt(i+2)?ha(e,i):aa(e,i)}if(qs(t)||45===t)return oa(e,i,t);if(Hs(t))return pa(e,i);throw Ks(e.source,i,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":Xs(t)||$s(n,i)?"Unexpected character: ".concat(ta(e,i),"."):"Invalid character: ".concat(ta(e,i),"."))}return na(e,Vs.EOF,r,r)}function ia(e,t){let n=e.source.body,r=n.length,i=t+1;for(;i<r;){let e=n.charCodeAt(i);if(10===e||13===e)break;if(Xs(e))++i;else{if(!$s(n,i))break;i+=2}}return na(e,Vs.COMMENT,t,i,n.slice(t+1,i))}function oa(e,t,n){let r=e.source.body,i=t,o=n,s=!1;if(45===o&&(o=r.charCodeAt(++i)),48===o){if(o=r.charCodeAt(++i),qs(o))throw Ks(e.source,i,"Invalid number, unexpected digit after 0: ".concat(ta(e,i),"."))}else i=sa(e,i,o),o=r.charCodeAt(i);if(46===o&&(s=!0,o=r.charCodeAt(++i),i=sa(e,i,o),o=r.charCodeAt(i)),(69===o||101===o)&&(s=!0,o=r.charCodeAt(++i),(43===o||45===o)&&(o=r.charCodeAt(++i)),i=sa(e,i,o),o=r.charCodeAt(i)),46===o||Hs(o))throw Ks(e.source,i,"Invalid number, expected digit but got: ".concat(ta(e,i),"."));return na(e,s?Vs.FLOAT:Vs.INT,t,i,r.slice(t,i))}function sa(e,t,n){if(!qs(n))throw Ks(e.source,t,"Invalid number, expected digit but got: ".concat(ta(e,t),"."));let r=e.source.body,i=t+1;for(;qs(r.charCodeAt(i));)++i;return i}function aa(e,t){let n=e.source.body,r=n.length,i=t+1,o=i,s="";for(;i<r;){let r=n.charCodeAt(i);if(34===r)return s+=n.slice(o,i),na(e,Vs.STRING,t,i+1,s);if(92!==r){if(10===r||13===r)break;if(Xs(r))++i;else{if(!$s(n,i))throw Ks(e.source,i,"Invalid character within String: ".concat(ta(e,i),"."));i+=2}}else{s+=n.slice(o,i);let t=117===n.charCodeAt(i+1)?123===n.charCodeAt(i+2)?ua(e,i):la(e,i):fa(e,i);s+=t.value,i+=t.size,o=i}}throw Ks(e.source,i,"Unterminated string.")}function ua(e,t){let n=e.source.body,r=0,i=3;for(;i<12;){let e=n.charCodeAt(t+i++);if(125===e){if(i<5||!Xs(r))break;return{value:String.fromCodePoint(r),size:i}}if(r=r<<4|da(e),r<0)break}throw Ks(e.source,t,'Invalid Unicode escape sequence: "'.concat(n.slice(t,t+i),'".'))}function la(e,t){let n=e.source.body,r=ca(n,t+2);if(Xs(r))return{value:String.fromCodePoint(r),size:6};if(Zs(r)&&92===n.charCodeAt(t+6)&&117===n.charCodeAt(t+7)){let e=ca(n,t+8);if(ea(e))return{value:String.fromCodePoint(r,e),size:12}}throw Ks(e.source,t,'Invalid Unicode escape sequence: "'.concat(n.slice(t,t+6),'".'))}function ca(e,t){return da(e.charCodeAt(t))<<12|da(e.charCodeAt(t+1))<<8|da(e.charCodeAt(t+2))<<4|da(e.charCodeAt(t+3))}function da(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function fa(e,t){let n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"\t",size:2}}throw Ks(e.source,t,'Invalid character escape sequence: "'.concat(n.slice(t,t+2),'".'))}function ha(e,t){let n=e.source.body,r=n.length,i=e.lineStart,o=t+3,s=o,a="",u=[];for(;o<r;){let r=n.charCodeAt(o);if(34===r&&34===n.charCodeAt(o+1)&&34===n.charCodeAt(o+2)){a+=n.slice(s,o),u.push(a);let r=na(e,Vs.BLOCK_STRING,t,o+3,Ws(u).join("\n"));return e.line+=u.length-1,e.lineStart=i,r}if(92!==r||34!==n.charCodeAt(o+1)||34!==n.charCodeAt(o+2)||34!==n.charCodeAt(o+3))if(10!==r&&13!==r)if(Xs(r))++o;else{if(!$s(n,o))throw Ks(e.source,o,"Invalid character within String: ".concat(ta(e,o),"."));o+=2}else a+=n.slice(s,o),u.push(a),13===r&&10===n.charCodeAt(o+1)?o+=2:++o,a="",s=o,i=o;else a+=n.slice(s,o),s=o+1,o+=4}throw Ks(e.source,o,"Unterminated string.")}function pa(e,t){let n=e.source.body,r=n.length,i=t+1;for(;i<r;){if(!zs(n.charCodeAt(i)))break;++i}return na(e,Vs.NAME,t,i,n.slice(t,i))}function ga(e,t){if(!e)throw new Error(t)}function ma(e){return va(e,[])}function va(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":return function(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";let n=[...t,e];if(function(e){return"function"==typeof e.toJSON}(e)){let t=e.toJSON();if(t!==e)return"string"==typeof t?t:va(t,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";let n=Math.min(10,e.length),r=e.length-n,i=[];for(let o=0;o<n;++o)i.push(va(e[o],t));return 1===r?i.push("... 1 more item"):r>1&&i.push("... ".concat(r," more items")),"["+i.join(", ")+"]"}(e,n);return function(e,t){let n=Object.entries(e);return 0===n.length?"{}":t.length>2?"["+function(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){let t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(e)+"]":"{ "+n.map((e=>{let[n,r]=e;return n+": "+va(r,t)})).join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}var ya=globalThis.process&&!0?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if("object"==typeof e&&null!==e){var n;let r=t.prototype[Symbol.toStringTag];if(r===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null===(n=e.constructor)||void 0===n?void 0:n.name)){let t=ma(e);throw new Error("Cannot use ".concat(r,' "').concat(t,'" from another module or realm.\n\nEnsure that there is only one instance of "graphql" in the node_modules\ndirectory. If different versions of "graphql" are the dependencies of other\nrelied on modules, use "resolutions" to ensure only one version is installed.\n\nhttps://yarnpkg.com/en/docs/selective-version-resolutions\n\nDuplicate "graphql" modules cannot be used at the same time since different\nversions may have different capabilities and behavior. The data from one\nversion used in the function from another could produce confusing and\nspurious results.'))}}return!1},_a=class{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"==typeof e||ga(!1,"Body must be a string. Received: ".concat(ma(e),".")),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||ga(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||ga(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}};var Ea=class{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(e){return ya(e,_a)}(e)?e:new _a(e);this._lexer=new Js(n),this._options=t,this._tokenCounter=0}parseName(){let e=this.expectToken(Vs.NAME);return this.node(e,{kind:Bs.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:Bs.DOCUMENT,definitions:this.many(Vs.SOF,this.parseDefinition,Vs.EOF)})}parseDefinition(){if(this.peek(Vs.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===Vs.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(e)throw Ks(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){let e=this._lexer.token;if(this.peek(Vs.BRACE_L))return this.node(e,{kind:Bs.OPERATION_DEFINITION,operation:hs.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let t,n=this.parseOperationType();return this.peek(Vs.NAME)&&(t=this.parseName()),this.node(e,{kind:Bs.OPERATION_DEFINITION,operation:n,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(Vs.NAME);switch(e.value){case"query":return hs.QUERY;case"mutation":return hs.MUTATION;case"subscription":return hs.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(Vs.PAREN_L,this.parseVariableDefinition,Vs.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:Bs.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(Vs.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(Vs.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(Vs.DOLLAR),this.node(e,{kind:Bs.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:Bs.SELECTION_SET,selections:this.many(Vs.BRACE_L,this.parseSelection,Vs.BRACE_R)})}parseSelection(){return this.peek(Vs.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,t,n=this._lexer.token,r=this.parseName();return this.expectOptionalToken(Vs.COLON)?(e=r,t=this.parseName()):t=r,this.node(n,{kind:Bs.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(Vs.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(Vs.PAREN_L,t,Vs.PAREN_R)}parseArgument(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this._lexer.token,n=this.parseName();return this.expectToken(Vs.COLON),this.node(t,{kind:Bs.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(Vs.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(Vs.NAME)?this.node(e,{kind:Bs.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:Bs.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token;return this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables?this.node(e,{kind:Bs.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:Bs.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){let t=this._lexer.token;switch(t.kind){case Vs.BRACKET_L:return this.parseList(e);case Vs.BRACE_L:return this.parseObject(e);case Vs.INT:return this.advanceLexer(),this.node(t,{kind:Bs.INT,value:t.value});case Vs.FLOAT:return this.advanceLexer(),this.node(t,{kind:Bs.FLOAT,value:t.value});case Vs.STRING:case Vs.BLOCK_STRING:return this.parseStringLiteral();case Vs.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:Bs.BOOLEAN,value:!0});case"false":return this.node(t,{kind:Bs.BOOLEAN,value:!1});case"null":return this.node(t,{kind:Bs.NULL});default:return this.node(t,{kind:Bs.ENUM,value:t.value})}case Vs.DOLLAR:if(e){if(this.expectToken(Vs.DOLLAR),this._lexer.token.kind===Vs.NAME){let e=this._lexer.token.value;throw Ks(this._lexer.source,t.start,'Unexpected variable "$'.concat(e,'" in constant value.'))}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:Bs.STRING,value:e.value,block:e.kind===Vs.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:Bs.LIST,values:this.any(Vs.BRACKET_L,(()=>this.parseValueLiteral(e)),Vs.BRACKET_R)})}parseObject(e){return this.node(this._lexer.token,{kind:Bs.OBJECT,fields:this.any(Vs.BRACE_L,(()=>this.parseObjectField(e)),Vs.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,n=this.parseName();return this.expectToken(Vs.COLON),this.node(t,{kind:Bs.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(Vs.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(Vs.AT),this.node(t,{kind:Bs.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e,t=this._lexer.token;if(this.expectOptionalToken(Vs.BRACKET_L)){let n=this.parseTypeReference();this.expectToken(Vs.BRACKET_R),e=this.node(t,{kind:Bs.LIST_TYPE,type:n})}else e=this.parseNamedType();return this.expectOptionalToken(Vs.BANG)?this.node(t,{kind:Bs.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:Bs.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(Vs.STRING)||this.peek(Vs.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let n=this.parseConstDirectives(),r=this.many(Vs.BRACE_L,this.parseOperationTypeDefinition,Vs.BRACE_R);return this.node(e,{kind:Bs.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(Vs.COLON);let n=this.parseNamedType();return this.node(e,{kind:Bs.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let n=this.parseName(),r=this.parseConstDirectives();return this.node(e,{kind:Bs.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:Bs.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(Vs.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(Vs.BRACE_L,this.parseFieldDefinition,Vs.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(Vs.COLON);let i=this.parseTypeReference(),o=this.parseConstDirectives();return this.node(e,{kind:Bs.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:o})}parseArgumentDefs(){return this.optionalMany(Vs.PAREN_L,this.parseInputValueDef,Vs.PAREN_R)}parseInputValueDef(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(Vs.COLON);let r,i=this.parseTypeReference();this.expectOptionalToken(Vs.EQUALS)&&(r=this.parseConstValueLiteral());let o=this.parseConstDirectives();return this.node(e,{kind:Bs.INPUT_VALUE_DEFINITION,description:t,name:n,type:i,defaultValue:r,directives:o})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:Bs.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:Bs.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(Vs.EQUALS)?this.delimitedMany(Vs.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:Bs.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i})}parseEnumValuesDefinition(){return this.optionalMany(Vs.BRACE_L,this.parseEnumValueDefinition,Vs.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(e,{kind:Bs.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw Ks(this._lexer.source,this._lexer.token.start,"".concat(ba(this._lexer.token)," is reserved and cannot be used for an enum value."));return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:Bs.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(Vs.BRACE_L,this.parseInputValueDef,Vs.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===Vs.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let t=this.parseConstDirectives(),n=this.optionalMany(Vs.BRACE_L,this.parseOperationTypeDefinition,Vs.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:Bs.SCHEMA_EXTENSION,directives:t,operationTypes:n})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),n=this.parseConstDirectives();if(0===n.length)throw this.unexpected();return this.node(e,{kind:Bs.SCALAR_TYPE_EXTENSION,name:t,directives:n})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:Bs.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:Bs.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:Bs.UNION_TYPE_EXTENSION,name:t,directives:n,types:r})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:Bs.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:Bs.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(Vs.AT);let n=this.parseName(),r=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let o=this.parseDirectiveLocations();return this.node(e,{kind:Bs.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:i,locations:o})}parseDirectiveLocations(){return this.delimitedMany(Vs.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(Ms,t.value))return t;throw this.unexpected(e)}node(e,t){return!0!==this._options.noLocation&&(t.loc=new gs(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw Ks(this._lexer.source,t.start,"Expected ".concat(Da(e),", found ").concat(ba(t),"."))}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind!==Vs.NAME||t.value!==e)throw Ks(this._lexer.source,t.start,'Expected "'.concat(e,'", found ').concat(ba(t),"."));this.advanceLexer()}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===Vs.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let t=null!==e&&void 0!==e?e:this._lexer.token;return Ks(this._lexer.source,t.start,"Unexpected ".concat(ba(t),"."))}any(e,t,n){this.expectToken(e);let r=[];for(;!this.expectOptionalToken(n);)r.push(t.call(this));return r}optionalMany(e,t,n){if(this.expectOptionalToken(e)){let e=[];do{e.push(t.call(this))}while(!this.expectOptionalToken(n));return e}return[]}many(e,t,n){this.expectToken(e);let r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r}delimitedMany(e,t){this.expectOptionalToken(e);let n=[];do{n.push(t.call(this))}while(this.expectOptionalToken(e));return n}advanceLexer(){let{maxTokens:e}=this._options,t=this._lexer.advance();if(void 0!==e&&t.kind!==Vs.EOF&&(++this._tokenCounter,this._tokenCounter>e))throw Ks(this._lexer.source,t.start,"Document contains more that ".concat(e," tokens. Parsing aborted."))}};function ba(e){let t=e.value;return Da(e.kind)+(null!=t?' "'.concat(t,'"'):"")}function Da(e){return function(e){return e===Vs.BANG||e===Vs.DOLLAR||e===Vs.AMP||e===Vs.PAREN_L||e===Vs.PAREN_R||e===Vs.SPREAD||e===Vs.COLON||e===Vs.EQUALS||e===Vs.AT||e===Vs.BRACKET_L||e===Vs.BRACKET_R||e===Vs.BRACE_L||e===Vs.PIPE||e===Vs.BRACE_R}(e)?'"'.concat(e,'"'):e}var Na=function(e,t){let n=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(n,t)};var Ta={allowLegacyFragmentVariables:!0};var Sa={parse:function(e){let t;try{t=function(e,t){return new Ea(e,t).parseDocument()}(e,Ta)}catch(n){throw function(e){if("GraphQLError"===(null==e?void 0:e.name)){let{message:t,locations:[n]}=e;return Na(t,{loc:{start:n},cause:e})}return e}(n)}return t.comments=function(e){let t=[],{startToken:n,endToken:r}=e.loc;for(let i=n;i!==r;i=i.next)"Comment"===i.kind&&t.push({...i,loc:{start:i.start,end:i.end}});return t}(t),t},astFormat:"graphql",hasPragma:function(e){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/u.test(e)},locStart:_s,locEnd:Es},Ia={graphql:ws},wa=Mo,Aa=Object.create,Ra=Object.defineProperty,Ca=Object.getOwnPropertyDescriptor,Oa=Object.getOwnPropertyNames,Fa=Object.getPrototypeOf,La=Object.prototype.hasOwnProperty,ka=e=>{throw TypeError(e)},xa=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Pa=(e,t)=>{for(var n in t)Ra(e,n,{get:t[n],enumerable:!0})},Ma=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of Oa(t))!La.call(e,i)&&i!==n&&Ra(e,i,{get:()=>t[i],enumerable:!(r=Ca(t,i))||r.enumerable});return e},Ba=(e,t,n)=>(n=null!=e?Aa(Fa(e)):{},Ma(!t&&e&&e.__esModule?n:Ra(n,"default",{value:e,enumerable:!0}),e)),Va=(e,t,n)=>(((e,t,n)=>{t.has(e)||ka("Cannot "+n)})(e,t,"access private method"),n),Ua=xa(((e,t)=>{var n=new Proxy(String,{get:()=>n});t.exports=n})),ja={};Pa(ja,{default:()=>Ya,shouldHighlight:()=>Ka});var Ka,Ya,qa=((e,t)=>()=>(e&&(t=e(e=0)),t))((()=>{Ka=()=>!1,Ya=String})),Ga=xa(((e,t)=>{var n=String,r=function(){return{isColorSupported:!1,reset:n,bold:n,dim:n,italic:n,underline:n,inverse:n,hidden:n,strikethrough:n,black:n,red:n,green:n,yellow:n,blue:n,magenta:n,cyan:n,white:n,gray:n,bgBlack:n,bgRed:n,bgGreen:n,bgYellow:n,bgBlue:n,bgMagenta:n,bgCyan:n,bgWhite:n}};t.exports=r(),t.exports.createColors=r})),Ha=xa((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=l,e.default=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(!a){a=!0;let e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";new Error(e).name="DeprecationWarning",console.warn(new Error(e))}return n=Math.max(n,0),l(e,{start:{column:n,line:t}},r)};var t=(qa(),(e=>Ma(Ra({},"__esModule",{value:!0}),e))(ja)),n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=r(t);if(n&&n.has(e))return n.get(e);var i={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&{}.hasOwnProperty.call(e,s)){var a=o?Object.getOwnPropertyDescriptor(e,s):null;a&&(a.get||a.set)?Object.defineProperty(i,s,a):i[s]=e[s]}return i.default=e,n&&n.set(e,i),i}(Ga(),!0);function r(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n:t})(e)}var i,o=n.default,s=(e,t)=>n=>e(t(n));var a=!1;var u=/\r\n|[\n\r\u2028\u2029]/;function l(e,r){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=(a.highlightCode||a.forceColor)&&(0,t.shouldHighlight)(a),c=function(e){return e?(null!=i||(i=(0,n.createColors)(!0)),i):o}(a.forceColor),d=function(e){return{gutter:e.gray,marker:s(e.red,e.bold),message:s(e.red,e.bold)}}(c),f=(e,t)=>l?e(t):t,h=e.split(u),{start:p,end:g,markerLines:m}=function(e,t,n){let r=Object.assign({column:0,line:-1},e.start),i=Object.assign({},r,e.end),{linesAbove:o=2,linesBelow:s=3}=n||{},a=r.line,u=r.column,l=i.line,c=i.column,d=Math.max(a-(o+1),0),f=Math.min(t.length,l+s);-1===a&&(d=0),-1===l&&(f=t.length);let h=l-a,p={};if(h)for(let g=0;g<=h;g++){let e=g+a;if(u)if(0===g){let n=t[e-1].length;p[e]=[u,n-u+1]}else if(g===h)p[e]=[0,c];else{let n=t[e-g].length;p[e]=[0,n]}else p[e]=!0}else p[a]=u===c?!u||[u,0]:[u,c-u];return{start:d,end:f,markerLines:p}}(r,h,a),v=r.start&&"number"==typeof r.start.column,y=String(g).length,_=(l?(0,t.default)(e,a):e).split(u,g).slice(p,g).map(((e,t)=>{let n=p+1+t,r=" ".concat(" ".concat(n).slice(-y)," |"),i=m[n],o=!m[n+1];if(i){let t="";if(Array.isArray(i)){let n=e.slice(0,Math.max(i[0]-1,0)).replace(/[^\t]/g," "),s=i[1]||1;t=["\n ",f(d.gutter,r.replace(/\d/g," "))," ",n,f(d.marker,"^").repeat(s)].join(""),o&&a.message&&(t+=" "+f(d.message,a.message))}return[f(d.marker,">"),f(d.gutter,r),e.length>0?" ".concat(e):"",t].join("")}return" ".concat(f(d.gutter,r)).concat(e.length>0?" ".concat(e):"")})).join("\n");return a.message&&!v&&(_="".concat(" ".repeat(y+1)).concat(a.message,"\n").concat(_)),l?c.reset(_):_}})),za={};Pa(za,{__debug:()=>ef,check:()=>$d,doc:()=>Cd,format:()=>Xd,formatWithCursor:()=>Jd,getSupportInfo:()=>Zd,util:()=>xd,version:()=>kd});var Wa=(e,t,n,r)=>{if(!e||null!=t)return t.replaceAll?t.replaceAll(n,r):n.global?t.replace(n,r):t.split(n).join(r)};function Qa(){}function Ja(e,t,n,r,i){for(var o,s=[];t;)s.push(t),o=t.previousComponent,delete t.previousComponent,t=o;s.reverse();for(var a=0,u=s.length,l=0,c=0;a<u;a++){var d=s[a];if(d.removed){if(d.value=e.join(r.slice(c,c+d.count)),c+=d.count,a&&s[a-1].added){var f=s[a-1];s[a-1]=s[a],s[a]=f}}else{if(!d.added&&i){var h=n.slice(l,l+d.count);h=h.map((function(e,t){var n=r[c+t];return n.length>e.length?n:e})),d.value=e.join(h)}else d.value=e.join(n.slice(l,l+d.count));l+=d.count,d.added||(c+=d.count)}}var p=s[u-1];return u>1&&"string"==typeof p.value&&(p.added||p.removed)&&e.equals("",p.value)&&(s[u-2].value+=p.value,s.pop()),s}Qa.prototype={diff:function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=r.callback;"function"==typeof r&&(i=r,r={}),this.options=r;var o=this;function s(e){return i?(setTimeout((function(){i(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var a=(t=this.removeEmpty(this.tokenize(t))).length,u=e.length,l=1,c=a+u;r.maxEditLength&&(c=Math.min(c,r.maxEditLength));var d=null!==(n=r.timeout)&&void 0!==n?n:1/0,f=Date.now()+d,h=[{oldPos:-1,lastComponent:void 0}],p=this.extractCommon(h[0],t,e,0);if(h[0].oldPos+1>=u&&p+1>=a)return s([{value:this.join(t),count:t.length}]);var g=-1/0,m=1/0;function v(){for(var n=Math.max(g,-l);n<=Math.min(m,l);n+=2){var r=void 0,i=h[n-1],c=h[n+1];i&&(h[n-1]=void 0);var d=!1;if(c){var f=c.oldPos-n;d=c&&0<=f&&f<a}var v=i&&i.oldPos+1<u;if(d||v){if(r=!v||d&&i.oldPos+1<c.oldPos?o.addToPath(c,!0,void 0,0):o.addToPath(i,void 0,!0,1),p=o.extractCommon(r,t,e,n),r.oldPos+1>=u&&p+1>=a)return s(Ja(o,r.lastComponent,t,e,o.useLongestToken));h[n]=r,r.oldPos+1>=u&&(m=Math.min(m,n-1)),p+1>=a&&(g=Math.max(g,n+1))}else h[n]=void 0}l++}if(i)!function e(){setTimeout((function(){if(l>c||Date.now()>f)return i();v()||e()}),0)}();else for(;l<=c&&Date.now()<=f;){var y=v();if(y)return y}},addToPath:function(e,t,n,r){var i=e.lastComponent;return i&&i.added===t&&i.removed===n?{oldPos:e.oldPos+r,lastComponent:{count:i.count+1,added:t,removed:n,previousComponent:i.previousComponent}}:{oldPos:e.oldPos+r,lastComponent:{count:1,added:t,removed:n,previousComponent:i}}},extractCommon:function(e,t,n,r){for(var i=t.length,o=n.length,s=e.oldPos,a=s-r,u=0;a+1<i&&s+1<o&&this.equals(t[a+1],n[s+1]);)a++,s++,u++;return u&&(e.lastComponent={count:u,previousComponent:e.lastComponent}),e.oldPos=s,a},equals:function(e,t){return this.options.comparator?this.options.comparator(e,t):e===t||this.options.ignoreCase&&e.toLowerCase()===t.toLowerCase()},removeEmpty:function(e){for(var t=[],n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}};new Qa;var Xa=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,$a=/\S/,Za=new Qa;Za.equals=function(e,t){return this.options.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t||this.options.ignoreWhitespace&&!$a.test(e)&&!$a.test(t)},Za.tokenize=function(e){for(var t=e.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),n=0;n<t.length-1;n++)!t[n+1]&&t[n+2]&&Xa.test(t[n])&&Xa.test(t[n+2])&&(t[n]+=t[n+2],t.splice(n+1,2),n--);return t};var eu=new Qa;function tu(e){return tu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},tu(e)}eu.tokenize=function(e){this.options.stripTrailingCr&&(e=e.replace(/\r\n/g,"\n"));var t=[],n=e.split(/(\n|\r\n)/);n[n.length-1]||n.pop();for(var r=0;r<n.length;r++){var i=n[r];r%2&&!this.options.newlineIsToken?t[t.length-1]+=i:(this.options.ignoreWhitespace&&(i=i.trim()),t.push(i))}return t},(new Qa).tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)},(new Qa).tokenize=function(e){return e.split(/([{}:;,]|\s+)/)};var nu=Object.prototype.toString,ru=new Qa;function iu(e,t,n,r,i){var o,s;for(t=t||[],n=n||[],r&&(e=r(i,e)),o=0;o<t.length;o+=1)if(t[o]===e)return n[o];if("[object Array]"===nu.call(e)){for(t.push(e),s=new Array(e.length),n.push(s),o=0;o<e.length;o+=1)s[o]=iu(e[o],t,n,r,i);return t.pop(),n.pop(),s}if(e&&e.toJSON&&(e=e.toJSON()),"object"===tu(e)&&null!==e){t.push(e),s={},n.push(s);var a,u=[];for(a in e)e.hasOwnProperty(a)&&u.push(a);for(u.sort(),o=0;o<u.length;o+=1)s[a=u[o]]=iu(e[a],t,n,r,a);t.pop(),n.pop()}else s=e;return s}ru.useLongestToken=!0,ru.tokenize=eu.tokenize,ru.castInput=function(e){var t=this.options,n=t.undefinedReplacement,r=t.stringifyReplacer,i=void 0===r?function(e,t){return typeof t>"u"?n:t}:r;return"string"==typeof e?e:JSON.stringify(iu(e,null,null,i),i," ")},ru.equals=function(e,t){return Qa.prototype.equals.call(ru,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))};var ou=new Qa;function su(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}}function au(e,t){let n;switch(t){case"\n":n=/\n/gu;break;case"\r":n=/\r/gu;break;case"\r\n":n=/\r\n/gu;break;default:throw new Error('Unexpected "eol" '.concat(JSON.stringify(t),"."))}let r=e.match(n);return r?r.length:0}ou.tokenize=function(e){return e.slice()},ou.join=ou.removeEmpty=function(e){return e};var uu="string",lu="array",cu="cursor",du="indent",fu="align",hu="trim",pu="group",gu="fill",mu="if-break",vu="indent-if-break",yu="line-suffix",_u="line-suffix-boundary",Eu="line",bu="label",Du="break-parent",Nu=new Set([cu,du,fu,hu,pu,gu,mu,vu,yu,_u,Eu,bu,Du]);var Tu=function(e){if("string"==typeof e)return uu;if(Array.isArray(e))return lu;if(!e)return;let{type:t}=e;return Nu.has(t)?t:void 0};function Su(e){let t=null===e?"null":typeof e;if("string"!==t&&"object"!==t)return"Unexpected doc '".concat(t,"', \nExpected it to be 'string' or 'object'.");if(Tu(e))throw new Error("doc is valid.");let n=Object.prototype.toString.call(e);if("[object Object]"!==n)return"Unexpected doc '".concat(n,"'.");let r=(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e))([...Nu].map((e=>"'".concat(e,"'"))));return"Unexpected doc.type '".concat(e.type,"'.\nExpected it to be ").concat(r,".")}var Iu=class extends Error{constructor(e){super(Su(e)),ko(this,"name","InvalidDocError"),this.doc=e}},wu=Iu,Au={};var Ru=function(e,t,n,r){let i=[e];for(;i.length>0;){let e=i.pop();if(e===Au){n(i.pop());continue}n&&i.push(e,Au);let o=Tu(e);if(!o)throw new wu(e);if(!1!==(null==t?void 0:t(e)))switch(o){case lu:case gu:{let t=o===lu?e:e.parts;for(let e=t.length-1;e>=0;--e)i.push(t[e]);break}case mu:i.push(e.flatContents,e.breakContents);break;case pu:if(r&&e.expandedStates)for(let t=e.expandedStates.length-1;t>=0;--t)i.push(e.expandedStates[t]);else i.push(e.contents);break;case fu:case du:case vu:case bu:case yu:i.push(e.contents);break;case uu:case cu:case hu:case _u:case Eu:case Du:break;default:throw new wu(e)}}},Cu=()=>{},Ou=Cu,Fu=Cu;function Lu(e){return Ou(e),{type:du,contents:e}}function ku(e,t){return Ou(t),{type:fu,contents:t,n:e}}function xu(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Ou(e),Fu(t.expandedStates,!0),{type:pu,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function Pu(e){return Fu(e),{type:gu,parts:e}}function Mu(e){return Ou(e),{type:yu,contents:e}}var Bu={type:_u},Vu={type:Du},Uu={type:hu},ju={type:Eu,hard:!0},Ku={type:Eu,hard:!0,literal:!0},Yu={type:Eu},qu={type:Eu,soft:!0},Gu=[ju,Vu],Hu=[Ku,Vu],zu={type:cu};function Wu(e,t){Ou(e),Fu(t);let n=[];for(let r=0;r<t.length;r++)0!==r&&n.push(e),n.push(t[r]);return n}function Qu(e,t,n){Ou(e);let r=e;if(t>0){for(let e=0;e<Math.floor(t/n);++e)r=Lu(r);r=ku(t%n,r),r=ku(Number.NEGATIVE_INFINITY,r)}return r}function Ju(e){var t;if(!e)return"";if(Array.isArray(e)){let t=[];for(let n of e)if(Array.isArray(n))t.push(...Ju(n));else{let e=Ju(n);""!==e&&t.push(e)}return t}return e.type===mu?{...e,breakContents:Ju(e.breakContents),flatContents:Ju(e.flatContents)}:e.type===pu?{...e,contents:Ju(e.contents),expandedStates:null==(t=e.expandedStates)?void 0:t.map(Ju)}:e.type===gu?{type:"fill",parts:e.parts.map(Ju)}:e.contents?{...e,contents:Ju(e.contents)}:e}var Xu=(e,t,n)=>{if(!e||null!=t)return Array.isArray(t)||"string"==typeof t?t[n<0?t.length+n:n]:t.at(n)};var $u=e=>!(function(e){return 12288===e||e>=65281&&e<=65376||e>=65504&&e<=65510}(e)||function(e){return e>=4352&&e<=4447||8986===e||8987===e||9001===e||9002===e||e>=9193&&e<=9196||9200===e||9203===e||9725===e||9726===e||9748===e||9749===e||e>=9800&&e<=9811||9855===e||9875===e||9889===e||9898===e||9899===e||9917===e||9918===e||9924===e||9925===e||9934===e||9940===e||9962===e||9970===e||9971===e||9973===e||9978===e||9981===e||9989===e||9994===e||9995===e||10024===e||10060===e||10062===e||e>=10067&&e<=10069||10071===e||e>=10133&&e<=10135||10160===e||10175===e||11035===e||11036===e||11088===e||11093===e||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12771||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||94192===e||94193===e||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101632&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||110589===e||110590===e||e>=110592&&e<=110882||110898===e||e>=110928&&e<=110930||110933===e||e>=110948&&e<=110951||e>=110960&&e<=111355||126980===e||127183===e||127374===e||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||127568===e||127569===e||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||127988===e||e>=127992&&e<=128062||128064===e||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||128378===e||128405===e||128406===e||128420===e||e>=128507&&e<=128591||e>=128640&&e<=128709||128716===e||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||128747===e||128748===e||e>=128756&&e<=128764||e>=128992&&e<=129003||129008===e||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129672||e>=129680&&e<=129725||e>=129727&&e<=129733||e>=129742&&e<=129755||e>=129760&&e<=129768||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}(e)),Zu=/[^\x20-\x7F]/u;var el=function(e){if(!e)return 0;if(!Zu.test(e))return e.length;e=e.replace(/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g," ");let t=0;for(let n of e){let e=n.codePointAt(0);e<=31||e>=127&&e<=159||e>=768&&e<=879||(t+=$u(e)?1:2)}return t};function tl(e,t){if("string"==typeof e)return t(e);let n=new Map;return r(e);function r(e){if(n.has(e))return n.get(e);let i=function(e){switch(Tu(e)){case lu:return t(e.map(r));case gu:return t({...e,parts:e.parts.map(r)});case mu:return t({...e,breakContents:r(e.breakContents),flatContents:r(e.flatContents)});case pu:{let{expandedStates:n,contents:i}=e;return n?(n=n.map(r),i=n[0]):i=r(i),t({...e,contents:i,expandedStates:n})}case fu:case du:case vu:case bu:case yu:return t({...e,contents:r(e.contents)});case uu:case cu:case hu:case _u:case Eu:case Du:return t(e);default:throw new wu(e)}}(e);return n.set(e,i),i}}function nl(e,t,n){let r=n,i=!1;return Ru(e,(function(e){if(i)return!1;let n=t(e);void 0!==n&&(i=!0,r=n)})),r}function rl(e){if(e.type===pu&&e.break||e.type===Eu&&e.hard||e.type===Du)return!0}function il(e){if(e.length>0){let t=Xu(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function ol(e){return e.type!==Eu||e.hard?e.type===mu?e.flatContents:e:e.soft?"":" "}function sl(e){for(e=[...e];e.length>=2&&Xu(!1,e,-2).type===Eu&&Xu(!1,e,-1).type===Du;)e.length-=2;if(e.length>0){let t=al(Xu(!1,e,-1));e[e.length-1]=t}return e}function al(e){switch(Tu(e)){case du:case vu:case pu:case yu:case bu:{let t=al(e.contents);return{...e,contents:t}}case mu:return{...e,breakContents:al(e.breakContents),flatContents:al(e.flatContents)};case gu:return{...e,parts:sl(e.parts)};case lu:return sl(e);case uu:return e.replace(/[\n\r]*$/u,"");case fu:case cu:case hu:case _u:case Eu:case Du:break;default:throw new wu(e)}return e}function ul(e){return al(function(e){return tl(e,(e=>function(e){switch(Tu(e)){case gu:if(e.parts.every((e=>""===e)))return"";break;case pu:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===pu&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case fu:case du:case vu:case yu:if(!e.contents)return"";break;case mu:if(!e.flatContents&&!e.breakContents)return"";break;case lu:{let t=[];for(let n of e){if(!n)continue;let[e,...r]=Array.isArray(n)?n:[n];"string"==typeof e&&"string"==typeof Xu(!1,t,-1)?t[t.length-1]+=e:t.push(e),t.push(...r)}return 0===t.length?"":1===t.length?t[0]:t}case uu:case cu:case hu:case _u:case Eu:case bu:case Du:break;default:throw new wu(e)}return e}(e)))}(e))}function ll(e){if(e.type===Eu)return!0}function cl(e,t){return e.type===bu?{...e,contents:t(e.contents)}:t(e)}var dl=Symbol("MODE_BREAK"),fl=Symbol("MODE_FLAT"),hl=Symbol("cursor");function pl(e,t){return ml(e,{type:"indent"},t)}function gl(e,t,n){return t===Number.NEGATIVE_INFINITY?e.root||{value:"",length:0,queue:[]}:t<0?ml(e,{type:"dedent"},n):t?"root"===t.type?{...e,root:e}:ml(e,{type:"string"==typeof t?"stringAlign":"numberAlign",n:t},n):e}function ml(e,t,n){let r="dedent"===t.type?e.queue.slice(0,-1):[...e.queue,t],i="",o=0,s=0,a=0;for(let h of r)switch(h.type){case"indent":c(),n.useTabs?u(1):l(n.tabWidth);break;case"stringAlign":c(),i+=h.n,o+=h.n.length;break;case"numberAlign":s+=1,a+=h.n;break;default:throw new Error("Unexpected type '".concat(h.type,"'"))}return d(),{...e,value:i,length:o,queue:r};function u(e){i+="\t".repeat(e),o+=n.tabWidth*e}function l(e){i+=" ".repeat(e),o+=e}function c(){n.useTabs?(s>0&&u(s),f()):d()}function d(){a>0&&l(a),f()}function f(){s=0,a=0}}function vl(e){let t=0,n=0,r=e.length;e:for(;r--;){let i=e[r];if(i!==hl)for(let n=i.length-1;n>=0;n--){let o=i[n];if(" "!==o&&"\t"!==o){e[r]=i.slice(0,n+1);break e}t++}else n++}if(t>0||n>0)for(e.length=r+1;n-- >0;)e.push(hl);return t}function yl(e,t,n,r,i,o){if(n===Number.POSITIVE_INFINITY)return!0;let s=t.length,a=[e],u=[];for(;n>=0;){if(0===a.length){if(0===s)return!0;a.push(t[--s]);continue}let{mode:e,doc:l}=a.pop(),c=Tu(l);switch(c){case uu:u.push(l),n-=el(l);break;case lu:case gu:{let t=c===lu?l:l.parts;for(let n=t.length-1;n>=0;n--)a.push({mode:e,doc:t[n]});break}case du:case fu:case vu:case bu:a.push({mode:e,doc:l.contents});break;case hu:n+=vl(u);break;case pu:{if(o&&l.break)return!1;let t=l.break?dl:e,n=l.expandedStates&&t===dl?Xu(!1,l.expandedStates,-1):l.contents;a.push({mode:t,doc:n});break}case mu:{let t=(l.groupId?i[l.groupId]||fl:e)===dl?l.breakContents:l.flatContents;t&&a.push({mode:e,doc:t});break}case Eu:if(e===dl||l.hard)return!0;l.soft||(u.push(" "),n--);break;case yu:r=!0;break;case _u:if(r)return!1}}return!1}function _l(e,t){let n={},r=t.printWidth,i=su(t.endOfLine),o=0,s=[{ind:{value:"",length:0,queue:[]},mode:dl,doc:e}],a=[],u=!1,l=[],c=0;for(function(e){let t=new Set,n=[];Ru(e,(function(e){if(e.type===Du&&il(n),e.type===pu){if(n.push(e),t.has(e))return!1;t.add(e)}}),(function(e){e.type===pu&&n.pop().break&&il(n)}),!0)}(e);s.length>0;){let{ind:e,mode:d,doc:f}=s.pop();switch(Tu(f)){case uu:{let e="\n"!==i?Wa(!1,f,"\n",i):f;a.push(e),s.length>0&&(o+=el(e));break}case lu:for(let t=f.length-1;t>=0;t--)s.push({ind:e,mode:d,doc:f[t]});break;case cu:if(c>=2)throw new Error("There are too many 'cursor' in doc.");a.push(hl),c++;break;case du:s.push({ind:pl(e,t),mode:d,doc:f.contents});break;case fu:s.push({ind:gl(e,f.n,t),mode:d,doc:f.contents});break;case hu:o-=vl(a);break;case pu:switch(d){case fl:if(!u){s.push({ind:e,mode:f.break?dl:fl,doc:f.contents});break}case dl:{u=!1;let t={ind:e,mode:fl,doc:f.contents},i=r-o,a=l.length>0;if(!f.break&&yl(t,s,i,a,n))s.push(t);else if(f.expandedStates){let t=Xu(!1,f.expandedStates,-1);if(f.break){s.push({ind:e,mode:dl,doc:t});break}for(let r=1;r<f.expandedStates.length+1;r++){if(r>=f.expandedStates.length){s.push({ind:e,mode:dl,doc:t});break}{let t=f.expandedStates[r],o={ind:e,mode:fl,doc:t};if(yl(o,s,i,a,n)){s.push(o);break}}}}else s.push({ind:e,mode:dl,doc:f.contents});break}}f.id&&(n[f.id]=Xu(!1,s,-1).mode);break;case gu:{let t=r-o,{parts:i}=f;if(0===i.length)break;let[a,u]=i,c={ind:e,mode:fl,doc:a},h={ind:e,mode:dl,doc:a},p=yl(c,[],t,l.length>0,n,!0);if(1===i.length){p?s.push(c):s.push(h);break}let g={ind:e,mode:fl,doc:u},m={ind:e,mode:dl,doc:u};if(2===i.length){p?s.push(g,c):s.push(m,h);break}i.splice(0,2);let v={ind:e,mode:d,doc:Pu(i)},y=i[0];yl({ind:e,mode:fl,doc:[a,u,y]},[],t,l.length>0,n,!0)?s.push(v,g,c):p?s.push(v,m,c):s.push(v,m,h);break}case mu:case vu:{let t=f.groupId?n[f.groupId]:d;if(t===dl){let t=f.type===mu?f.breakContents:f.negate?f.contents:Lu(f.contents);t&&s.push({ind:e,mode:d,doc:t})}if(t===fl){let t=f.type===mu?f.flatContents:f.negate?Lu(f.contents):f.contents;t&&s.push({ind:e,mode:d,doc:t})}break}case yu:l.push({ind:e,mode:d,doc:f.contents});break;case _u:l.length>0&&s.push({ind:e,mode:d,doc:ju});break;case Eu:switch(d){case fl:if(!f.hard){f.soft||(a.push(" "),o+=1);break}u=!0;case dl:if(l.length>0){s.push({ind:e,mode:d,doc:f},...l.reverse()),l.length=0;break}f.literal?e.root?(a.push(i,e.root.value),o=e.root.length):(a.push(i),o=0):(o-=vl(a),a.push(i+e.value),o=e.length)}break;case bu:s.push({ind:e,mode:d,doc:f.contents});break;case Du:break;default:throw new wu(f)}0===s.length&&l.length>0&&(s.push(...l.reverse()),l.length=0)}let d=a.indexOf(hl);if(-1!==d){let e=a.indexOf(hl,d+1),t=a.slice(0,d).join(""),n=a.slice(d+1,e).join("");return{formatted:t+n+a.slice(e+1).join(""),cursorNodeStart:t.length,cursorNodeText:n}}return{formatted:a.join("")}}var El,bl,Dl,Nl=function(e,t){let n=0;for(let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;r<e.length;++r)"\t"===e[r]?n=n+t-n%t:n++;return n};El=new WeakSet,bl=function(e){let{stack:t}=this;for(let n=t.length-1;n>=0;n-=2)if(!Array.isArray(t[n])&&--e<0)return n;return-1},Dl=function*(){let{stack:e}=this;for(let t=e.length-3;t>=0;t-=2){let n=e[t];Array.isArray(n)||(yield n)}};var Tl=class{constructor(e){((e,t,n)=>{t.has(e)?ka("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n)})(this,El),this.stack=[e]}get key(){var e;let{stack:t,siblings:n}=this;return null!==(e=Xu(!1,t,null===n?-2:-4))&&void 0!==e?e:null}get index(){return null===this.siblings?null:Xu(!1,this.stack,-2)}get node(){return Xu(!1,this.stack,-1)}get parent(){return this.getNode(1)}get grandparent(){return this.getNode(2)}get isInArray(){return null!==this.siblings}get siblings(){let{stack:e}=this,t=Xu(!1,e,-3);return Array.isArray(t)?t:null}get next(){let{siblings:e}=this;return null===e?null:e[this.index+1]}get previous(){let{siblings:e}=this;return null===e?null:e[this.index-1]}get isFirst(){return 0===this.index}get isLast(){let{siblings:e,index:t}=this;return null!==e&&t===e.length-1}get isRoot(){return 1===this.stack.length}get root(){return this.stack[0]}get ancestors(){return[...Va(this,El,Dl).call(this)]}getName(){let{stack:e}=this,{length:t}=e;return t>1?Xu(!1,e,-2):null}getValue(){return Xu(!1,this.stack,-1)}getNode(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=Va(this,El,bl).call(this,e);return-1===t?null:this.stack[t]}getParentNode(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.getNode(e+1)}call(e){let{stack:t}=this,{length:n}=t,r=Xu(!1,t,-1);for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];for(let a of o)r=r[a],t.push(a,r);try{return e(this)}finally{t.length=n}}callParent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=Va(this,El,bl).call(this,t+1),r=this.stack.splice(n+1);try{return e(this)}finally{this.stack.push(...r)}}each(e){let{stack:t}=this,{length:n}=t,r=Xu(!1,t,-1);for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];for(let a of o)r=r[a],t.push(a,r);try{for(let n=0;n<r.length;++n)t.push(n,r[n]),e(this,n,r),t.length-=2}finally{t.length=n}}map(e){let t=[];for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return this.each(((n,r,i)=>{t[r]=e(n,r,i)}),...r),t}match(){let e=this.stack.length-1,t=null,n=this.stack[e--];for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];for(let s of i){if(void 0===n)return!1;let r=null;if("number"==typeof t&&(r=t,t=this.stack[e--],n=this.stack[e--]),s&&!s(n,t,r))return!1;t=this.stack[e--],n=this.stack[e--]}return!0}findAncestor(e){for(let t of Va(this,El,Dl).call(this))if(e(t))return t}hasAncestor(e){for(let t of Va(this,El,Dl).call(this))if(e(t))return!0;return!1}},Sl=new Proxy((()=>{}),{get:()=>Sl}),Il=Sl;var wl=function(e){return null!==e&&"object"==typeof e};function*Al(e,t){let{getVisitorKeys:n,filter:r=(()=>!0)}=t,i=e=>wl(e)&&r(e);for(let o of n(e)){let t=e[o];if(Array.isArray(t))for(let e of t)i(e)&&(yield e);else i(t)&&(yield t)}}function Rl(e){return(t,n,r)=>{let i=!(null==r||!r.backwards);if(!1===n)return!1;let{length:o}=t,s=n;for(;s>=0&&s<o;){let n=t.charAt(s);if(e instanceof RegExp){if(!e.test(n))return s}else if(!e.includes(n))return s;i?s--:s++}return(-1===s||s===o)&&s}}var Cl=Rl(/\s/u),Ol=Rl(" \t"),Fl=Rl(",; \t"),Ll=Rl(/[^\n\r]/u);var kl=function(e,t,n){let r=!(null==n||!n.backwards);if(!1===t)return!1;let i=e.charAt(t);if(r){if("\r"===e.charAt(t-1)&&"\n"===i)return t-2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t-1}else{if("\r"===i&&"\n"===e.charAt(t+1))return t+2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t+1}return t};var xl=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Ol(e,n.backwards?t-1:t,n);return r!==kl(e,r,n)};var Pl=function(e){return Array.isArray(e)&&e.length>0},Ml=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),Bl=e=>Object.keys(e).filter((e=>!Ml.has(e)));var Vl=function(e){return e?t=>e(t,Ml):Bl};function Ul(e,t){var n;(null!==(n=e.comments)&&void 0!==n?n:e.comments=[]).push(t),t.printed=!1,t.nodeDescription=function(e){let t=e.type||e.kind||"(unknown type)",n=String(e.name||e.id&&("object"==typeof e.id?e.id.name:e.id)||e.key&&("object"==typeof e.key?e.key.name:e.key)||e.value&&("object"==typeof e.value?"":String(e.value))||e.operator||"");return n.length>20&&(n=n.slice(0,19)+"\u2026"),t+(n?" "+n:"")}(e)}function jl(e,t){t.leading=!0,t.trailing=!1,Ul(e,t)}function Kl(e,t,n){t.leading=!1,t.trailing=!1,n&&(t.marker=n),Ul(e,t)}function Yl(e,t){t.leading=!1,t.trailing=!0,Ul(e,t)}var ql=new WeakMap;function Gl(e,t){var n;if(ql.has(e))return ql.get(e);let{printer:{getCommentChildNodes:r,canAttachComment:i,getVisitorKeys:o},locStart:s,locEnd:a}=t;if(!i)return[];let u=(null!==(n=null==r?void 0:r(e,t))&&void 0!==n?n:[...Al(e,{getVisitorKeys:Vl(o)})]).flatMap((e=>i(e)?[e]:Gl(e,t)));return u.sort(((e,t)=>s(e)-s(t)||a(e)-a(t))),ql.set(e,u),u}function Hl(e,t,n,r){let i,o,{locStart:s,locEnd:a}=n,u=s(t),l=a(t),c=Gl(e,n),d=0,f=c.length;for(;d<f;){let e=d+f>>1,r=c[e],h=s(r),p=a(r);if(h<=u&&l<=p)return Hl(r,t,n,r);if(p<=u)i=r,d=e+1;else{if(!(l<=h))throw new Error("Comment location overlaps with node location");o=r,f=e}}if("TemplateLiteral"===(null==r?void 0:r.type)){let{quasis:e}=r,s=$l(e,t,n);i&&$l(e,i,n)!==s&&(i=null),o&&$l(e,o,n)!==s&&(o=null)}return{enclosingNode:r,precedingNode:i,followingNode:o}}var zl=()=>!1;var Wl=e=>!/[\S\n\u2028\u2029]/u.test(e);function Ql(e,t,n,r){let{comment:i,precedingNode:o}=n[r],{locStart:s,locEnd:a}=t,u=s(i);if(o)for(let l=r-1;l>=0;l--){let{comment:t,precedingNode:r}=n[l];if(r!==o||!Wl(e.slice(a(t),u)))break;u=s(t)}return xl(e,u,{backwards:!0})}function Jl(e,t,n,r){let{comment:i,followingNode:o}=n[r],{locStart:s,locEnd:a}=t,u=a(i);if(o)for(let l=r+1;l<n.length;l++){let{comment:t,followingNode:r}=n[l];if(r!==o||!Wl(e.slice(u,s(t))))break;u=a(t)}return xl(e,u)}function Xl(e,t){var n,r;let i=e.length;if(0===i)return;let o,{precedingNode:s,followingNode:a}=e[0],u=t.locStart(a);for(o=i;o>0;--o){var l;let{comment:i,precedingNode:c,followingNode:d}=e[o-1];Il.strictEqual(c,s),Il.strictEqual(d,a);let f=t.originalText.slice(t.locEnd(i),u);if(!(null!==(l=null==(r=(n=t.printer).isGap)?void 0:r.call(n,f,t))&&void 0!==l?l:/^[\s(]*$/u.test(f)))break;u=t.locStart(i)}for(let[c,{comment:d}]of e.entries())c<o?Yl(s,d):jl(a,d);for(let c of[s,a])c.comments&&c.comments.length>1&&c.comments.sort(((e,n)=>t.locStart(e)-t.locStart(n)));e.length=0}function $l(e,t,n){let r=n.locStart(t)-1;for(let i=1;i<e.length;++i)if(r<n.locStart(e[i]))return i-1;return 0}var Zl=function(e,t){let n=t-1;return n=Ol(e,n,{backwards:!0}),n=kl(e,n,{backwards:!0}),n=Ol(e,n,{backwards:!0}),n!==kl(e,n,{backwards:!0})};function ec(e,t){return e.node.printed=!0,t.printer.printComment(e,t)}function tc(e,t){let n=e.node;if(!n)return{};let r=t[Symbol.for("printedComments")];if(0===(n.comments||[]).filter((e=>!r.has(e))).length)return{leading:"",trailing:""};let i,o=[],s=[];return e.each((()=>{let n=e.node;if(null!=r&&r.has(n))return;let{leading:a,trailing:u}=n;a?o.push(function(e,t){var n;let r=e.node,i=[ec(e,t)],{printer:o,originalText:s,locStart:a,locEnd:u}=t;if(null==(n=o.isBlockComment)?void 0:n.call(o,r)){let e=xl(s,u(r))?xl(s,a(r),{backwards:!0})?Gu:Yu:" ";i.push(e)}else i.push(Gu);let l=kl(s,Ol(s,u(r)));return!1!==l&&xl(s,l)&&i.push(Gu),i}(e,t)):u&&(i=function(e,t,n){var r;let i=e.node,o=ec(e,t),{printer:s,originalText:a,locStart:u}=t,l=null==(r=s.isBlockComment)?void 0:r.call(s,i);if(null!=n&&n.hasLineSuffix&&(null==n||!n.isBlock)||xl(a,u(i),{backwards:!0})){let e=Zl(a,u(i));return{doc:Mu([Gu,e?Gu:"",o]),isBlock:l,hasLineSuffix:!0}}return!l||null!=n&&n.hasLineSuffix?{doc:[Mu([" ",o]),Vu],isBlock:l,hasLineSuffix:!0}:{doc:[" ",o],isBlock:l,hasLineSuffix:!1}}(e,t,i),s.push(i.doc))}),"comments"),{leading:o,trailing:s}}var nc=function(e){return()=>{}},rc=class extends Error{constructor(){super(...arguments),ko(this,"name","ConfigError")}},ic=class extends Error{constructor(){super(...arguments),ko(this,"name","UndefinedParserError")}},oc={cursorOffset:{category:"Special",type:"int",default:-1,range:{start:-1,end:1/0,step:1},description:"Print (to stderr) where a cursor at the given position would move to after formatting.",cliCategory:"Editor"},endOfLine:{category:"Global",type:"choice",default:"lf",description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:"Maintain existing\n(mixed values within one file are normalised by looking at what's used after the first line)"}]},filepath:{category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{category:"Global",type:"choice",default:void 0,description:"Which parser to use.",exception:e=>"string"==typeof e||"function"==typeof e,choices:[{value:"flow",description:"Flow"},{value:"babel",description:"JavaScript"},{value:"babel-flow",description:"Flow"},{value:"babel-ts",description:"TypeScript"},{value:"typescript",description:"TypeScript"},{value:"acorn",description:"JavaScript"},{value:"espree",description:"JavaScript"},{value:"meriyah",description:"JavaScript"},{value:"css",description:"CSS"},{value:"less",description:"Less"},{value:"scss",description:"SCSS"},{value:"json",description:"JSON"},{value:"json5",description:"JSON5"},{value:"jsonc",description:"JSON with Comments"},{value:"json-stringify",description:"JSON.stringify"},{value:"graphql",description:"GraphQL"},{value:"markdown",description:"Markdown"},{value:"mdx",description:"MDX"},{value:"vue",description:"Vue"},{value:"yaml",description:"YAML"},{value:"glimmer",description:"Ember / Handlebars"},{value:"html",description:"HTML"},{value:"angular",description:"Angular"},{value:"lwc",description:"Lightning Web Components"}]},plugins:{type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:"Config"},printWidth:{category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:"Format code ending at a given character offset (exclusive).\nThe range will extend forwards to the end of the selected statement.",cliCategory:"Editor"},rangeStart:{category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:"Format code starting at a given character offset.\nThe range will extend backwards to the start of the first line containing the selected statement.",cliCategory:"Editor"},requirePragma:{category:"Special",type:"boolean",default:!1,description:"Require either '@prettier' or '@format' to be present in the file's first docblock comment\nin order for it to be formatted.",cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{category:"Global",type:"choice",default:"auto",description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};function sc(){let{plugins:e=[],showDeprecated:t=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.flatMap((e=>{var t;return null!==(t=e.languages)&&void 0!==t?t:[]})),r=[];for(let i of function(e){let t=[];for(let[n,r]of Object.entries(e)){let e={name:n,...r};Array.isArray(e.default)&&(e.default=Xu(!1,e.default,-1).value),t.push(e)}return t}(Object.assign({},...e.map((e=>{let{options:t}=e;return t})),oc)))!t&&i.deprecated||(Array.isArray(i.choices)&&(t||(i.choices=i.choices.filter((e=>!e.deprecated))),"parser"===i.name&&(i.choices=[...i.choices,...ac(i.choices,n,e)])),i.pluginDefaults=Object.fromEntries(e.filter((e=>{var t;return void 0!==(null==(t=e.defaultOptions)?void 0:t[i.name])})).map((e=>[e.name,e.defaultOptions[i.name]]))),r.push(i));return{languages:n,options:r}}function*ac(e,t,n){let r=new Set(e.map((e=>e.value)));for(let i of t)if(i.parsers)for(let e of i.parsers)if(!r.has(e)){r.add(e);let t=n.find((t=>t.parsers&&Object.prototype.hasOwnProperty.call(t.parsers,e))),o=i.name;null!=t&&t.name&&(o+=" (plugin: ".concat(t.name,")")),yield{value:e,description:o}}}var uc=e=>String(e).split(/[/\\]/u).pop();function lc(e,t){var n;if(!t)return;let r=uc(t).toLowerCase();return null!==(n=e.find((e=>{let{filenames:t}=e;return null==t?void 0:t.some((e=>e.toLowerCase()===r))})))&&void 0!==n?n:e.find((e=>{let{extensions:t}=e;return null==t?void 0:t.some((e=>r.endsWith(e)))}))}var cc=function(e,t){var n,r,i;let o=e.plugins.flatMap((e=>{var t;return null!==(t=e.languages)&&void 0!==t?t:[]})),s=null!==(n=null!==(r=null!==(i=function(e,t){var n,r;if(t)return null!==(n=null!==(r=e.find((e=>{let{name:n}=e;return n.toLowerCase()===t})))&&void 0!==r?r:e.find((e=>{let{aliases:n}=e;return null==n?void 0:n.includes(t)})))&&void 0!==n?n:e.find((e=>{let{extensions:n}=e;return null==n?void 0:n.includes(".".concat(t))}))}(o,t.language))&&void 0!==i?i:lc(o,t.physicalFile))&&void 0!==r?r:lc(o,t.file))&&void 0!==n?n:void t.physicalFile;return null==s?void 0:s.parsers[0]},dc={key:e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(e){if(null===e||"object"!=typeof e)return JSON.stringify(e);if(Array.isArray(e))return"[".concat(e.map((e=>dc.value(e))).join(", "),"]");let t=Object.keys(e);return 0===t.length?"{}":"{ ".concat(t.map((t=>"".concat(dc.key(t),": ").concat(dc.value(e[t])))).join(", ")," }")},pair:e=>{let{key:t,value:n}=e;return dc.value({[t]:n})}},fc=Ba(Ua(),1),hc=Ba(Ua(),1),pc=Symbol.for("vnopts.VALUE_NOT_EXIST"),gc=Symbol.for("vnopts.VALUE_UNCHANGED"),mc=" ".repeat(2);function vc(e,t,n,r){return["Invalid ".concat(hc.default.red(r.key(e))," value."),"Expected ".concat(hc.default.blue(n),","),"but received ".concat(t===pc?hc.default.gray("nothing"):hc.default.red(r.value(t)),".")].join(" ")}function yc(e,t){let{text:n,list:r}=e,i=[];return n&&i.push("- ".concat(hc.default.blue(n))),r&&i.push(["- ".concat(hc.default.blue(r.title),":")].concat(r.values.map((e=>yc(e,t-mc.length).replace(/^|\n/g,"$&".concat(mc))))).join("\n")),_c(i,t)}function _c(e,t){if(1===e.length)return e[0];let[n,r]=e,[i,o]=e.map((e=>e.split("\n",1)[0].length));return i>t&&i>o?r:n}var Ec=Ba(Ua(),1),bc=[],Dc=[];var Nc=(e,t,n)=>{let{descriptor:r,logger:i,schemas:o}=n,s=["Ignored unknown option ".concat(Ec.default.yellow(r.pair({key:e,value:t})),".")],a=Object.keys(o).sort().find((t=>function(e,t){if(e===t)return 0;let n=e;e.length>t.length&&(e=t,t=n);let r=e.length,i=t.length;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-i);)r--,i--;let o=0;for(;o<r&&e.charCodeAt(o)===t.charCodeAt(o);)o++;if(r-=o,i-=o,0===r)return i;let s,a,u,l,c=0,d=0;for(;c<r;)Dc[c]=e.charCodeAt(o+c),bc[c]=++c;for(;d<i;)for(s=t.charCodeAt(o+d),u=d++,a=d,c=0;c<r;c++)l=s===Dc[c]?u:u+1,u=bc[c],a=bc[c]=u>a?l>a?a+1:l:l>u?u+1:l;return a}(e,t)<3));a&&s.push("Did you mean ".concat(Ec.default.blue(r.key(a)),"?")),i.warn(s.join(" "))},Tc=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];var Sc=class{static create(e){return function(e,t){let n=new e(t),r=Object.create(n);for(let i of Tc)i in t&&(r[i]=Ic(t[i],n,Sc.prototype[i].length));return r}(this,e)}constructor(e){this.name=e.name}default(e){}expected(e){return"nothing"}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,n){return e}preprocess(e,t){return e}postprocess(e,t){return gc}};function Ic(e,t,n){return"function"==typeof e?function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e(...i.slice(0,n-1),t,...i.slice(n-1))}:()=>e}var wc=class extends Sc{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}},Ac=class extends Sc{expected(){return"anything"}validate(){return!0}},Rc=class extends Sc{constructor(e){let{valueSchema:t,name:n=t.name,...r}=e;super({...r,name:n}),this._valueSchema=t}expected(e){let{text:t,list:n}=e.normalizeExpectedResult(this._valueSchema.expected(e));return{text:t&&"an array of ".concat(t),list:n&&{title:"an array of the following values",values:[{list:n}]}}}validate(e,t){if(!Array.isArray(e))return!1;let n=[];for(let r of e){let e=t.normalizeValidateResult(this._valueSchema.validate(r,t),r);!0!==e&&n.push(e.value)}return 0===n.length||{value:n}}deprecated(e,t){let n=[];for(let r of e){let e=t.normalizeDeprecatedResult(this._valueSchema.deprecated(r,t),r);!1!==e&&n.push(...e.map((e=>{let{value:t}=e;return{value:[t]}})))}return n}forward(e,t){let n=[];for(let r of e){let e=t.normalizeForwardResult(this._valueSchema.forward(r,t),r);n.push(...e.map(Cc))}return n}redirect(e,t){let n=[],r=[];for(let i of e){let e=t.normalizeRedirectResult(this._valueSchema.redirect(i,t),i);"remain"in e&&n.push(e.remain),r.push(...e.redirect.map(Cc))}return 0===n.length?{redirect:r}:{redirect:r,remain:n}}overlap(e,t){return e.concat(t)}};function Cc(e){let{from:t,to:n}=e;return{from:[t],to:n}}var Oc=class extends Sc{expected(){return"true or false"}validate(e){return"boolean"==typeof e}};function Fc(e,t){let n=Object.create(null);for(let r of e){let e=r[t];if(n[e])throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(e)));n[e]=r}return n}function Lc(e,t){if(e===t)return 0;let n=typeof e,r=typeof t,i=["undefined","object","boolean","number","string"];return n!==r?i.indexOf(n)-i.indexOf(r):"string"!==n?Number(e)-Number(t):e.localeCompare(t)}function kc(e){return void 0===e?{}:e}function xc(e){if("string"==typeof e)return{text:e};let{text:t,list:n}=e;return function(e,t){if(!e)throw new Error(t)}(void 0!==(t||n),"Unexpected `expected` result, there should be at least one field."),n?{text:t,list:{title:n.title,values:n.values.map(xc)}}:{text:t}}function Pc(e,t){return!0===e||(!1===e?{value:t}:e)}function Mc(e,t){return!1!==e&&(!0===e?!!(arguments.length>2&&void 0!==arguments[2]&&arguments[2])||[{value:t}]:"value"in e?[e]:0!==e.length&&e)}function Bc(e,t){return"string"==typeof e||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function Vc(e,t){return void 0===e?[]:Array.isArray(e)?e.map((e=>Bc(e,t))):[Bc(e,t)]}function Uc(e,t){let n=Vc("object"==typeof e&&"redirect"in e?e.redirect:e,t);return 0===n.length?{remain:t,redirect:n}:"object"==typeof e&&"remain"in e?{remain:e.remain,redirect:n}:{redirect:n}}var jc,Kc=class extends Sc{constructor(e){super(e),this._choices=function(e,t){let n=new Map;for(let r of e){let e=r[t];if(n.has(e))throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(e)));n.set(e,r)}return n}(e.choices.map((e=>e&&"object"==typeof e?e:{value:e})),"value")}expected(e){let{descriptor:t}=e,n=Array.from(this._choices.keys()).map((e=>this._choices.get(e))).filter((e=>{let{hidden:t}=e;return!t})).map((e=>e.value)).sort(Lc).map(t.value),r=n.slice(0,-2),i=n.slice(-2);return{text:r.concat(i.join(" or ")).join(", "),list:{title:"one of the following values",values:n}}}validate(e){return this._choices.has(e)}deprecated(e){let t=this._choices.get(e);return!(!t||!t.deprecated)&&{value:e}}forward(e){let t=this._choices.get(e);return t?t.forward:void 0}redirect(e){let t=this._choices.get(e);return t?t.redirect:void 0}},Yc=class extends Sc{expected(){return"a number"}validate(e,t){return"number"==typeof e}},qc=class extends Yc{expected(){return"an integer"}validate(e,t){return!0===t.normalizeValidateResult(super.validate(e,t),e)&&function(e){return e===Math.floor(e)}(e)}},Gc=class extends Sc{expected(){return"a string"}validate(e){return"string"==typeof e}},Hc=dc,zc=Nc,Wc=(e,t,n)=>{let{text:r,list:i}=n.normalizeExpectedResult(n.schemas[e].expected(n)),o=[];return r&&o.push(vc(e,t,r,n.descriptor)),i&&o.push([vc(e,t,i.title,n.descriptor)].concat(i.values.map((e=>yc(e,n.loggerPrintWidth)))).join("\n")),_c(o,n.loggerPrintWidth)},Qc=(e,t,n)=>{let{descriptor:r}=n,i=["".concat(fc.default.yellow("string"==typeof e?r.key(e):r.pair(e))," is deprecated")];return t&&i.push("we now treat it as ".concat(fc.default.blue("string"==typeof t?r.key(t):r.pair(t)))),i.join("; ")+"."},Jc=class{constructor(e,t){let{logger:n=console,loggerPrintWidth:r=80,descriptor:i=Hc,unknown:o=zc,invalid:s=Wc,deprecated:a=Qc,missing:u=(()=>!1),required:l=(()=>!1),preprocess:c=(e=>e),postprocess:d=(()=>gc)}=t||{};this._utils={descriptor:i,logger:n||{warn:()=>{}},loggerPrintWidth:r,schemas:Fc(e,"name"),normalizeDefaultResult:kc,normalizeExpectedResult:xc,normalizeDeprecatedResult:Mc,normalizeForwardResult:Vc,normalizeRedirectResult:Uc,normalizeValidateResult:Pc},this._unknownHandler=o,this._invalidHandler=function(e){return function(){let t=e(...arguments);return"string"==typeof t?new Error(t):t}}(s),this._deprecatedHandler=a,this._identifyMissing=(e,t)=>!(e in t)||u(e,t),this._identifyRequired=l,this._preprocess=c,this._postprocess=d,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=function(){let e=Object.create(null);return t=>{let n=JSON.stringify(t);return!!e[n]||(e[n]=!0,!1)}}()}normalize(e){let t={},n=[this._preprocess(e,this._utils)],r=()=>{for(;0!==n.length;){let e=n.shift(),r=this._applyNormalization(e,t);n.push(...r)}};r();for(let i of Object.keys(this._utils.schemas)){let e=this._utils.schemas[i];if(!(i in t)){let t=kc(e.default(this._utils));"value"in t&&n.push({[i]:t.value})}}r();for(let i of Object.keys(this._utils.schemas)){if(!(i in t))continue;let e=this._utils.schemas[i],n=t[i],r=e.postprocess(n,this._utils);r!==gc&&(this._applyValidation(r,i,e),t[i]=r)}return this._applyPostprocess(t),this._applyRequiredCheck(t),t}_applyNormalization(e,t){let n=[],{knownKeys:r,unknownKeys:i}=this._partitionOptionKeys(e);for(let o of r){let r=this._utils.schemas[o],i=r.preprocess(e[o],this._utils);this._applyValidation(i,o,r);let s=e=>{let{from:t,to:r}=e;n.push("string"==typeof r?{[r]:t}:{[r.key]:r.value})},a=e=>{let{value:t,redirectTo:n}=e,s=Mc(r.deprecated(t,this._utils),i,!0);if(!1!==s)if(!0===s)this._hasDeprecationWarned(o)||this._utils.logger.warn(this._deprecatedHandler(o,n,this._utils));else for(let{value:r}of s){let e={key:o,value:r};if(!this._hasDeprecationWarned(e)){let t="string"==typeof n?{key:n,value:r}:n;this._utils.logger.warn(this._deprecatedHandler(e,t,this._utils))}}};Vc(r.forward(i,this._utils),i).forEach(s);let u=Uc(r.redirect(i,this._utils),i);if(u.redirect.forEach(s),"remain"in u){let e=u.remain;t[o]=o in t?r.overlap(t[o],e,this._utils):e,a({value:e})}for(let{from:e,to:t}of u.redirect)a({value:e,redirectTo:t})}for(let o of i){let r=e[o];this._applyUnknownHandler(o,r,t,((e,t)=>{n.push({[e]:t})}))}return n}_applyRequiredCheck(e){for(let t of Object.keys(this._utils.schemas))if(this._identifyMissing(t,e)&&this._identifyRequired(t))throw this._invalidHandler(t,pc,this._utils)}_partitionOptionKeys(e){let[t,n]=function(e,t){let n=[],r=[];for(let i of e)t(i)?n.push(i):r.push(i);return[n,r]}(Object.keys(e).filter((t=>!this._identifyMissing(t,e))),(e=>e in this._utils.schemas));return{knownKeys:t,unknownKeys:n}}_applyValidation(e,t,n){let r=Pc(n.validate(e,this._utils),e);if(!0!==r)throw this._invalidHandler(t,r.value,this._utils)}_applyUnknownHandler(e,t,n,r){let i=this._unknownHandler(e,t,this._utils);if(i)for(let o of Object.keys(i)){if(this._identifyMissing(o,i))continue;let e=i[o];o in this._utils.schemas?r(o,e):n[o]=e}}_applyPostprocess(e){let t=this._postprocess(e,this._utils);if(t!==gc){if(t.delete)for(let n of t.delete)delete e[n];if(t.override){let{knownKeys:n,unknownKeys:r}=this._partitionOptionKeys(t.override);for(let i of n){let n=t.override[i];this._applyValidation(n,i,this._utils.schemas[i]),e[i]=n}for(let i of r){let n=t.override[i];this._applyUnknownHandler(i,n,e,((t,n)=>{let r=this._utils.schemas[t];this._applyValidation(n,t,r),e[t]=n}))}}}}};function Xc(e,t){let n,{isCLI:r,optionInfos:i,FlagSchema:o}=t,{name:s}=e,a={name:s},u={};switch(e.type){case"int":n=qc,r&&(a.preprocess=Number);break;case"string":case"path":n=Gc;break;case"choice":n=Kc,a.choices=e.choices.map((t=>null!=t&&t.redirect?{...t,redirect:{to:{key:e.name,value:t.redirect}}}:t));break;case"boolean":n=Oc;break;case"flag":n=o,a.flags=i.flatMap((e=>[e.alias,e.description&&e.name,e.oppositeDescription&&"no-".concat(e.name)].filter(Boolean)));break;default:throw new Error("Unexpected type ".concat(e.type))}if(e.exception?a.validate=(t,n,r)=>e.exception(t)||n.validate(t,r):a.validate=(e,t,n)=>void 0===e||t.validate(e,n),e.redirect&&(u.redirect=t=>t?{to:"string"==typeof e.redirect?e.redirect:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(u.deprecated=!0),r&&!e.array){let e=a.preprocess||(e=>e);a.preprocess=(t,n,r)=>n.preprocess(e(Array.isArray(t)?Xu(!1,t,-1):t),r)}return e.array?Rc.create({...r?{preprocess:e=>Array.isArray(e)?e:[e]}:{},...u,valueSchema:n.create(a)}):n.create({...a,...u})}var $c=function(e,t){let{logger:n=!1,isCLI:r=!1,passThrough:i=!1,FlagSchema:o,descriptor:s}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(r){if(!o)throw new Error("'FlagSchema' option is required.");if(!s)throw new Error("'descriptor' option is required.")}else s=dc;let a=i?Array.isArray(i)?(e,t)=>i.includes(e)?{[e]:t}:void 0:(e,t)=>({[e]:t}):(e,t,n)=>{let{_:r,...i}=n.schemas;return Nc(e,t,{...n,schemas:i})},u=function(e,t){let{isCLI:n,FlagSchema:r}=t,i=[];n&&i.push(Ac.create({name:"_"}));for(let o of e)i.push(Xc(o,{isCLI:n,optionInfos:e,FlagSchema:r})),o.alias&&n&&i.push(wc.create({name:o.alias,sourceName:o.name}));return i}(t,{isCLI:r,FlagSchema:o}),l=new Jc(u,{logger:n,unknown:a,descriptor:s}),c=!1!==n;c&&jc&&(l._hasDeprecationWarned=jc);let d=l.normalize(e);return c&&(jc=l._hasDeprecationWarned),d},Zc=(e,t,n)=>{if(!e||null!=t){if(t.findLast)return t.findLast(n);for(let e=t.length-1;e>=0;e--){let r=t[e];if(n(r,e,t))return r}}};function ed(e,t){if(!t)throw new Error("parserName is required.");let n=Zc(!1,e,(e=>e.parsers&&Object.prototype.hasOwnProperty.call(e.parsers,t)));if(n)return n;let r="Couldn't resolve parser \"".concat(t,'".');throw r+=" Plugins must be explicitly added to the standalone bundle.",new rc(r)}function td(e){let{plugins:t,parser:n}=e;return nd(ed(t,n),n)}function nd(e,t){let n=e.parsers[t];return"function"==typeof n?n():n}var rd={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};var id=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var n;let r={...e};if(!r.parser){if(!r.filepath)throw new ic("No parser and no file path given, couldn't infer a parser.");if(r.parser=cc(r,{physicalFile:r.filepath}),!r.parser)throw new ic('No parser could be inferred for file "'.concat(r.filepath,'".'))}let i=sc({plugins:e.plugins,showDeprecated:!0}).options,o={...rd,...Object.fromEntries(i.filter((e=>void 0!==e.default)).map((e=>[e.name,e.default])))},s=ed(r.plugins,r.parser),a=await nd(s,r.parser);r.astFormat=a.astFormat,r.locEnd=a.locEnd,r.locStart=a.locStart;let u=null!=(n=s.printers)&&n[a.astFormat]?s:function(e,t){if(!t)throw new Error("astFormat is required.");let n=Zc(!1,e,(e=>e.printers&&Object.prototype.hasOwnProperty.call(e.printers,t)));if(n)return n;let r="Couldn't find plugin for AST format \"".concat(t,'".');throw r+=" Plugins must be explicitly added to the standalone bundle.",new rc(r)}(r.plugins,a.astFormat),l=await function(e,t){let n=e.printers[t];return"function"==typeof n?n():n}(u,a.astFormat);r.printer=l;let c=u.defaultOptions?Object.fromEntries(Object.entries(u.defaultOptions).filter((e=>{let[,t]=e;return void 0!==t}))):{},d={...o,...c};for(let[f,h]of Object.entries(d))(null===r[f]||void 0===r[f])&&(r[f]=h);return"json"===r.parser&&(r.trailingComma="none"),$c(r,i,{passThrough:Object.keys(rd),...t})},od=Ba(Ha(),1);var sd=async function(e,t){let n,r=await td(t),i=r.preprocess?r.preprocess(e,t):e;t.originalText=i;try{n=await r.parse(i,t,t)}catch(o){!function(e,t){let{loc:n}=e;if(n){let r=(0,od.codeFrameColumns)(t,n,{highlightCode:!0});throw e.message+="\n"+r,e.codeFrame=r,e}throw e}(o,e)}return{text:i,ast:n}};async function ad(e,t,n,r,i){var o;let{embeddedLanguageFormatting:s,printer:{embed:a,hasPrettierIgnore:u=(()=>!1),getVisitorKeys:l}}=n;if(!a||"auto"!==s)return;if(a.length>2)throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed");let c=Vl(null!==(o=a.getVisitorKeys)&&void 0!==o?o:l),d=[];!function t(){let{node:r}=e;if(null===r||"object"!=typeof r||u(e))return;for(let n of c(r))Array.isArray(r[n])?e.each(t,n):e.call(t,n);let o=a(e,n);if(o){if("function"==typeof o)return void d.push({print:o,node:r,pathStack:[...e.stack]});i.set(r,o)}}();let f=e.stack;for(let{print:p,node:g,pathStack:m}of d)try{e.stack=m;let r=await p(h,t,e,n);r&&i.set(g,r)}catch($o){if(globalThis.PRETTIER_DEBUG)throw $o}function h(e,t){return async function(e,t,n,r){let i=await id({...n,...t,parentParser:n.parser,originalText:e},{passThrough:!0}),{ast:o}=await sd(e,i),s=await r(o,i);return ul(s)}(e,t,n,r)}e.stack=f}var ud=function(e,t){let{originalText:n,[Symbol.for("comments")]:r,locStart:i,locEnd:o,[Symbol.for("printedComments")]:s}=t,{node:a}=e,u=i(a),l=o(a);for(let c of r)i(c)>=u&&o(c)<=l&&s.add(c);return n.slice(u,l)};async function ld(e,t){({ast:e}=await dd(e,t));let n=new Map,r=new Tl(e),i=nc(t),o=new Map;await ad(r,a,t,ld,o);let s=await cd(r,t,a,void 0,o);return function(e){let{[Symbol.for("comments")]:t,[Symbol.for("printedComments")]:n}=e;for(let r of t){if(!r.printed&&!n.has(r))throw new Error('Comment "'+r.value.trim()+'" was not printed. Please report this error!');delete r.printed}}(t),s;function a(e,t){return void 0===e||e===r?u(t):Array.isArray(e)?r.call((()=>u(t)),...e):r.call((()=>u(t)),e)}function u(e){i(r);let s=r.node;if(null==s)return"";let u=s&&"object"==typeof s&&void 0===e;if(u&&n.has(s))return n.get(s);let l=cd(r,t,a,e,o);return u&&n.set(s,l),l}}function cd(e,t,n,r,i){var o;let s,{node:a}=e,{printer:u}=t;return s=null!=(o=u.hasPrettierIgnore)&&o.call(u,e)?ud(e,t):i.has(a)?i.get(a):u.print(e,t,n,r),a===t.cursorNode&&(s=cl(s,(e=>[zu,e,zu]))),u.printComment&&(!u.willPrintOwnComments||!u.willPrintOwnComments(e,t))&&(s=function(e,t,n){let{leading:r,trailing:i}=tc(e,n);return r||i?cl(t,(e=>[r,e,i])):t}(e,s,t)),s}async function dd(e,t){var n,r;let i=null!==(n=e.comments)&&void 0!==n?n:[];t[Symbol.for("comments")]=i,t[Symbol.for("tokens")]=null!==(r=e.tokens)&&void 0!==r?r:[],t[Symbol.for("printedComments")]=new Set,function(e,t){let{comments:n}=e;if(delete e.comments,!Pl(n)||!t.printer.canAttachComment)return;let r=[],{locStart:i,locEnd:o,printer:{experimentalFeatures:{avoidAstMutation:s=!1}={},handleComments:a={}},originalText:u}=t,{ownLine:l=zl,endOfLine:c=zl,remaining:d=zl}=a,f=n.map(((r,i)=>({...Hl(e,r,t),comment:r,text:u,options:t,ast:e,isLastComment:n.length-1===i})));for(let[h,p]of f.entries()){let e,{comment:t,precedingNode:n,enclosingNode:a,followingNode:u,text:g,options:m,ast:v,isLastComment:y}=p;if("json"===m.parser||"json5"===m.parser||"jsonc"===m.parser||"__js_expression"===m.parser||"__ts_expression"===m.parser||"__vue_expression"===m.parser||"__vue_ts_expression"===m.parser){if(i(t)-i(v)<=0){jl(v,t);continue}if(o(t)-o(v)>=0){Yl(v,t);continue}}if(s?e=[p]:(t.enclosingNode=a,t.precedingNode=n,t.followingNode=u,e=[t,g,m,v,y]),Ql(g,m,f,h))t.placement="ownLine",l(...e)||(u?jl(u,t):n?Yl(n,t):Kl(a||v,t));else if(Jl(g,m,f,h))t.placement="endOfLine",c(...e)||(n?Yl(n,t):u?jl(u,t):Kl(a||v,t));else if(t.placement="remaining",!d(...e))if(n&&u){let e=r.length;e>0&&r[e-1].followingNode!==u&&Xl(r,m),r.push(p)}else n?Yl(n,t):u?jl(u,t):Kl(a||v,t)}if(Xl(r,t),!s)for(let h of n)delete h.precedingNode,delete h.enclosingNode,delete h.followingNode}(e,t);let{printer:{preprocess:o}}=t;return{ast:e=o?await o(e,t):e,comments:i}}var fd=function(e,t){let{cursorOffset:n,locStart:r,locEnd:i}=t,o=Vl(t.printer.getVisitorKeys),s=e=>r(e)<=n&&i(e)>=n,a=e;for(let u of function*(e,t){let n=[e];for(let r=0;r<n.length;r++){let e=n[r];for(let r of Al(e,t))yield r,n.push(r)}}(e,{getVisitorKeys:o,filter:s}))a=u;return a};var hd=function(e,t){var n;let{printer:{massageAstNode:r,getVisitorKeys:i}}=t;if(!r)return e;let o=Vl(i),s=null!==(n=r.ignoredProperties)&&void 0!==n?n:new Set;return function e(t,n){if(null===t||"object"!=typeof t)return t;if(Array.isArray(t))return t.map((t=>e(t,n))).filter(Boolean);let i={},a=new Set(o(t));for(let r in t)!Object.prototype.hasOwnProperty.call(t,r)||s.has(r)||(a.has(r)?i[r]=e(t[r],t):i[r]=t[r]);let u=r(t,i,n);if(null!==u)return null!==u&&void 0!==u?u:i}(e)},pd=(e,t,n)=>{if(!e||null!=t){if(t.findLastIndex)return t.findLastIndex(n);for(let e=t.length-1;e>=0;e--){if(n(t[e],e,t))return e}return-1}},gd=e=>{let{parser:t}=e;return"json"===t||"json5"===t||"jsonc"===t||"json-stringify"===t};function md(e){let t=pd(!1,e,(e=>"Program"!==e.type&&"File"!==e.type));return-1===t?e:e.slice(0,t+1)}function vd(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],o=arguments.length>5?arguments[5]:void 0,{locStart:s,locEnd:a}=n,u=s(e),l=a(e);if(!(t>l||t<u||"rangeEnd"===o&&t===u||"rangeStart"===o&&t===l)){for(let s of Gl(e,n)){let a=vd(s,t,n,r,[e,...i],o);if(a)return a}if(!r||r(e,i[0]))return{node:e,parentNodes:i}}}var yd=new Set(["JsonRoot","ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),_d=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function Ed(e,t,n){if(!t)return!1;switch(e.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"acorn":case"espree":case"meriyah":case"__babel_estree":return function(e,t){return"DeclareExportDeclaration"!==t&&"TypeParameterDeclaration"!==e&&("Directive"===e||"TypeAlias"===e||"TSExportAssignment"===e||e.startsWith("Declare")||e.startsWith("TSDeclare")||e.endsWith("Statement")||e.endsWith("Declaration"))}(t.type,null==n?void 0:n.type);case"json":case"json5":case"jsonc":case"json-stringify":return yd.has(t.type);case"graphql":return _d.has(t.kind);case"vue":return"root"!==t.tag}return!1}function bd(e,t,n){let{rangeStart:r,rangeEnd:i,locStart:o,locEnd:s}=t;Il.ok(i>r);let a=e.slice(r,i).search(/\S/u),u=-1===a;if(!u)for(r+=a;i>r&&!/\S/u.test(e[i-1]);--i);let l,c,d=vd(n,r,t,((e,n)=>Ed(t,e,n)),[],"rangeStart"),f=u?d:vd(n,i,t,(e=>Ed(t,e)),[],"rangeEnd");if(!d||!f)return{rangeStart:0,rangeEnd:0};if(gd(t)){let e=function(e,t){let n=[e.node,...e.parentNodes],r=new Set([t.node,...t.parentNodes]);return n.find((e=>yd.has(e.type)&&r.has(e)))}(d,f);l=e,c=e}else({startNode:l,endNode:c}=function(e,t,n){let{locStart:r,locEnd:i}=n,o=e.node,s=t.node;if(o===s)return{startNode:o,endNode:s};let a=r(e.node);for(let l of md(t.parentNodes)){if(!(r(l)>=a))break;s=l}let u=i(t.node);for(let l of md(e.parentNodes)){if(!(i(l)<=u))break;if(o=l,o===s)break}return{startNode:o,endNode:s}}(d,f,t));return{rangeStart:Math.min(o(l),o(c)),rangeEnd:Math.max(s(l),s(c))}}var Dd="\ufeff",Nd=Symbol("cursor");async function Td(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e||0===e.trim().length)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:r,text:i}=await sd(e,t);t.cursorOffset>=0&&(t.cursorNode=fd(r,t));let o=await ld(r,t);n>0&&(o=Qu([Gu,o],n,t.tabWidth));let s=_l(o,t);if(n>0){let e=s.formatted.trim();void 0!==s.cursorNodeStart&&(s.cursorNodeStart-=s.formatted.indexOf(e)),s.formatted=e+su(t.endOfLine)}let a=t[Symbol.for("comments")];if(t.cursorOffset>=0){let e,n,r,o,u;if(t.cursorNode&&s.cursorNodeText?(e=t.locStart(t.cursorNode),n=i.slice(e,t.locEnd(t.cursorNode)),r=t.cursorOffset-e,o=s.cursorNodeStart,u=s.cursorNodeText):(e=0,n=i,r=t.cursorOffset,o=0,u=s.formatted),n===u)return{formatted:s.formatted,cursorOffset:o+r,comments:a};let l=n.split("");l.splice(r,0,Nd);let c=function(e,t,n){return ou.diff(e,t,n)}(l,u.split("")),d=o;for(let t of c)if(t.removed){if(t.value.includes(Nd))break}else d+=t.count;return{formatted:s.formatted,cursorOffset:d,comments:a}}return{formatted:s.formatted,cursorOffset:-1,comments:a}}function Sd(e,t,n){return"number"!=typeof t||Number.isNaN(t)||t<0||t>e.length?n:t}function Id(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:i}=t;return n=Sd(e,n,-1),r=Sd(e,r,0),i=Sd(e,i,e.length),{...t,cursorOffset:n,rangeStart:r,rangeEnd:i}}function wd(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:i,endOfLine:o}=Id(e,t),s=e.charAt(0)===Dd;if(s&&(e=e.slice(1),n--,r--,i--),"auto"===o&&(o=function(e){let t=e.indexOf("\r");return t>=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"}(e)),e.includes("\r")){let t=t=>au(e.slice(0,Math.max(t,0)),"\r\n");n-=t(n),r-=t(r),i-=t(i),e=function(e){return Wa(!1,e,/\r\n?/gu,"\n")}(e)}return{hasBOM:s,text:e,options:Id(e,{...t,cursorOffset:n,rangeStart:r,rangeEnd:i,endOfLine:o})}}async function Ad(e,t){let n=await td(t);return!n.hasPragma||n.hasPragma(e)}async function Rd(e,t){let n,{hasBOM:r,text:i,options:o}=wd(e,await id(t));return o.rangeStart>=o.rangeEnd&&""!==i||o.requirePragma&&!await Ad(i,o)?{formatted:e,cursorOffset:t.cursorOffset,comments:[]}:(o.rangeStart>0||o.rangeEnd<i.length?n=await async function(e,t){let{ast:n,text:r}=await sd(e,t),{rangeStart:i,rangeEnd:o}=bd(r,t,n),s=r.slice(i,o),a=Math.min(i,r.lastIndexOf("\n",i)+1),u=r.slice(a,i).match(/^\s*/u)[0],l=Nl(u,t.tabWidth),c=await Td(s,{...t,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>i&&t.cursorOffset<=o?t.cursorOffset-i:-1,endOfLine:"lf"},l),d=c.formatted.trimEnd(),{cursorOffset:f}=t;f>o?f+=d.length-s.length:c.cursorOffset>=0&&(f=c.cursorOffset+i);let h=r.slice(0,i)+d+r.slice(o);if("lf"!==t.endOfLine){let e=su(t.endOfLine);f>=0&&"\r\n"===e&&(f+=au(h.slice(0,f),"\n")),h=Wa(!1,h,"\n",e)}return{formatted:h,cursorOffset:f,comments:c.comments}}(i,o):(!o.requirePragma&&o.insertPragma&&o.printer.insertPragma&&!await Ad(i,o)&&(i=o.printer.insertPragma(i)),n=await Td(i,o)),r&&(n.formatted=Dd+n.formatted,n.cursorOffset>=0&&n.cursorOffset++),n)}var Cd={};Pa(Cd,{builders:()=>Od,printer:()=>Fd,utils:()=>Ld});var Od={join:Wu,line:Yu,softline:qu,hardline:Gu,literalline:Hu,group:xu,conditionalGroup:function(e,t){return xu(e[0],{...t,expandedStates:e})},fill:Pu,lineSuffix:Mu,lineSuffixBoundary:Bu,cursor:zu,breakParent:Vu,ifBreak:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Ou(e),""!==t&&Ou(t),{type:mu,breakContents:e,flatContents:t,groupId:n.groupId}},trim:Uu,indent:Lu,indentIfBreak:function(e,t){return Ou(e),{type:vu,contents:e,groupId:t.groupId,negate:t.negate}},align:ku,addAlignmentToDoc:Qu,markAsRoot:function(e){return ku({type:"root"},e)},dedentToRoot:function(e){return ku(Number.NEGATIVE_INFINITY,e)},dedent:function(e){return ku(-1,e)},hardlineWithoutBreakParent:ju,literallineWithoutBreakParent:Ku,label:function(e,t){return Ou(t),e?{type:bu,label:e,contents:t}:t},concat:e=>e},Fd={printDocToString:_l},Ld={willBreak:function(e){return nl(e,rl,!1)},traverseDoc:Ru,findInDoc:nl,mapDoc:tl,removeLines:function(e){return tl(e,ol)},stripTrailingHardline:ul,replaceEndOfLine:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Hu;return tl(e,(e=>"string"==typeof e?Wu(t,e.split("\n")):e))},canBreak:function(e){return nl(e,ll,!1)}},kd="3.3.3",xd={};Pa(xd,{addDanglingComment:()=>Kl,addLeadingComment:()=>jl,addTrailingComment:()=>Yl,getAlignmentSize:()=>Nl,getIndentSize:()=>Ud,getMaxContinuousCount:()=>jd,getNextNonSpaceNonCommentCharacter:()=>Kd,getNextNonSpaceNonCommentCharacterIndex:()=>Hd,getStringWidth:()=>el,hasNewline:()=>xl,hasNewlineInRange:()=>Yd,hasSpaces:()=>qd,isNextLineEmpty:()=>Wd,isNextLineEmptyAfterIndex:()=>Vd,isPreviousLineEmpty:()=>zd,makeString:()=>Gd,skip:()=>Rl,skipEverythingButNewLine:()=>Ll,skipInlineComment:()=>Pd,skipNewline:()=>kl,skipSpaces:()=>Ol,skipToLineEnd:()=>Fl,skipTrailingComment:()=>Md,skipWhitespace:()=>Cl});var Pd=function(e,t){if(!1===t)return!1;if("/"===e.charAt(t)&&"*"===e.charAt(t+1))for(let n=t+2;n<e.length;++n)if("*"===e.charAt(n)&&"/"===e.charAt(n+1))return n+2;return t};var Md=function(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?Ll(e,t):t)};var Bd=function(e,t){let n=null,r=t;for(;r!==n;)n=r,r=Ol(e,r),r=Pd(e,r),r=Md(e,r),r=kl(e,r);return r};var Vd=function(e,t){let n=null,r=t;for(;r!==n;)n=r,r=Fl(e,r),r=Pd(e,r),r=Ol(e,r);return r=Md(e,r),r=kl(e,r),!1!==r&&xl(e,r)};var Ud=function(e,t){let n=e.lastIndexOf("\n");return-1===n?0:Nl(e.slice(n+1).match(/^[\t ]*/u)[0],t)};var jd=function(e,t){let n=e.match(new RegExp("(".concat(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(t),")+"),"gu"));return null===n?0:n.reduce(((e,n)=>Math.max(e,n.length/t.length)),0)};var Kd=function(e,t){let n=Bd(e,t);return!1===n?"":e.charAt(n)};var Yd=function(e,t,n){for(let r=t;r<n;++r)if("\n"===e.charAt(r))return!0;return!1};var qd=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Ol(e,n.backwards?t-1:t,n)!==t};var Gd=function(e,t,n){let r='"'===t?"'":'"',i=Wa(!1,e,/\\(.)|(["'])/gsu,((e,i,o)=>i===r?i:o===t?"\\"+o:o||(n&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(i)?i:"\\"+i)));return t+i+t};function Hd(e,t){return 2===arguments.length||"number"==typeof t?Bd(e,t):function(e,t,n){return Bd(e,n(t))}(...arguments)}function zd(e,t){return 2===arguments.length||"number"==typeof t?Zl(e,t):function(e,t,n){return Zl(e,n(t))}(...arguments)}function Wd(e,t){return 2===arguments.length||"number"==typeof t?Vd(e,t):function(e,t,n){return Vd(e,n(t))}(...arguments)}function Qd(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return async function(){for(var n,r,i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];let a=null!==(n=o[t])&&void 0!==n?n:{},u=null!==(r=a.plugins)&&void 0!==r?r:[];return o[t]={...a,plugins:Array.isArray(u)?u:Object.values(u)},e(...o)}}var Jd=Qd(Rd);async function Xd(e,t){let{formatted:n}=await Jd(e,{...t,cursorOffset:-1});return n}async function $d(e,t){return await Xd(e,t)===e}var Zd=Qd(sc,0),ef={parse:Qd((async function(e,t,n){let{text:r,options:i}=wd(e,await id(t)),o=await sd(r,i);return n&&(n.preprocessForPrint&&(o.ast=await dd(o.ast,i)),n.massage&&(o.ast=hd(o.ast,i))),o})),formatAST:Qd((async function(e,t){return t=await id(t),_l(await ld(e,t),t)})),formatDoc:Qd((async function(e,t){let n=function(e){let t=Object.create(null),n=new Set;return function e(t,n,i){var o,s;if("string"==typeof t)return JSON.stringify(t);if(Array.isArray(t)){let n=t.map(e).filter(Boolean);return 1===n.length?n[0]:"[".concat(n.join(", "),"]")}if(t.type===Eu){let e=(null==(o=null==i?void 0:i[n+1])?void 0:o.type)===Du;return t.literal?e?"literalline":"literallineWithoutBreakParent":t.hard?e?"hardline":"hardlineWithoutBreakParent":t.soft?"softline":"line"}if(t.type===Du)return(null==(s=null==i?void 0:i[n-1])?void 0:s.type)===Eu&&i[n-1].hard?void 0:"breakParent";if(t.type===hu)return"trim";if(t.type===du)return"indent("+e(t.contents)+")";if(t.type===fu)return t.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+e(t.contents)+")":t.n<0?"dedent("+e(t.contents)+")":"root"===t.n.type?"markAsRoot("+e(t.contents)+")":"align("+JSON.stringify(t.n)+", "+e(t.contents)+")";if(t.type===mu)return"ifBreak("+e(t.breakContents)+(t.flatContents?", "+e(t.flatContents):"")+(t.groupId?(t.flatContents?"":', ""')+", { groupId: ".concat(r(t.groupId)," }"):"")+")";if(t.type===vu){let n=[];t.negate&&n.push("negate: true"),t.groupId&&n.push("groupId: ".concat(r(t.groupId)));let i=n.length>0?", { ".concat(n.join(", ")," }"):"";return"indentIfBreak(".concat(e(t.contents)).concat(i,")")}if(t.type===pu){let n=[];t.break&&"propagated"!==t.break&&n.push("shouldBreak: true"),t.id&&n.push("id: ".concat(r(t.id)));let i=n.length>0?", { ".concat(n.join(", ")," }"):"";return t.expandedStates?"conditionalGroup([".concat(t.expandedStates.map((t=>e(t))).join(","),"]").concat(i,")"):"group(".concat(e(t.contents)).concat(i,")")}if(t.type===gu)return"fill([".concat(t.parts.map((t=>e(t))).join(", "),"])");if(t.type===yu)return"lineSuffix("+e(t.contents)+")";if(t.type===_u)return"lineSuffixBoundary";if(t.type===bu)return"label(".concat(JSON.stringify(t.label),", ").concat(e(t.contents),")");throw new Error("Unknown doc type "+t.type)}(Ju(e));function r(e){if("symbol"!=typeof e)return JSON.stringify(String(e));if(e in t)return t[e];let r=e.description||"symbol";for(let i=0;;i++){let o=r+(i>0?" #".concat(i):"");if(!n.has(o))return n.add(o),t[e]="Symbol.for(".concat(JSON.stringify(o),")")}}}(e),{formatted:r}=await Rd(n,{...t,parser:"__js_expression"});return r})),printToDoc:Qd((async function(e,t){t=await id(t);let{ast:n}=await sd(e,t);return ld(n,t)})),printDocToString:Qd((async function(e,t){return _l(e,await id(t))}))};function tf(e){return new Promise((t=>{self.setTimeout(t,e)}))}n(5155),n(9997),n(7928),n(2813),n(2990),n(7669),n(5033);function nf(e){return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:bo;return e.expiresAt-Io()-t}(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:bo)<1}const rf=(e,t)=>t.some((t=>e instanceof t));let of,sf;const af=new WeakMap,uf=new WeakMap,lf=new WeakMap,cf=new WeakMap,df=new WeakMap;let ff={get(e,t,n){if(e instanceof IDBTransaction){if("done"===t)return uf.get(e);if("objectStoreNames"===t)return e.objectStoreNames||lf.get(e);if("store"===t)return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return mf(e[t])},set:(e,t,n)=>(e[t]=n,!0),has:(e,t)=>e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e};function hf(e){ff=e(ff)}function pf(e){return e!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(sf||(sf=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(e)?function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.apply(vf(this),n),mf(af.get(this))}:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return mf(e.apply(vf(this),n))}:function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];const o=e.call(vf(this),t,...r);return lf.set(o,t.sort?t.sort():[t]),mf(o)}}function gf(e){return"function"===typeof e?pf(e):(e instanceof IDBTransaction&&function(e){if(uf.has(e))return;const t=new Promise(((t,n)=>{const r=()=>{e.removeEventListener("complete",i),e.removeEventListener("error",o),e.removeEventListener("abort",o)},i=()=>{t(),r()},o=()=>{n(e.error||new DOMException("AbortError","AbortError")),r()};e.addEventListener("complete",i),e.addEventListener("error",o),e.addEventListener("abort",o)}));uf.set(e,t)}(e),rf(e,of||(of=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction]))?new Proxy(e,ff):e)}function mf(e){if(e instanceof IDBRequest)return function(e){const t=new Promise(((t,n)=>{const r=()=>{e.removeEventListener("success",i),e.removeEventListener("error",o)},i=()=>{t(mf(e.result)),r()},o=()=>{n(e.error),r()};e.addEventListener("success",i),e.addEventListener("error",o)}));return t.then((t=>{t instanceof IDBCursor&&af.set(t,e)})).catch((()=>{})),df.set(t,e),t}(e);if(cf.has(e))return cf.get(e);const t=gf(e);return t!==e&&(cf.set(e,t),df.set(t,e)),t}const vf=e=>df.get(e);const yf=["get","getKey","getAll","getAllKeys","count"],_f=["put","add","delete","clear"],Ef=new Map;function bf(e,t){if(!(e instanceof IDBDatabase)||t in e||"string"!==typeof t)return;if(Ef.get(t))return Ef.get(t);const n=t.replace(/FromIndex$/,""),r=t!==n,i=_f.includes(n);if(!(n in(r?IDBIndex:IDBObjectStore).prototype)||!i&&!yf.includes(n))return;const o=async function(e){const t=this.transaction(e,i?"readwrite":"readonly");let o=t.store;for(var s=arguments.length,a=new Array(s>1?s-1:0),u=1;u<s;u++)a[u-1]=arguments[u];return r&&(o=o.index(a.shift())),(await Promise.all([o[n](...a),i&&t.done]))[0]};return Ef.set(t,o),o}hf((e=>({...e,get:(t,n,r)=>bf(t,n)||e.get(t,n,r),has:(t,n)=>!!bf(t,n)||e.has(t,n)})));const Df=["continue","continuePrimaryKey","advance"],Nf={},Tf=new WeakMap,Sf=new WeakMap,If={get(e,t){if(!Df.includes(t))return e[t];let n=Nf[t];return n||(n=Nf[t]=function(){Tf.set(this,Sf.get(this)[t](...arguments))}),n}};async function*wf(){let e=this;if(e instanceof IDBCursor||(e=await e.openCursor(...arguments)),!e)return;const t=new Proxy(e,If);for(Sf.set(t,e),df.set(t,vf(e));e;)yield t,e=await(Tf.get(t)||e.continue()),Tf.delete(t)}function Af(e,t){return t===Symbol.asyncIterator&&rf(e,[IDBIndex,IDBObjectStore,IDBCursor])||"iterate"===t&&rf(e,[IDBIndex,IDBObjectStore])}hf((e=>({...e,get:(t,n,r)=>Af(t,n)?wf:e.get(t,n,r),has:(t,n)=>Af(t,n)||e.has(t,n)})));Object.keys({app:!0,attachment:!0,item:!0,mutex:!0,schema:!0,"schema-attachment":!0,session:!0,setting:!0,tab:!0,"update-log":!0,workspace:!0,"workspace-sync":!0});const Rf="chillicream-nitro";function Cf(e,t){return Ff((n=>n.get(e,t)))}function Of(){return function(e,t){let{blocked:n,upgrade:r,blocking:i,terminated:o}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const s=indexedDB.open(e,t),a=mf(s);return r&&s.addEventListener("upgradeneeded",(e=>{r(mf(s.result),e.oldVersion,e.newVersion,mf(s.transaction),e)})),n&&s.addEventListener("blocked",(e=>n(e.oldVersion,e.newVersion,e))),a.then((e=>{o&&e.addEventListener("close",(()=>o())),i&&e.addEventListener("versionchange",(e=>i(e.oldVersion,e.newVersion,e)))})).catch((()=>{})),a}(Rf)}async function Ff(e){const t=await Of();try{return await e(t)}finally{t.close()}}async function Lf(e,t,n,r,i){const o=await async function(e,t,n){const r=e.transaction(t,n),i={},o={};for(const s of t){const e=r.objectStore(s),t=Pf(s);i[t]=e,o[t]={};for(const n of e.indexNames)o[t][n]=e.index(n)}return{abort:e=>function(e,t){throw e.abort(),new Error(t)}(r,e),done:r.done.catch((e=>{if(!ro(e))throw e})),store:i,index:o}}(e,t,n);try{return i?await function(e,t,n){return n?n.aborted?Promise.reject(Qi):(n.addEventListener("abort",e),t().finally((()=>{n.removeEventListener("abort",e)}))):t()}((()=>o.abort("transaction aborted")),(()=>r(o,e.version)),i):await r(o,e.version)}finally{await o.done}}function kf(e,t,n,r){return Ff((i=>Lf(i,e,t,n,r)))}const xf=new Map;function Pf(e){let t=xf.get(e);return t||(t=e.split("-").reduce(((e,t)=>(t&&(""!==e?(e+=t[0].toUpperCase(),e+=t.substring(1)):e=t),e)),""),xf.set(e,t)),t}async function Mf(e){let{sub:t,tenant:n,issuer:r}=e;return kf(["session"],"readonly",(e=>e.index.session.key.get([t,n,r])))}async function Bf(e){var t,n;return await(t="session",n=e,Ff((async e=>{await e.put(t,n)}))),e}const Vf="current-tenant";n(9210),n(3339);n(6523);const Uf=[0,3e4,Do,Do,36e5,108e5,216e5,432e5,864e5,2592e5];Uf.length;function jf(e,t,n){return kf(["mutex"],"readwrite",(async r=>{const i=await r.store.mutex.get(e),o=()=>r.store.mutex.put({resource:e,owner:t,expiresAt:Io()+n});return i?(i.owner===t||i.expiresAt<Io())&&(await o(),!0):(await o(),!0)}))}let Kf=function(e){return e.SDL_SCHEMA="sdl-schema",e.STATISTICS="statistics",e.ITEMS="items",e}({});async function Yf(e){const t=e.replace(/\/(?=\?)|\/(?=#)|\/$/,"");const n=await Cf("schema-attachment",[t,Kf.SDL_SCHEMA]);return(r=n)&&r.kind===Kf.SDL_SCHEMA?n.value:void 0;var r}wo.last30Minutes;function qf(e,t,n){var r;const i=null!==(r=null===n||void 0===n?void 0:n.expiry)&&void 0!==r?r:Eo,o=So("mutex");return async function(e,t,n){for(;!await jf(e,t,n);)await tf(yo)}(e,o,i).then((async()=>{const n=new no(i);try{const[e]=await Promise.all([t(n.signal.toAbortSignal()).then((e=>(n.cancel(),e))),n.signal.toPromise()]);return e}catch(o){if(ro(r=o)&&r.message===Ji)throw new Gf(e);throw o}finally{n.cancel(),await function(e){return Ff((t=>t.delete("mutex",e)))}(e)}var r}))}class Gf extends Error{constructor(e){super('Lock for resource "'.concat(e,'" has been expired'))}}async function Hf(e){const t=await Cf("app",Vf);if(!t)return null;let n=await Mf(t);if(!n)return null;if(nf(n)&&(n=await async function(e,t){return qf("refresh-session",n);async function n(n){const r=t?function(e,t){const n=new AbortController;if(e.aborted||t.aborted){var r;n.abort(null!==(r=e.reason)&&void 0!==r?r:t.reason)}else{function i(e){return()=>{n.signal.aborted||n.abort(e.reason)}}function o(){n.signal.removeEventListener("abort",o),e.removeEventListener("abort",i(e)),t.removeEventListener("abort",i(t))}n.signal.addEventListener("abort",o),e.addEventListener("abort",i(e)),t.addEventListener("abort",i(t))}return n.signal}(t,n):n;let i=await Mf(e)||e;if(!nf(i)||i.requiresSignIn)return i;const o=new Headers,s=new URLSearchParams;o.append(mo,"application/x-www-form-urlencoded"),s.append("client_id","3c9f56bd-0e2c-4358-9bf5-ff3a0efa9bf5"),s.append("grant_type","refresh_token"),s.append("refresh_token",i.refreshToken);try{const t=await fetch("".concat(i.issuer,"/connect/token"),{method:"POST",headers:o,body:s,signal:r});if(t.ok){const e=await t.json();if(function(e){return t=e,null!==t&&"object"===typeof t&&!Array.isArray(t)&&"access_token"in e;var t}(e))return Bf({...i,requiresSignIn:!1,idToken:e.id_token,accessToken:e.access_token,refreshToken:e.refresh_token,expiresAt:Io()+e.expires_in*_o})}else if(400===t.status&&(i=await Mf(e)||e,nf(i)))return Bf({...i,requiresSignIn:!0,lastTriedToRefresh:Io()});return i}catch(a){console.error(a)}return i=await Mf(e)||e,nf(i)?Bf({...i,lastTriedToRefresh:Io()}):i}}(n,e),nf(n)))throw new zf;return n}class zf extends Error{constructor(){super("User session has been expired")}}async function Wf(e){var t;const n=await Hf();var r;return{uri:(r=e,vo.test(r)?e:new URL(e,null!==(t=null===n||void 0===n?void 0:n.apiUrl)&&void 0!==t?t:"https://api.chillicream.com").href),headers:function(e){const t=new Headers;if(t.set("CCC-Agent",go),t.set("GraphQL-Agent",go),t.set("GraphQL-Client-Id",lo),t.set("GraphQL-Client-Version",uo),t.set("GraphQL-Defer-RFC","v2"),!e)throw new zf;t.set("Authorization","Bearer ".concat(e));return t}(null===n||void 0===n?void 0:n.accessToken)}}var Qf=n(709);n(3967),n(4913);function Jf(e){if("next"!==e&&"complete"!==e)throw new Error('Invalid stream event "'.concat(e,'"'));return e}function Xf(e,t){if(t)try{t=JSON.parse(t)}catch(x){throw new Error("Invalid stream data")}if("next"===e&&!t)throw new Error('Stream data must be an object for "next" events');return t||null}var $f;!function(e){e[e.NewLine=10]="NewLine",e[e.CchunkiageReturn=13]="CchunkiageReturn",e[e.Space=32]="Space",e[e.Colon=58]="Colon"}($f||($f={}));var Zf=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e="function"===typeof __values?__values(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}},eh=function(e){return this instanceof eh?(this.v=e,this):new eh(e)},th=function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){o.push([e,t,n,r])>1||a(e,t)}))})}function a(e,t){try{(n=i[e](t)).value instanceof eh?Promise.resolve(n.value.v).then(u,l):c(o[0][2],n)}catch(ih){c(o[0][3],ih)}var n}function u(e){a("next",e)}function l(e){a("throw",e)}function c(e,t){e(t),o.shift(),o.length&&a(o[0][0],o[0][1])}};class nh extends Error{constructor(e){let t,n;var r;(function(e){return"object"===typeof e&&null!==e})(r=e)&&"boolean"===typeof r.ok&&"number"===typeof r.status&&"string"===typeof r.statusText?(n=e,t="Server responded with "+e.status+": "+e.statusText):t=e instanceof Error?e.message:String(e),super(t),this.name=this.constructor.name,this.response=n}}async function rh(e){const{signal:t,url:n,credentials:r,headers:i,body:o,referrer:s,referrerPolicy:a,fetchFn:u,onMessage:l}=e,c={},d={};let f;try{f=await u(n,{signal:t,method:o?"POST":"GET",credentials:r,referrer:s,referrerPolicy:a,headers:Object.assign(Object.assign({},i),{accept:"text/event-stream"}),body:o})}catch(g){throw new nh(g)}if(!f.ok)throw new nh(f);if(!f.body)throw new Error("Missing response body");let h,p=null;return(async()=>{var e,t,n,r,i;try{const h=function(){let e,t,n,r=!1,i={event:"",data:""},o=[];const s=new TextDecoder;return function(a){if(void 0===e)e=a,t=0,n=-1;else{const t=new Uint8Array(e.length+a.length);t.set(e),t.set(a,e.length),e=t}const u=e.length;let l=0;for(;t<u;){r&&(e[t]===$f.NewLine&&(l=++t),r=!1);let a=-1;for(;t<u&&-1===a;++t)switch(e[t]){case $f.Colon:-1===n&&(n=t-l);break;case $f.CchunkiageReturn:r=!0;case $f.NewLine:a=t}if(-1===a)break;if(l===a){if(i.event||i.data){if(!i.event)throw new Error("Missing message event");const e=Jf(i.event),t=Xf(e,i.data);o.push({event:e,data:t}),i={event:"",data:""}}}else if(n>0){const t=e.subarray(l,a),r=s.decode(t.subarray(0,n)),o=n+(t[n+1]===$f.Space?2:1),u=s.decode(t.subarray(o));switch(r){case"event":i.event=u;break;case"data":i.data=i.data?i.data+"\n"+u:u}}l=t,n=-1}if(l===u){e=void 0;const t=[...o];return o=[],t}0!==l&&(e=e.subarray(l),t-=l)}}();try{for(var o,s=!0,a=Zf(function(e){if("function"===typeof Object(e)[Symbol.asyncIterator])return e[Symbol.asyncIterator]();return function(){return th(this,arguments,(function*(){const t=e.getReader();let n;do{n=yield eh(t.read()),void 0!==n.value&&(yield yield eh(n.value))}while(!n.done)}))}()}(f.body));!(e=(o=await a.next()).done);){r=o.value,s=!1;try{const e=r;if("string"===typeof e)throw p=new Error('Unexpected string chunk "'.concat(e,'"'));let t;try{t=h(e)}catch(g){throw p=g}if(!t)continue;for(const n of t){try{null===l||void 0===l||l(n)}catch(g){throw p=g}const e=n.data&&"id"in n.data?n.data.id:"";switch(e in d||(d[e]=[]),n.event){case"next":e?d[e].push(n.data.payload):d[e].push(n.data);break;case"complete":d[e].push("complete");break;default:throw p=new Error('Unexpected message event "'.concat(n.event,'"'))}null===(i=c[e])||void 0===i||i.proceed()}}finally{s=!0}}}catch(u){t={error:u}}finally{try{s||e||!(n=a.return)||await n.call(a)}finally{if(t)throw t.error}}if(Object.keys(c).length)throw new Error("Connection closed while having active streams")}catch(g){p=!p&&Object.keys(c).length?new nh(g):g,null===h||void 0===h||h(p)}finally{Object.values(c).forEach((e=>{let{proceed:t}=e;return t()}))}})(),{url:n,headers:i,waitForThrow:()=>new Promise(((e,t)=>{if(p)return t(p);h=t})),getResults(e){var t;return th(this,arguments,(function*(){const{signal:n,operationId:r=""}=null!==e&&void 0!==e?e:{};try{for(;;){for(;null===(t=d[r])||void 0===t?void 0:t.length;){const e=d[r].shift();if("complete"===e)return yield eh(void 0);yield yield eh(e)}if(p)throw p;if(null===n||void 0===n?void 0:n.aborted)throw new Error("Getting results aborted by the client");yield eh(new Promise((e=>{const t=()=>{null===n||void 0===n||n.removeEventListener("abort",t),delete c[r],e()};null===n||void 0===n||n.addEventListener("abort",t),c[r]={proceed:t}})))}}finally{delete d[r]}}))}}}var ih=new TextDecoder;new Qf.Environment({network:Qf.Network.create(((e,t,n)=>{async function r(n,r){try{const{uri:i,headers:o}=r;o.set(mo,"application/json");const s=await fetch(i,{body:JSON.stringify(e.id?{id:e.id,variables:t}:{query:e.text,variables:t}),headers:o,method:"POST"}),a=await async function(e,t){if(!e.ok||!e.body||e.bodyUsed)return e;let n=e.headers.get("content-type");if(!n||!~n.indexOf("multipart/"))return e;let r=n.indexOf("boundary="),i="-";if(~r){let e=r+9,t=n.indexOf(";",e);i=n.slice(e,t>-1?t:void 0).trim().replace(/"/g,"")}return async function*(e,t,n){let r,i,o,s=e.getReader(),a=!n||!n.multiple,u=t.length,l="",c=[];try{let e;e:for(;!(e=await s.read()).done;){let n=ih.decode(e.value);r=l.length,l+=n;let s=n.indexOf(t);for(~s?r+=s:r=l.indexOf(t),c=[];~r;){let e=l.slice(0,r),n=l.slice(r+u);if(i){let t=e.indexOf("\r\n\r\n")+4,r=e.lastIndexOf("\r\n",t),i=!1,s=e.slice(t,r>-1?void 0:r),u=String(e.slice(0,t)).trim().split("\r\n"),l={},d=u.length;for(;o=u[--d];o=o.split(": "),l[o.shift().toLowerCase()]=o.join(": "));if(o=l["content-type"],o&&~o.indexOf("application/json"))try{s=JSON.parse(s),i=!0}catch(ih){}if(o={headers:l,body:s,json:i},a?yield o:c.push(o),"--"===n.slice(0,2))break e}else t="\r\n"+t,i=u+=2;l=n,r=l.indexOf(t)}c.length&&(yield c)}}finally{c.length&&(yield c),await s.cancel()}}(e.body,"--".concat(i),t)}(s);if(function(e){return"function"===typeof e}(Object(a)[Symbol.asyncIterator]))for await(const e of a){if(!e.json){n.error(new Error("Failed to parse part as json."));break}if("data"in e.body&&n.next(e.body),"incremental"in e.body)for(const t of e.body.incremental)if("data"in t)n.next({...t,hasNext:e.body.hasNext});else if(t.items){const r=t.path.slice(0,-1);let i=t.path.at(-1);for(const o of t.items)n.next({...t,path:r.concat(i++),data:o,hasNext:e.body.hasNext})}else n.next({...t,data:t.items,hasNext:e.body.hasNext})}else n.next(await a.json());n.complete()}catch(i){i instanceof Error?n.error(i,!0):n.error(new Error("Unknown error"),!0)}}return Qf.Observable.from(Wf("/graphql")).mergeMap((e=>Qf.Observable.create((t=>Qf.Observable.from(new Promise(((n,i)=>{r(t,e).then(n,i)}))).subscribe({})))))}),((e,t)=>Qf.Observable.from(Wf("/graphql")).map((e=>{let{uri:t,headers:n}=e;const r={};return n.forEach(((e,t)=>{r[t]=e})),function(e){const{singleConnection:t=!1,lazy:n=!0,lazyCloseTimeout:r=0,onNonLazyError:i=console.error,generateID:o=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(e=>{const t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))},retryAttempts:s=5,retry:a=async function(e){let t=1e3;for(let n=0;n<e;n++)t*=2;await new Promise((e=>setTimeout(e,t+Math.floor(2700*Math.random()+300))))},credentials:u="same-origin",referrer:l,referrerPolicy:c,onMessage:d}=e,f=e.fetchFn||fetch,h=e.abortControllerImpl||AbortController,p=(()=>{let e=!1;const t=[];return{get disposed(){return e},onDispose:n=>e?(setTimeout((()=>n()),0),()=>{}):(t.push(n),()=>{t.splice(t.indexOf(n),1)}),dispose(){if(!e){e=!0;for(const e of[...t])e()}}}})();let g,m,v=0,y=null,_=0;async function E(){try{if(p.disposed)throw new Error("Client has been disposed");return await(null!==m&&void 0!==m?m:m=(async()=>{var t;if(y){if(await a(_),g.signal.aborted)throw new Error("Connection aborted by the client");_++}g=new h;const n=p.onDispose((()=>g.abort()));g.signal.addEventListener("abort",(()=>{n(),m=void 0}));const r="function"===typeof e.url?await e.url():e.url;if(g.signal.aborted)throw new Error("Connection aborted by the client");const i="function"===typeof e.headers?await e.headers():null!==(t=e.headers)&&void 0!==t?t:{};if(g.signal.aborted)throw new Error("Connection aborted by the client");let o;try{o=await f(r,{signal:g.signal,method:"PUT",credentials:u,referrer:l,referrerPolicy:c,headers:i})}catch(E){throw new nh(E)}if(201!==o.status)throw new nh(o);const s=await o.text();i["x-graphql-event-stream-token"]=s;const v=await rh({signal:g.signal,headers:i,credentials:u,referrer:l,referrerPolicy:c,url:r,fetchFn:f,onMessage:d});return y=null,_=0,v.waitForThrow().catch((()=>m=void 0)),v})())}catch(t){throw m=void 0,t}}return t&&!n&&(async()=>{for(v++;;)try{const{waitForThrow:e}=await E();await e()}catch(e){if(p.disposed)return;if(!(e instanceof nh))return null===i||void 0===i?void 0:i(e);if(m=void 0,!s||_>=s)return null===i||void 0===i?void 0:i(e);y=e}})(),{subscribe(i,b){if(!t){const t=new h,n=p.onDispose((()=>{n(),t.abort()}));return(async()=>{var n,r,o,h,p;let g=null,m=0;for(;;)try{if(g){if(await a(m),t.signal.aborted)throw new Error("Connection aborted by the client");m++}const s="function"===typeof e.url?await e.url():e.url;if(t.signal.aborted)throw new Error("Connection aborted by the client");const D="function"===typeof e.headers?await e.headers():null!==(p=e.headers)&&void 0!==p?p:{};if(t.signal.aborted)throw new Error("Connection aborted by the client");const{getResults:N}=await rh({signal:t.signal,headers:Object.assign(Object.assign({},D),{"content-type":"application/json; charset=utf-8"}),credentials:u,referrer:l,referrerPolicy:c,url:s,body:JSON.stringify(i),fetchFn:f,onMessage:d});g=null,m=0;try{for(var v,y=!0,_=(r=void 0,Zf(N()));!(n=(v=await _.next()).done);){h=v.value,y=!1;try{const e=h;b.next(e)}finally{y=!0}}}catch(E){r={error:E}}finally{try{y||n||!(o=_.return)||await o.call(_)}finally{if(r)throw r.error}}return t.abort()}catch(D){if(t.signal.aborted)return;if(!(D instanceof nh))throw D;if(!s||m>=s)throw D;g=D}})().then((()=>b.complete())).catch((e=>b.error(e))),()=>t.abort()}v++;const D=new h,N=p.onDispose((()=>{N(),D.abort()}));return(async()=>{var e,t,a,d;const N=o();i=Object.assign(Object.assign({},i),{extensions:Object.assign(Object.assign({},i.extensions),{operationId:N})});let T=null;for(;;){T=null;try{const{url:n,headers:r,getResults:o}=await E();let s;try{s=await f(n,{signal:D.signal,method:"POST",credentials:u,referrer:l,referrerPolicy:c,headers:Object.assign(Object.assign({},r),{"content-type":"application/json; charset=utf-8"}),body:JSON.stringify(i)})}catch(A){throw new nh(A)}if(202!==s.status)throw new nh(s);T=async()=>{let e;try{const t=new h,i=p.onDispose((()=>{i(),t.abort()}));e=await f(n+"?operationId="+N,{signal:t.signal,method:"DELETE",credentials:u,referrer:l,referrerPolicy:c,headers:r})}catch(A){throw new nh(A)}if(200!==e.status)throw new nh(e)};try{for(var S,I=!0,w=(t=void 0,Zf(o({signal:D.signal,operationId:N})));!(e=(S=await w.next()).done);){d=S.value,I=!1;try{const e=d;b.next(e)}finally{I=!0}}}catch(R){t={error:R}}finally{try{I||e||!(a=w.return)||await a.call(w)}finally{if(t)throw t.error}}return T=null,D.abort()}catch(A){if(D.signal.aborted)return await(null===T||void 0===T?void 0:T());if(!(A instanceof nh))throw D.abort(),A;if(n&&(m=void 0),!s||_>=s)throw D.abort(),A;y=A}finally{D.signal.aborted&&0===--v&&(isFinite(r)&&r>0?setTimeout((()=>{v||g.abort()}),r):g.abort())}}})().then((()=>b.complete())).catch((e=>b.error(e))),()=>D.abort()},dispose(){p.dispose()}}}({url:t,headers:r})})).mergeMap((n=>Qf.Observable.create((r=>{var i,o;const s=n.subscribe({id:null!==(i=e.id)&&void 0!==i?i:void 0,query:null!==(o=e.text)&&void 0!==o?o:"",variables:t},{next:e=>{var t;let{data:n,errors:i,extensions:o}=e;return r.next({data:null!==n&&void 0!==n?n:void 0,errors:null!==(t=null===i||void 0===i?void 0:i.map((e=>{var t;return{message:e.message,locations:null===(t=e.locations)||void 0===t?void 0:t.map((e=>{let{line:t,column:n}=e;return{line:t,column:n}}))}})))&&void 0!==t?t:[],extensions:o})},complete:r.complete,error:e=>{e instanceof Error?r.error(e,!0):r.error(new Error("Unknown error"),!0)}});return{closed:r.closed,unsubscribe:s}})))))),store:new Qf.Store(new Qf.RecordSource)});let oh=function(e){return e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLES_DEFINITION="VariablesDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT_DICT="ArgumentDict",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.NUMBER="NumberValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e}({}),sh=function(e){return e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.QUESTION_MARK="?",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.BOOLEAN="Boolean",e.NUMBER="Number",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment",e.KEYWORD="Keyword",e.INVALID="Invalid",e}({});const ah={Name:[],Document:["definitions"],OperationDefinition:["name","variablesDefinition","directives","selectionSet"],VariablesDefinition:["variableDefinitions"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","argumentDict","directives","selectionSet"],ArgumentDict:["arguments"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","typeCondition","directives","selectionSet"],NumberValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","argumentDict"],NamedType:["name"],ListType:["type"],NonNullType:["type"]};let uh=function(e){return e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription",e}({});function lh(e){return!!e&&"object"===typeof e&&"kind"in e&&Object.values(oh).includes(e.kind)}function ch(e,t){return!!e&&"object"===typeof e&&"kind"in e&&e.kind===t&&!("isConst"in e)}var dh,fh,hh,ph,gh,mh,vh,yh,_h,Eh,bh,Dh,Nh,Th,Sh,Ih,wh,Ah,Rh,Ch,Oh,Fh,Lh,kh,xh,Ph,Mh,Bh,Vh,Uh,jh,Kh,Yh,qh,Gh,Hh,zh,Wh,Qh,Jh,Xh,$h,Zh,ep,tp,np,rp,ip,op,sp,ap,up,lp,cp,dp,fp,hp,pp,gp,mp,vp,yp,_p,Ep,bp,Dp,Np,Tp,Sp,Ip,wp,Ap,Rp,Cp,Op,Fp,Lp,kp,xp=n(8449),Pp=n(9932),Mp=n(466),Bp=n(7929),Vp=n(2176),Up=n(6746),jp=n(7450),Kp=n(5617);!function(e){e.is=function(e){return"string"===typeof e}}(dh||(dh={})),function(e){e.is=function(e){return"string"===typeof e}}(fh||(fh={})),function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647,e.is=function(t){return"number"===typeof t&&e.MIN_VALUE<=t&&t<=e.MAX_VALUE}}(hh||(hh={})),function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647,e.is=function(t){return"number"===typeof t&&e.MIN_VALUE<=t&&t<=e.MAX_VALUE}}(ph||(ph={})),function(e){e.create=function(e,t){return e===Number.MAX_VALUE&&(e=ph.MAX_VALUE),t===Number.MAX_VALUE&&(t=ph.MAX_VALUE),{line:e,character:t}},e.is=function(e){let t=e;return qp.objectLiteral(t)&&qp.uinteger(t.line)&&qp.uinteger(t.character)}}(gh||(gh={})),function(e){e.create=function(e,t,n,r){if(qp.uinteger(e)&&qp.uinteger(t)&&qp.uinteger(n)&&qp.uinteger(r))return{start:gh.create(e,t),end:gh.create(n,r)};if(gh.is(e)&&gh.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments[".concat(e,", ").concat(t,", ").concat(n,", ").concat(r,"]"))},e.is=function(e){let t=e;return qp.objectLiteral(t)&&gh.is(t.start)&&gh.is(t.end)}}(mh||(mh={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){let t=e;return qp.objectLiteral(t)&&mh.is(t.range)&&(qp.string(t.uri)||qp.undefined(t.uri))}}(vh||(vh={})),function(e){e.create=function(e,t,n,r){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:r}},e.is=function(e){let t=e;return qp.objectLiteral(t)&&mh.is(t.targetRange)&&qp.string(t.targetUri)&&mh.is(t.targetSelectionRange)&&(mh.is(t.originSelectionRange)||qp.undefined(t.originSelectionRange))}}(yh||(yh={})),function(e){e.create=function(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}},e.is=function(e){const t=e;return qp.objectLiteral(t)&&qp.numberRange(t.red,0,1)&&qp.numberRange(t.green,0,1)&&qp.numberRange(t.blue,0,1)&&qp.numberRange(t.alpha,0,1)}}(_h||(_h={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){const t=e;return qp.objectLiteral(t)&&mh.is(t.range)&&_h.is(t.color)}}(Eh||(Eh={})),function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){const t=e;return qp.objectLiteral(t)&&qp.string(t.label)&&(qp.undefined(t.textEdit)||Ch.is(t))&&(qp.undefined(t.additionalTextEdits)||qp.typedArray(t.additionalTextEdits,Ch.is))}}(bh||(bh={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(Dh||(Dh={})),function(e){e.create=function(e,t,n,r,i,o){const s={startLine:e,endLine:t};return qp.defined(n)&&(s.startCharacter=n),qp.defined(r)&&(s.endCharacter=r),qp.defined(i)&&(s.kind=i),qp.defined(o)&&(s.collapsedText=o),s},e.is=function(e){const t=e;return qp.objectLiteral(t)&&qp.uinteger(t.startLine)&&qp.uinteger(t.startLine)&&(qp.undefined(t.startCharacter)||qp.uinteger(t.startCharacter))&&(qp.undefined(t.endCharacter)||qp.uinteger(t.endCharacter))&&(qp.undefined(t.kind)||qp.string(t.kind))}}(Nh||(Nh={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){let t=e;return qp.defined(t)&&vh.is(t.location)&&qp.string(t.message)}}(Th||(Th={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(Sh||(Sh={})),function(e){e.Unnecessary=1,e.Deprecated=2}(Ih||(Ih={})),function(e){e.is=function(e){const t=e;return qp.objectLiteral(t)&&qp.string(t.href)}}(wh||(wh={})),function(e){e.create=function(e,t,n,r,i,o){let s={range:e,message:t};return qp.defined(n)&&(s.severity=n),qp.defined(r)&&(s.code=r),qp.defined(i)&&(s.source=i),qp.defined(o)&&(s.relatedInformation=o),s},e.is=function(e){var t;let n=e;return qp.defined(n)&&mh.is(n.range)&&qp.string(n.message)&&(qp.number(n.severity)||qp.undefined(n.severity))&&(qp.integer(n.code)||qp.string(n.code)||qp.undefined(n.code))&&(qp.undefined(n.codeDescription)||qp.string(null===(t=n.codeDescription)||void 0===t?void 0:t.href))&&(qp.string(n.source)||qp.undefined(n.source))&&(qp.undefined(n.relatedInformation)||qp.typedArray(n.relatedInformation,Th.is))}}(Ah||(Ah={})),function(e){e.create=function(e,t){let n={title:e,command:t};for(var r=arguments.length,i=new Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];return qp.defined(i)&&i.length>0&&(n.arguments=i),n},e.is=function(e){let t=e;return qp.defined(t)&&qp.string(t.title)&&qp.string(t.command)}}(Rh||(Rh={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:""}},e.is=function(e){const t=e;return qp.objectLiteral(t)&&qp.string(t.newText)&&mh.is(t.range)}}(Ch||(Ch={})),function(e){e.create=function(e,t,n){const r={label:e};return void 0!==t&&(r.needsConfirmation=t),void 0!==n&&(r.description=n),r},e.is=function(e){const t=e;return qp.objectLiteral(t)&&qp.string(t.label)&&(qp.boolean(t.needsConfirmation)||void 0===t.needsConfirmation)&&(qp.string(t.description)||void 0===t.description)}}(Oh||(Oh={})),function(e){e.is=function(e){const t=e;return qp.string(t)}}(Fh||(Fh={})),function(e){e.replace=function(e,t,n){return{range:e,newText:t,annotationId:n}},e.insert=function(e,t,n){return{range:{start:e,end:e},newText:t,annotationId:n}},e.del=function(e,t){return{range:e,newText:"",annotationId:t}},e.is=function(e){const t=e;return Ch.is(t)&&(Oh.is(t.annotationId)||Fh.is(t.annotationId))}}(Lh||(Lh={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){let t=e;return qp.defined(t)&&jh.is(t.textDocument)&&Array.isArray(t.edits)}}(kh||(kh={})),function(e){e.create=function(e,t,n){let r={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(r.options=t),void 0!==n&&(r.annotationId=n),r},e.is=function(e){let t=e;return t&&"create"===t.kind&&qp.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||qp.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||qp.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||Fh.is(t.annotationId))}}(xh||(xh={})),function(e){e.create=function(e,t,n,r){let i={kind:"rename",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(i.options=n),void 0!==r&&(i.annotationId=r),i},e.is=function(e){let t=e;return t&&"rename"===t.kind&&qp.string(t.oldUri)&&qp.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||qp.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||qp.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||Fh.is(t.annotationId))}}(Ph||(Ph={})),function(e){e.create=function(e,t,n){let r={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(r.options=t),void 0!==n&&(r.annotationId=n),r},e.is=function(e){let t=e;return t&&"delete"===t.kind&&qp.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||qp.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||qp.boolean(t.options.ignoreIfNotExists)))&&(void 0===t.annotationId||Fh.is(t.annotationId))}}(Mh||(Mh={})),function(e){e.is=function(e){let t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((e=>qp.string(e.kind)?xh.is(e)||Ph.is(e)||Mh.is(e):kh.is(e))))}}(Bh||(Bh={}));!function(e){e.create=function(e){return{uri:e}},e.is=function(e){let t=e;return qp.defined(t)&&qp.string(t.uri)}}(Vh||(Vh={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){let t=e;return qp.defined(t)&&qp.string(t.uri)&&qp.integer(t.version)}}(Uh||(Uh={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){let t=e;return qp.defined(t)&&qp.string(t.uri)&&(null===t.version||qp.integer(t.version))}}(jh||(jh={})),function(e){e.create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},e.is=function(e){let t=e;return qp.defined(t)&&qp.string(t.uri)&&qp.string(t.languageId)&&qp.integer(t.version)&&qp.string(t.text)}}(Kh||(Kh={})),function(e){e.PlainText="plaintext",e.Markdown="markdown",e.is=function(t){const n=t;return n===e.PlainText||n===e.Markdown}}(Yh||(Yh={})),function(e){e.is=function(e){const t=e;return qp.objectLiteral(e)&&Yh.is(t.kind)&&qp.string(t.value)}}(qh||(qh={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(Gh||(Gh={})),function(e){e.PlainText=1,e.Snippet=2}(Hh||(Hh={})),function(e){e.Deprecated=1}(zh||(zh={})),function(e){e.create=function(e,t,n){return{newText:e,insert:t,replace:n}},e.is=function(e){const t=e;return t&&qp.string(t.newText)&&mh.is(t.insert)&&mh.is(t.replace)}}(Wh||(Wh={})),function(e){e.asIs=1,e.adjustIndentation=2}(Qh||(Qh={})),function(e){e.is=function(e){const t=e;return t&&(qp.string(t.detail)||void 0===t.detail)&&(qp.string(t.description)||void 0===t.description)}}(Jh||(Jh={})),function(e){e.create=function(e){return{label:e}}}(Xh||(Xh={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}($h||($h={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},e.is=function(e){const t=e;return qp.string(t)||qp.objectLiteral(t)&&qp.string(t.language)&&qp.string(t.value)}}(Zh||(Zh={})),function(e){e.is=function(e){let t=e;return!!t&&qp.objectLiteral(t)&&(qh.is(t.contents)||Zh.is(t.contents)||qp.typedArray(t.contents,Zh.is))&&(void 0===e.range||mh.is(e.range))}}(ep||(ep={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(tp||(tp={})),function(e){e.create=function(e,t){let n={label:e};qp.defined(t)&&(n.documentation=t);for(var r=arguments.length,i=new Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];return qp.defined(i)?n.parameters=i:n.parameters=[],n}}(np||(np={})),function(e){e.Text=1,e.Read=2,e.Write=3}(rp||(rp={})),function(e){e.create=function(e,t){let n={range:e};return qp.number(t)&&(n.kind=t),n}}(ip||(ip={})),function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26}(op||(op={})),function(e){e.Deprecated=1}(sp||(sp={})),function(e){e.create=function(e,t,n,r,i){let o={name:e,kind:t,location:{uri:r,range:n}};return i&&(o.containerName=i),o}}(ap||(ap={})),function(e){e.create=function(e,t,n,r){return void 0!==r?{name:e,kind:t,location:{uri:n,range:r}}:{name:e,kind:t,location:{uri:n}}}}(up||(up={})),function(e){e.create=function(e,t,n,r,i,o){let s={name:e,detail:t,kind:n,range:r,selectionRange:i};return void 0!==o&&(s.children=o),s},e.is=function(e){let t=e;return t&&qp.string(t.name)&&qp.number(t.kind)&&mh.is(t.range)&&mh.is(t.selectionRange)&&(void 0===t.detail||qp.string(t.detail))&&(void 0===t.deprecated||qp.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))&&(void 0===t.tags||Array.isArray(t.tags))}}(lp||(lp={})),function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"}(cp||(cp={})),function(e){e.Invoked=1,e.Automatic=2}(dp||(dp={})),function(e){e.create=function(e,t,n){let r={diagnostics:e};return void 0!==t&&null!==t&&(r.only=t),void 0!==n&&null!==n&&(r.triggerKind=n),r},e.is=function(e){let t=e;return qp.defined(t)&&qp.typedArray(t.diagnostics,Ah.is)&&(void 0===t.only||qp.typedArray(t.only,qp.string))&&(void 0===t.triggerKind||t.triggerKind===dp.Invoked||t.triggerKind===dp.Automatic)}}(fp||(fp={})),function(e){e.create=function(e,t,n){let r={title:e},i=!0;return"string"===typeof t?(i=!1,r.kind=t):Rh.is(t)?r.command=t:r.edit=t,i&&void 0!==n&&(r.kind=n),r},e.is=function(e){let t=e;return t&&qp.string(t.title)&&(void 0===t.diagnostics||qp.typedArray(t.diagnostics,Ah.is))&&(void 0===t.kind||qp.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||Rh.is(t.command))&&(void 0===t.isPreferred||qp.boolean(t.isPreferred))&&(void 0===t.edit||Bh.is(t.edit))}}(hp||(hp={})),function(e){e.create=function(e,t){let n={range:e};return qp.defined(t)&&(n.data=t),n},e.is=function(e){let t=e;return qp.defined(t)&&mh.is(t.range)&&(qp.undefined(t.command)||Rh.is(t.command))}}(pp||(pp={})),function(e){e.create=function(e,t){return{tabSize:e,insertSpaces:t}},e.is=function(e){let t=e;return qp.defined(t)&&qp.uinteger(t.tabSize)&&qp.boolean(t.insertSpaces)}}(gp||(gp={})),function(e){e.create=function(e,t,n){return{range:e,target:t,data:n}},e.is=function(e){let t=e;return qp.defined(t)&&mh.is(t.range)&&(qp.undefined(t.target)||qp.string(t.target))}}(mp||(mp={})),function(e){e.create=function(e,t){return{range:e,parent:t}},e.is=function(t){let n=t;return qp.objectLiteral(n)&&mh.is(n.range)&&(void 0===n.parent||e.is(n.parent))}}(vp||(vp={})),function(e){e.namespace="namespace",e.type="type",e.class="class",e.enum="enum",e.interface="interface",e.struct="struct",e.typeParameter="typeParameter",e.parameter="parameter",e.variable="variable",e.property="property",e.enumMember="enumMember",e.event="event",e.function="function",e.method="method",e.macro="macro",e.keyword="keyword",e.modifier="modifier",e.comment="comment",e.string="string",e.number="number",e.regexp="regexp",e.operator="operator",e.decorator="decorator"}(yp||(yp={})),function(e){e.declaration="declaration",e.definition="definition",e.readonly="readonly",e.static="static",e.deprecated="deprecated",e.abstract="abstract",e.async="async",e.modification="modification",e.documentation="documentation",e.defaultLibrary="defaultLibrary"}(_p||(_p={})),function(e){e.is=function(e){const t=e;return qp.objectLiteral(t)&&(void 0===t.resultId||"string"===typeof t.resultId)&&Array.isArray(t.data)&&(0===t.data.length||"number"===typeof t.data[0])}}(Ep||(Ep={})),function(e){e.create=function(e,t){return{range:e,text:t}},e.is=function(e){const t=e;return void 0!==t&&null!==t&&mh.is(t.range)&&qp.string(t.text)}}(bp||(bp={})),function(e){e.create=function(e,t,n){return{range:e,variableName:t,caseSensitiveLookup:n}},e.is=function(e){const t=e;return void 0!==t&&null!==t&&mh.is(t.range)&&qp.boolean(t.caseSensitiveLookup)&&(qp.string(t.variableName)||void 0===t.variableName)}}(Dp||(Dp={})),function(e){e.create=function(e,t){return{range:e,expression:t}},e.is=function(e){const t=e;return void 0!==t&&null!==t&&mh.is(t.range)&&(qp.string(t.expression)||void 0===t.expression)}}(Np||(Np={})),function(e){e.create=function(e,t){return{frameId:e,stoppedLocation:t}},e.is=function(e){const t=e;return qp.defined(t)&&mh.is(e.stoppedLocation)}}(Tp||(Tp={})),function(e){e.Type=1,e.Parameter=2,e.is=function(e){return 1===e||2===e}}(Sp||(Sp={})),function(e){e.create=function(e){return{value:e}},e.is=function(e){const t=e;return qp.objectLiteral(t)&&(void 0===t.tooltip||qp.string(t.tooltip)||qh.is(t.tooltip))&&(void 0===t.location||vh.is(t.location))&&(void 0===t.command||Rh.is(t.command))}}(Ip||(Ip={})),function(e){e.create=function(e,t,n){const r={position:e,label:t};return void 0!==n&&(r.kind=n),r},e.is=function(e){const t=e;return qp.objectLiteral(t)&&gh.is(t.position)&&(qp.string(t.label)||qp.typedArray(t.label,Ip.is))&&(void 0===t.kind||Sp.is(t.kind))&&void 0===t.textEdits||qp.typedArray(t.textEdits,Ch.is)&&(void 0===t.tooltip||qp.string(t.tooltip)||qh.is(t.tooltip))&&(void 0===t.paddingLeft||qp.boolean(t.paddingLeft))&&(void 0===t.paddingRight||qp.boolean(t.paddingRight))}}(wp||(wp={})),function(e){e.createSnippet=function(e){return{kind:"snippet",value:e}}}(Ap||(Ap={})),function(e){e.create=function(e,t,n,r){return{insertText:e,filterText:t,range:n,command:r}}}(Rp||(Rp={})),function(e){e.create=function(e){return{items:e}}}(Cp||(Cp={})),function(e){e.Invoked=0,e.Automatic=1}(Op||(Op={})),function(e){e.create=function(e,t){return{range:e,text:t}}}(Fp||(Fp={})),function(e){e.create=function(e,t){return{triggerKind:e,selectedCompletionInfo:t}}}(Lp||(Lp={})),function(e){e.is=function(e){const t=e;return qp.objectLiteral(t)&&fh.is(t.uri)&&qp.string(t.name)}}(kp||(kp={}));var Yp,qp;!function(e){function t(e,n){if(e.length<=1)return e;const r=e.length/2|0,i=e.slice(0,r),o=e.slice(r);t(i,n),t(o,n);let s=0,a=0,u=0;for(;s<i.length&&a<o.length;){let t=n(i[s],o[a]);e[u++]=t<=0?i[s++]:o[a++]}for(;s<i.length;)e[u++]=i[s++];for(;a<o.length;)e[u++]=o[a++];return e}e.create=function(e,t,n,r){return new Gp(e,t,n,r)},e.is=function(e){let t=e;return!!(qp.defined(t)&&qp.string(t.uri)&&(qp.undefined(t.languageId)||qp.string(t.languageId))&&qp.uinteger(t.lineCount)&&qp.func(t.getText)&&qp.func(t.positionAt)&&qp.func(t.offsetAt))},e.applyEdits=function(e,n){let r=e.getText(),i=t(n,((e,t)=>{let n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n})),o=r.length;for(let t=i.length-1;t>=0;t--){let n=i[t],s=e.offsetAt(n.range.start),a=e.offsetAt(n.range.end);if(!(a<=o))throw new Error("Overlapping edit");r=r.substring(0,s)+n.newText+r.substring(a,r.length),o=s}return r}}(Yp||(Yp={}));class Gp{constructor(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){let t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content}update(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0}getLineOffsets(){if(void 0===this._lineOffsets){let e=[],t=this._content,n=!0;for(let r=0;r<t.length;r++){n&&(e.push(r),n=!1);let i=t.charAt(r);n="\r"===i||"\n"===i,"\r"===i&&r+1<t.length&&"\n"===t.charAt(r+1)&&r++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets}positionAt(e){e=Math.max(Math.min(e,this._content.length),0);let t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return gh.create(0,e);for(;n<r;){let i=Math.floor((n+r)/2);t[i]>e?r=i:n=i+1}let i=n-1;return gh.create(i,e-t[i])}offsetAt(e){let t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;let n=t[e.line],r=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,r),n)}get lineCount(){return this.getLineOffsets().length}}!function(e){const t=Object.prototype.toString;e.defined=function(e){return"undefined"!==typeof e},e.undefined=function(e){return"undefined"===typeof e},e.boolean=function(e){return!0===e||!1===e},e.string=function(e){return"[object String]"===t.call(e)},e.number=function(e){return"[object Number]"===t.call(e)},e.numberRange=function(e,n,r){return"[object Number]"===t.call(e)&&n<=e&&e<=r},e.integer=function(e){return"[object Number]"===t.call(e)&&-2147483648<=e&&e<=2147483647},e.uinteger=function(e){return"[object Number]"===t.call(e)&&0<=e&&e<=2147483647},e.func=function(e){return"[object Function]"===t.call(e)},e.objectLiteral=function(e){return null!==e&&"object"===typeof e},e.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)}}(qp||(qp={}));class Hp{constructor(e){var t=this;this._start=0,this._pos=0,this.getStartOfToken=()=>this._start,this.getCurrentPosition=()=>this._pos,this.eol=()=>this._sourceText.length===this._pos,this.sol=()=>0===this._pos,this.peek=()=>this._sourceText.charAt(this._pos)||null,this.next=()=>{const e=this._sourceText.charAt(this._pos);return this._pos++,e},this.eat=e=>{if(this._testNextCharacter(e))return this._start=this._pos,this._pos++,this._sourceText.charAt(this._pos-1)},this.eatWhile=e=>{let t=this._testNextCharacter(e),n=!1;for(t&&(n=t,this._start=this._pos);t;)this._pos++,t=this._testNextCharacter(e),n=!0;return n},this.eatSpace=()=>this.eatWhile(/[\s\u00a0]/),this.skipToEnd=()=>{this._pos=this._sourceText.length},this.skipTo=e=>{this._pos=e},this.match=function(e){let n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=null,i=null;if("string"===typeof e){i=new RegExp(e,arguments.length>2&&void 0!==arguments[2]&&arguments[2]?"i":"g").test(t._sourceText.slice(t._pos,t._pos+e.length)),r=e}else e instanceof RegExp&&(i=t._sourceText.slice(t._pos).match(e),r=null===i||void 0===i?void 0:i[0]);return!(null==i||!("string"===typeof e||i instanceof Array&&t._sourceText.startsWith(i[0],t._pos)))&&(n&&(t._start=t._pos,r&&r.length&&(t._pos+=r.length)),i)},this.backUp=e=>{this._pos-=e},this.column=()=>this._pos,this.indentation=()=>{const e=this._sourceText.match(/\s*/);let t=0;if(e&&0!==e.length){const n=e[0];let r=0;for(;n.length>r;)9===n.charCodeAt(r)?t+=2:t++,r++}return t},this.current=()=>this._sourceText.slice(this._start,this._pos),this._sourceText=e}_testNextCharacter(e){const t=this._sourceText.charAt(this._pos);let n=!1;return n="string"===typeof e?t===e:e instanceof RegExp?e.test(t):e(t),n}}function zp(e){return{ofRule:e}}function Wp(e,t){return{ofRule:e,isList:!0,separator:t}}function Qp(e,t){return{style:t,match:t=>t.kind===e}}function Jp(e,t){return{style:t||"punctuation",match:t=>"Punctuation"===t.kind&&t.value===e}}const Xp=e=>" "===e||"\t"===e||","===e||"\n"===e||"\r"===e||"\ufeff"===e||"\xa0"===e,$p={Name:/^[_A-Za-z][_0-9A-Za-z]*/,Punctuation:/^(?:!|\$|\(|\)|\.\.\.|:|=|&|@|\[|]|\{|\||\})/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^(?:"""(?:\\"""|[^"]|"[^"]|""[^"])*(?:""")?|"(?:[^"\\]|\\(?:"|\/|\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*"?)/,Comment:/^#.*/},Zp={Document:[Wp("Definition")],Definition(e){switch(e.value){case"{":return"ShortQuery";case"query":return"Query";case"mutation":return"Mutation";case"subscription":return"Subscription";case"fragment":return Mp.b.FRAGMENT_DEFINITION;case"schema":return"SchemaDef";case"scalar":return"ScalarDef";case"type":return"ObjectTypeDef";case"interface":return"InterfaceDef";case"union":return"UnionDef";case"enum":return"EnumDef";case"input":return"InputDef";case"extend":return"ExtendDef";case"directive":return"DirectiveDef"}},ShortQuery:["SelectionSet"],Query:[tg("query"),zp(ng("def")),zp("VariableDefinitions"),Wp("Directive"),"SelectionSet"],Mutation:[tg("mutation"),zp(ng("def")),zp("VariableDefinitions"),Wp("Directive"),"SelectionSet"],Subscription:[tg("subscription"),zp(ng("def")),zp("VariableDefinitions"),Wp("Directive"),"SelectionSet"],VariableDefinitions:[Jp("("),Wp("VariableDefinition"),Jp(")")],VariableDefinition:["Variable",Jp(":"),"Type",zp("DefaultValue")],Variable:[Jp("$","variable"),ng("variable")],DefaultValue:[Jp("="),"Value"],SelectionSet:[Jp("{"),Wp("Selection"),Jp("}")],Selection:(e,t)=>"..."===e.value?t.match(/[\s\u00a0,]*(on\b|@|{)/,!1)?"InlineFragment":"FragmentSpread":t.match(/[\s\u00a0,]*:/,!1)?"AliasedField":"Field",AliasedField:[ng("property"),Jp(":"),ng("qualifier"),zp("Arguments"),Wp("Directive"),zp("SelectionSet")],Field:[ng("property"),zp("Arguments"),Wp("Directive"),zp("SelectionSet")],Arguments:[Jp("("),Wp("Argument"),Jp(")")],Argument:[ng("attribute"),Jp(":"),"Value"],FragmentSpread:[Jp("..."),ng("def"),Wp("Directive")],InlineFragment:[Jp("..."),zp("TypeCondition"),Wp("Directive"),"SelectionSet"],FragmentDefinition:[tg("fragment"),zp(function(e,t){const n=e.match;return e.match=e=>{let r=!1;return n&&(r=n(e)),r&&t.every((t=>t.match&&!t.match(e)))},e}(ng("def"),[tg("on")])),"TypeCondition",Wp("Directive"),"SelectionSet"],TypeCondition:[tg("on"),"NamedType"],Value(e){switch(e.kind){case"Number":return"NumberValue";case"String":return"StringValue";case"Punctuation":switch(e.value){case"[":return"ListValue";case"{":return"ObjectValue";case"$":return"Variable";case"&":return"NamedType"}return null;case"Name":switch(e.value){case"true":case"false":return"BooleanValue"}return"null"===e.value?"NullValue":"EnumValue"}},NumberValue:[Qp("Number","number")],StringValue:[{style:"string",match:e=>"String"===e.kind,update(e,t){t.value.startsWith('"""')&&(e.inBlockstring=!t.value.slice(3).endsWith('"""'))}}],BooleanValue:[Qp("Name","builtin")],NullValue:[Qp("Name","keyword")],EnumValue:[ng("string-2")],ListValue:[Jp("["),Wp("Value"),Jp("]")],ObjectValue:[Jp("{"),Wp("ObjectField"),Jp("}")],ObjectField:[ng("attribute"),Jp(":"),"Value"],Type:e=>"["===e.value?"ListType":"NonNullType",ListType:[Jp("["),"Type",Jp("]"),zp(Jp("!"))],NonNullType:["NamedType",zp(Jp("!"))],NamedType:[(eg="atom",{style:eg,match:e=>"Name"===e.kind,update(e,t){var n;(null===(n=e.prevState)||void 0===n?void 0:n.prevState)&&(e.name=t.value,e.prevState.prevState.type=t.value)}})],Directive:[Jp("@","meta"),ng("meta"),zp("Arguments")],DirectiveDef:[tg("directive"),Jp("@","meta"),ng("meta"),zp("ArgumentsDef"),tg("on"),Wp("DirectiveLocation",Jp("|"))],InterfaceDef:[tg("interface"),ng("atom"),zp("Implements"),Wp("Directive"),Jp("{"),Wp("FieldDef"),Jp("}")],Implements:[tg("implements"),Wp("NamedType",Jp("&"))],DirectiveLocation:[ng("string-2")],SchemaDef:[tg("schema"),Wp("Directive"),Jp("{"),Wp("OperationTypeDef"),Jp("}")],OperationTypeDef:[ng("keyword"),Jp(":"),ng("atom")],ScalarDef:[tg("scalar"),ng("atom"),Wp("Directive")],ObjectTypeDef:[tg("type"),ng("atom"),zp("Implements"),Wp("Directive"),Jp("{"),Wp("FieldDef"),Jp("}")],FieldDef:[ng("property"),zp("ArgumentsDef"),Jp(":"),"Type",Wp("Directive")],ArgumentsDef:[Jp("("),Wp("InputValueDef"),Jp(")")],InputValueDef:[ng("attribute"),Jp(":"),"Type",zp("DefaultValue"),Wp("Directive")],UnionDef:[tg("union"),ng("atom"),Wp("Directive"),Jp("="),Wp("UnionMember",Jp("|"))],UnionMember:["NamedType"],EnumDef:[tg("enum"),ng("atom"),Wp("Directive"),Jp("{"),Wp("EnumValueDef"),Jp("}")],EnumValueDef:[ng("string-2"),Wp("Directive")],InputDef:[tg("input"),ng("atom"),Wp("Directive"),Jp("{"),Wp("InputValueDef"),Jp("}")],ExtendDef:[tg("extend"),"ExtensionDefinition"],ExtensionDefinition(e){switch(e.value){case"schema":return Mp.b.SCHEMA_EXTENSION;case"scalar":return Mp.b.SCALAR_TYPE_EXTENSION;case"type":return Mp.b.OBJECT_TYPE_EXTENSION;case"interface":return Mp.b.INTERFACE_TYPE_EXTENSION;case"union":return Mp.b.UNION_TYPE_EXTENSION;case"enum":return Mp.b.ENUM_TYPE_EXTENSION;case"input":return Mp.b.INPUT_OBJECT_TYPE_EXTENSION}},[Mp.b.SCHEMA_EXTENSION]:["SchemaDef"],[Mp.b.SCALAR_TYPE_EXTENSION]:["ScalarDef"],[Mp.b.OBJECT_TYPE_EXTENSION]:["ObjectTypeDef"],[Mp.b.INTERFACE_TYPE_EXTENSION]:["InterfaceDef"],[Mp.b.UNION_TYPE_EXTENSION]:["UnionDef"],[Mp.b.ENUM_TYPE_EXTENSION]:["EnumDef"],[Mp.b.INPUT_OBJECT_TYPE_EXTENSION]:["InputDef"]};var eg;function tg(e){return{style:"keyword",match:t=>"Name"===t.kind&&t.value===e}}function ng(e){return{style:e,match:e=>"Name"===e.kind,update(e,t){e.name=t.value}}}function rg(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{eatWhitespace:e=>e.eatWhile(Xp),lexRules:$p,parseRules:Zp,editorConfig:{}};return{startState(){const t={level:0,step:0,name:null,kind:null,type:null,rule:null,needsSeparator:!1,prevState:null};return sg(e.parseRules,t,Mp.b.DOCUMENT),t},token:(t,n)=>function(e,t,n){var r;if(t.inBlockstring)return e.match(/.*"""/)?(t.inBlockstring=!1,"string"):(e.skipToEnd(),"string");const{lexRules:i,parseRules:o,eatWhitespace:s,editorConfig:a}=n;t.rule&&0===t.rule.length?ag(t):t.needsAdvance&&(t.needsAdvance=!1,ug(t,!0));if(e.sol()){const n=(null===a||void 0===a?void 0:a.tabSize)||2;t.indentLevel=Math.floor(e.indentation()/n)}if(s(e))return"ws";const u=function(e,t){const n=Object.keys(e);for(let r=0;r<n.length;r++){const i=t.match(e[n[r]]);if(i&&i instanceof Array)return{kind:n[r],value:i[0]}}}(i,e);if(!u){return e.match(/\S+/)||e.match(/\s/),sg(og,t,"Invalid"),"invalidchar"}if("Comment"===u.kind)return sg(og,t,"Comment"),"comment";const l=ig({},t);if("Punctuation"===u.kind)if(/^[{([]/.test(u.value))void 0!==t.indentLevel&&(t.levels=(t.levels||[]).concat(t.indentLevel+1));else if(/^[})\]]/.test(u.value)){const e=t.levels=(t.levels||[]).slice(0,-1);t.indentLevel&&e.length>0&&e.at(-1)<t.indentLevel&&(t.indentLevel=e.at(-1))}for(;t.rule;){let n="function"===typeof t.rule?0===t.step?t.rule(u,e):null:t.rule[t.step];if(t.needsSeparator&&(n=null===n||void 0===n?void 0:n.separator),n){if(n.ofRule&&(n=n.ofRule),"string"===typeof n){sg(o,t,n);continue}if(null===(r=n.match)||void 0===r?void 0:r.call(n,u))return n.update&&n.update(t,u),"Punctuation"===u.kind?ug(t,!0):t.needsAdvance=!0,n.style}cg(t)}return ig(t,l),sg(og,t,"Invalid"),"invalidchar"}(t,n,e)}}function ig(e,t){const n=Object.keys(t);for(let r=0;r<n.length;r++)e[n[r]]=t[n[r]];return e}const og={Invalid:[],Comment:[]};function sg(e,t,n){if(!e[n])throw new TypeError("Unknown rule: "+n);t.prevState=Object.assign({},t),t.kind=n,t.name=null,t.type=null,t.rule=e[n],t.step=0,t.needsSeparator=!1}function ag(e){e.prevState&&(e.kind=e.prevState.kind,e.name=e.prevState.name,e.type=e.prevState.type,e.rule=e.prevState.rule,e.step=e.prevState.step,e.needsSeparator=e.prevState.needsSeparator,e.prevState=e.prevState.prevState)}function ug(e,t){var n;if(lg(e)&&e.rule){const n=e.rule[e.step];if(n.separator){const{separator:t}=n;if(e.needsSeparator=!e.needsSeparator,!e.needsSeparator&&t.ofRule)return}if(t)return}for(e.needsSeparator=!1,e.step++;e.rule&&!(Array.isArray(e.rule)&&e.step<e.rule.length);)ag(e),e.rule&&(lg(e)?(null===(n=e.rule)||void 0===n?void 0:n[e.step].separator)&&(e.needsSeparator=!e.needsSeparator):(e.needsSeparator=!1,e.step++))}function lg(e){const t=Array.isArray(e.rule)&&"string"!==typeof e.rule[e.step]&&e.rule[e.step];return t&&t.isList}function cg(e){for(;e.rule&&(!Array.isArray(e.rule)||!e.rule[e.step].ofRule);)ag(e);e.rule&&ug(e,!1)}function dg(e,t){const n=e.split("\n"),r=rg();let i=r.startState(),o="",s=new Hp("");for(let a=0;a<n.length;a++){for(s=new Hp(n[a]);!s.eol();){o=r.token(s,i);if("BREAK"===t(s,i,o,a))break}t(s,i,o,a),i.kind||(i=r.startState())}return{start:s.getStartOfToken(),end:s.getCurrentPosition(),string:s.current(),state:i,style:o}}var fg;!function(e){e.TYPE_SYSTEM="TYPE_SYSTEM",e.EXECUTABLE="EXECUTABLE",e.UNKNOWN="UNKNOWN"}(fg||(fg={}));const hg=[Mp.b.SCHEMA_DEFINITION,Mp.b.OPERATION_TYPE_DEFINITION,Mp.b.SCALAR_TYPE_DEFINITION,Mp.b.OBJECT_TYPE_DEFINITION,Mp.b.INTERFACE_TYPE_DEFINITION,Mp.b.UNION_TYPE_DEFINITION,Mp.b.ENUM_TYPE_DEFINITION,Mp.b.INPUT_OBJECT_TYPE_DEFINITION,Mp.b.DIRECTIVE_DEFINITION,Mp.b.SCHEMA_EXTENSION,Mp.b.SCALAR_TYPE_EXTENSION,Mp.b.OBJECT_TYPE_EXTENSION,Mp.b.INTERFACE_TYPE_EXTENSION,Mp.b.UNION_TYPE_EXTENSION,Mp.b.ENUM_TYPE_EXTENSION,Mp.b.INPUT_OBJECT_TYPE_EXTENSION],pg=e=>{let t=fg.UNKNOWN;if(e)try{(0,xp.YR)((0,Pp.qg)(e),{enter(e){if("Document"!==e.kind)return!!hg.includes(e.kind)&&(t=fg.TYPE_SYSTEM,xp.sP);t=fg.EXECUTABLE}})}catch(x){return t}return t};function gg(e,t,n,r,i){const o=r||function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=null,i=null,o=null;const s=dg(e,((e,s,a,u)=>{if(!(u!==t.line||e.getCurrentPosition()+n<t.character+1))return r=a,i=Object.assign({},s),o=e.current(),"BREAK"}));return{start:s.start,end:s.end,string:o||s.string,state:i||s.state,style:r||s.style}}(e,t,1);if(!o)return null;const s="Invalid"===o.state.kind?o.state.prevState:o.state;if(!s)return null;const a=function(e,t){let n,r,i,o,s,a,u,l,c,d,f;return vg(t,(t=>{var h;switch(t.kind){case yg.QUERY:case"ShortQuery":d=e.getQueryType();break;case yg.MUTATION:d=e.getMutationType();break;case yg.SUBSCRIPTION:d=e.getSubscriptionType();break;case yg.INLINE_FRAGMENT:case yg.FRAGMENT_DEFINITION:t.type&&(d=e.getType(t.type));break;case yg.FIELD:case yg.ALIASED_FIELD:d&&t.name?(s=c?mg(e,c,t.name):null,d=s?s.type:null):s=null;break;case yg.SELECTION_SET:c=(0,Bp.MR)(d);break;case yg.DIRECTIVE:i=t.name?e.getDirective(t.name):null;break;case yg.INTERFACE_DEF:t.name&&(u=null,f=new Bp.VA({name:t.name,interfaces:[],fields:{}}));break;case yg.OBJECT_TYPE_DEF:t.name&&(f=null,u=new Bp.bh({name:t.name,interfaces:[],fields:{}}));break;case yg.ARGUMENTS:if(t.prevState)switch(t.prevState.kind){case yg.FIELD:r=s&&s.args;break;case yg.DIRECTIVE:r=i&&i.args;break;case yg.ALIASED_FIELD:{const n=null===(h=t.prevState)||void 0===h?void 0:h.name;if(!n){r=null;break}const i=c?mg(e,c,n):null;if(!i){r=null;break}r=i.args;break}default:r=null}else r=null;break;case yg.ARGUMENT:if(r)for(let e=0;e<r.length;e++)if(r[e].name===t.name){n=r[e];break}a=null===n||void 0===n?void 0:n.type;break;case yg.VARIABLE_DEFINITION:case yg.VARIABLE:d=a;break;case yg.ENUM_VALUE:const p=(0,Bp.MR)(a);o=p instanceof Bp.Zb?p.getValues().find((e=>e.value===t.name)):null;break;case yg.LIST_VALUE:const g=(0,Bp.yl)(a);a=g instanceof Bp.KT?g.ofType:null;break;case yg.OBJECT_VALUE:const m=(0,Bp.MR)(a);l=m instanceof Bp.zP?m.getFields():null;break;case yg.OBJECT_FIELD:const v=t.name&&l?l[t.name]:null;a=null===v||void 0===v?void 0:v.type,s=v,d=s?s.type:null;break;case yg.NAMED_TYPE:t.name&&(d=e.getType(t.name))}})),{argDef:n,argDefs:r,directiveDef:i,enumValue:o,fieldDef:s,inputType:a,objectFieldDefs:l,parentType:c,type:d,interfaceDef:f,objectTypeDef:u}}(n,o.state);var u,l;return{token:o,state:s,typeInfo:a,mode:(null===i||void 0===i?void 0:i.mode)||(u=e,(null===(l=null===i||void 0===i?void 0:i.uri)||void 0===l?void 0:l.endsWith(".graphqls"))?fg.TYPE_SYSTEM:pg(u))}}function mg(e,t,n){return n===Vp.S0.name&&e.getQueryType()===t?Vp.S0:n===Vp.Xe.name&&e.getQueryType()===t?Vp.Xe:n===Vp.of.name&&(0,Bp.ML)(t)?Vp.of:"getFields"in t?t.getFields()[n]:null}function vg(e,t){const n=[];let r=e;for(;null===r||void 0===r?void 0:r.kind;)n.push(r),r=r.prevState;for(let i=n.length-1;i>=0;i--)t(n[i])}const yg=Object.assign(Object.assign({},Mp.b),{ALIASED_FIELD:"AliasedField",ARGUMENTS:"Arguments",SHORT_QUERY:"ShortQuery",QUERY:"Query",MUTATION:"Mutation",SUBSCRIPTION:"Subscription",TYPE_CONDITION:"TypeCondition",INVALID:"Invalid",COMMENT:"Comment",SCHEMA_DEF:"SchemaDef",SCALAR_DEF:"ScalarDef",OBJECT_TYPE_DEF:"ObjectTypeDef",OBJECT_VALUE:"ObjectValue",LIST_VALUE:"ListValue",INTERFACE_DEF:"InterfaceDef",UNION_DEF:"UnionDef",ENUM_DEF:"EnumDef",ENUM_VALUE:"EnumValue",FIELD_DEF:"FieldDef",INPUT_DEF:"InputDef",INPUT_VALUE_DEF:"InputValueDef",ARGUMENTS_DEF:"ArgumentsDef",EXTEND_DEF:"ExtendDef",EXTENSION_DEFINITION:"ExtensionDefinition",DIRECTIVE_DEF:"DirectiveDef",IMPLEMENTS:"Implements",VARIABLE_DEFINITIONS:"VariableDefinitions",TYPE:"Type",VARIABLE:"Variable"});var _g;function Eg(e){const t=Object.keys(e),n=t.length,r=new Array(n);for(let i=0;i<n;++i)r[i]=e[t[i]];return r}function bg(e,t){return function(e,t){if(!t||""===t.trim()||":"===t.trim()||"{"===t.trim())return Dg(e,(e=>!e.isDeprecated));const n=e.map((e=>({proximity:Tg(Ng(e.label),t),entry:e})));return Dg(Dg(n,(e=>e.proximity<=2)),(e=>!e.entry.isDeprecated)).sort(((e,t)=>(e.entry.isDeprecated?1:0)-(t.entry.isDeprecated?1:0)||e.proximity-t.proximity||e.entry.label.length-t.entry.label.length)).map((e=>e.entry))}(t,Ng(e.string))}function Dg(e,t){const n=e.filter(t);return 0===n.length?e:n}function Ng(e){return e.toLowerCase().replaceAll(/\W/g,"")}function Tg(e,t){let n=function(e,t){let n,r;const i=[],o=e.length,s=t.length;for(n=0;n<=o;n++)i[n]=[n];for(r=1;r<=s;r++)i[0][r]=r;for(n=1;n<=o;n++)for(r=1;r<=s;r++){const o=e[n-1]===t[r-1]?0:1;i[n][r]=Math.min(i[n-1][r]+1,i[n][r-1]+1,i[n-1][r-1]+o),n>1&&r>1&&e[n-1]===t[r-2]&&e[n-2]===t[r-1]&&(i[n][r]=Math.min(i[n][r],i[n-2][r-2]+o))}return i[o][s]}(t,e);return e.length>t.length&&(n-=e.length-t.length-1,n+=0===e.indexOf(t)?0:.5),n}!function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(_g||(_g={}));const Sg=(e,t,n)=>{if(!t)return null!==n&&void 0!==n?n:e;const r=(0,Bp.MR)(t);return(0,Bp.YQ)(r)||(0,Bp.qK)(r)||(0,Bp.Fs)(r)||(0,Bp.Lc)(r)?e+" {\n $".concat(null!==i&&void 0!==i?i:1,"\n}"):null!==n&&void 0!==n?n:e;var i},Ig=(e,t,n)=>{if((0,Bp.Fs)(t)){const n=(0,Bp.MR)(t.ofType);return e+"[".concat(Sg("",n,"$1"),"]")}return Sg(e,t,n)},wg=e=>{const t=e.args.filter((e=>e.type.toString().endsWith("!")));if(t.length)return e.name+"(".concat(t.map(((e,t)=>"".concat(e.name,": $").concat(t+1))),") ").concat(Sg("",e.type,"\n"))},Ag={command:"editor.action.triggerSuggest",title:"Suggestions"};function Rg(e,t,n,r,i,o){var s;const a=Object.assign(Object.assign({},o),{schema:e}),u=gg(t,n,e,r,o);if(!u)return[];const{state:l,typeInfo:c,mode:d,token:f}=u,{kind:h,step:p,prevState:g}=l;if(h===yg.DOCUMENT)return d===fg.TYPE_SYSTEM?function(e){return bg(e,[{label:"extend",kind:_g.Function},...Cg])}(f):d===fg.EXECUTABLE?function(e){return bg(e,Og)}(f):function(e){return bg(e,[{label:"extend",kind:_g.Function},...Og,...Cg])}(f);if(h===yg.EXTEND_DEF)return function(e){return bg(e,Cg)}(f);if((null===(s=null===g||void 0===g?void 0:g.prevState)||void 0===s?void 0:s.kind)===yg.EXTENSION_DEFINITION&&l.name)return bg(f,[]);if((null===g||void 0===g?void 0:g.kind)===Mp.b.SCALAR_TYPE_EXTENSION)return bg(f,Object.values(e.getTypeMap()).filter(Bp.lg).map((e=>({label:e.name,kind:_g.Function}))));if((null===g||void 0===g?void 0:g.kind)===Mp.b.OBJECT_TYPE_EXTENSION)return bg(f,Object.values(e.getTypeMap()).filter((e=>(0,Bp.YQ)(e)&&!e.name.startsWith("__"))).map((e=>({label:e.name,kind:_g.Function}))));if((null===g||void 0===g?void 0:g.kind)===Mp.b.INTERFACE_TYPE_EXTENSION)return bg(f,Object.values(e.getTypeMap()).filter(Bp.kD).map((e=>({label:e.name,kind:_g.Function}))));if((null===g||void 0===g?void 0:g.kind)===Mp.b.UNION_TYPE_EXTENSION)return bg(f,Object.values(e.getTypeMap()).filter(Bp.CK).map((e=>({label:e.name,kind:_g.Function}))));if((null===g||void 0===g?void 0:g.kind)===Mp.b.ENUM_TYPE_EXTENSION)return bg(f,Object.values(e.getTypeMap()).filter((e=>(0,Bp.oF)(e)&&!e.name.startsWith("__"))).map((e=>({label:e.name,kind:_g.Function}))));if((null===g||void 0===g?void 0:g.kind)===Mp.b.INPUT_OBJECT_TYPE_EXTENSION)return bg(f,Object.values(e.getTypeMap()).filter(Bp.qK).map((e=>({label:e.name,kind:_g.Function}))));if(h===yg.IMPLEMENTS||h===yg.NAMED_TYPE&&(null===g||void 0===g?void 0:g.kind)===yg.IMPLEMENTS)return function(e,t,n,r,i){if(t.needsSeparator)return[];const o=n.getTypeMap(),s=Eg(o).filter(Bp.kD),a=s.map((e=>{let{name:t}=e;return t})),u=new Set;dg(r,((e,t)=>{var r,o,s,l,c;if(t.name&&(t.kind!==yg.INTERFACE_DEF||a.includes(t.name)||u.add(t.name),t.kind===yg.NAMED_TYPE&&(null===(r=t.prevState)||void 0===r?void 0:r.kind)===yg.IMPLEMENTS))if(i.interfaceDef){if(null===(o=i.interfaceDef)||void 0===o?void 0:o.getInterfaces().find((e=>{let{name:n}=e;return n===t.name})))return;const e=n.getType(t.name),r=null===(s=i.interfaceDef)||void 0===s?void 0:s.toConfig();i.interfaceDef=new Bp.VA(Object.assign(Object.assign({},r),{interfaces:[...r.interfaces,e||new Bp.VA({name:t.name,fields:{}})]}))}else if(i.objectTypeDef){if(null===(l=i.objectTypeDef)||void 0===l?void 0:l.getInterfaces().find((e=>{let{name:n}=e;return n===t.name})))return;const e=n.getType(t.name),r=null===(c=i.objectTypeDef)||void 0===c?void 0:c.toConfig();i.objectTypeDef=new Bp.bh(Object.assign(Object.assign({},r),{interfaces:[...r.interfaces,e||new Bp.VA({name:t.name,fields:{}})]}))}}));const l=i.interfaceDef||i.objectTypeDef,c=((null===l||void 0===l?void 0:l.getInterfaces())||[]).map((e=>{let{name:t}=e;return t})),d=s.concat([...u].map((e=>({name:e})))).filter((e=>{let{name:t}=e;return t!==(null===l||void 0===l?void 0:l.name)&&!c.includes(t)}));return bg(e,d.map((e=>{const t={label:e.name,kind:_g.Interface,type:e};return(null===e||void 0===e?void 0:e.description)&&(t.documentation=e.description),t})))}(f,l,e,t,c);if(h===yg.SELECTION_SET||h===yg.FIELD||h===yg.ALIASED_FIELD)return function(e,t,n){var r;if(t.parentType){const{parentType:i}=t;let o=[];return"getFields"in i&&(o=Eg(i.getFields())),(0,Bp.ML)(i)&&o.push(Vp.of),i===(null===(r=null===n||void 0===n?void 0:n.schema)||void 0===r?void 0:r.getQueryType())&&o.push(Vp.S0,Vp.Xe),bg(e,o.map(((t,r)=>{var i;const o={sortText:String(r)+t.name,label:t.name,detail:String(t.type),documentation:null!==(i=t.description)&&void 0!==i?i:void 0,deprecated:Boolean(t.deprecationReason),isDeprecated:Boolean(t.deprecationReason),deprecationReason:t.deprecationReason,kind:_g.Field,labelDetails:{detail:" "+t.type.toString()},type:t.type};return(null===n||void 0===n?void 0:n.fillLeafsOnComplete)&&(o.insertText=wg(t),o.insertText||(o.insertText=Sg(t.name,t.type,t.name+(e.state.needsAdvance?"":"\n"))),o.insertText&&(o.insertTextFormat=Hh.Snippet,o.insertTextMode=Qh.adjustIndentation,o.command=Ag)),o})))}return[]}(f,c,a);if(h===yg.ARGUMENTS||h===yg.ARGUMENT&&0===p){const{argDefs:e}=c;if(e)return bg(f,e.map((e=>{var t;return{label:e.name,insertText:Ig(e.name+": ",e.type),insertTextMode:Qh.adjustIndentation,insertTextFormat:Hh.Snippet,command:Ag,labelDetails:{detail:" "+String(e.type)},documentation:null!==(t=e.description)&&void 0!==t?t:void 0,kind:_g.Variable,type:e.type}})))}if((h===yg.OBJECT_VALUE||h===yg.OBJECT_FIELD&&0===p)&&c.objectFieldDefs){const e=Eg(c.objectFieldDefs),t=h===yg.OBJECT_VALUE?_g.Value:_g.Field;return bg(f,e.map((e=>{var n;return{label:e.name,detail:String(e.type),documentation:null!==(n=null===e||void 0===e?void 0:e.description)&&void 0!==n?n:void 0,kind:t,type:e.type,insertText:Ig(e.name+": ",e.type),insertTextMode:Qh.adjustIndentation,insertTextFormat:Hh.Snippet,command:Ag}})))}if(h===yg.ENUM_VALUE||h===yg.LIST_VALUE&&1===p||h===yg.OBJECT_FIELD&&2===p||h===yg.ARGUMENT&&2===p)return function(e,t,n,r){const i=(0,Bp.MR)(t.inputType),o=Lg(n,r,e).filter((e=>e.detail===(null===i||void 0===i?void 0:i.name)));if(i instanceof Bp.Zb){return bg(e,i.getValues().map((e=>{var t;return{label:e.name,detail:String(i),documentation:null!==(t=e.description)&&void 0!==t?t:void 0,deprecated:Boolean(e.deprecationReason),isDeprecated:Boolean(e.deprecationReason),deprecationReason:e.deprecationReason,kind:_g.EnumMember,type:i}})).concat(o))}if(i===Up.kk)return bg(e,o.concat([{label:"true",detail:String(Up.kk),documentation:"Not false.",kind:_g.Variable,type:Up.kk},{label:"false",detail:String(Up.kk),documentation:"Not true.",kind:_g.Variable,type:Up.kk}]));return o}(f,c,t,e);if(h===yg.VARIABLE&&1===p){const n=(0,Bp.MR)(c.inputType);return bg(f,Lg(t,e,f).filter((e=>e.detail===(null===n||void 0===n?void 0:n.name))))}if(h===yg.TYPE_CONDITION&&1===p||h===yg.NAMED_TYPE&&null!=g&&g.kind===yg.TYPE_CONDITION)return function(e,t,n,r){let i;if(t.parentType)if((0,Bp.Lc)(t.parentType)){const e=(0,Bp.N_)(t.parentType),r=n.getPossibleTypes(e),o=Object.create(null);for(const t of r)for(const e of t.getInterfaces())o[e.name]=e;i=r.concat(Eg(o))}else i=[t.parentType];else{i=Eg(n.getTypeMap()).filter((e=>(0,Bp.ML)(e)&&!e.name.startsWith("__")))}return bg(e,i.map((e=>{const t=(0,Bp.MR)(e);return{label:String(e),documentation:(null===t||void 0===t?void 0:t.description)||"",kind:_g.Field}})))}(f,c,e);if(h===yg.FRAGMENT_SPREAD&&1===p)return function(e,t,n,r,i){if(!r)return[];const o=n.getTypeMap(),s=function(e){let t;return vg(e,(e=>{switch(e.kind){case"Query":case"ShortQuery":case"Mutation":case"Subscription":case"FragmentDefinition":t=e}})),t}(e.state),a=function(e){const t=[];return dg(e,((e,n)=>{n.kind===yg.FRAGMENT_DEFINITION&&n.name&&n.type&&t.push({kind:yg.FRAGMENT_DEFINITION,name:{kind:Mp.b.NAME,value:n.name},selectionSet:{kind:yg.SELECTION_SET,selections:[]},typeCondition:{kind:yg.NAMED_TYPE,name:{kind:Mp.b.NAME,value:n.type}}})})),t}(r);i&&i.length>0&&a.push(...i);const u=a.filter((e=>o[e.typeCondition.name.value]&&!(s&&s.kind===yg.FRAGMENT_DEFINITION&&s.name===e.name.value)&&(0,Bp.ML)(t.parentType)&&(0,Bp.ML)(o[e.typeCondition.name.value])&&(0,jp.uI)(n,t.parentType,o[e.typeCondition.name.value])));return bg(e,u.map((e=>({label:e.name.value,detail:String(o[e.typeCondition.name.value]),documentation:"fragment ".concat(e.name.value," on ").concat(e.typeCondition.name.value),labelDetails:{detail:"fragment ".concat(e.name.value," on ").concat(e.typeCondition.name.value)},kind:_g.Field,type:o[e.typeCondition.name.value]}))))}(f,c,e,t,Array.isArray(i)?i:(e=>{const t=[];if(e)try{(0,xp.YR)((0,Pp.qg)(e),{FragmentDefinition(e){t.push(e)}})}catch(s){return[]}return t})(i));const m=kg(l);return m.kind===yg.FIELD_DEF?bg(f,Object.values(e.getTypeMap()).filter((e=>(0,Bp.oH)(e)&&!e.name.startsWith("__"))).map((e=>({label:e.name,kind:_g.Function,insertText:(null===o||void 0===o?void 0:o.fillLeafsOnComplete)?e.name+"\n":e.name,insertTextMode:Qh.adjustIndentation})))):m.kind===yg.INPUT_VALUE_DEF&&2===p?bg(f,Object.values(e.getTypeMap()).filter((e=>(0,Bp.dX)(e)&&!e.name.startsWith("__"))).map((e=>({label:e.name,kind:_g.Function,insertText:(null===o||void 0===o?void 0:o.fillLeafsOnComplete)?e.name+"\n$1":e.name,insertTextMode:Qh.adjustIndentation,insertTextFormat:Hh.Snippet})))):h===yg.VARIABLE_DEFINITION&&2===p||h===yg.LIST_TYPE&&1===p||h===yg.NAMED_TYPE&&g&&(g.kind===yg.VARIABLE_DEFINITION||g.kind===yg.LIST_TYPE||g.kind===yg.NON_NULL_TYPE)?function(e,t,n){const r=t.getTypeMap(),i=Eg(r).filter(Bp.dX);return bg(e,i.map((e=>({label:e.name,documentation:(null===e||void 0===e?void 0:e.description)||"",kind:_g.Variable}))))}(f,e):h===yg.DIRECTIVE?function(e,t,n,r){var i;if(null===(i=t.prevState)||void 0===i?void 0:i.kind){const r=n.getDirectives().filter((e=>function(e,t){if(!(null===e||void 0===e?void 0:e.kind))return!1;const{kind:n,prevState:r}=e,{locations:i}=t;switch(n){case yg.QUERY:return i.includes(Kp.H.QUERY);case yg.MUTATION:return i.includes(Kp.H.MUTATION);case yg.SUBSCRIPTION:return i.includes(Kp.H.SUBSCRIPTION);case yg.FIELD:case yg.ALIASED_FIELD:return i.includes(Kp.H.FIELD);case yg.FRAGMENT_DEFINITION:return i.includes(Kp.H.FRAGMENT_DEFINITION);case yg.FRAGMENT_SPREAD:return i.includes(Kp.H.FRAGMENT_SPREAD);case yg.INLINE_FRAGMENT:return i.includes(Kp.H.INLINE_FRAGMENT);case yg.SCHEMA_DEF:return i.includes(Kp.H.SCHEMA);case yg.SCALAR_DEF:return i.includes(Kp.H.SCALAR);case yg.OBJECT_TYPE_DEF:return i.includes(Kp.H.OBJECT);case yg.FIELD_DEF:return i.includes(Kp.H.FIELD_DEFINITION);case yg.INTERFACE_DEF:return i.includes(Kp.H.INTERFACE);case yg.UNION_DEF:return i.includes(Kp.H.UNION);case yg.ENUM_DEF:return i.includes(Kp.H.ENUM);case yg.ENUM_VALUE:return i.includes(Kp.H.ENUM_VALUE);case yg.INPUT_DEF:return i.includes(Kp.H.INPUT_OBJECT);case yg.INPUT_VALUE_DEF:switch(null===r||void 0===r?void 0:r.kind){case yg.ARGUMENTS_DEF:return i.includes(Kp.H.ARGUMENT_DEFINITION);case yg.INPUT_DEF:return i.includes(Kp.H.INPUT_FIELD_DEFINITION)}}return!1}(t.prevState,e)));return bg(e,r.map((e=>({label:e.name,documentation:(null===e||void 0===e?void 0:e.description)||"",kind:_g.Function}))))}return[]}(f,l,e):h===yg.DIRECTIVE_DEF?function(e,t,n,r){const i=n.getDirectives().find((e=>e.name===t.name));return bg(e,(null===i||void 0===i?void 0:i.args.map((e=>({label:e.name,documentation:e.description||"",kind:_g.Field}))))||[])}(f,l,e):[]}const Cg=[{label:"type",kind:_g.Function},{label:"interface",kind:_g.Function},{label:"union",kind:_g.Function},{label:"input",kind:_g.Function},{label:"scalar",kind:_g.Function},{label:"schema",kind:_g.Function}],Og=[{label:"query",kind:_g.Function},{label:"mutation",kind:_g.Function},{label:"subscription",kind:_g.Function},{label:"fragment",kind:_g.Function},{label:"{",kind:_g.Constructor}];const Fg=(e,t)=>{var n,r,i,o,s,a,u,l,c,d;return(null===(n=e.prevState)||void 0===n?void 0:n.kind)===t?e.prevState:(null===(i=null===(r=e.prevState)||void 0===r?void 0:r.prevState)||void 0===i?void 0:i.kind)===t?e.prevState.prevState:(null===(a=null===(s=null===(o=e.prevState)||void 0===o?void 0:o.prevState)||void 0===s?void 0:s.prevState)||void 0===a?void 0:a.kind)===t?e.prevState.prevState.prevState:(null===(d=null===(c=null===(l=null===(u=e.prevState)||void 0===u?void 0:u.prevState)||void 0===l?void 0:l.prevState)||void 0===c?void 0:c.prevState)||void 0===d?void 0:d.kind)===t?e.prevState.prevState.prevState.prevState:void 0};function Lg(e,t,n){let r,i=null;const o=Object.create({});return dg(e,((e,s)=>{var a;if((null===s||void 0===s?void 0:s.kind)===yg.VARIABLE&&s.name&&(i=s.name),(null===s||void 0===s?void 0:s.kind)===yg.NAMED_TYPE&&i){const e=Fg(s,yg.TYPE);(null===e||void 0===e?void 0:e.type)&&(r=t.getType(null===e||void 0===e?void 0:e.type))}if(i&&r&&!o[i]){const e="$"===n.string||"Variable"===(null===(a=null===n||void 0===n?void 0:n.state)||void 0===a?void 0:a.kind)?i:"$"+i;o[i]={detail:r.toString(),insertText:e,label:"$"+i,rawInsert:e,type:r,kind:_g.Variable},i=null,r=null}})),Eg(o)}function kg(e){return e.prevState&&e.kind&&[yg.NAMED_TYPE,yg.LIST_TYPE,yg.TYPE,yg.NON_NULL_TYPE].includes(e.kind)?kg(e.prevState):e}n(4815);class xg{constructor(e,t){this.containsPosition=e=>this.start.line===e.line?this.start.character<=e.character:this.end.line===e.line?this.end.character>=e.character:this.start.line<=e.line&&this.end.line>=e.line,this.start=e,this.end=t}setStart(e,t){this.start=new Pg(e,t)}setEnd(e,t){this.end=new Pg(e,t)}}class Pg{constructor(e,t){this.lessThanOrEqualTo=e=>this.line<e.line||this.line===e.line&&this.character<=e.character,this.line=e,this.character=t}setLine(e){this.line=e}setCharacter(e){this.character=e}}var Mg=n(6396),Bg=n(3677),Vg=n(4341),Ug=n(8041),jg=n(1638),Kg=n(1622),Yg=n(1769),qg=n(7413),Gg=n(2739),Hg=n(826),zg=n(1138),Wg=n(6669),Qg=n(3341),Jg=n(146),Xg=n(6740),$g=n(9523),Zg=n(4008),em=n(1412),tm=n(9129),nm=n(2518);const rm=[Mg.l,Bg.u,Vg.i,Ug.g,jg.X,Kg.Z,Yg.y,qg.e,Gg.U,Hg.S,zg.J,Wg.C,Qg._,Jg.T,Xg.X];var im=n(807),om=n(5298),sm=n(1969);const am="Error",um="Warning",lm="Information",cm="Hint",dm={[am]:1,[um]:2,[lm]:3,[cm]:4},fm=(e,t)=>{if(!e)throw new Error(t)};function hm(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;var o,s;let a=null,u="";i&&(u="string"===typeof i?i:i.reduce(((e,t)=>e+(0,im.y)(t)+"\n\n"),""));const l=u?"".concat(e,"\n\n").concat(u):e;try{a=(0,Pp.qg)(l)}catch(c){if(c instanceof om.eO){const e=function(e,t){const n=rg(),r=n.startState(),i=t.split("\n");fm(i.length>=e.line,"Query text must have more lines than where the error happened");let o=null;for(let l=0;l<e.line;l++)for(o=new Hp(i[l]);!o.eol();){if("invalidchar"===n.token(o,r))break}fm(o,"Expected Parser stream to be available.");const s=e.line-1,a=o.getStartOfToken(),u=o.getCurrentPosition();return new xg(new Pg(s,a),new Pg(s,u))}(null!==(s=null===(o=c.locations)||void 0===o?void 0:o[0])&&void 0!==s?s:{line:0,column:0},l);return[{severity:dm.Error,message:c.message,source:"GraphQL: Syntax",range:e}]}throw c}return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;if(!t)return[];const i=function(e,t,n,r,i){const o=$g.gv.filter((e=>e!==Zg.z&&e!==em.T&&(!r||e!==tm.K)));return n&&Array.prototype.push.apply(o,n),i&&Array.prototype.push.apply(o,rm),(0,nm.tf)(e,t,o).filter((e=>{if(e.message.includes("Unknown directive")&&e.nodes){const t=e.nodes[0];if(t&&t.kind===Mp.b.DIRECTIVE){const e=t.name.value;if("arguments"===e||"argumentDefinitions"===e)return!1}}return!0}))}(t,e,n,r).flatMap((e=>pm(e,dm.Error,"Validation"))),o=(0,nm.tf)(t,e,[sm.k]).flatMap((e=>pm(e,dm.Warning,"Deprecation")));return i.concat(o)}(a,t,n,r)}function pm(e,t,n){if(!e.nodes)return[];const r=[];for(const[i,o]of e.nodes.entries()){const s="Variable"!==o.kind&&"name"in o&&void 0!==o.name?o.name:"variable"in o&&void 0!==o.variable?o.variable:o;if(s){fm(e.locations,"GraphQL validation error requires locations.");const o=e.locations[i],a=gm(s),u=o.column+(a.end-a.start);r.push({source:"GraphQL: ".concat(n),message:e.message,severity:t,range:new xg(new Pg(o.line-1,o.column-1),new Pg(o.line-1,u))})}}return r}function gm(e){const t=e.loc;return fm(t,"Expected ASTNode to have a location."),t}const{INLINE_FRAGMENT:mm}=Mp.b;function vm(e,t,n,r,i){const o=Object.assign(Object.assign({},i),{schema:e}),s=gg(t,n,e,r);if(!s)return"";const{typeInfo:a,token:u}=s,{kind:l,step:c}=u.state;if("Field"===l&&0===c&&a.fieldDef||"AliasedField"===l&&2===c&&a.fieldDef||"ObjectField"===l&&0===c&&a.fieldDef){const e=[];return ym(e,o),function(e,t,n){Em(e,t,n),Dm(e,t,n,t.type)}(e,a,o),_m(e,o),Tm(e,o,a.fieldDef),e.join("").trim()}if("Directive"===l&&1===c&&a.directiveDef){const e=[];return ym(e,o),bm(e,a,o),_m(e,o),Tm(e,o,a.directiveDef),e.join("").trim()}if("Variable"===l&&a.type){const e=[];return ym(e,o),Nm(e,a,o,a.type),_m(e,o),Tm(e,o,a.type),e.join("").trim()}if("Argument"===l&&0===c&&a.argDef){const e=[];return ym(e,o),function(e,t,n){t.directiveDef?bm(e,t,n):t.fieldDef&&Em(e,t,n);if(!t.argDef)return;const{name:r}=t.argDef;Sm(e,"("),Sm(e,r),Dm(e,t,n,t.inputType),Sm(e,")")}(e,a,o),_m(e,o),Tm(e,o,a.argDef),e.join("").trim()}if("EnumValue"===l&&a.enumValue&&"description"in a.enumValue){const e=[];return ym(e,o),function(e,t,n){if(!t.enumValue)return;const{name:r}=t.enumValue;Nm(e,t,n,t.inputType),Sm(e,"."),Sm(e,r)}(e,a,o),_m(e,o),Tm(e,o,a.enumValue),e.join("").trim()}if("NamedType"===l&&a.type&&"description"in a.type){const e=[];return ym(e,o),Nm(e,a,o,a.type),_m(e,o),Tm(e,o,a.type),e.join("").trim()}return""}function ym(e,t){t.useMarkdown&&Sm(e,"```graphql\n")}function _m(e,t){t.useMarkdown&&Sm(e,"\n```")}function Em(e,t,n){if(!t.fieldDef)return;const r=t.fieldDef.name;"__"!==r.slice(0,2)&&(Nm(e,t,n,t.parentType),Sm(e,".")),Sm(e,r)}function bm(e,t,n){if(!t.directiveDef)return;Sm(e,"@"+t.directiveDef.name)}function Dm(e,t,n,r){Sm(e,": "),Nm(e,t,n,r)}function Nm(e,t,n,r){r&&(r instanceof Bp.Gc?(Nm(e,t,n,r.ofType),Sm(e,"!")):r instanceof Bp.KT?(Sm(e,"["),Nm(e,t,n,r.ofType),Sm(e,"]")):Sm(e,r.name))}function Tm(e,t,n){if(!n)return;const r="string"===typeof n.description?n.description:null;r&&(Sm(e,"\n\n"),Sm(e,r)),function(e,t,n){if(!n)return;const r=n.deprecationReason||null;if(!r)return;Sm(e,"\n\n"),Sm(e,"Deprecated: "),Sm(e,r)}(e,0,n)}function Sm(e,t){e.push(t)}var Im=n(2398);function wm(e){var t;return{kind:oh.NAME,location:[e.index,e.index],value:null!==(t=e.value)&&void 0!==t?t:""}}function Am(e,t,n,r,i,o,s){return{kind:e,index:t,start:{line:n,column:r,position:o},end:{line:n,column:i,position:s}}}function Rm(e,t,n,r,i,o,s,a){return{kind:e,index:n,start:{line:r,column:i,position:s},end:{line:r,column:o,position:a},value:t}}function Cm(e){let t,n=e.length-1;for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];for(;n>=0&&(t=e[n--]);){var s;if(i.includes(null===(s=t)||void 0===s?void 0:s.kind))return t}throw new Error('Ancestor for kind "'.concat(i,'" not found!'))}function Om(e){let t;for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];for(;e.length>0&&(t=e[e.length-1]);){var o;if(r.includes(null===(o=t)||void 0===o?void 0:o.kind))return t;e.splice(-1,1)}throw new Error('Ancestor for kind "'.concat(r,'" not found!'))}function Fm(e){let t;for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];for(;e.length>0&&(t=e[e.length-1]);){var o;if(e.splice(-1,1),r.includes(null===(o=t)||void 0===o?void 0:o.kind))return t}throw new Error('Ancestor for kind "'.concat(r,'" not found!'))}function Lm(e,t){for(let n=0;n<e.length;n++)km(e[n],t)}function km(e,t){e.location[1]=t.index}function xm(e,t){switch(t.kind){case oh.LIST_TYPE:{const n=t.type&&xm(e,t.type);return n&&new Bp.KT(n)}case oh.NON_NULL_TYPE:{const n=t.type&&xm(e,t.type);return n&&new Bp.Gc(n)}case oh.NAMED_TYPE:return e.getType(t.name.value)}}const Pm={...yg,DEFAULT:"DefaultValue",NUMBER:"NumberValue"},Mm={...Im.ParseRules,Definition:e=>{switch(e.value){case"{":return"ShortQuery";case"query":return"Query";case"mutation":return"Mutation";case"subscription":return"Subscription";case"fragment":return"FragmentDefinition"}}};function Bm(e,t){switch(t.kind){case sh.NAME:{let n=Cm(e,oh.SELECTION_SET,oh.FIELD);function r(n){const r={kind:oh.FIELD,location:[t.index,t.index],alias:wm(t)};n.selections.push(r),e.push(r)}Lm(e,t),n.kind===oh.SELECTION_SET?r(n):n.alias?n.name=wm(t):(n=Om(e,oh.SELECTION_SET),r(n))}break;case sh.COLON:Lm(e,t)}}function Vm(e,t){switch(t.kind){case sh.AT:{const n=Om(e,oh.OPERATION_DEFINITION,oh.VARIABLE_DEFINITION,oh.FRAGMENT_DEFINITION,oh.FIELD,oh.FRAGMENT_SPREAD,oh.INLINE_FRAGMENT);if(Lm(e,t),n.kind===oh.VARIABLE_DEFINITION){const r={kind:oh.DIRECTIVE,location:[t.index,t.index],isConst:!0};n.directives?n.directives.push(r):n.directives=[r],e.push(r)}else{const r={kind:oh.DIRECTIVE,location:[t.index,t.index]};n.directives?n.directives.push(r):n.directives=[r],e.push(r)}}break;case sh.NAME:Lm(e,t),Cm(e,oh.DIRECTIVE).name=wm(t)}}function Um(e,t){if(t.kind===sh.NAME){const n=Om(e,oh.SELECTION_SET);Lm(e,t);const r={kind:oh.FIELD,location:[t.index,t.index],name:wm(t)};n.selections.push(r),e.push(r)}}function jm(e,t){switch(t.kind){case sh.KEYWORD:if(Lm(e,t),"fragment"===t.value){const n=Cm(e,oh.DOCUMENT),r={kind:oh.FRAGMENT_DEFINITION,location:[t.index,t.index]};n.definitions.push(r),e.push(r)}break;case sh.NAME:Lm(e,t),Cm(e,oh.FRAGMENT_DEFINITION).name=wm(t)}}function Km(e,t){switch(t.kind){case sh.SPREAD:{const n=Om(e,oh.SELECTION_SET);Lm(e,t);const r={kind:oh.FRAGMENT_SPREAD,location:[t.index,t.index]};n.selections.push(r),e.push(r)}break;case sh.NAME:Lm(e,t),Cm(e,oh.FRAGMENT_SPREAD).name=wm(t)}}function Ym(e,t){switch(t.kind){case sh.SPREAD:{const n=Om(e,oh.SELECTION_SET);Lm(e,t);const r={kind:oh.INLINE_FRAGMENT,location:[t.index,t.index]};n.selections.push(r),e.push(r)}break;case sh.KEYWORD:Lm(e,t)}}function qm(e,t){switch(t.kind){case sh.BRACE_L:if(1===e.length){const n=Cm(e,oh.DOCUMENT),r={kind:oh.OPERATION_DEFINITION,operationType:uh.QUERY,location:[t.index,t.index]};Lm(e,t),n.definitions.push(r),e.push(r)}break;case sh.KEYWORD:{const n=Cm(e,oh.DOCUMENT);Lm(e,t);const r={kind:oh.OPERATION_DEFINITION,operationType:t.value,location:[t.index,t.index]};n.definitions.push(r),e.push(r)}break;case sh.NAME:Lm(e,t),Cm(e,oh.OPERATION_DEFINITION).name=wm(t)}}function Gm(e,t){switch(t.kind){case sh.BRACE_L:{const n={kind:oh.SELECTION_SET,location:[t.index,t.index],selections:[],closed:!1};let r=Om(e,oh.OPERATION_DEFINITION,oh.FRAGMENT_DEFINITION,oh.INLINE_FRAGMENT,oh.FIELD);Lm(e,t),r.selectionSet=n,e.push(n)}break;case sh.BRACE_R:{const n=Fm(e,oh.SELECTION_SET,oh.FRAGMENT_SPREAD,oh.INLINE_FRAGMENT,oh.FIELD);if(Lm(e,t),n.kind===oh.SELECTION_SET)e.splice(-1,1),km(n,t),n.closed=!0;else{const[,t]=e.splice(-2,2);t.closed=!0}}}}function Hm(e,t){switch(t.kind){case sh.PAREN_L:{const n={kind:oh.VARIABLES_DEFINITION,location:[t.index,t.index],variableDefinitions:[],closed:!1},r=Cm(e,oh.OPERATION_DEFINITION);Lm(e,t),r.variablesDefinition=n,e.push(n)}break;case sh.PAREN_R:{const n=Fm(e,oh.VARIABLES_DEFINITION);Lm(e,t),km(n,t),n.closed=!0}}}function zm(e,t){t.kind===sh.COLON&&Lm(e,t)}function Wm(e,t){var n;switch(t.kind){case sh.DOLLAR:{const n=Om(e,oh.VARIABLES_DEFINITION,oh.ARGUMENT,oh.OBJECT_FIELD);switch(Lm(e,t),n.kind){case oh.VARIABLES_DEFINITION:{const r={kind:oh.VARIABLE_DEFINITION,location:[t.index,t.index],variable:{kind:oh.VARIABLE,location:[t.index,t.index]}};n.variableDefinitions.push(r),e.push(r)}break;case oh.ARGUMENT:case oh.OBJECT_FIELD:{const e={kind:oh.VARIABLE,location:[t.index,t.index]};n.value=e}}}break;case sh.NAME:{const r=Cm(e,oh.VARIABLE_DEFINITION,oh.ARGUMENT,oh.OBJECT_FIELD);switch(Lm(e,t),r.kind){case oh.VARIABLE_DEFINITION:km(r.variable,t),r.variable.name=wm(t);break;case oh.ARGUMENT:case oh.OBJECT_FIELD:(null===(n=r.value)||void 0===n?void 0:n.kind)===oh.VARIABLE&&(km(r.value,t),r.value.name=wm(t))}}}}function Qm(e,t){t.kind===sh.EQUALS&&Lm(e,t)}function Jm(e,t){switch(t.kind){case sh.BRACKET_L:{const n=Cm(e,oh.VARIABLE_DEFINITION,oh.LIST_TYPE);switch(Lm(e,t),n.kind){case oh.VARIABLE_DEFINITION:{const r={kind:oh.LIST_TYPE,location:[t.index,t.index],closed:!1};n.type=r,e.push(r)}break;case oh.LIST_TYPE:{const r={kind:oh.LIST_TYPE,location:[t.index,t.index],closed:!1};n.type=r,e.push(r)}}}break;case sh.BRACKET_R:{const n=Cm(e,oh.LIST_TYPE,oh.NON_NULL_TYPE,oh.NAMED_TYPE);switch(Lm(e,t),n.kind){case oh.LIST_TYPE:n.closed=!0;break;case oh.NON_NULL_TYPE:case oh.NAMED_TYPE:Cm(e,oh.LIST_TYPE).closed=!0}}}}function Xm(e,t){if(t.kind===sh.BANG){const n=Fm(e,oh.LIST_TYPE,oh.NAMED_TYPE),r={kind:oh.NON_NULL_TYPE,location:[n.location[0],t.index],type:n};Lm(e,t),Cm(e,oh.VARIABLE_DEFINITION,oh.LIST_TYPE).type=r}}function $m(e,t){if(t.kind===sh.NAME){const n=Cm(e,oh.FRAGMENT_DEFINITION,oh.INLINE_FRAGMENT,oh.VARIABLE_DEFINITION,oh.LIST_TYPE),r={kind:oh.NAMED_TYPE,location:[t.index,t.index],name:wm(t)};n.kind===oh.FRAGMENT_DEFINITION||n.kind===oh.INLINE_FRAGMENT?n.typeCondition=r:(n.type=r,e.push(r))}}function Zm(e,t){switch(t.kind){case sh.PAREN_L:{const n=Cm(e,oh.FIELD,oh.DIRECTIVE);if(n.kind===oh.DIRECTIVE&&"isConst"in n){const r={kind:oh.ARGUMENT_DICT,location:[t.index,t.index],isConst:!0,arguments:[],closed:!1};n.argumentDict=r,e.push(r)}else{const r={kind:oh.ARGUMENT_DICT,location:[t.index,t.index],arguments:[],closed:!1};n.argumentDict=r,e.push(r)}}break;case sh.PAREN_R:{const n=Fm(e,oh.ARGUMENT_DICT);Lm(e,t),km(n,t),n.closed=!0}}}function ev(e,t){switch(t.kind){case sh.NAME:{const n=Om(e,oh.ARGUMENT_DICT);if(Lm(e,t),"isConst"in n){const r={kind:oh.ARGUMENT,location:[t.index,t.index],isConst:!0,name:wm(t)};n.arguments.push(r),e.push(r)}else{const r={kind:oh.ARGUMENT,location:[t.index,t.index],name:wm(t)};n.arguments.push(r),e.push(r)}}break;case sh.COLON:Lm(e,t)}}function tv(e,t){switch(t.kind){case sh.BRACKET_L:{const n=Cm(e,oh.VARIABLE_DEFINITION,oh.ARGUMENT,oh.OBJECT_FIELD);if(Lm(e,t),n.kind===oh.VARIABLE_DEFINITION){const r={kind:oh.LIST,location:[t.index,t.index],isConst:!0,values:[],closed:!1};n.defaultValue=r,e.push(r)}else{const r={kind:oh.LIST,location:[t.index,t.index],values:[],closed:!1};n.value=r,e.push(r)}}break;case sh.BRACKET_R:Lm(e,t),Fm(e,oh.LIST).closed=!0}}function nv(e,t){switch(t.kind){case sh.BRACE_L:{const n=Cm(e,oh.VARIABLE_DEFINITION,oh.ARGUMENT,oh.LIST,oh.OBJECT_FIELD);switch(Lm(e,t),n.kind){case oh.VARIABLE_DEFINITION:{const r={kind:oh.OBJECT,location:[t.index,t.index],isConst:!0,fields:[],closed:!1};n.defaultValue=r,e.push(r)}break;case oh.LIST:if("isConst"in n){const r={kind:oh.OBJECT,location:[t.index,t.index],isConst:!0,fields:[],closed:!1};n.values.push(r),e.push(r)}else{const r={kind:oh.OBJECT,location:[t.index,t.index],fields:[],closed:!1};n.values.push(r),e.push(r)}break;default:if("isConst"in n){const r={kind:oh.OBJECT,location:[t.index,t.index],isConst:!0,fields:[],closed:!1};n.value=r,e.push(r)}else{const r={kind:oh.OBJECT,location:[t.index,t.index],fields:[],closed:!1};n.value=r,e.push(r)}}break}case sh.BRACE_R:{const n=Fm(e,oh.OBJECT);Lm(e,t),km(n,t),n.closed=!0}}}function rv(e,t){switch(t.kind){case sh.NAME:{const n=Cm(e,oh.OBJECT);Lm(e,t);const r={kind:oh.OBJECT_FIELD,location:[t.index,t.index],name:wm(t)};n.fields.push(r),e.push(r)}break;case sh.COLON:Lm(e,t)}}function iv(e,t){t.kind===sh.BOOLEAN&&lv(e,t,{kind:oh.BOOLEAN,location:[t.index,t.index],value:Boolean(t.value)})}function ov(e,t){var n;t.kind===sh.NAME&&lv(e,t,{kind:oh.ENUM,location:[t.index,t.index],value:null!==(n=t.value)&&void 0!==n?n:""})}function sv(e,t){t.kind===sh.KEYWORD&&lv(e,t,{kind:oh.NULL,location:[t.index,t.index]})}function av(e,t){var n;t.kind===sh.NUMBER&&lv(e,t,{kind:oh.NUMBER,location:[t.index,t.index],value:null!==(n=t.value)&&void 0!==n?n:"0"})}function uv(e,t){if(t.kind===sh.STRING){var n;const r=Cm(e,oh.ARGUMENT,oh.LIST,oh.OBJECT_FIELD,oh.STRING);let i=null!==(n=t.value)&&void 0!==n?n:"";const o=r.kind===oh.STRING,s=/^""".*?"""$/gi.test(i),a=!o&&/^"""/gi.test(i),u=o&&/"""$/gi.test(i),l=!o&&!a,c=l&&/^".*?"$/gi.test(i)||s||u;if(l?i=c?i.slice(1,-1):i.slice(1):s?i=i.slice(0,-3):(a&&(i=i.slice(3)),u&&(i=i.slice(0,-3))),Lm(e,t),o)r.value+="\n"+i,r.closed=c,c&&e.splice(-1,1);else{const n={kind:oh.STRING,location:[t.index,t.index],value:i,closed:c,block:a};switch(r.kind){case oh.VARIABLE_DEFINITION:r.defaultValue=n;break;case oh.LIST:r.values.push(n);break;default:r.value=n}a&&!c&&e.push(n)}}}function lv(e,t,n){const r=Cm(e,oh.VARIABLE_DEFINITION,oh.ARGUMENT,oh.LIST,oh.OBJECT_FIELD);switch(Lm(e,t),r.kind){case oh.VARIABLE_DEFINITION:r.defaultValue=n;break;case oh.LIST:r.values.push(n);break;default:r.value=n}}function cv(e,t,n,r,i,o,s,a){switch(e){case"document":switch(t){case sh.SOF:case sh.EOF:return Am(t,n,r,i,o,s,a);default:return Am(sh.INVALID,n,r,i,o,s,a)}case"punctuation":switch(t){case sh.BANG:case sh.BRACE_L:case sh.BRACE_R:case sh.BRACKET_L:case sh.BRACKET_R:case sh.COLON:case sh.EQUALS:case sh.PAREN_L:case sh.PAREN_R:case sh.SPREAD:return Am(t,n,r,i,o,s,a);default:return Am(sh.INVALID,n,r,i,o,s,a)}case"attribute":case"atom":case"def":case"property":case"qualifier":case"string-2":return Rm(sh.NAME,t,n,r,i,o,s,a);case"builtin":return Rm(sh.BOOLEAN,t,n,r,i,o,s,a);case"keyword":return Rm(sh.KEYWORD,t,n,r,i,o,s,a);case"number":return Rm(sh.NUMBER,t,n,r,i,o,s,a);case"string":return Rm(sh.STRING,t,n,r,i,o,s,a);case"meta":case"variable":switch(t){case sh.AT:case sh.DOLLAR:return Am(t,n,r,i,o,s,a);default:return Rm(sh.NAME,t,n,r,i,o,s,a)}default:return Am(sh.INVALID,n,r,i,o,s,a)}}n(1998),n(379),n(1073);const dv=Object.freeze({});function fv(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ah;const r=new Map;for(const v of Object.values(oh))r.set(v,hv(t,v));let i,o,s,a=Array.isArray(e),u=[e],l=-1,c=[],d=e;const f=[],h=[];do{l++;const e=l===u.length,v=e&&0!==c.length;if(e){if(o=0===h.length?void 0:f[f.length-1],d=s,s=h.pop(),v)if(a){d=d.slice();let e=0;for(const[t,n]of c){const r=t-e;null===n?(d.splice(r,1),e++):d[r]=n}}else{d=Object.defineProperties({},Object.getOwnPropertyDescriptors(d));for(const[e,t]of c)d[e]=t}l=i.index,u=i.keys,c=i.edits,a=i.inArray,i=i.prev}else if(null!=s){if(o=a?l:u[l],d=s[o],null===d||void 0===d)continue;f.push(o)}let y;if(!Array.isArray(d)){var p,g;const n=e?null===(p=r.get(d.kind))||void 0===p?void 0:p.leave:null===(g=r.get(d.kind))||void 0===g?void 0:g.enter;if(y=null===n||void 0===n?void 0:n.call(t,d,o,s,f,h),y===dv)break;if(!1===y){if(!e){f.pop();continue}}else if(void 0!==y&&(c.push([o,y]),!e)){if(!lh(y)){f.pop();continue}d=y}}var m;if(void 0===y&&v&&c.push([o,d]),e)f.pop();else i={inArray:a,index:l,keys:u,edits:c,prev:i},a=Array.isArray(d),u=a?d:null!==(m=n[d.kind])&&void 0!==m?m:[],l=-1,c=[],null!=s&&h.push(s),s=d}while(void 0!==i);return 0!==c.length?c.at(-1)[1]:e}function hv(e,t){const n=e[t];return"object"===typeof n?n:"function"===typeof n?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}var pv=function(e){return e.SOF="<SOF>",e.DIRECTIVE_NAME="directiveName",e.TYPE_NAME="typeName",e.MEMBER_NAME="memberName",e.ARGUMENT_NAME="argumentName",e.PUNCTUATION="punctuation",e.INVALID_CHAR="invalidchar",e}(pv||{});(0,Im.p)("@"),gv(pv.DIRECTIVE_NAME),(0,Im.opt)("Argument"),gv(pv.TYPE_NAME),(0,Im.opt)("Member"),(0,Im.p)("."),gv(pv.MEMBER_NAME),(0,Im.opt)("Argument"),(0,Im.p)("("),gv(pv.ARGUMENT_NAME),(0,Im.p)(":"),(0,Im.p)(")");function gv(e){return{style:e,match:e=>"Name"===e.kind,update(e,t){e.name=t.value}}}var mv=n(8706);const vv={"GraphQL: Validation":"validation","GraphQL: Deprecation":"deprecation","GraphQL: Syntax":"syntax"};function yv(e){return new Pg(e.lineNumber-1,e.column-1)}function _v(e){var t;let{message:n,range:r,severity:i,source:o,code:s}=e;return{startLineNumber:r.start.line+1,endLineNumber:r.end.line+1,startColumn:r.start.character+1,endColumn:r.end.character,message:n,severity:i?Ev(i):1,source:o?vv[o]:void 0,code:null!==(t=s)&&void 0!==t?t:void 0}}function Ev(e){return[8,4,2,1][e-1]}function bv(e,t){const n=[],r=t?function(e,t){const n=Object.create(null);return fv(t,{VariableDefinition(t){const r=function(e){let t=e;for(;t&&t.kind!==oh.NAMED_TYPE;)t=t.type;return t}(t.type);(function(e){return ch(e,oh.NAMED_TYPE)})(r)&&fv(t,{Variable(t){var i,o;n[null!==(i=null===(o=t.name)||void 0===o?void 0:o.value)&&void 0!==i?i:""]=xm(e,r)}})}}),n}(t,e):void 0;return fv(e,{OperationDefinition(e){n.push(e)}}),{variableNameUnwrappedTypeMap:r,operations:n}}function Dv(e,t){if(t)try{const n=function(e){const t=rg({eatWhitespace:e=>e.eatWhile(Im.isIgnored),lexRules:Im.LexRules,parseRules:Mm,editorConfig:{}}),n=e.split(/\n/).map(((e,t,n)=>{let{length:r}=n;return new Hp(e+(r>t+1?"\n":""))})),r=t.startState(),i=cv("document",sh.SOF,0,1,1,1,0,0),o=[i],s=[{kind:oh.DOCUMENT,location:[0,0],definitions:[],tokens:o}];let a=i,u=0,l=1,c=1;for(let h=0;h<n.length;h++){const e=n[h];for(c=h+1;!e.eol();){l=e.column()+1;const n=e.getCurrentPosition(),i=t.token(e,r),d=r.kind,f=e.current();if(d&&"comment"!==i&&"ws"!==i&&(a=cv(i,f,o.length,c,l,e.column()+1,u+n,u+e.getCurrentPosition()),o.push(a),a.kind!==sh.INVALID))switch(d){case Pm.DOCUMENT:Hm(s,a),Gm(s,a);break;case Pm.QUERY:case Pm.MUTATION:case Pm.SUBSCRIPTION:qm(s,a),Hm(s,a),Gm(s,a);break;case Pm.FRAGMENT_DEFINITION:jm(s,a),Gm(s,a);break;case Pm.INLINE_FRAGMENT:Ym(s,a),Gm(s,a);break;case Pm.FRAGMENT_SPREAD:Km(s,a);break;case Pm.FIELD:Um(s,a),Zm(s,a),Gm(s,a);break;case Pm.ALIASED_FIELD:Bm(s,a),Zm(s,a),Gm(s,a);break;case Pm.SELECTION_SET:qm(s,a),Gm(s,a);break;case Pm.VARIABLE_DEFINITIONS:tv(s,a),Hm(s,a);break;case Pm.VARIABLE_DEFINITION:Xm(s,a),zm(s,a);break;case Pm.DEFAULT:Qm(s,a);break;case Pm.VARIABLE:Wm(s,a);break;case Pm.DIRECTIVE:Vm(s,a);break;case Pm.LIST_TYPE:Xm(s,a),Jm(s,a);break;case Pm.NAMED_TYPE:$m(s,a);break;case Pm.ARGUMENTS:tv(s,a),nv(s,a),Zm(s,a);break;case Pm.ARGUMENT:ev(s,a);break;case Pm.LIST:case Pm.OBJECT:tv(s,a),nv(s,a);break;case Pm.OBJECT_FIELD:rv(s,a);break;case Pm.BOOLEAN:iv(s,a);break;case Pm.ENUM:ov(s,a);break;case Pm.NULL:sv(s,a);break;case Pm.NUMBER:av(s,a);break;case Pm.STRING:uv(s,a)}}u+=e.getCurrentPosition(),l=e.column()+1}const d=Fm(s,oh.DOCUMENT),f=cv("document",sh.EOF,o.length,c,l,l,u,u);return o.push(f),d.location[1]=f.index,d}(t);return{...bv(n,e),documentAST:n}}catch{return}}class Nv{constructor(){this._schemaInfos=new Map,this._schemas=new Map}async getCodeLens(e,t){const n=await this.getSchema(e);if(n){const e=Dv(n,t);if(e)return e.operations.map(((t,n)=>{const r=function(e,t){const n=e[t[0]],r=e[t[1]];return{start:n.start.position,startToken:n,end:r.end.position,endToken:r}}(e.documentAST.tokens,t.location);return{id:"execute-operation:".concat(n),range:{startLineNumber:r.startToken.start.line,startColumn:r.startToken.start.column,endLineNumber:r.endToken.end.line,endColumn:r.endToken.end.line},command:{id:"execute-operation",title:"Run\u2004\u25b7",arguments:[n]}}}))}return[]}async getCompletion(e,t,n){if(t.length>0){const r=await this.getSchema(e);if(r)return Rg(r,t,n,void 0,void 0,{mode:fg.EXECUTABLE})}return[]}async getDiagnostics(e,t){if(t.trim().length>2){const n=await this.getSchema(e);if(n)return hm(t,n)}return[]}async getHover(e,t,n){if(t.trim().length>3){const r=await this.getSchema(e);if(r)return vm(r,t,n,void 0,{useMarkdown:!0})}return null}async getSchema(e){return this.loadSchema(e,!1)}parse(e){return(0,Pp.qg)(e)}async setSchemaInfo(e,t){var n;const r=null!==(n=this._schemaInfos.get(e))&&void 0!==n?n:null;(null===r||void 0===r?void 0:r.hash)!==(null===t||void 0===t?void 0:t.hash)&&(this._schemaInfos.set(e,t),await this.loadSchema(e,!0))}async loadSchema(e,t){return qf("load-schema",(async()=>{const n=this._schemaInfos.get(e);if(!n)return null;var r;if(!t)return null!==(r=this._schemas.get(n.endpoint))&&void 0!==r?r:null;let i=null;if(null!==n&&void 0!==n&&n.exists){const e=await Yf(n.endpoint);e&&(i=(0,mv.I)(e),this._schemas.set(n.endpoint,i))}return i}))}}class Tv{constructor(e){this._ctx=void 0,this._languageService=new Nv,this._ctx=e}setSchemaInfo(e,t){return this._languageService.setSchemaInfo(e,t)}async doCodeLens(e){const t=this.getModelValue(e);return t?this._languageService.getCodeLens(e,t):[]}async doComplete(e,t){const n=this.getModelValue(e);if(!n)return[];return(await this._languageService.getCompletion(e,n,yv(t))).map((e=>function(e){let{label:t,insertText:n,sortText:r,filterText:i,documentation:o,detail:s,kind:a,insertTextFormat:u,command:l}=e;const c={label:t,insertText:n,sortText:r,filterText:i,documentation:o,detail:s,kind:a};return u&&(c.insertTextFormat=u),l&&(c.command={...l,id:l.command}),c}(e)))}async doFormat(e){try{return function(e){return Xd(e,{...arguments.length>1&&void 0!==arguments[1]?arguments[1]:{printWidth:80,tabWidth:2,useTabs:!1},parser:"graphql",plugins:[wa]})}(e)}catch{return e}}async doHover(e,t){const n=this.getModelValue(e);if(!n)return;const r=await this._languageService.getHover(e,n,yv(t));return r?{contents:(Array.isArray(r)?r:[r]).map((e=>"string"===typeof e?{value:e}:e))}:void 0}doParse(e){return this._languageService.parse(e)}async doValidation(e){const t=this.getModelValue(e);return t?this._languageService.getDiagnostics(e,t).then((e=>e.map(_v))):[]}getModelValue(e){var t,n;return null!==(t=null===(n=this._ctx.getMirrorModels().find((t=>t.uri.toString()===e)))||void 0===n?void 0:n.getValue())&&void 0!==t?t:""}}self.onmessage=()=>{qi((e=>new Tv(e)))}})()})();