PageSourceSearch

https://2022.minc.app/_next/static/chunks/533-c9632355847d62cb.js

js minc.app collected 2026-10-04 20:14:20 UTC 78,358 bytes, 1 lines download raw bytes

vendor: 4,538 bytes, line 1
1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[533],{4098:function(e,t){var n="undefined"!==typeof self?self:this,r=function(){function e(){this.fetch=!1,this.DOMException=n.DOMException}return e.prototype=n,new e}();!function(e){!function(t){var n="URLSearchParams"in e,r="Symbol"in e&&"iterator"in Symbol,i="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),o="FormData"in e,s="ArrayBuffer"in e;if(s)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function(e){return e&&a.indexOf(Object.prototype.toString.call(e))>-1};function c(e){if("string"!==typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function l(e){return"string"!==typeof e&&(e=String(e)),e}function p(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return r&&(t[Symbol.iterator]=function(){return t}),t}function d(e){this.map={},e instanceof d?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function h(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function f(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function v(e){var t=new FileReader,n=f(t);return t.readAsArrayBuffer(e),n}function y(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function m(){return this.bodyUsed=!1,this._initBody=function(e){var t;this._bodyInit=e,e?"string"===typeof e?this._bodyText=e:i&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:o&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:n&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():s&&i&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=y(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):s&&(ArrayBuffer.prototype.isPrototypeOf(e)||u(e))?this._bodyArrayBuffer=y(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"===typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i&&(this.blob=function(){var e=h(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?h(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(v)}),this.text=function(){var e=h(this);if(e)return e;if(this._bodyBlob)return function(e){var t=new FileReader,n=f(t);return t.readAsText(e),n}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o&&(this.formData=function(){return this.text().then(T)}),this.json=function(){return this.text().then(JSON.parse)},this}d.prototype.append=function(e,t){e=c(e),t=l(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},d.prototype.delete=function(e){delete this.map[c(e)]},d.prototype.get=function(e){return e=c(e),this.has(e)?this.map[e]:null},d.prototype.has=function(e){return this.map.hasOwnProperty(c(e))},d.prototype.set=function(e,t){this.map[c(e)]=l(t)},d.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},d.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),p(e)},d.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),p(e)},d.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),p(e)},r&&(d.prototype[Symbol.iterator]=d.prototype.entries);
1var E=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function b(e,t){var n=(t=t||{}).body;if(e instanceof b){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new d(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new d(t.headers)),this.method=function(e){var t=e.toUpperCase();return E.indexOf(t)>-1?t:e}(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function T(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}})),t}function g(e){var t=new d;return e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}})),t}function O(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new d(t.headers),this.url=t.url||"",this._initBody(e)}b.prototype.clone=function(){return new b(this,{body:this._bodyInit})},m.call(b.prototype),m.call(O.prototype),O.prototype.clone=function(){return new O(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},O.error=function(){var e=new O(null,{status:0,statusText:""});return e.type="error",e};var N=[301,302,303,307,308];O.redirect=function(e,t){if(-1===N.indexOf(t))throw new RangeError("Invalid status code");return new O(null,{status:t,headers:{location:e}})},t.DOMException=e.DOMException;try{new t.DOMException}catch(_){t.DOMException=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function x(e,n){return new Promise((function(r,o){var s=new b(e,n);if(s.signal&&s.signal.aborted)return o(new t.DOMException("Aborted","AbortError"));var a=new XMLHttpRequest;function u(){a.abort()}a.onload=function(){var e={status:a.status,statusText:a.statusText,headers:g(a.getAllResponseHeaders()||"")};e.url="responseURL"in a?a.responseURL:e.headers.get("X-Request-URL");var t="response"in a?a.response:a.responseText;r(new O(t,e))},a.onerror=function(){o(new TypeError("Network request failed"))},a.ontimeout=function(){o(new TypeError("Network request failed"))},a.onabort=function(){o(new t.DOMException("Aborted","AbortError"))},a.open(s.method,s.url,!0),"include"===s.credentials?a.withCredentials=!0:"omit"===s.credentials&&(a.withCredentials=!1),"responseType"in a&&i&&(a.responseType="blob"),s.headers.forEach((function(e,t){a.setRequestHeader(t,e)})),s.signal&&(s.signal.addEventListener("abort",u),a.onreadystatechange=function(){4===a.readyState&&s.signal.removeEventListener("abort",u)}),a.send("undefined"===typeof s._bodyInit?null:s._bodyInit)}))}x.polyfill=!0,e.fetch||(e.fetch=x,e.Headers=d,e.Request=b,e.Response=O),t.Headers=d,t.Request=b,t.Response=O,t.fetch=x,Object.defineProperty(t,"__esModule",{value:!0})}({})}(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var i=r;(t=i.fetch).default=i.fetch,t.fetch=i.fetch,t.Headers=i.Headers,t.Request=i.Request,t.Response=i.Response,e.exports=t},2445:function(e){"use strict";e.exports=function(e){var t=e.uri,n=e.name,r=e.type;this.uri=t,this.name=n,this.type=r}},804:function(e,t,n){"use strict";var r=n(1268);e.exports=function e(t,n,i){var o;void 0===n&&(n=""),void 0===i&&(i=r);var s=new Map;function a(e,t){var n=s.get(t);n?n.push.apply(n,e):s.set(t,e)}if(i(t))o=null,a([n],t);else{var u=n?n+".":"";if("undefined"!==typeof FileList&&t instanceof FileList)o=Array.prototype.map.call(t,(function(e,t){return a([""+u+t],e),null}));else if(Array.isArray(t))o=t.map((function(t,n){var r=e(t,""+u+n,i);
1return r.files.forEach(a),r.clone}));else if(t&&t.constructor===Object)for(var c in o={},t){var l=e(t[c],""+u+c,i);l.files.forEach(a),o[c]=l.clone}else o=t}return{clone:o,files:s}}},4823:function(e,t,n){"use strict";t.ReactNativeFile=n(2445),t.extractFiles=n(804),t.isExtractableFile=n(1268)},1268:function(e,t,n){"use strict";var r=n(2445);e.exports=function(e){return"undefined"!==typeof File&&e instanceof File||"undefined"!==typeof Blob&&e instanceof Blob||e instanceof r}},6230:function(e){e.exports="object"==typeof self?self.FormData:window.FormData},8458:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(4823),o=r(n(6230)),s=n(456),a=function(e){return i.isExtractableFile(e)||null!==e&&"object"===typeof e&&"function"===typeof e.pipe};t.default=function(e,t,n,r){void 0===r&&(r=s.defaultJsonSerializer);var u=i.extractFiles({query:e,variables:t,operationName:n},"",a),c=u.clone,l=u.files;if(0===l.size){if(!Array.isArray(e))return r.stringify(c);if("undefined"!==typeof t&&!Array.isArray(t))throw new Error("Cannot create request body with given variable type, array expected");var p=e.reduce((function(e,n,r){return e.push({query:n,variables:t?t[r]:void 0}),e}),[]);return r.stringify(p)}var d=new("undefined"===typeof FormData?o.default:FormData);d.append("operations",r.stringify(c));var h={},f=0;return l.forEach((function(e){h[++f]=e})),d.append("map",r.stringify(h)),f=0,l.forEach((function(e,t){d.append(""+ ++f,t)})),d}},456:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultJsonSerializer=void 0,t.defaultJsonSerializer={parse:JSON.parse,stringify:JSON.stringify}},8741:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{u(r.next(e))}catch(t){o(t)}}function a(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=(i=s.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(a){o=[6,a],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.GraphQLWebSocketClient=void 0;var s=n(8308),a=n(8687),u="ping",c="pong",l="subscribe",p="complete",d=function(){function e(e,t,n){this._type=e,this._payload=t,this._id=n}return Object.defineProperty(e.prototype,"type",{get:function(){return this._type},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"payload",{get:function(){return this._payload},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){var e={type:this.type};return null!=this.id&&void 0!=this.id&&(e.id=this.id),null!=this.payload&&void 0!=this.payload&&(e.payload=this.payload),JSON.stringify(e)}
1,enumerable:!1,configurable:!0}),e.parse=function(t,n){var r=JSON.parse(t),i=r.type,o=r.payload,s=r.id;return new e(i,n(o),s)},e}(),h=function(){function e(e,t){var n=this,a=t.onInit,l=t.onAcknowledged,h=t.onPing,y=t.onPong;this.socketState={acknowledged:!1,lastRequestId:0,subscriptions:{}},this.socket=e,e.onopen=function(t){return i(n,void 0,void 0,(function(){var t,n,r,i;return o(this,(function(o){switch(o.label){case 0:return this.socketState.acknowledged=!1,this.socketState.subscriptions={},n=(t=e).send,r=f,a?[4,a()]:[3,2];case 1:return i=o.sent(),[3,3];case 2:i=null,o.label=3;case 3:return n.apply(t,[r.apply(void 0,[i]).text]),[2]}}))}))},e.onclose=function(e){n.socketState.acknowledged=!1,n.socketState.subscriptions={}},e.onerror=function(e){console.error(e)},e.onmessage=function(t){try{var i=function(e,t){void 0===t&&(t=function(e){return e});return d.parse(e,t)}(t.data);switch(i.type){case"connection_ack":return void(n.socketState.acknowledged?console.warn("Duplicate CONNECTION_ACK message ignored"):(n.socketState.acknowledged=!0,l&&l(i.payload)));case u:return void(h?h(i.payload).then((function(t){return e.send(v(t).text)})):e.send(v(null).text));case c:return void(y&&y(i.payload))}if(!n.socketState.acknowledged)return;if(void 0===i.id||null===i.id||!n.socketState.subscriptions[i.id])return;var o=n.socketState.subscriptions[i.id],a=o.query,f=o.variables,m=o.subscriber;switch(i.type){case"next":return!i.payload.errors&&i.payload.data&&m.next&&m.next(i.payload.data),void(i.payload.errors&&m.error&&m.error(new s.ClientError(r(r({},i.payload),{status:200}),{query:a,variables:f})));case"error":return void(m.error&&m.error(new s.ClientError({errors:i.payload,status:200},{query:a,variables:f})));case p:return m.complete&&m.complete(),void delete n.socketState.subscriptions[i.id]}}catch(t){console.error(t),e.close(1006)}e.close(4400,"Unknown graphql-ws message.")}}return e.prototype.makeSubscribe=function(e,t,n,r){var i,o,s=this,a=(this.socketState.lastRequestId++).toString();return this.socketState.subscriptions[a]={query:e,variables:n,subscriber:r},this.socket.send((i=a,o={query:e,operationName:t,variables:n},new d(l,o,i)).text),function(){s.socket.send(function(e){return new d(p,void 0,e)}(a).text),delete s.socketState.subscriptions[a]}},e.prototype.rawRequest=function(e,t){var n=this;return new Promise((function(r,i){var o;n.rawSubscribe(e,{next:function(e,t){return o={data:e,extensions:t}},error:i,complete:function(){return r(o)}},t)}))},e.prototype.request=function(e,t){var n=this;return new Promise((function(r,i){var o;n.subscribe(e,{next:function(e){return o=e},error:i,complete:function(){return r(o)}},t)}))},e.prototype.subscribe=function(e,t,n){var r=a.resolveRequestDocument(e),i=r.query,o=r.operationName;return this.makeSubscribe(i,o,n,t)},e.prototype.rawSubscribe=function(e,t,n){return this.makeSubscribe(e,void 0,n,t)},e.prototype.ping=function(e){this.socket.send(function(e){return new d(u,e,void 0)}(e).text)},e.prototype.close=function(){this.socket.close(1e3)},e.PROTOCOL="graphql-transport-ws",e}();function f(e){return new d("connection_init",e)}function v(e){return new d(c,e,void 0)}t.GraphQLWebSocketClient=h},8687:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return o(t,e),t},a=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{u(r.next(e))}catch(t){o(t)}}function a(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},u=this&&this.__generator||function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;
1function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=(i=s.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(a){o=[6,a],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},c=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GraphQLWebSocketClient=t.gql=t.resolveRequestDocument=t.batchRequests=t.request=t.rawRequest=t.GraphQLClient=t.ClientError=void 0;var p=s(n(4098)),d=p,h=n(6355),f=n(2938),v=l(n(8458)),y=n(456),m=n(2980),E=n(8308);Object.defineProperty(t,"ClientError",{enumerable:!0,get:function(){return E.ClientError}});var b=function(e){var t={};return e&&("undefined"!==typeof Headers&&e instanceof Headers||e instanceof d.Headers?t=function(e){var t={};return e.forEach((function(e,n){t[n]=e})),t}(e):Array.isArray(e)?e.forEach((function(e){var n=e[0],r=e[1];t[n]=r})):t=e),t},T=function(e){return e.replace(/([\s,]|#[^\n\r]+)+/g," ").trim()},g=function(e){var t=e.url,n=e.query,i=e.variables,o=e.operationName,s=e.headers,c=e.fetch,l=e.fetchOptions;return a(void 0,void 0,void 0,(function(){var e;return u(this,(function(a){switch(a.label){case 0:return e=v.default(n,i,o,l.jsonSerializer),[4,c(t,r({method:"POST",headers:r(r({},"string"===typeof e?{"Content-Type":"application/json"}:{}),s),body:e},l))];case 1:return[2,a.sent()]}}))}))},O=function(e){var t=e.url,n=e.query,i=e.variables,o=e.operationName,s=e.headers,c=e.fetch,l=e.fetchOptions;return a(void 0,void 0,void 0,(function(){var e;return u(this,(function(a){switch(a.label){case 0:return e=function(e){var t=e.query,n=e.variables,r=e.operationName,i=e.jsonSerializer;if(!Array.isArray(t)){var o=["query="+encodeURIComponent(T(t))];return n&&o.push("variables="+encodeURIComponent(i.stringify(n))),r&&o.push("operationName="+encodeURIComponent(r)),o.join("&")}if("undefined"!==typeof n&&!Array.isArray(n))throw new Error("Cannot create query with given variable type, array expected");var s=t.reduce((function(e,t,r){return e.push({query:T(t),variables:n?i.stringify(n[r]):void 0}),e}),[]);return"query="+encodeURIComponent(i.stringify(s))}({query:n,variables:i,operationName:o,jsonSerializer:l.jsonSerializer}),[4,c(t+"?"+e,r({method:"GET",headers:s},l))];case 1:return[2,a.sent()]}}))}))},N=function(){function e(e,t){this.url=e,this.options=t||{}}return e.prototype.rawRequest=function(e,t,n){return a(this,void 0,void 0,(function(){var i,o,s,a,l,d,h,f,v,y;return u(this,(function(u){return i=m.parseRawRequestArgs(e,t,n),o=this.options,s=o.headers,a=o.fetch,l=void 0===a?p.default:a,d=o.method,h=void 0===d?"POST":d,f=c(o,["headers","fetch","method"]),v=this.url,void 0!==i.signal&&(f.signal=i.signal),y=D(i.query).operationName,[2,x({url:v,query:i.query,variables:i.variables,headers:r(r({},b(w(s))),b(i.requestHeaders)),operationName:y,fetch:l,method:h,fetchOptions:f})]}))}))},e.prototype.request=function(e,t,n){return a(this,void 0,void 0,(function(){var i,o,s,a,l,d,h,f,v,y,E,T;return u(this,(function(u){switch(u.label){case 0:return i=m.parseRequestArgs(e,t,n),o=this.options,s=o.headers,a=o.fetch,l=void 0===a?p.default:a,d=o.method,h=void 0===d?"POST":d,f=c(o,["headers","fetch","method"]),v=this.url,void 0!==i.signal&&(f.signal=i.signal),y=D(i.document),E=y.query,T=y.operationName,[4,x({url:v,query:E,variables:i.variables,headers:r(r({},b(w(s))),b(i.requestHeaders)),operationName:T,fetch:l,method:h,fetchOptions:f})];case 1:return[2,u.sent().data]}}))}))},e.prototype.batchRequests=function(e,t){return a(this,void 0,void 0,(function(){var n,i,o,s,a,l,d,h,f,v,y;return u(this,(function(u){switch(u.label){case 0:return n=m.parseBatchRequestArgs(e,t),i=this.options,o=i.headers,s=i.fetch,a=void 0===s?p.default:s,l=i.method,d=void 0===l?"POST":l,h=c(i,["headers","fetch","method"]),f=this.url,void 0!==n.signal&&(h.signal=n.signal),v=n.documents.map((function(e){return D(e.document).query})),y=n.documents.map((function(e){return e.variables})),[4,x({url:f,query:v,variables:y,headers:r(r({},b(w(o))),b(n.requestHeaders)),operationName:void 0,fetch:a,method:d,fetchOptions:h})];case 1:return[2,u.sent().data]}}))}))},e.prototype.setHeaders=function(e){return this.options.headers=e,this},e.prototype.setHeader=function(e,t){var n,r=this.options.headers;return r?r[e]=t:this.options.headers=((n={})[e]=t,n),this},e.prototype.setEndpoint=function(e){return this.url=e,this},e}();function x(e){var t=e.url,n=e.query,i=e.variables,o=e.headers,s=e.operationName,l=e.fetch,p=e.method,d=void 0===p?"POST":p,h=e.fetchOptions;return a(this,void 0,void 0,(function(){var e,a,p,f,v,y,m,b,T,N,x;return u(this,(function(u){switch(u.label){case 0:return e="POST"===d.toUpperCase()?g:O,a=Array.isArray(n),[4,e({url:t,query:n,variables:i,operationName:s,headers:o,fetch:l,fetchOptions:h})];case 1:return[4,A(p=u.sent(),h.jsonSerializer)];case 2:if(f=u.sent(),v=a&&Array.isArray(f)?!f.some((function(e){return!e.data})):!!f.data,y=!f.errors||"all"===h.errorPolicy||"ignore"===h.errorPolicy,p.ok&&y&&v)return m=p.headers,b=p.status,f.errors,T=c(f,["errors"]),N="ignore"===h.errorPolicy?T:f,[2,r(r({},a?{data:N}:N),{headers:m,status:b})];
1throw x="string"===typeof f?{error:f}:f,new E.ClientError(r(r({},x),{status:p.status,headers:p.headers}),{query:n,variables:i})}}))}))}function _(e,t,n,i){return a(this,void 0,void 0,(function(){var o;return u(this,(function(s){return o=m.parseRequestExtendedArgs(e,t,n,i),[2,new N(o.url).request(r({},o))]}))}))}function A(e,t){return void 0===t&&(t=y.defaultJsonSerializer),a(this,void 0,void 0,(function(){var n,r,i;return u(this,(function(o){switch(o.label){case 0:return e.headers.forEach((function(e,t){"content-type"===t.toLowerCase()&&(n=e)})),n&&n.toLowerCase().startsWith("application/json")?(i=(r=t).parse,[4,e.text()]):[3,2];case 1:return[2,i.apply(r,[o.sent()])];case 2:return[2,e.text()]}}))}))}function I(e){var t,n=void 0,r=e.definitions.filter((function(e){return"OperationDefinition"===e.kind}));return 1===r.length&&(n=null===(t=r[0].name)||void 0===t?void 0:t.value),n}function D(e){if("string"===typeof e){var t=void 0;try{t=I(h.parse(e))}catch(r){}return{query:e,operationName:t}}var n=I(e);return{query:f.print(e),operationName:n}}function w(e){return"function"===typeof e?e():e}t.GraphQLClient=N,t.rawRequest=function(e,t,n,i){return a(this,void 0,void 0,(function(){var o;return u(this,(function(s){return o=m.parseRawRequestExtendedArgs(e,t,n,i),[2,new N(o.url).rawRequest(r({},o))]}))}))},t.request=_,t.batchRequests=function(e,t,n){return a(this,void 0,void 0,(function(){var i;return u(this,(function(o){return i=m.parseBatchRequestsExtendedArgs(e,t,n),[2,new N(i.url).batchRequests(r({},i))]}))}))},t.default=_,t.resolveRequestDocument=D,t.gql=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return e.reduce((function(e,n,r){return""+e+n+(r in t?t[r]:"")}),"")};var k=n(8741);Object.defineProperty(t,"GraphQLWebSocketClient",{enumerable:!0,get:function(){return k.GraphQLWebSocketClient}})},2980:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseBatchRequestsExtendedArgs=t.parseRawRequestExtendedArgs=t.parseRequestExtendedArgs=t.parseBatchRequestArgs=t.parseRawRequestArgs=t.parseRequestArgs=void 0,t.parseRequestArgs=function(e,t,n){return e.document?e:{document:e,variables:t,requestHeaders:n,signal:void 0}},t.parseRawRequestArgs=function(e,t,n){return e.query?e:{query:e,variables:t,requestHeaders:n,signal:void 0}},t.parseBatchRequestArgs=function(e,t){return e.documents?e:{documents:e,requestHeaders:t,signal:void 0}},t.parseRequestExtendedArgs=function(e,t,n,r){return e.document?e:{url:e,document:t,variables:n,requestHeaders:r,signal:void 0}},t.parseRawRequestExtendedArgs=function(e,t,n,r){return e.query?e:{url:e,query:t,variables:n,requestHeaders:r,signal:void 0}},t.parseBatchRequestsExtendedArgs=function(e,t,n){return e.documents?e:{url:e,documents:t,requestHeaders:n,signal:void 0}}},8308:function(e,t){"use strict";var n=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.ClientError=void 0;var r=function(e){function t(n,r){var i=this,o=t.extractMessage(n)+": "+JSON.stringify({response:n,request:r});return i=e.call(this,o)||this,Object.setPrototypeOf(i,t.prototype),i.response=n,i.request=r,"function"===typeof Error.captureStackTrace&&Error.captureStackTrace(i,t),i}return n(t,e),t.extractMessage=function(e){try{return e.errors[0].message}catch(t){return"GraphQL Error (Code: "+e.status+")"}},t}(Error);t.ClientError=r},7826:function(e,t,n){"use strict";function r(e,t){if(!Boolean(e))throw new Error(t)}n.d(t,{a:function(){return r}})},5821:function(e,t,n){"use strict";n.d(t,{X:function(){return r}});function r(e){return i(e,[])}function i(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${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:i(t,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";const n=Math.min(10,e.length),r=e.length-n,o=[];for(let s=0;s<n;++s)o.push(i(e[s],t));1===r?o.push("... 1 more item"):r>1&&o.push(`... ${r} more items`);return"["+o.join(", ")+"]"}(e,n);return function(e,t){const n=Object.entries(e);if(0===n.length)return"{}";if(t.length>2)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,n])=>e+": "+i(n,t)));return"{ "+r.join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}},2380:function(e,t,n){"use strict";n.d(t,{UG:function(){return a},WU:function(){return i},Ye:function(){return r},h8:function(){return o},ku:function(){return u}});
1class 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={}))},7392:function(e,t,n){"use strict";n.d(t,{LZ:function(){return s},wv:function(){return i}});var r=n(8297);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.FD)(e.charCodeAt(t));)++t;return t}function s(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.FD)(e.charCodeAt(0)))),a=n.endsWith('\\"""'),u=e.endsWith('"')&&!a,c=e.endsWith("\\"),l=u||c,p=!(null!==t&&void 0!==t&&t.minimize)&&(!o||e.length>70||l||s||a);let d="";const h=o&&(0,r.FD)(e.charCodeAt(0));return(p&&!h||s)&&(d+="\n"),d+=n,(p||l)&&(d+="\n"),'"""'+d+'"""'}},8297:function(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,{FD:function(){return r},HQ:function(){return a},LQ:function(){return s},X1:function(){return i}})},7359:function(e,t,n){"use strict";var r;n.d(t,{h:function(){return 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="Str
1ingValue",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={}))},6355:function(e,t,n){"use strict";function r(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}n.r(t),n.d(t,{Parser:function(){return K},parse:function(){return j},parseConstValue:function(){return V},parseType:function(){return G},parseValue:function(){return q}});const i=/\r\n|[\n\r]/g;function o(e,t){let n=0,o=1;
1for(const s of e.body.matchAll(i)){if("number"===typeof s.index||r(!1),s.index>=t)break;n=s.index+s[0].length,o+=1}return{line:o,column:t+1-n}}function s(e,t){const n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,o=e.locationOffset.line-1,s=t.line+o,u=1===t.line?n:0,c=t.column+u,l=`${e.name}:${s}:${c}\n`,p=r.split(/\r\n|[\n\r]/g),d=p[i];if(d.length>120){const e=Math.floor(c/80),t=c%80,n=[];for(let r=0;r<d.length;r+=80)n.push(d.slice(r,r+80));return l+a([[`${s} |`,n[0]],...n.slice(1,e+1).map((e=>["|",e])),["|","^".padStart(t)],["|",n[e+1]]])}return l+a([[s-1+" |",p[i-1]],[`${s} |`,d],["|","^".padStart(c)],[`${s+1} |`,p[i+1]]])}function a(e){const t=e.filter((([e,t])=>void 0!==t)),n=Math.max(...t.map((([e])=>e.length)));return t.map((([e,t])=>e.padStart(n)+(t?" "+t:""))).join("\n")}class u extends Error{constructor(e,...t){var n,r,i;const{nodes:s,source:a,positions:l,path:p,originalError:d,extensions:h}=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}(t);super(e),this.name="GraphQLError",this.path=null!==p&&void 0!==p?p:void 0,this.originalError=null!==d&&void 0!==d?d:void 0,this.nodes=c(Array.isArray(s)?s:s?[s]:void 0);const f=c(null===(n=this.nodes)||void 0===n?void 0:n.map((e=>e.loc)).filter((e=>null!=e)));this.source=null!==a&&void 0!==a?a:null===f||void 0===f||null===(r=f[0])||void 0===r?void 0:r.source,this.positions=null!==l&&void 0!==l?l:null===f||void 0===f?void 0:f.map((e=>e.start)),this.locations=l&&a?l.map((e=>o(a,e))):null===f||void 0===f?void 0:f.map((e=>o(e.source,e.start)));const v="object"==typeof(y=null===d||void 0===d?void 0:d.extensions)&&null!==y?null===d||void 0===d?void 0:d.extensions:void 0;var y;this.extensions=null!==(i=null!==h&&void 0!==h?h:v)&&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!==d&&void 0!==d&&d.stack?Object.defineProperty(this,"stack",{value:d.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,u):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 n of this.nodes)n.loc&&(e+="\n\n"+s((t=n.loc).source,o(t.source,t.start)));else if(this.source&&this.locations)for(const n of this.locations)e+="\n\n"+s(this.source,n);var 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 c(e){return void 0===e||0===e.length?void 0:e}function l(e,t,n){return new u(`Syntax Error: ${n}`,{source:e,positions:[t]})}var p,d=n(2380);!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"}(p||(p={}));var h,f=n(7359),v=n(7392),y=n(8297);!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"}(h||(h={}));class m{constructor(e){const t=new d.WU(h.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;
vendor: 4,327 bytes, line 1
1if(e.kind!==h.EOF)do{if(e.next)e=e.next;else{const t=x(this,e.end);e.next=t,t.prev=e,e=t}}while(e.kind===h.COMMENT);return e}}function E(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function b(e,t){return T(e.charCodeAt(t))&&g(e.charCodeAt(t+1))}function T(e){return e>=55296&&e<=56319}function g(e){return e>=56320&&e<=57343}function O(e,t){const n=e.source.body.codePointAt(t);if(void 0===n)return h.EOF;if(n>=32&&n<=126){const e=String.fromCodePoint(n);return'"'===e?"'\"'":`"${e}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function N(e,t,n,r,i){const o=e.line,s=1+n-e.lineStart;return new d.WU(t,n,r,o,s,i)}function x(e,t){const n=e.source.body,r=n.length;let i=t;for(;i<r;){const 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 _(e,i);case 33:return N(e,h.BANG,i,i+1);case 36:return N(e,h.DOLLAR,i,i+1);case 38:return N(e,h.AMP,i,i+1);case 40:return N(e,h.PAREN_L,i,i+1);case 41:return N(e,h.PAREN_R,i,i+1);case 46:if(46===n.charCodeAt(i+1)&&46===n.charCodeAt(i+2))return N(e,h.SPREAD,i,i+3);break;case 58:return N(e,h.COLON,i,i+1);case 61:return N(e,h.EQUALS,i,i+1);case 64:return N(e,h.AT,i,i+1);case 91:return N(e,h.BRACKET_L,i,i+1);case 93:return N(e,h.BRACKET_R,i,i+1);case 123:return N(e,h.BRACE_L,i,i+1);case 124:return N(e,h.PIPE,i,i+1);case 125:return N(e,h.BRACE_R,i,i+1);case 34:return 34===n.charCodeAt(i+1)&&34===n.charCodeAt(i+2)?L(e,i):D(e,i)}if((0,y.X1)(t)||45===t)return A(e,i,t);if((0,y.LQ)(t))return F(e,i);throw l(e.source,i,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":E(t)||b(n,i)?`Unexpected character: ${O(e,i)}.`:`Invalid character: ${O(e,i)}.`)}return N(e,h.EOF,r,r)}function _(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(E(e))++i;else{if(!b(n,i))break;i+=2}}return N(e,h.COMMENT,t,i,n.slice(t+1,i))}function A(e,t,n){const r=e.source.body;let i=t,o=n,s=!1;if(45===o&&(o=r.charCodeAt(++i)),48===o){if(o=r.charCodeAt(++i),(0,y.X1)(o))throw l(e.source,i,`Invalid number, unexpected digit after 0: ${O(e,i)}.`)}else i=I(e,i,o),o=r.charCodeAt(i);if(46===o&&(s=!0,o=r.charCodeAt(++i),i=I(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=I(e,i,o),o=r.charCodeAt(i)),46===o||(0,y.LQ)(o))throw l(e.source,i,`Invalid number, expected digit but got: ${O(e,i)}.`);return N(e,s?h.FLOAT:h.INT,t,i,r.slice(t,i))}function I(e,t,n){if(!(0,y.X1)(n))throw l(e.source,t,`Invalid number, expected digit but got: ${O(e,t)}.`);const r=e.source.body;let i=t+1;for(;(0,y.X1)(r.charCodeAt(i));)++i;return i}function D(e,t){const n=e.source.body,r=n.length;let i=t+1,o=i,s="";for(;i<r;){const r=n.charCodeAt(i);if(34===r)return s+=n.slice(o,i),N(e,h.STRING,t,i+1,s);if(92!==r){if(10===r||13===r)break;if(E(r))++i;else{if(!b(n,i))throw l(e.source,i,`Invalid character within String: ${O(e,i)}.`);i+=2}}else{s+=n.slice(o,i);const t=117===n.charCodeAt(i+1)?123===n.charCodeAt(i+2)?w(e,i):k(e,i):C(e,i);s+=t.value,i+=t.size,o=i}}throw l(e.source,i,"Unterminated string.")}function w(e,t){const n=e.source.body;let r=0,i=3;for(;i<12;){const e=n.charCodeAt(t+i++);if(125===e){if(i<5||!E(r))break;return{value:String.fromCodePoint(r),size:i}}if(r=r<<4|R(e),r<0)break}throw l(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+i)}".`)}function k(e,t){const n=e.source.body,r=S(n,t+2);if(E(r))return{value:String.fromCodePoint(r),size:6};if(T(r)&&92===n.charCodeAt(t+6)&&117===n.charCodeAt(t+7)){const e=S(n,t+8);if(g(e))return{value:String.fromCodePoint(r,e),size:12}}throw l(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}function S(e,t){return R(e.charCodeAt(t))<<12|R(e.charCodeAt(t+1))<<8|R(e.charCodeAt(t+2))<<4|R(e.charCodeAt(t+3))}function R(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function C(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}}
1throw l(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function L(e,t){const n=e.source.body,r=n.length;let i=e.lineStart,o=t+3,s=o,a="";const u=[];for(;o<r;){const 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);const r=N(e,h.BLOCK_STRING,t,o+3,(0,v.wv)(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(E(r))++o;else{if(!b(n,o))throw l(e.source,o,`Invalid character within String: ${O(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 l(e.source,o,"Unterminated string.")}function F(e,t){const n=e.source.body,r=n.length;let i=t+1;for(;i<r;){const e=n.charCodeAt(i);if(!(0,y.HQ)(e))break;++i}return N(e,h.NAME,t,i,n.slice(t,i))}var P=n(7826),B=n(5821);const U=function(e,t){return e instanceof t};class M{constructor(e,t="GraphQL request",n={line:1,column:1}){"string"===typeof e||(0,P.a)(!1,`Body must be a string. Received: ${(0,B.X)(e)}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||(0,P.a)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,P.a)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function j(e,t){return new K(e,t).parseDocument()}function q(e,t){const n=new K(e,t);n.expectToken(h.SOF);const r=n.parseValueLiteral(!1);return n.expectToken(h.EOF),r}function V(e,t){const n=new K(e,t);n.expectToken(h.SOF);const r=n.parseConstValueLiteral();return n.expectToken(h.EOF),r}function G(e,t){const n=new K(e,t);n.expectToken(h.SOF);const r=n.parseTypeReference();return n.expectToken(h.EOF),r}class K{constructor(e,t={}){const n=function(e){return U(e,M)}(e)?e:new M(e);this._lexer=new m(n),this._options=t,this._tokenCounter=0}parseName(){const e=this.expectToken(h.NAME);return this.node(e,{kind:f.h.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:f.h.DOCUMENT,definitions:this.many(h.SOF,this.parseDefinition,h.EOF)})}parseDefinition(){if(this.peek(h.BRACE_L))return this.parseOperationDefinition();const e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===h.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 l(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(h.BRACE_L))return this.node(e,{kind:f.h.OPERATION_DEFINITION,operation:d.ku.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const t=this.parseOperationType();let n;return this.peek(h.NAME)&&(n=this.parseName()),this.node(e,{kind:f.h.OPERATION_DEFINITION,operation:t,name:n,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const e=this.expectToken(h.NAME);switch(e.value){case"query":return d.ku.QUERY;case"mutation":return d.ku.MUTATION;case"subscription":return d.ku.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(h.PAREN_L,this.parseVariableDefinition,h.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:f.h.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(
vendor: 10,729 bytes, line 1
1h.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(h.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const e=this._lexer.token;return this.expectToken(h.DOLLAR),this.node(e,{kind:f.h.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:f.h.SELECTION_SET,selections:this.many(h.BRACE_L,this.parseSelection,h.BRACE_R)})}parseSelection(){return this.peek(h.SPREAD)?this.parseFragment():this.parseField()}parseField(){const e=this._lexer.token,t=this.parseName();let n,r;return this.expectOptionalToken(h.COLON)?(n=t,r=this.parseName()):r=t,this.node(e,{kind:f.h.FIELD,alias:n,name:r,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(h.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){const t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(h.PAREN_L,t,h.PAREN_R)}parseArgument(e=!1){const t=this._lexer.token,n=this.parseName();return this.expectToken(h.COLON),this.node(t,{kind:f.h.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const e=this._lexer.token;this.expectToken(h.SPREAD);const t=this.expectOptionalKeyword("on");return!t&&this.peek(h.NAME)?this.node(e,{kind:f.h.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:f.h.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:f.h.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:f.h.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 h.BRACKET_L:return this.parseList(e);case h.BRACE_L:return this.parseObject(e);case h.INT:return this.advanceLexer(),this.node(t,{kind:f.h.INT,value:t.value});case h.FLOAT:return this.advanceLexer(),this.node(t,{kind:f.h.FLOAT,value:t.value});case h.STRING:case h.BLOCK_STRING:return this.parseStringLiteral();case h.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:f.h.BOOLEAN,value:!0});case"false":return this.node(t,{kind:f.h.BOOLEAN,value:!1});case"null":return this.node(t,{kind:f.h.NULL});default:return this.node(t,{kind:f.h.ENUM,value:t.value})}case h.DOLLAR:if(e){if(this.expectToken(h.DOLLAR),this._lexer.token.kind===h.NAME){const e=this._lexer.token.value;throw l(this._lexer.source,t.start,`Unexpected variable "$${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:f.h.STRING,value:e.value,block:e.kind===h.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:f.h.LIST,values:this.any(h.BRACKET_L,(()=>this.parseValueLiteral(e)),h.BRACKET_R)})}parseObject(e){return this.node(this._lexer.token,{kind:f.h.OBJECT,fields:this.any(h.BRACE_L,(()=>this.parseObjectField(e)),h.BRACE_R)})}parseObjectField(e){const t=this._lexer.token,n=this.parseName();return this.expectToken(h.COLON),this.node(t,{kind:f.h.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){const t=[];for(;this.peek(h.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){const t=this._lexer.token;return this.expectToken(h.AT),this.node(t,{kind:f.h.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){const e=this._lexer.token;let t;if(this.expectOptionalToken(h.BRACKET_L)){const n=this.parseTypeReference();this.expectToken(h.BRACKET_R),t=this.node(e,{kind:f.h.LIST_TYPE,type:n})}else t=this.parseNamedType();return this.expectOptionalToken(h.BANG)?this.node(e,{kind:f.h.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:f.h.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(h.STRING)||this.peek(h.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(h.BRACE_L,this.parseOperationTypeDefinition,h.BRACE_R);return this.node(e,{kind:f.h.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r})}parseOperationTypeDefinition(){const e=this._lexer.token,t=this.parseOperationType();this.expectToken(h.COLON);const n=this.parseNamedType();return this.node(e,{kind:f.h.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:f.h.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:f.h.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(h.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(h.BRACE_L,this.parseFieldDefinition,h.BRACE_R)}parseFieldDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(h.COLON);const i=this.parseTypeReference(),o=this.parseConstDirectives();return this.node(e,{kind:f.h.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:o})}parseArgumentDefs(){return this.optionalMany(h.PAREN_L,this.parseInputValueDef,h.PAREN_R)}parseInputValueDef(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(h.COLON);const r=this.parseTypeReference();let i;this.expectOptionalToken(h.EQUALS)&&(i=this.parseConstValueLiteral());const o=this.parseConstDirectives();return this.node(e,{kind:f.h.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:f.h.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:f.h.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(h.EQUALS)?this.delimitedMany(h.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:f.h.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i})}parseEnumValuesDefinition(){return this.optionalMany(h.BRACE_L,this.parseEnumValueDefinition,h.BRACE_R)}parseEnumValueDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(e,{kind:f.h.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 l(this._lexer.source,this._lexer.token.start,`${$(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:f.h.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(h.BRACE_L,this.parseInputValueDef,h.BRACE_R)}parseTypeSystemExtension(){const e=this._lexer.lookahead();if(e.kind===h.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(h.BRACE_L,this.parseOperationTypeDefinition,h.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:f.h.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:f.h.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:f.h.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();
1return this.node(e,{kind:f.h.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:f.h.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:f.h.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:f.h.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r})}parseDirectiveDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(h.AT);const n=this.parseName(),r=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const o=this.parseDirectiveLocations();return this.node(e,{kind:f.h.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:i,locations:o})}parseDirectiveLocations(){return this.delimitedMany(h.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(p,t.value))return t;throw this.unexpected(e)}node(e,t){return!0!==this._options.noLocation&&(t.loc=new d.Ye(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 l(this._lexer.source,t.start,`Expected ${Y(e)}, found ${$(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){const t=this._lexer.token;if(t.kind!==h.NAME||t.value!==e)throw l(this._lexer.source,t.start,`Expected "${e}", found ${$(t)}.`);this.advanceLexer()}expectOptionalKeyword(e){const t=this._lexer.token;return t.kind===h.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){const t=null!==e&&void 0!==e?e:this._lexer.token;return l(this._lexer.source,t.start,`Unexpected ${$(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!==h.EOF&&(++this._tokenCounter,this._tokenCounter>e))throw l(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function $(e){const t=e.value;return Y(e.kind)+(null!=t?` "${t}"`:"")}function Y(e){return function(e){return e===h.BANG||e===h.DOLLAR||e===h.AMP||e===h.PAREN_L||e===h.PAREN_R||e===h.SPREAD||e===h.COLON||e===h.EQUALS||e===h.AT||e===h.BRACKET_L||e===h.BRACKET_R||e===h.BRACE_L||e===h.PIPE||e===h.BRACE_R}(e)?`"${e}"`:e}},2938:function(e,t,n){"use strict";n.r(t),n.d(t,{print:function(){return f}});var r=n(7392);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"];var a=n(7826),u=n(5821),c=n(2380),l=n(7359);const p=Object.freeze({});function d(e,t,n=c.h8){const r=new Map;for(const a of Object.values(l.h))r.set(a,h(t,a));let i,o,s,d=Array.isArray(e),f=[e],v=-1,y=[],m=e;const E=[],b=[];do{v++;const e=v===f.length,l=e&&0!==y.length;if(e){if(o=0===b.length?void 0:E[E.length-1],m=s,s=b.pop(),l)if(d){m=m.slice();let e=0;for(const[t,n]of y){const r=t-e;null===n?(m.splice(r,1),e++):m[r]=n}}else{m=Object.defineProperties({},Object.getOwnPropertyDescriptors(m));for(const[e,t]of y)m[e]=t}v=i.index,f=i.keys,y=i.edits,d=i.inArray,i=i.prev}else if(s){if(o=d?v:f[v],m=s[o],null===m||void 0===m)continue;E.push(o)}let h;
1if(!Array.isArray(m)){var T,g;(0,c.UG)(m)||(0,a.a)(!1,`Invalid AST Node: ${(0,u.X)(m)}.`);const n=e?null===(T=r.get(m.kind))||void 0===T?void 0:T.leave:null===(g=r.get(m.kind))||void 0===g?void 0:g.enter;if(h=null===n||void 0===n?void 0:n.call(t,m,o,s,E,b),h===p)break;if(!1===h){if(!e){E.pop();continue}}else if(void 0!==h&&(y.push([o,h]),!e)){if(!(0,c.UG)(h)){E.pop();continue}m=h}}var O;if(void 0===h&&l&&y.push([o,m]),e)E.pop();else i={inArray:d,index:v,keys:f,edits:y,prev:i},d=Array.isArray(m),f=d?m:null!==(O=n[m.kind])&&void 0!==O?O:[],v=-1,y=[],s&&b.push(s),s=m}while(void 0!==i);return 0!==y.length?y[y.length-1][1]:e}function h(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 f(e){return d(e,v)}const v={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>y(e.definitions,"\n\n")},OperationDefinition:{leave(e){const t=E("(",y(e.variableDefinitions,", "),")"),n=y([e.operation,y([e.name,t]),y(e.directives," ")]," ");return("query"===n?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r})=>e+": "+t+E(" = ",n)+E(" ",y(r," "))},SelectionSet:{leave:({selections:e})=>m(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:i}){const o=E("",e,": ")+t;let s=o+E("(",y(n,", "),")");return s.length>80&&(s=o+E("(\n",b(y(n,"\n")),"\n)")),y([s,y(r," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+E(" ",y(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>y(["...",E("on ",e),y(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:i})=>`fragment ${e}${E("(",y(n,", "),")")} on ${t} ${E("",y(r," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?(0,r.LZ)(e):`"${e.replace(i,o)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+y(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+y(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+E("(",y(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>E("",e,"\n")+y(["schema",y(t," "),m(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>E("",e,"\n")+y(["scalar",t,y(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>E("",e,"\n")+y(["type",t,E("implements ",y(n," & ")),y(r," "),m(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:i})=>E("",e,"\n")+t+(T(n)?E("(\n",b(y(n,"\n")),"\n)"):E("(",y(n,", "),")"))+": "+r+E(" ",y(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:i})=>E("",e,"\n")+y([t+": "+n,E("= ",r),y(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>E("",e,"\n")+y(["interface",t,E("implements ",y(n," & ")),y(r," "),m(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>E("",e,"\n")+y(["union",t,y(n," "),E("= ",y(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>E("",e,"\n")+y(["enum",t,y(n," "),m(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>E("",e,"\n")+y([t,y(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>E("",e,"\n")+y(["input",t,y(n," "),m(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:r,locations:i})=>E("",e,"\n")+"directive @"+t+(T(n)?E("(\n",b(y(n,"\n")),"\n)"):E("(",y(n,", "),")"))+(r?" repeatable":"")+" on "+y(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>y(["extend schema",y(e," "),m(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>y(["extend scalar",e,y(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>
1y(["extend type",e,E("implements ",y(t," & ")),y(n," "),m(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>y(["extend interface",e,E("implements ",y(t," & ")),y(n," "),m(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>y(["extend union",e,y(t," "),E("= ",y(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>y(["extend enum",e,y(t," "),m(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>y(["extend input",e,y(t," "),m(n)]," ")}};function y(e,t=""){var n;return null!==(n=null===e||void 0===e?void 0:e.filter((e=>e)).join(t))&&void 0!==n?n:""}function m(e){return E("{\n",b(y(e,"\n")),"\n}")}function E(e,t,n=""){return null!=t&&""!==t?e+t+n:""}function b(e){return E("  ",e.replace(/\n/g,"\n  "))}function T(e){var t;return null!==(t=null===e||void 0===e?void 0:e.some((e=>e.includes("\n"))))&&void 0!==t&&t}},8100:function(e,t,n){"use strict";n.d(t,{ZP:function(){return z}});var r=n(7294);function i(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{u(r.next(e))}catch(t){o(t)}}function a(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))}function o(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=(i=s.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(a){o=[6,a],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}var s,a=function(){},u=a(),c=Object,l=function(e){return e===u},p=function(e){return"function"==typeof e},d=function(e,t){return c.assign({},e,t)},h="undefined",f=function(){return typeof window!=h},v=new WeakMap,y=0,m=function(e){var t,n,r=typeof e,i=e&&e.constructor,o=i==Date;if(c(e)!==e||o||i==RegExp)t=o?e.toJSON():"symbol"==r?e.toString():"string"==r?JSON.stringify(e):""+e;else{if(t=v.get(e))return t;if(t=++y+"~",v.set(e,t),i==Array){for(t="@",n=0;n<e.length;n++)t+=m(e[n])+",";v.set(e,t)}if(i==c){t="#";for(var s=c.keys(e).sort();!l(n=s.pop());)l(e[n])||(t+=n+":"+m(e[n])+",");v.set(e,t)}}return t},E=!0,b=f(),T=typeof document!=h,g=b&&window.addEventListener?window.addEventListener.bind(window):a,O=T?document.addEventListener.bind(document):a,N=b&&window.removeEventListener?window.removeEventListener.bind(window):a,x=T?document.removeEventListener.bind(document):a,_={isOnline:function(){return E},isVisible:function(){var e=T&&document.visibilityState;return l(e)||"hidden"!==e}},A={initFocus:function(e){return O("visibilitychange",e),g("focus",e),function(){x("visibilitychange",e),N("focus",e)}},initReconnect:function(e){var t=function(){E=!0,e()},n=function(){E=!1};return g("online",t),g("offline",n),function(){N("online",t),N("offline",n
1)}}},I=!f()||"Deno"in window,D=function(e){return f()&&typeof window.requestAnimationFrame!=h?window.requestAnimationFrame(e):setTimeout(e,1)},w=I?r.useEffect:r.useLayoutEffect,k="undefined"!==typeof navigator&&navigator.connection,S=!I&&k&&(["slow-2g","2g"].includes(k.effectiveType)||k.saveData),R=function(e){if(p(e))try{e=e()}catch(n){e=""}var t=[].concat(e);return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?m(e):"",t,e?"$swr$"+e:""]},C=new WeakMap,L=function(e,t,n,r,i,o,s){void 0===s&&(s=!0);var a=C.get(e),u=a[0],c=a[1],l=a[3],p=u[t],d=c[t];if(s&&d)for(var h=0;h<d.length;++h)d[h](n,r,i);return o&&(delete l[t],p&&p[0])?p[0](2).then((function(){return e.get(t)})):e.get(t)},F=0,P=function(){return++F},B=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i(void 0,void 0,void 0,(function(){var t,n,r,i,s,a,c,h,f,v,y,m,E,b,T,g,O,N,x,_,A;return o(this,(function(o){switch(o.label){case 0:if(t=e[0],n=e[1],r=e[2],i=e[3],a=!!l((s="boolean"===typeof i?{revalidate:i}:i||{}).populateCache)||s.populateCache,c=!1!==s.revalidate,h=!1!==s.rollbackOnError,f=s.optimisticData,v=R(n),y=v[0],m=v[2],!y)return[2];if(E=C.get(t),b=E[2],e.length<3)return[2,L(t,y,t.get(y),u,u,c,!0)];if(T=r,O=P(),b[y]=[O,0],N=!l(f),x=t.get(y),N&&(_=p(f)?f(x):f,t.set(y,_),L(t,y,_)),p(T))try{T=T(t.get(y))}catch(I){g=I}return T&&p(T.then)?[4,T.catch((function(e){g=e}))]:[3,2];case 1:if(T=o.sent(),O!==b[y][0]){if(g)throw g;return[2,T]}g&&N&&h&&(a=!0,T=x,t.set(y,x)),o.label=2;case 2:return a&&(g||(p(a)&&(T=a(T,x)),t.set(y,T)),t.set(m,d(t.get(m),{error:g}))),b[y][1]=P(),[4,L(t,y,T,g,u,c,!!a)];case 3:if(A=o.sent(),g)throw g;return[2,a?A:T]}}))}))},U=function(e,t){for(var n in e)e[n][0]&&e[n][0](t)},M=function(e,t){if(!C.has(e)){var n=d(A,t),r={},i=B.bind(u,e),o=a;if(C.set(e,[r,{},{},{},i]),!I){var s=n.initFocus(setTimeout.bind(u,U.bind(u,r,0))),c=n.initReconnect(setTimeout.bind(u,U.bind(u,r,1)));o=function(){s&&s(),c&&c(),C.delete(e)}}return[e,i,o]}return[e,C.get(e)[4]]},j=M(new Map),q=j[0],V=j[1],G=d({onLoadingSlow:a,onSuccess:a,onError:a,onErrorRetry:function(e,t,n,r,i){var o=n.errorRetryCount,s=i.retryCount,a=~~((Math.random()+.5)*(1<<(s<8?s:8)))*n.errorRetryInterval;!l(o)&&s>o||setTimeout(r,a,i)},onDiscarded:a,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:S?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:S?5e3:3e3,compare:function(e,t){return m(e)==m(t)},isPaused:function(){return!1},cache:q,mutate:V,fallback:{}},_),K=function(e,t){var n=d(e,t);if(t){var r=e.use,i=e.fallback,o=t.use,s=t.fallback;r&&o&&(n.use=r.concat(o)),i&&s&&(n.fallback=d(i,s))}return n},$=(0,r.createContext)({}),Y=function(e){return p(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}]},J=function(){return d(G,(0,r.useContext)($))},H=function(e,t,n){var r=t[e]||(t[e]=[]);return r.push(n),function(){var e=r.indexOf(n);e>=0&&(r[e]=r[r.length-1],r.pop())}},Q={dedupe:!0},z=(c.defineProperty((function(e){var t=e.value,n=K((0,r.useContext)($),t),i=t&&t.provider,o=(0,r.useState)((function(){return i?M(i(n.cache||q),t):u}))[0];return o&&(n.cache=o[0],n.mutate=o[1]),w((function(){return o?o[2]:u}),[]),(0,r.createElement)($.Provider,d(e,{value:n}))}),"default",{value:G}),s=function(e,t,n){var s=n.cache,a=n.compare,c=n.fallbackData,h=n.suspense,f=n.revalidateOnMount,v=n.refreshInterval,y=n.refreshWhenHidden,m=n.refreshWhenOffline,E=C.get(s),b=E[0],T=E[1],g=E[2],O=E[3],N=R(e),x=N[0],_=N[1],A=N[2],k=(0,r.useRef)(!1),S=(0,r.useRef)(!1),F=(0,r.useRef)(x),U=(0,r.useRef)(t),M=(0,r.useRef)(n),j=function(){return M.current},q=function(){return j().isVisible()&&j().isOnline()},V=function(e){return s.set(A,d(s.get(A),e))},G=s.get(x),K=l(c)?n.fallback[x]:c,$=l(G)?K:G,Y=s.get(A)||{},J=Y.error,z=!k.current,X=function(){return z&&!l(f)?f:!j().isPaused()&&(h?!l($)&&n.revalidateIfStale:l($)||n.revalidateIfStale)},W=!(!x||!t)&&(!!Y.isValidating||z&&X()),Z=function(e,t){var n=(0,r.useState)({})[1],i=(0,r.useRef)(e),o=(0,r.useRef)({data:!1,error:!1,isValidating:!1}),s=(0,r.useCallback)((function(e){var r=!1,s=i.current;for(var a in e){var u=a;s[u]!==e[u]&&(s[u]=e[u],o.current[u]&&(r=!0))}r&&!t.current&&n({})}),[]);return w((function(){i.current=e})),[i,o.current,s]}({data:$,error:J,isValidating:W},S),ee=Z[0],te=Z[1],ne=Z[2],re=(0,r.useCallback)((function(e){return i(void 0,void 0,void 0,(function(){var t,r,i,c,d,h,f,v,y,m,E,b,T;return o(this,(function(o){switch(o.label){case 0:if(t=U.current,!x||!t||S.current||j().isPaused())return[2,!1];c=!0,d=e||{},h=!O[x]||!d.dedupe,f=function(){return!S.current&&x===F.current&&k.current},v=function(){var e=O[x];e&&e[1]===i&&delete O[x]},y={isValidating:!1},m=function(){V({isValidating:!1}),f()&&ne(y)},V({isValidating:!0}),ne({isValidating:!0}),o.label=1;case 1:return o.trys.push([1,3,,4]),h&&(L(s,x,ee.current.data,ee.current.error,!0),n.loadingTimeout&&!s.get(x)&&setTimeout((function(){c&&f()&&j().onLoadingSlow(x,n)}),n.loadingTimeout),O[x]=[t.apply(void 0,_),P()]),T=O[x],r=T[0],i=T[1],[4,r];case 2:return r=o.sent(),h&&setTimeout(v,n.dedupingInterval),O[x]&&O[x][1]===i?(V({error:u}),y.error=u,E=g[x],!l(E)&&(i<=E[0]||i<=E[1]||0===E[1])?(m(),h&&f()&&j().onDiscarded(x),[2,!1]):(a(ee.current.data,r)?y.data=ee.current.data:y.data=r,a(s.get(x),r)||s.set(x,r),h&&f()&&j().onSuccess(r,x,n),[3,4])):(h&&f()&&j().onDiscarded(x),[2,!1]);case 3:return b=o.sent(),v(),j().isPaused()||(V({error:b}),y.error=b,h&&f()&&(j().onError(b,x,n),("boolean"===typeof n.shouldRetryOnError&&n.shouldRetryOnError||p(n.shouldRetryOnError)&&n.shouldRetryOnError(b))&&q()&&j().onErrorRetry(b,x,n,re,{retryCount:(d.retryCount||0)+1,dedupe:!0}))),[3,4];case 4:return c=!1,m(),f()&&h&&L(s,x,y.data,y.error,!1),[2,!0]}}))}))}),[x]),ie=(0,r.useCallback)(B.bind(u,s,(function(){return F.current})),[]);if(w((function(){U.current=t,M.current=n})),w((function(){if(x){var e=x!==F.current,t=re.bind(u,Q),n=0,r=H(x,T,(function(e,t,n){ne(d({error:t,isValidating:n},a(ee.current.data,e)?u:{data:e}))})),i=H(x,b,(function(e){if(0==e){var r=Date.now();j().revalidateOnFocus&&r>n&&q()&&(n=r+j().focusThrottleInterval,t())}else if(1==e)j().revalidateOnReconnect&&q()&&t();else if(2==e)return re()}
1));return S.current=!1,F.current=x,k.current=!0,e&&ne({data:$,error:J,isValidating:W}),X()&&(l($)||I?t():D(t)),function(){S.current=!0,r(),i()}}}),[x,re]),w((function(){var e;function t(){var t=p(v)?v($):v;t&&-1!==e&&(e=setTimeout(n,t))}function n(){ee.current.error||!y&&!j().isVisible()||!m&&!j().isOnline()?t():re(Q).then(t)}return t(),function(){e&&(clearTimeout(e),e=-1)}}),[v,y,m,re]),(0,r.useDebugValue)($),h&&l($)&&x)throw U.current=t,M.current=n,S.current=!1,l(J)?re(Q):J;return{mutate:ie,get data(){return te.data=!0,$},get error(){return te.error=!0,J},get isValidating(){return te.isValidating=!0,W}}},function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=J(),r=Y(e),i=r[0],o=r[1],a=r[2],u=K(n,a),c=s,l=u.use;if(l)for(var p=l.length;p-- >0;)c=l[p](c);return c(i,o||u.fetcher,u)})}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.