altair-static
Version:
Static package for altair graphql client
5 lines (4 loc) • 235 kB
JavaScript
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ef7fc831-7e69-5268-85ee-420007271761")}catch(e){}}();
import{b as Tc,c as Ac,d as kc,e as Ic,f as Nc}from"./chunk-GC5A67L5.js";import{a as Qo}from"./chunk-ANLTCLUB.js";import{Ia as Fc,Ja as Ze,d as Br}from"./chunk-PJ3NZ7HS.js";import{q as Bo,r as we,v as Vo,w as Cc,x as Rc}from"./chunk-ZYOLZTH5.js";import{c as qo,m as Uo,n as Kn,o as jo}from"./chunk-472WPQLO.js";import{e as N,f as Q,g as lt,h as jr,i as le}from"./chunk-B7YGBANW.js";var Hn={};lt(Hn,{__assign:()=>w,__asyncDelegator:()=>Bc,__asyncGenerator:()=>jc,__asyncValues:()=>Vc,__await:()=>rr,__awaiter:()=>Re,__classPrivateFieldGet:()=>Wc,__classPrivateFieldSet:()=>Hc,__createBinding:()=>Lc,__decorate:()=>Dc,__exportStar:()=>qc,__extends:()=>he,__generator:()=>Fe,__importDefault:()=>Gc,__importStar:()=>Kc,__makeTemplateObject:()=>Qc,__metadata:()=>Pc,__param:()=>Mc,__read:()=>Ko,__rest:()=>ve,__spread:()=>Uc,__spreadArrays:()=>De,__values:()=>Wn});function he(r,e){Gn(r,e);function t(){this.constructor=r}r.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}function ve(r,e){var t={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&e.indexOf(n)<0&&(t[n]=r[n]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(r);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(r,n[i])&&(t[n[i]]=r[n[i]]);return t}function Dc(r,e,t,n){var i=arguments.length,o=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(r,e,t,n);else for(var s=r.length-1;s>=0;s--)(a=r[s])&&(o=(i<3?a(o):i>3?a(e,t,o):a(e,t))||o);return i>3&&o&&Object.defineProperty(e,t,o),o}function Mc(r,e){return function(t,n){e(t,n,r)}}function Pc(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}function Re(r,e,t,n){function i(o){return o instanceof t?o:new t(function(a){a(o)})}return new(t||(t=Promise))(function(o,a){function s(f){try{u(n.next(f))}catch(l){a(l)}}function c(f){try{u(n.throw(f))}catch(l){a(l)}}function u(f){f.done?o(f.value):i(f.value).then(s,c)}u((n=n.apply(r,e||[])).next())})}function Fe(r,e){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(u){return function(f){return c([u,f])}}function c(u){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,i&&(o=u[0]&2?i.return:u[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;switch(i=0,o&&(u=[u[0]&2,o.value]),u[0]){case 0:case 1:o=u;break;case 4:return t.label++,{value:u[1],done:!1};case 5:t.label++,i=u[1],u=[0];continue;case 7:u=t.ops.pop(),t.trys.pop();continue;default:if(o=t.trys,!(o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){t=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){t.label=u[1];break}if(u[0]===6&&t.label<o[1]){t.label=o[1],o=u;break}if(o&&t.label<o[2]){t.label=o[2],t.ops.push(u);break}o[2]&&t.ops.pop(),t.trys.pop();continue}u=e.call(r,t)}catch(f){u=[6,f],i=0}finally{n=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function Lc(r,e,t,n){n===void 0&&(n=t),r[n]=e[t]}function qc(r,e){for(var t in r)t!=="default"&&!e.hasOwnProperty(t)&&(e[t]=r[t])}function Wn(r){var e=typeof Symbol=="function"&&Symbol.iterator,t=e&&r[e],n=0;if(t)return t.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&n>=r.length&&(r=void 0),{value:r&&r[n++],done:!r}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ko(r,e){var t=typeof Symbol=="function"&&r[Symbol.iterator];if(!t)return r;var n=t.call(r),i,o=[],a;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(s){a={error:s}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(a)throw a.error}}return o}function Uc(){for(var r=[],e=0;e<arguments.length;e++)r=r.concat(Ko(arguments[e]));return r}function De(){for(var r=0,e=0,t=arguments.length;e<t;e++)r+=arguments[e].length;for(var n=Array(r),i=0,e=0;e<t;e++)for(var o=arguments[e],a=0,s=o.length;a<s;a++,i++)n[i]=o[a];return n}function rr(r){return this instanceof rr?(this.v=r,this):new rr(r)}function jc(r,e,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t.apply(r,e||[]),i,o=[];return i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i;function a(p){n[p]&&(i[p]=function(v){return new Promise(function(b,y){o.push([p,v,b,y])>1||s(p,v)})})}function s(p,v){try{c(n[p](v))}catch(b){l(o[0][3],b)}}function c(p){p.value instanceof rr?Promise.resolve(p.value.v).then(u,f):l(o[0][2],p)}function u(p){s("next",p)}function f(p){s("throw",p)}function l(p,v){p(v),o.shift(),o.length&&s(o[0][0],o[0][1])}}function Bc(r){var e,t;return e={},n("next"),n("throw",function(i){throw i}),n("return"),e[Symbol.iterator]=function(){return this},e;function n(i,o){e[i]=r[i]?function(a){return(t=!t)?{value:rr(r[i](a)),done:i==="return"}:o?o(a):a}:o}}function Vc(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=r[Symbol.asyncIterator],t;return e?e.call(r):(r=typeof Wn=="function"?Wn(r):r[Symbol.iterator](),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(o){t[o]=r[o]&&function(a){return new Promise(function(s,c){a=r[o](a),i(s,c,a.done,a.value)})}}function i(o,a,s,c){Promise.resolve(c).then(function(u){o({value:u,done:s})},a)}}function Qc(r,e){return Object.defineProperty?Object.defineProperty(r,"raw",{value:e}):r.raw=e,r}function Kc(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var t in r)Object.hasOwnProperty.call(r,t)&&(e[t]=r[t]);return e.default=r,e}function Gc(r){return r&&r.__esModule?r:{default:r}}function Wc(r,e){if(!e.has(r))throw new TypeError("attempted to get private field on non-instance");return e.get(r)}function Hc(r,e,t){if(!e.has(r))throw new TypeError("attempted to set private field on non-instance");return e.set(r,t),t}var Gn,w,$=N(()=>{"use strict";Gn=function(r,e){return Gn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)n.hasOwnProperty(i)&&(t[i]=n[i])},Gn(r,e)};w=function(){return w=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},w.apply(this,arguments)}});function j(r,e){if(!r)throw new H(e)}function Yn(r){return function(){if(Vr.indexOf(r)>=Jn)return console[r].apply(console,arguments)}}function Zn(r){var e=Vr[Jn];return Jn=Math.max(0,Vr.indexOf(r)),e}var zn,Go,zc,H,Vr,Jn,Up,ie=N(()=>{"use strict";jo();zn="Invariant Violation",Go=Object.setPrototypeOf,zc=Go===void 0?function(r,e){return r.__proto__=e,r}:Go,H=(function(r){Uo(e,r);function e(t){t===void 0&&(t=zn);var n=r.call(this,typeof t=="number"?zn+": "+t+" (see https://github.com/apollographql/invariant-packages)":t)||this;return n.framesToPop=1,n.name=zn,zc(n,e.prototype),n}return e})(Error);Vr=["log","warn","error","silent"],Jn=Vr.indexOf("log");(function(r){r.log=Yn("log"),r.warn=Yn("warn"),r.error=Yn("error")})(j||(j={}));Up=typeof process=="object"&&typeof process.env=="object"?process:{env:{}}});function Me(r,e){var t=r.directives;return!t||!t.length?!0:Xn(t).every(function(n){var i=n.directive,o=n.ifArgument,a=!1;return o.value.kind==="Variable"?(a=e&&e[o.value.name.value],j(a!==void 0,38)):a=o.value.value,i.name.value==="skip"?!a:a})}function $n(r){var e=[];return we(r,{Directive:function(t){e.push(t.name.value)}}),e}function $e(r,e){return $n(e).some(function(t){return r.indexOf(t)>-1})}function Qr(r){return r&&$e(["client"],r)&&$e(["export"],r)}function Yc(r){var e=r.name.value;return e==="skip"||e==="include"}function Xn(r){var e=[];return r&&r.length&&r.forEach(function(t){if(Yc(t)){var n=t.arguments,i=t.name.value;j(n&&n.length===1,39);var o=n[0];j(o.name&&o.name.value==="if",40);var a=o.value;j(a&&(a.kind==="Variable"||a.kind==="BooleanValue"),41),e.push({directive:t,ifArgument:o})}}),e}var Wo=N(()=>{"use strict";Ze();ie()});function Kr(r,e){var t=e,n=[];r.definitions.forEach(function(o){if(o.kind==="OperationDefinition")throw new H(42);o.kind==="FragmentDefinition"&&n.push(o)}),typeof t>"u"&&(j(n.length===1,43),t=n[0].name.value);var i=w(w({},r),{definitions:De([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:t}}]}}],r.definitions)});return i}function Pe(r){r===void 0&&(r=[]);var e={};return r.forEach(function(t){e[t.name.value]=t}),e}function Le(r,e){switch(r.kind){case"InlineFragment":return r;case"FragmentSpread":{var t=e&&e[r.name.value];return j(t,44),t}default:return null}}var Gr=N(()=>{"use strict";$();ie()});var zo=Q((Hp,Ho)=>{"use strict";Ho.exports=function(r,e){e||(e={}),typeof e=="function"&&(e={cmp:e});var t=typeof e.cycles=="boolean"?e.cycles:!1,n=e.cmp&&(function(o){return function(a){return function(s,c){var u={key:s,value:a[s]},f={key:c,value:a[c]};return o(u,f)}}})(e.cmp),i=[];return(function o(a){if(a&&a.toJSON&&typeof a.toJSON=="function"&&(a=a.toJSON()),a!==void 0){if(typeof a=="number")return isFinite(a)?""+a:"null";if(typeof a!="object")return JSON.stringify(a);var s,c;if(Array.isArray(a)){for(c="[",s=0;s<a.length;s++)s&&(c+=","),c+=o(a[s])||"null";return c+"]"}if(a===null)return"null";if(i.indexOf(a)!==-1){if(t)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var u=i.push(a)-1,f=Object.keys(a).sort(n&&n(a));for(c="",s=0;s<f.length;s++){var l=f[s],p=o(a[l]);p&&(c&&(c+=","),c+=JSON.stringify(l)+":"+p)}return i.splice(u,1),"{"+c+"}"}})(r)}});function Ee(r){return{__ref:String(r)}}function X(r){return!!(r&&typeof r=="object"&&typeof r.__ref=="string")}function Jc(r){return r.kind==="StringValue"}function Zc(r){return r.kind==="BooleanValue"}function $c(r){return r.kind==="IntValue"}function Xc(r){return r.kind==="FloatValue"}function ef(r){return r.kind==="Variable"}function tf(r){return r.kind==="ObjectValue"}function rf(r){return r.kind==="ListValue"}function nf(r){return r.kind==="EnumValue"}function of(r){return r.kind==="NullValue"}function He(r,e,t,n){if($c(t)||Xc(t))r[e.value]=Number(t.value);else if(Zc(t)||Jc(t))r[e.value]=t.value;else if(tf(t)){var i={};t.fields.map(function(a){return He(i,a.name,a.value,n)}),r[e.value]=i}else if(ef(t)){var o=(n||{})[t.name.value];r[e.value]=o}else if(rf(t))r[e.value]=t.values.map(function(a){var s={};return He(s,e,a,n),s[e.value]});else if(nf(t))r[e.value]=t.value;else if(of(t))r[e.value]=null;else throw new H(53)}function Wr(r,e){var t=null;r.directives&&(t={},r.directives.forEach(function(i){t[i.name.value]={},i.arguments&&i.arguments.forEach(function(o){var a=o.name,s=o.value;return He(t[i.name.value],a,s,e)})}));var n=null;return r.arguments&&r.arguments.length&&(n={},r.arguments.forEach(function(i){var o=i.name,a=i.value;return He(n,o,a,e)})),nr(r.name.value,n,t)}function nr(r,e,t){if(e&&t&&t.connection&&t.connection.key)if(t.connection.filter&&t.connection.filter.length>0){var n=t.connection.filter?t.connection.filter:[];n.sort();var i={};return n.forEach(function(s){i[s]=e[s]}),t.connection.key+"("+JSON.stringify(i)+")"}else return t.connection.key;var o=r;if(e){var a=(0,Yo.default)(e);o+="("+a+")"}return t&&Object.keys(t).forEach(function(s){af.indexOf(s)===-1&&(t[s]&&Object.keys(t[s]).length?o+="@"+s+"("+JSON.stringify(t[s])+")":o+="@"+s)}),o}function It(r,e){if(r.arguments&&r.arguments.length){var t={};return r.arguments.forEach(function(n){var i=n.name,o=n.value;return He(t,i,o,e)}),t}return null}function xe(r){return r.alias?r.alias.value:r.name.value}function ht(r,e,t){if(typeof r.__typename=="string")return r.__typename;for(var n=0,i=e.selections;n<i.length;n++){var o=i[n];if(ae(o)){if(o.name.value==="__typename")return r[xe(o)]}else{var a=ht(r,Le(o,t).selectionSet,t);if(typeof a=="string")return a}}}function ae(r){return r.kind==="Field"}function Nt(r){return r.kind==="InlineFragment"}var Yo,af,Hr=N(()=>{"use strict";Yo=jr(zo());ie();Gr();af=["connection","include","skip","client","rest","export"]});function Xe(r){j(r&&r.kind==="Document",45);var e=r.definitions.filter(function(t){return t.kind!=="FragmentDefinition"}).map(function(t){if(t.kind!=="OperationDefinition")throw new H(46);return t});return j(e.length<=1,47),r}function Ce(r){return Xe(r),r.definitions.filter(function(e){return e.kind==="OperationDefinition"})[0]}function pt(r){return r.definitions.filter(function(e){return e.kind==="OperationDefinition"&&e.name}).map(function(e){return e.name.value})[0]||null}function qe(r){return r.definitions.filter(function(e){return e.kind==="FragmentDefinition"})}function zr(r){var e=Ce(r);return j(e&&e.operation==="query",48),e}function Yr(r){j(r.kind==="Document",49),j(r.definitions.length<=1,50);var e=r.definitions[0];return j(e.kind==="FragmentDefinition",51),e}function et(r){Xe(r);for(var e,t=0,n=r.definitions;t<n.length;t++){var i=n[t];if(i.kind==="OperationDefinition"){var o=i.operation;if(o==="query"||o==="mutation"||o==="subscription")return i}i.kind==="FragmentDefinition"&&!e&&(e=i)}if(e)return e;throw new H(52)}function tt(r){var e=Object.create(null),t=r&&r.variableDefinitions;return t&&t.length&&t.forEach(function(n){n.defaultValue&&He(e,n.variable.name,n.defaultValue)}),e}var ei=N(()=>{"use strict";ie();Hr()});function ti(r,e,t){var n=0;return r.forEach(function(i,o){e.call(this,i,o,r)&&(r[n++]=i)},t),r.length=n,r}var Jo=N(()=>{"use strict"});function Xo(r,e){return r.selectionSet.selections.every(function(t){return t.kind==="FragmentSpread"&&Xo(e[t.name.value],e)})}function ri(r){return Xo(Ce(r)||Yr(r),Pe(qe(r)))?null:r}function Zo(r){return function(t){return r.some(function(n){return n.name&&n.name===t.name.value||n.test&&n.test(t)})}}function Jr(r,e){var t=Object.create(null),n=[],i=Object.create(null),o=[],a=ri(we(e,{Variable:{enter:function(s,c,u){u.kind!=="VariableDefinition"&&(t[s.name.value]=!0)}},Field:{enter:function(s){if(r&&s.directives){var c=r.some(function(u){return u.remove});if(c&&s.directives&&s.directives.some(Zo(r)))return s.arguments&&s.arguments.forEach(function(u){u.value.kind==="Variable"&&n.push({name:u.value.name.value})}),s.selectionSet&&ea(s.selectionSet).forEach(function(u){o.push({name:u.name.value})}),null}}},FragmentSpread:{enter:function(s){i[s.name.value]=!0}},Directive:{enter:function(s){if(Zo(r)(s))return null}}}));return a&&ti(n,function(s){return!!s.name&&!t[s.name]}).length&&(a=ni(n,a)),a&&ti(o,function(s){return!!s.name&&!i[s.name]}).length&&(a=ii(o,a)),a}function dt(r){return we(Xe(r),{SelectionSet:{enter:function(e,t,n){if(!(n&&n.kind==="OperationDefinition")){var i=e.selections;if(i){var o=i.some(function(s){return ae(s)&&(s.name.value==="__typename"||s.name.value.lastIndexOf("__",0)===0)});if(!o){var a=n;if(!(ae(a)&&a.directives&&a.directives.some(function(s){return s.name.value==="export"})))return w(w({},e),{selections:De(i,[$o])})}}}}}})}function Zr(r){return Jr([sf],Xe(r))}function uf(r){return function(t){return r.some(function(n){return t.value&&t.value.kind==="Variable"&&t.value.name&&(n.name===t.value.name.value||n.test&&n.test(t))})}}function ni(r,e){var t=uf(r);return ri(we(e,{OperationDefinition:{enter:function(n){return w(w({},n),{variableDefinitions:n.variableDefinitions?n.variableDefinitions.filter(function(i){return!r.some(function(o){return o.name===i.variable.name.value})}):[]})}},Field:{enter:function(n){var i=r.some(function(a){return a.remove});if(i){var o=0;if(n.arguments&&n.arguments.forEach(function(a){t(a)&&(o+=1)}),o===1)return null}}},Argument:{enter:function(n){if(t(n))return null}}}))}function ii(r,e){function t(n){if(r.some(function(i){return i.name===n.name.value}))return null}return ri(we(e,{FragmentSpread:{enter:t},FragmentDefinition:{enter:t}}))}function ea(r){var e=[];return r.selections.forEach(function(t){(ae(t)||Nt(t))&&t.selectionSet?ea(t.selectionSet).forEach(function(n){return e.push(n)}):t.kind==="FragmentSpread"&&e.push(t)}),e}function $r(r){var e=et(r),t=e.operation;if(t==="query")return r;var n=we(r,{OperationDefinition:{enter:function(i){return w(w({},i),{operation:"query"})}}});return n}function Xr(r){Xe(r);var e=Jr([{test:function(t){return t.name.value==="client"},remove:!0}],r);return e&&(e=we(e,{FragmentDefinition:{enter:function(t){if(t.selectionSet){var n=t.selectionSet.selections.every(function(i){return ae(i)&&i.name.value==="__typename"});if(n)return null}}}})),e}var $o,sf,ta=N(()=>{"use strict";$();Ze();ie();ei();Jo();Hr();Gr();$o={kind:"Field",name:{kind:"Name",value:"__typename"}};dt.added=function(r){return r===$o};sf={test:function(r){var e=r.name.value==="connection";return e&&(!r.arguments||r.arguments.some(function(t){return t.name.value==="key"})),e}}});function vt(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];return Ct(r)}function Ct(r){var e=r[0]||{},t=r.length;if(t>1)for(var n=new Rt,i=1;i<t;++i)e=n.merge(e,r[i]);return e}function en(r){return r!==null&&typeof r=="object"}var cf,ff,Rt,oi=N(()=>{"use strict";$();cf=Object.prototype.hasOwnProperty;ff=function(r,e,t){return this.merge(r[t],e[t])},Rt=(function(){function r(e){e===void 0&&(e=ff),this.reconciler=e,this.isObject=en,this.pastCopies=new Set}return r.prototype.merge=function(e,t){for(var n=this,i=[],o=2;o<arguments.length;o++)i[o-2]=arguments[o];return en(t)&&en(e)?(Object.keys(t).forEach(function(a){if(cf.call(e,a)){var s=e[a];if(t[a]!==s){var c=n.reconciler.apply(n,De([e,t,a],i));c!==s&&(e=n.shallowCopyForMerge(e),e[a]=c)}}else e=n.shallowCopyForMerge(e),e[a]=t[a]}),e):t},r.prototype.shallowCopyForMerge=function(e){return en(e)&&!this.pastCopies.has(e)&&(Array.isArray(e)?e=e.slice(0):e=w({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e)),e},r})()});function ra(r){return r===void 0&&(r=!1),{keyArgs:r,merge:function(e,t){return e?De(e,t):t}}}function na(r){return r===void 0&&(r=!1),{keyArgs:r,merge:function(e,t,n){var i=n.args,o=e?e.slice(0):[];if(i)for(var a=i.offset,s=a===void 0?0:a,c=0;c<t.length;++c)o[s+c]=t[c];else o.push.apply(o,t);return o}}}function ia(r){return r===void 0&&(r=!1),{keyArgs:r,read:function(e,t){var n=t.canRead,i=t.readField;if(e){var o=[],a="",s="";return e.edges.forEach(function(c){n(i("node",c))&&(o.push(c),c.cursor&&(a=a||c.cursor,s=c.cursor))}),w(w({},ai(e)),{edges:o,pageInfo:w(w({},e.pageInfo),{startCursor:a,endCursor:s})})}},merge:function(e,t,n){e===void 0&&(e=hf());var i=n.args,o=n.isReference,a=n.readField,s=t.edges?t.edges.map(function(O){return o(O=w({},O))&&(O.cursor=a("cursor",O)),O}):[];if(t.pageInfo){var c=t.pageInfo,u=c.startCursor,f=c.endCursor,l=s[0],p=s[s.length-1];l&&u&&(l.cursor=u),p&&f&&(p.cursor=f);var v=l&&l.cursor;v&&!u&&(t=vt(t,{pageInfo:{startCursor:v}}));var b=p&&p.cursor;b&&!f&&(t=vt(t,{pageInfo:{endCursor:b}}))}var y=e.edges,_=[];if(i&&i.after){var T=y.findIndex(function(O){return O.cursor===i.after});T>=0&&(y=y.slice(0,T+1))}else if(i&&i.before){var T=y.findIndex(function(M){return M.cursor===i.before});_=T<0?y:y.slice(T),y=[]}else t.edges&&(y=[]);var k=De(y,s,_),I=w(w({},t.pageInfo),e.pageInfo);if(t.pageInfo){var D=t.pageInfo,C=D.hasPreviousPage,F=D.hasNextPage,u=D.startCursor,f=D.endCursor,q=ve(D,["hasPreviousPage","hasNextPage","startCursor","endCursor"]);Object.assign(I,q),y.length||(C!==void 0&&(I.hasPreviousPage=C),u!==void 0&&(I.startCursor=u)),_.length||(F!==void 0&&(I.hasNextPage=F),f!==void 0&&(I.endCursor=f))}return w(w(w({},ai(e)),ai(t)),{edges:k,pageInfo:I})}}}function hf(){return{edges:[],pageInfo:{hasPreviousPage:!1,hasNextPage:!0,startCursor:"",endCursor:""}}}var ai,lf,oa=N(()=>{"use strict";$();$();oi();ai=function(r){return ve(r,lf)},lf=["edges","pageInfo"]});var fa=Q(on=>{"use strict";Object.defineProperty(on,"__esModule",{value:!0});on.Observable=void 0;function fi(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function aa(r,e){for(var t=0;t<e.length;t++){var n=e[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(r,n.key,n)}}function li(r,e,t){return e&&aa(r.prototype,e),t&&aa(r,t),r}var hi=function(){return typeof Symbol=="function"},pi=function(r){return hi()&&!!Symbol[r]},di=function(r){return pi(r)?Symbol[r]:"@@"+r};hi()&&!pi("observable")&&(Symbol.observable=Symbol("observable"));var pf=di("iterator"),ui=di("observable"),sa=di("species");function rn(r,e){var t=r[e];if(t!=null){if(typeof t!="function")throw new TypeError(t+" is not a function");return t}}function ir(r){var e=r.constructor;return e!==void 0&&(e=e[sa],e===null&&(e=void 0)),e!==void 0?e:nn}function df(r){return r instanceof nn}function Ft(r){Ft.log?Ft.log(r):setTimeout(function(){throw r})}function tn(r){Promise.resolve().then(function(){try{r()}catch(e){Ft(e)}})}function ua(r){var e=r._cleanup;if(e!==void 0&&(r._cleanup=void 0,!!e))try{if(typeof e=="function")e();else{var t=rn(e,"unsubscribe");t&&t.call(e)}}catch(n){Ft(n)}}function ci(r){r._observer=void 0,r._queue=void 0,r._state="closed"}function vf(r){var e=r._queue;if(e){r._queue=void 0,r._state="ready";for(var t=0;t<e.length&&(ca(r,e[t].type,e[t].value),r._state!=="closed");++t);}}function ca(r,e,t){r._state="running";var n=r._observer;try{var i=rn(n,e);switch(e){case"next":i&&i.call(n,t);break;case"error":if(ci(r),i)i.call(n,t);else throw t;break;case"complete":ci(r),i&&i.call(n);break}}catch(o){Ft(o)}r._state==="closed"?ua(r):r._state==="running"&&(r._state="ready")}function si(r,e,t){if(r._state!=="closed"){if(r._state==="buffering"){r._queue.push({type:e,value:t});return}if(r._state!=="ready"){r._state="buffering",r._queue=[{type:e,value:t}],tn(function(){return vf(r)});return}ca(r,e,t)}}var yf=(function(){function r(e,t){fi(this,r),this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var n=new mf(this);try{this._cleanup=t.call(void 0,n)}catch(i){n.error(i)}this._state==="initializing"&&(this._state="ready")}return li(r,[{key:"unsubscribe",value:function(){this._state!=="closed"&&(ci(this),ua(this))}},{key:"closed",get:function(){return this._state==="closed"}}]),r})(),mf=(function(){function r(e){fi(this,r),this._subscription=e}return li(r,[{key:"next",value:function(t){si(this._subscription,"next",t)}},{key:"error",value:function(t){si(this._subscription,"error",t)}},{key:"complete",value:function(){si(this._subscription,"complete")}},{key:"closed",get:function(){return this._subscription._state==="closed"}}]),r})(),nn=(function(){function r(e){if(fi(this,r),!(this instanceof r))throw new TypeError("Observable cannot be called as a function");if(typeof e!="function")throw new TypeError("Observable initializer must be a function");this._subscriber=e}return li(r,[{key:"subscribe",value:function(t){return(typeof t!="object"||t===null)&&(t={next:t,error:arguments[1],complete:arguments[2]}),new yf(t,this._subscriber)}},{key:"forEach",value:function(t){var n=this;return new Promise(function(i,o){if(typeof t!="function"){o(new TypeError(t+" is not a function"));return}function a(){s.unsubscribe(),i()}var s=n.subscribe({next:function(c){try{t(c,a)}catch(u){o(u),s.unsubscribe()}},error:o,complete:i})})}},{key:"map",value:function(t){var n=this;if(typeof t!="function")throw new TypeError(t+" is not a function");var i=ir(this);return new i(function(o){return n.subscribe({next:function(a){try{a=t(a)}catch(s){return o.error(s)}o.next(a)},error:function(a){o.error(a)},complete:function(){o.complete()}})})}},{key:"filter",value:function(t){var n=this;if(typeof t!="function")throw new TypeError(t+" is not a function");var i=ir(this);return new i(function(o){return n.subscribe({next:function(a){try{if(!t(a))return}catch(s){return o.error(s)}o.next(a)},error:function(a){o.error(a)},complete:function(){o.complete()}})})}},{key:"reduce",value:function(t){var n=this;if(typeof t!="function")throw new TypeError(t+" is not a function");var i=ir(this),o=arguments.length>1,a=!1,s=arguments[1],c=s;return new i(function(u){return n.subscribe({next:function(f){var l=!a;if(a=!0,!l||o)try{c=t(c,f)}catch(p){return u.error(p)}else c=f},error:function(f){u.error(f)},complete:function(){if(!a&&!o)return u.error(new TypeError("Cannot reduce an empty sequence"));u.next(c),u.complete()}})})}},{key:"concat",value:function(){for(var t=this,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];var a=ir(this);return new a(function(s){var c,u=0;function f(l){c=l.subscribe({next:function(p){s.next(p)},error:function(p){s.error(p)},complete:function(){u===i.length?(c=void 0,s.complete()):f(a.from(i[u++]))}})}return f(t),function(){c&&(c.unsubscribe(),c=void 0)}})}},{key:"flatMap",value:function(t){var n=this;if(typeof t!="function")throw new TypeError(t+" is not a function");var i=ir(this);return new i(function(o){var a=[],s=n.subscribe({next:function(u){if(t)try{u=t(u)}catch(l){return o.error(l)}var f=i.from(u).subscribe({next:function(l){o.next(l)},error:function(l){o.error(l)},complete:function(){var l=a.indexOf(f);l>=0&&a.splice(l,1),c()}});a.push(f)},error:function(u){o.error(u)},complete:function(){c()}});function c(){s.closed&&a.length===0&&o.complete()}return function(){a.forEach(function(u){return u.unsubscribe()}),s.unsubscribe()}})}},{key:ui,value:function(){return this}}],[{key:"from",value:function(t){var n=typeof this=="function"?this:r;if(t==null)throw new TypeError(t+" is not an object");var i=rn(t,ui);if(i){var o=i.call(t);if(Object(o)!==o)throw new TypeError(o+" is not an object");return df(o)&&o.constructor===n?o:new n(function(a){return o.subscribe(a)})}if(pi("iterator")&&(i=rn(t,pf),i))return new n(function(a){tn(function(){if(!a.closed){var s=!0,c=!1,u=void 0;try{for(var f=i.call(t)[Symbol.iterator](),l;!(s=(l=f.next()).done);s=!0){var p=l.value;if(a.next(p),a.closed)return}}catch(v){c=!0,u=v}finally{try{!s&&f.return!=null&&f.return()}finally{if(c)throw u}}a.complete()}})});if(Array.isArray(t))return new n(function(a){tn(function(){if(!a.closed){for(var s=0;s<t.length;++s)if(a.next(t[s]),a.closed)return;a.complete()}})});throw new TypeError(t+" is not observable")}},{key:"of",value:function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];var o=typeof this=="function"?this:r;return new o(function(a){tn(function(){if(!a.closed){for(var s=0;s<n.length;++s)if(a.next(n[s]),a.closed)return;a.complete()}})})}},{key:sa,get:function(){return this}}]),r})();on.Observable=nn;hi()&&Object.defineProperty(nn,Symbol("extensions"),{value:{symbol:ui,hostReportError:Ft},configurable:!0})});var ha=Q((md,la)=>{"use strict";la.exports=fa().Observable});function vi(r){var e,t=r.Symbol;if(typeof t=="function")if(t.observable)e=t.observable;else{typeof t.for=="function"?e=t.for("https://github.com/benlesh/symbol-observable"):e=t("https://github.com/benlesh/symbol-observable");try{t.observable=e}catch{}}else e="@@observable";return e}var pa=N(()=>{"use strict"});var Dt,_d,da=N(()=>{"use strict";pa();typeof self<"u"?Dt=self:typeof window<"u"?Dt=window:typeof global<"u"?Dt=global:typeof module<"u"?Dt=module:Dt=Function("return this")();_d=vi(Dt)});var B,va,ya,or=N(()=>{"use strict";B=jr(ha());da();va=B.default.prototype,ya="@@observable";va[ya]||(va[ya]=function(){return this})});function mi(r){return yi(r)}function yi(r,e){switch(gf.call(r)){case"[object Array]":{if(e=e||new Map,e.has(r))return e.get(r);var t=r.slice(0);return e.set(r,t),t.forEach(function(i,o){t[o]=yi(i,e)}),t}case"[object Object]":{if(e=e||new Map,e.has(r))return e.get(r);var n=Object.create(Object.getPrototypeOf(r));return e.set(r,n),Object.keys(r).forEach(function(i){n[i]=yi(r[i],e)}),n}default:return r}}var gf,ma=N(()=>{"use strict";gf=Object.prototype.toString});function ga(r){return r}var ba=N(()=>{"use strict"});function rt(r,e,t){var n=[];r.forEach(function(i){return i[e]&&n.push(i)}),n.forEach(function(i){return i[e](t)})}var gi=N(()=>{"use strict"});function an(r,e,t){return new B.default(function(n){var i=n.next,o=n.error,a=n.complete,s=0,c=!1,u={then:function(v){return new Promise(function(b){return b(v())})}};function f(v,b){return v?function(y){++s;var _=function(){return v(y)};u=u.then(_,_).then(function(T){--s,i&&i.call(n,T),c&&l.complete()},function(T){throw--s,T}).catch(function(T){o&&o.call(n,T)})}:function(y){return b&&b.call(n,y)}}var l={next:f(e,i),error:f(t,o),complete:function(){c=!0,s||a&&a.call(n)}},p=r.subscribe(l);return function(){return p.unsubscribe()}})}var _a=N(()=>{"use strict";or()});function ar(r){function e(t){Object.defineProperty(r,t,{value:B.default})}return typeof Symbol=="function"&&Symbol.species&&e(Symbol.species),e("@@species"),r}var bi=N(()=>{"use strict";or()});function wa(r){return r&&typeof r.then=="function"}var yt,Ea=N(()=>{"use strict";$();or();gi();bi();yt=(function(r){he(e,r);function e(t){var n=r.call(this,function(i){return n.addObserver(i),function(){return n.removeObserver(i)}})||this;return n.observers=new Set,n.addCount=0,n.promise=new Promise(function(i,o){n.resolve=i,n.reject=o}),n.handlers={next:function(i){n.sub!==null&&(n.latest=["next",i],rt(n.observers,"next",i))},error:function(i){var o=n.sub;o!==null&&(o&&Promise.resolve().then(function(){return o.unsubscribe()}),n.sub=null,n.latest=["error",i],n.reject(i),rt(n.observers,"error",i))},complete:function(){if(n.sub!==null){var i=n.sources.shift();i?wa(i)?i.then(function(o){return n.sub=o.subscribe(n.handlers)}):n.sub=i.subscribe(n.handlers):(n.sub=null,n.latest&&n.latest[0]==="next"?n.resolve(n.latest[1]):n.resolve(),rt(n.observers,"complete"))}}},n.cancel=function(i){n.reject(i),n.sources=[],n.handlers.complete()},n.promise.catch(function(i){}),typeof t=="function"&&(t=[new B.default(t)]),wa(t)?t.then(function(i){return n.start(i)},n.handlers.error):n.start(t),n}return e.prototype.start=function(t){this.sub===void 0&&(this.sources=Array.from(t),this.handlers.complete())},e.prototype.deliverLastMessage=function(t){if(this.latest){var n=this.latest[0],i=t[n];i&&i.call(t,this.latest[1]),this.sub===null&&n==="next"&&t.complete&&t.complete()}},e.prototype.addObserver=function(t){this.observers.has(t)||(this.deliverLastMessage(t),this.observers.add(t),++this.addCount)},e.prototype.removeObserver=function(t,n){this.observers.delete(t)&&--this.addCount<1&&!n&&this.handlers.error(new Error("Observable cancelled prematurely"))},e.prototype.cleanup=function(t){var n=this,i=!1,o=function(){i||(i=!0,n.observers.delete(a),t())},a={next:o,error:o,complete:o},s=this.addCount;this.addObserver(a),this.addCount=s},e})(B.default);ar(yt)});function Ue(r){return Array.isArray(r)&&r.length>0}var Sa=N(()=>{"use strict"});function mt(r){return r.errors&&r.errors.length>0||!1}var xa=N(()=>{"use strict"});var je,Oa=N(()=>{"use strict";je=typeof WeakMap=="function"&&!(typeof navigator=="object"&&navigator.product==="ReactNative")});function sr(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];var t=Object.create(null);return r.forEach(function(n){n&&Object.keys(n).forEach(function(i){var o=n[i];o!==void 0&&(t[i]=o)})}),t}var Ta=N(()=>{"use strict"});var _i={};lt(_i,{Concast:()=>yt,DeepMerger:()=>Rt,Observable:()=>B.default,addTypenameToDocument:()=>dt,argumentsObjectFromField:()=>It,asyncMap:()=>an,buildQueryFromSelectionSet:()=>$r,canUseWeakMap:()=>je,checkDocument:()=>Xe,cloneDeep:()=>mi,compact:()=>sr,concatPagination:()=>ra,createFragmentMap:()=>Pe,fixObservableSubclass:()=>ar,getDefaultValues:()=>tt,getDirectiveNames:()=>$n,getFragmentDefinition:()=>Yr,getFragmentDefinitions:()=>qe,getFragmentFromSelection:()=>Le,getFragmentQueryDocument:()=>Kr,getInclusionDirectives:()=>Xn,getMainDefinition:()=>et,getOperationDefinition:()=>Ce,getOperationName:()=>pt,getQueryDefinition:()=>zr,getStoreKeyName:()=>nr,getTypenameFromResult:()=>ht,graphQLResultHasError:()=>mt,hasClientExports:()=>Qr,hasDirectives:()=>$e,isField:()=>ae,isInlineFragment:()=>Nt,isNonEmptyArray:()=>Ue,isReference:()=>X,iterateObserversSafely:()=>rt,makeReference:()=>Ee,maybeDeepFreeze:()=>ga,mergeDeep:()=>vt,mergeDeepArray:()=>Ct,offsetLimitPagination:()=>na,relayStylePagination:()=>ia,removeArgumentsFromDocument:()=>ni,removeClientSetsFromDocument:()=>Xr,removeConnectionDirectiveFromDocument:()=>Zr,removeDirectivesFromDocument:()=>Jr,removeFragmentSpreadFromDocument:()=>ii,resultKeyNameFromField:()=>xe,shouldInclude:()=>Me,storeKeyNameFromField:()=>Wr,valueToObjectRepresentation:()=>He});var te=N(()=>{"use strict";Wo();Gr();ei();Hr();ta();oa();or();oi();ma();ba();gi();_a();Ea();bi();Sa();xa();Oa();Ta()});function Mt(r){return new B.default(function(e){e.error(r)})}var Aa=N(()=>{"use strict";te()});function wi(r){var e=!1;return new Promise(function(t,n){r.subscribe({next:function(i){e||(e=!0,t(i))},error:n})})}var ka=N(()=>{"use strict";ie()});function Ei(r){return new B.default(function(e){r.then(function(t){e.next(t),e.complete()}).catch(e.error.bind(e))})}var Ia=N(()=>{"use strict";te()});var Pt,Na=N(()=>{"use strict";Pt=function(r,e,t){var n=new Error(t);throw n.name="ServerError",n.response=r,n.statusCode=r.status,n.result=e,n}});function Si(r){for(var e=["query","operationName","variables","extensions","context"],t=0,n=Object.keys(r);t<n.length;t++){var i=n[t];if(e.indexOf(i)<0)throw new H(26)}return r}var Ca=N(()=>{"use strict";ie()});function xi(r,e){var t=w({},r),n=function(o){typeof o=="function"?t=w(w({},t),o(t)):t=w(w({},t),o)},i=function(){return w({},t)};return Object.defineProperty(e,"setContext",{enumerable:!1,value:n}),Object.defineProperty(e,"getContext",{enumerable:!1,value:i}),e}var Ra=N(()=>{"use strict";$()});function Oi(r){var e={variables:r.variables||{},extensions:r.extensions||{},operationName:r.operationName,query:r.query};return e.operationName||(e.operationName=typeof e.query!="string"?pt(e.query)||void 0:""),e}var Fa=N(()=>{"use strict";te()});var ur=N(()=>{"use strict";Aa();ka();Ia();Na();Ca();Ra();Fa()});function Da(r,e){return e?e(r):B.default.of()}function cr(r){return typeof r=="function"?new re(r):r}function sn(r){return r.request.length<=1}var Cv,re,gt=N(()=>{"use strict";$();ie();te();ur();Cv=(function(r){he(e,r);function e(t,n){var i=r.call(this,t)||this;return i.link=n,i}return e})(Error),re=(function(){function r(e){e&&(this.request=e)}return r.empty=function(){return new r(function(){return B.default.of()})},r.from=function(e){return e.length===0?r.empty():e.map(cr).reduce(function(t,n){return t.concat(n)})},r.split=function(e,t,n){var i=cr(t),o=cr(n||new r(Da));return sn(i)&&sn(o)?new r(function(a){return e(a)?i.request(a)||B.default.of():o.request(a)||B.default.of()}):new r(function(a,s){return e(a)?i.request(a,s)||B.default.of():o.request(a,s)||B.default.of()})},r.execute=function(e,t){return e.request(xi(t.context,Oi(Si(t))))||B.default.of()},r.concat=function(e,t){var n=cr(e);if(sn(n))return n;var i=cr(t);return sn(i)?new r(function(o){return n.request(o,function(a){return i.request(a)||B.default.of()})||B.default.of()}):new r(function(o,a){return n.request(o,function(s){return i.request(s,a)||B.default.of()})||B.default.of()})},r.prototype.split=function(e,t,n){return this.concat(r.split(e,t,n||new r(Da)))},r.prototype.concat=function(e){return r.concat(this,e)},r.prototype.request=function(e,t){throw new H(21)},r.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},r.prototype.setOnError=function(e){return this.onError=e,this},r})()});var Ma,Pa=N(()=>{"use strict";gt();Ma=re.empty});var La,qa=N(()=>{"use strict";gt();La=re.from});var Ua,ja=N(()=>{"use strict";gt();Ua=re.split});var Ba,Va=N(()=>{"use strict";gt();Ba=re.concat});var bt,Qa=N(()=>{"use strict";gt();bt=re.execute});var Ka=N(()=>{"use strict"});var _t=N(()=>{"use strict";Pa();qa();ja();Va();Qa();gt();Ka()});var Ga,Wa=N(()=>{"use strict";Ga="3.3.20"});function fr(r){return function(e){return e.text().then(function(t){try{return JSON.parse(t)}catch(i){var n=i;throw n.name="ServerParseError",n.response=e,n.statusCode=e.status,n.bodyText=t,n}}).then(function(t){return e.status>=300&&Pt(e,t,"Response not successful: Received status code "+e.status),!Array.isArray(t)&&!Ha.call(t,"data")&&!Ha.call(t,"errors")&&Pt(e,t,"Server response was missing for query '"+(Array.isArray(r)?r.map(function(n){return n.operationName}):r.operationName)+"'."),t})}}var Ha,Ti=N(()=>{"use strict";ur();Ha=Object.prototype.hasOwnProperty});var nt,un=N(()=>{"use strict";ie();nt=function(r,e){var t;try{t=JSON.stringify(r)}catch(i){var n=new H(23);throw n.parseError=i,n}return t}});var bf,_f,wf,lr,hr,Ai=N(()=>{"use strict";$();Ze();bf={includeQuery:!0,includeExtensions:!1},_f={accept:"*/*","content-type":"application/json"},wf={method:"POST"},lr={http:bf,headers:_f,options:wf},hr=function(r,e){for(var t=[],n=2;n<arguments.length;n++)t[n-2]=arguments[n];var i=w(w({},e.options),{headers:e.headers,credentials:e.credentials}),o=e.http||{};t.forEach(function(l){i=w(w(w({},i),l.options),{headers:w(w({},i.headers),l.headers)}),l.credentials&&(i.credentials=l.credentials),o=w(w({},o),l.http)});var a=r.operationName,s=r.extensions,c=r.variables,u=r.query,f={operationName:a,variables:c};return o.includeExtensions&&(f.extensions=s),o.includeQuery&&(f.query=Vo(u)),{options:i,body:f}}});var pr,ki=N(()=>{"use strict";ie();pr=function(r){if(!r&&typeof fetch>"u")throw new H(22)}});var dr,Ii=N(()=>{"use strict";dr=function(){if(typeof AbortController>"u")return{controller:!1,signal:!1};var r=new AbortController,e=r.signal;return{controller:r,signal:e}}});var vr,Ni=N(()=>{"use strict";vr=function(r,e){var t=r.getContext(),n=t.uri;return n||(typeof e=="function"?e(r):e||"/graphql")}});function yr(r,e){var t=[],n=function(l,p){t.push(l+"="+encodeURIComponent(p))};if("query"in e&&n("query",e.query),e.operationName&&n("operationName",e.operationName),e.variables){var i=void 0;try{i=nt(e.variables,"Variables map")}catch(l){return{parseError:l}}n("variables",i)}if(e.extensions){var o=void 0;try{o=nt(e.extensions,"Extensions map")}catch(l){return{parseError:l}}n("extensions",o)}var a="",s=r,c=r.indexOf("#");c!==-1&&(a=r.substr(c),s=r.substr(0,c));var u=s.indexOf("?")===-1?"?":"&",f=s+u+t.join("&")+a;return{newURI:f}}var Ci=N(()=>{"use strict";un()});var mr,Ri=N(()=>{"use strict";$();Ze();_t();te();un();Ni();Ti();ki();Ai();Ii();Ci();ur();mr=function(r){r===void 0&&(r={});var e=r.uri,t=e===void 0?"/graphql":e,n=r.fetch,i=r.includeExtensions,o=r.useGETForQueries,a=r.includeUnusedVariables,s=a===void 0?!1:a,c=ve(r,["uri","fetch","includeExtensions","useGETForQueries","includeUnusedVariables"]);pr(n),n||(n=fetch);var u={http:{includeExtensions:i},options:c.fetchOptions,credentials:c.credentials,headers:c.headers};return new re(function(f){var l=vr(f,t),p=f.getContext(),v={};if(p.clientAwareness){var b=p.clientAwareness,y=b.name,_=b.version;y&&(v["apollographql-client-name"]=y),_&&(v["apollographql-client-version"]=_)}var T=w(w({},v),p.headers),k={http:p.http,options:p.fetchOptions,credentials:p.credentials,headers:T},I=hr(f,lr,u,k),D=I.options,C=I.body;if(C.variables&&!s){var F=new Set(Object.keys(C.variables));we(f.query,{Variable:function(A,S,R){R&&R.kind!=="VariableDefinition"&&F.delete(A.name.value)}}),F.size&&(C.variables=w({},C.variables),F.forEach(function(A){delete C.variables[A]}))}var q;if(!D.signal){var O=dr(),M=O.controller,U=O.signal;q=M,q&&(D.signal=U)}var h=function(A){return A.kind==="OperationDefinition"&&A.operation==="mutation"};if(o&&!f.query.definitions.some(h)&&(D.method="GET"),D.method==="GET"){var d=yr(l,C),m=d.newURI,x=d.parseError;if(x)return Mt(x);l=m}else try{D.body=nt(C,"Payload")}catch(A){return Mt(A)}return new B.default(function(A){return n(l,D).then(function(S){return f.setContext({response:S}),S}).then(fr(f)).then(function(S){return A.next(S),A.complete(),S}).catch(function(S){S.name!=="AbortError"&&(S.result&&S.result.errors&&S.result.data&&A.next(S.result),A.error(S))}),function(){q&&q.abort()}})})}});var gr,za=N(()=>{"use strict";$();_t();Ri();gr=(function(r){he(e,r);function e(t){t===void 0&&(t={});var n=r.call(this,mr(t).request)||this;return n.options=t,n}return e})(re)});var Ya={};lt(Ya,{HttpLink:()=>gr,checkFetcher:()=>pr,createHttpLink:()=>mr,createSignalIfSupported:()=>dr,fallbackHttpConfig:()=>lr,parseAndCheckHttpResponse:()=>fr,rewriteURIForGET:()=>yr,selectHttpOptionsAndBody:()=>hr,selectURI:()=>vr,serializeFetchParameter:()=>nt});var cn=N(()=>{"use strict";Ti();un();Ai();ki();Ii();Ni();Ri();za();Ci()});function ye(r,e){try{return Di(r,e)}finally{Fi.clear()}}function Di(r,e){if(r===e)return!0;var t=Ja.call(r),n=Ja.call(e);if(t!==n)return!1;switch(t){case"[object Array]":if(r.length!==e.length)return!1;case"[object Object]":{if(Xa(r,e))return!0;var i=$a(r),o=$a(e),a=i.length;if(a!==o.length)return!1;for(var s=0;s<a;++s)if(!Ef.call(e,i[s]))return!1;for(var s=0;s<a;++s){var c=i[s];if(!Di(r[c],e[c]))return!1}return!0}case"[object Error]":return r.name===e.name&&r.message===e.message;case"[object Number]":if(r!==r)return e!==e;case"[object Boolean]":case"[object Date]":return+r==+e;case"[object RegExp]":case"[object String]":return r==""+e;case"[object Map]":case"[object Set]":{if(r.size!==e.size)return!1;if(Xa(r,e))return!0;for(var u=r.entries(),f=t==="[object Map]";;){var l=u.next();if(l.done)break;var p=l.value,v=p[0],b=p[1];if(!e.has(v)||f&&!Di(b,e.get(v)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":r=new Uint8Array(r),e=new Uint8Array(e);case"[object DataView]":{var y=r.byteLength;if(y===e.byteLength)for(;y--&&r[y]===e[y];);return y===-1}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{var _=Za.call(r);return _!==Za.call(e)?!1:!Of(_,xf)}}return!1}function $a(r){return Object.keys(r).filter(Sf,r)}function Sf(r){return this[r]!==void 0}function Of(r,e){var t=r.length-e.length;return t>=0&&r.indexOf(e,t)===t}function Xa(r,e){var t=Fi.get(r);if(t){if(t.has(e))return!0}else Fi.set(r,t=new Set);return t.add(e),!1}var es,Ja,Ef,Za,Fi,xf,Lt=N(()=>{"use strict";es=Object.prototype,Ja=es.toString,Ef=es.hasOwnProperty,Za=Function.prototype.toString,Fi=new Map;xf="{ [native code] }"});function fn(r){return r.hasOwnProperty("graphQLErrors")}var Tf,ze,Mi=N(()=>{"use strict";$();te();Tf=function(r){var e="";return Ue(r.graphQLErrors)&&r.graphQLErrors.forEach(function(t){var n=t?t.message:"Error message not found.";e+=n+`
`}),r.networkError&&(e+=r.networkError.message+`
`),e=e.replace(/\n$/,""),e},ze=(function(r){he(e,r);function e(t){var n=t.graphQLErrors,i=t.networkError,o=t.errorMessage,a=t.extraInfo,s=r.call(this,o)||this;return s.graphQLErrors=n||[],s.networkError=i||null,s.message=o||Tf(s),s.extraInfo=a,s.__proto__=e.prototype,s}return e})(Error)});function it(r){return r?r<7:!1}var ee,qt=N(()=>{"use strict";ee=(function(r){return r[r.loading=1]="loading",r[r.setVariables=2]="setVariables",r[r.fetchMore=3]="fetchMore",r[r.refetch=4]="refetch",r[r.poll=6]="poll",r[r.ready=7]="ready",r[r.error=8]="error",r})(ee||{})});var ts,rs=N(()=>{"use strict";qt();te();ie();ts=(function(){function r(e,t,n,i){this.observer=e,this.options=t,this.fetch=n,this.shouldFetch=i}return r.prototype.reobserve=function(e,t){e?this.updateOptions(e):this.updatePolling();var n=this.fetch(this.options,t);return this.concast&&this.concast.removeObserver(this.observer,!0),n.addObserver(this.observer),(this.concast=n).promise},r.prototype.updateOptions=function(e){return Object.assign(this.options,sr(e)),this.updatePolling(),this},r.prototype.stop=function(){this.concast&&(this.concast.removeObserver(this.observer),delete this.concast),this.pollingInfo&&(clearTimeout(this.pollingInfo.timeout),this.options.pollInterval=0,this.updatePolling())},r.prototype.updatePolling=function(){var e=this,t=this,n=t.pollingInfo,i=t.options.pollInterval;if(!i){n&&(clearTimeout(n.timeout),delete this.pollingInfo);return}if(!(n&&n.interval===i)&&(j(i,20),this.shouldFetch!==!1)){var o=n||(this.pollingInfo={});o.interval=i;var a=function(){e.pollingInfo&&(e.shouldFetch&&e.shouldFetch()?e.reobserve({fetchPolicy:"network-only",nextFetchPolicy:e.options.fetchPolicy||"cache-first"},ee.poll).then(s,s):s())},s=function(){var c=e.pollingInfo;c&&(clearTimeout(c.timeout),c.timeout=setTimeout(a,c.interval))};s()}},r})()});function Af(r){}var br,Pi=N(()=>{"use strict";$();ie();Lt();qt();te();rs();br=(function(r){he(e,r);function e(t){var n=t.queryManager,i=t.queryInfo,o=t.options,a=r.call(this,function(c){return a.onSubscribe(c)})||this;a.observers=new Set,a.subscriptions=new Set,a.observer={next:function(c){(a.lastError||a.isDifferentFromLastResult(c))&&(a.updateLastResult(c),rt(a.observers,"next",c))},error:function(c){a.updateLastResult(w(w({},a.lastResult),{error:c,errors:c.graphQLErrors,networkStatus:ee.error,loading:!1})),rt(a.observers,"error",a.lastError=c)}},a.isTornDown=!1,a.options=o,a.queryId=n.generateQueryId();var s=Ce(o.query);return a.queryName=s&&s.name&&s.name.value,a.queryManager=n,a.queryInfo=i,a}return Object.defineProperty(e.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),e.prototype.result=function(){var t=this;return new Promise(function(n,i){var o={next:function(s){n(s),t.observers.delete(o),t.observers.size||t.queryManager.removeQuery(t.queryId),setTimeout(function(){a.unsubscribe()},0)},error:i},a=t.subscribe(o)})},e.prototype.getCurrentResult=function(t){t===void 0&&(t=!0);var n=this.lastResult,i=this.queryInfo.networkStatus||n&&n.networkStatus||ee.ready,o=w(w({},n),{loading:it(i),networkStatus:i});if(this.isTornDown)return o;var a=this.options.fetchPolicy,s=a===void 0?"cache-first":a;if(s==="no-cache"||s==="network-only")delete o.partial;else if(!o.data||!this.queryManager.transform(this.options.query).hasForcedResolvers){var c=this.queryInfo.getDiff();o.data=c.complete||this.options.returnPartialData?c.result:void 0,c.complete?(o.networkStatus===ee.loading&&(s==="cache-first"||s==="cache-only")&&(o.networkStatus=ee.ready,o.loading=!1),delete o.partial):o.partial=!0}return t&&this.updateLastResult(o),o},e.prototype.isDifferentFromLastResult=function(t){return!ye(this.lastResultSnapshot,t)},e.prototype.getLastResult=function(){return this.lastResult},e.prototype.getLastError=function(){return this.lastError},e.prototype.resetLastResults=function(){delete this.lastResult,delete this.lastResultSnapshot,delete this.lastError,this.isTornDown=!1},e.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},e.prototype.refetch=function(t){var n={pollInterval:0},i=this.options.fetchPolicy;return i!=="no-cache"&&i!=="cache-and-network"&&(n.fetchPolicy="network-only",n.nextFetchPolicy=i||"cache-first"),t&&!ye(this.options.variables,t)&&(n.variables=this.options.variables=w(w({},this.options.variables),t)),this.newReobserver(!1).reobserve(n,ee.refetch)},e.prototype.fetchMore=function(t){var n=this,i=w(w({},t.query?t:w(w(w({},this.options),t),{variables:w(w({},this.options.variables),t.variables)})),{fetchPolicy:"no-cache"}),o=this.queryManager.generateQueryId();return i.notifyOnNetworkStatusChange&&(this.queryInfo.networkStatus=ee.fetchMore,this.observe()),this.queryManager.fetchQuery(o,i,ee.fetchMore).then(function(a){var s=a.data,c=t.updateQuery;return c?n.updateQuery(function(u){return c(u,{fetchMoreResult:s,variables:i.variables})}):n.queryManager.cache.writeQuery({query:i.query,variables:i.variables,data:s}),a}).finally(function(){n.queryManager.stopQuery(o),n.reobserve()})},e.prototype.subscribeToMore=function(t){var n=this,i=this.queryManager.startGraphQLSubscription({query:t.document,variables:t.variables,context:t.context}).subscribe({next:function(o){var a=t.updateQuery;a&&n.updateQuery(function(s,c){var u=c.variables;return a(s,{subscriptionData:o,variables:u})})},error:function(o){if(t.onError){t.onError(o);return}}});return this.subscriptions.add(i),function(){n.subscriptions.delete(i)&&i.unsubscribe()}},e.prototype.setOptions=function(t){return this.reobserve(t)},e.prototype.setVariables=function(t){if(ye(this.variables,t))return this.observers.size?this.result():Promise.resolve();if(this.options.variables=t,!this.observers.size)return Promise.resolve();var n=this.options.fetchPolicy,i=n===void 0?"cache-first":n,o={fetchPolicy:i,variables:t};return i!=="cache-first"&&i!=="no-cache"&&i!=="network-only"&&(o.fetchPolicy="cache-and-network",o.nextFetchPolicy=i),this.reobserve(o,ee.setVariables)},e.prototype.updateQuery=function(t){var n,i=this.queryManager,o=i.cache.diff({query:this.options.query,variables:this.variables,previousResult:(n=this.lastResult)===null||n===void 0?void 0:n.data,returnPartialData:!0,optimistic:!1}).result,a=t(o,{variables:this.variables});a&&(i.cache.writeQuery({query:this.options.query,data:a,variables:this.variables}),i.broadcastQueries())},e.prototype.startPolling=function(t){this.getReobserver().updateOptions({pollInterval:t})},e.prototype.stopPolling=function(){this.reobserver&&this.reobserver.updateOptions({pollInterval:0})},e.prototype.updateLastResult=function(t){var n=this.lastResult;return this.lastResult=t,this.lastResultSnapshot=this.queryManager.assumeImmutableResults?t:mi(t),Ue(t.errors)||delete this.lastError,n},e.prototype.onSubscribe=function(t){var n=this;if(t===this.observer)return function(){};try{var i=t._subscription._observer;i&&!i.error&&(i.error=Af)}catch{}var o=!this.observers.size;return this.observers.add(t),this.lastError?t.error&&t.error(this.lastError):this.lastResult&&t.next&&t.next(this.lastResult),o&&this.reobserve().catch(function(a){}),function(){n.ob