1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,250026,e=>{"use strict";var t=e.i(811818),i=e.i(369547);e.s(["useWarnRemovedOption",0,function(e,r,n,s){void 0===s&&(s="Please remove this option.");var a=t.useRef(!1);!1!==globalThis.__DEV__&&r in e&&!a.current&&((0,i.warnRemovedOption)(e,r,n,s),a.current=!0)}])},98926,e=>{"use strict";e.i(868681);var t=e.i(5578),i=e.i(811818),r=e.i(521805);e.s(["useApolloClient",0,function(e){var n=i.useContext((0,r.getApolloContext)()),s=e||n.client;return(0,t.invariant)(!!s,78),s}])},432171,e=>{"use strict";var t=e.i(189280);e.i(868681);var i=e.i(5578),r=e.i(811818),n=e.i(632854),s=e.i(524669),a=e.i(669570),o=e.i(521805),d=e.i(533879),u=e.i(257828),c=e.i(76810),l=e.i(660601),p=e.i(98926),h=e.i(927371),g=e.i(242419),m=e.i(511922),I=e.i(250026),f=Symbol.for("apollo.hook.wrappers"),v=e.i(369547),y=Object.prototype.hasOwnProperty;function T(){}var N=Symbol();function E(e,i){!1!==globalThis.__DEV__&&((0,I.useWarnRemovedOption)(i,"canonizeResults","useQuery"),(0,I.useWarnRemovedOption)(i,"partialRefetch","useQuery"),(0,I.useWarnRemovedOption)(i,"defaultOptions","useQuery","Pass the options directly to the hook instead."),(0,I.useWarnRemovedOption)(i,"onCompleted","useQuery","If your `onCompleted` callback sets local state, switch to use derived state using `data` returned from the hook instead. Use `useEffect` to perform side-effects as a result of updates to `data`."),(0,I.useWarnRemovedOption)(i,"onError","useQuery","If your `onError` callback sets local state, switch to use derived state using `data`, `error` or `errors` returned from the hook instead. Use `useEffect` if you need to perform side-effects as a result of updates to `data`, `error` or `errors`."));var n=b(e,i),s=n.result,a=n.obsQueryFields;return r.useMemo(function(){return(0,t.__assign)((0,t.__assign)({},s),a)},[s,a])}function b(e,a){var d,h,g,m,I,f,E,b,A,w,x,R,P,q,L,F,M,B,K,U,V,Q,j=(0,p.useApolloClient)(a.client),G=r.useContext((0,o.getApolloContext)()).renderPromises,H=!!G,z=j.disableNetworkFetches,Y=!1!==a.ssr&&!a.skip,W=a.partialRefetch,J=$(j,e,a,H),X=function(e,i,n,s,a){function o(t){var r;return(0,l.verifyDocumentType)(i,l.DocumentType.Query),{client:e,query:i,observable:s&&s.getSSRObservable(a())||u.ObservableQuery.inactiveOnCreation.withValue(!s,function(){return(0,v.muteDeprecations)(["canonizeResults","partialRefetch"],function(){return e.watchQuery(D(void 0,e,n,a()))})}),resultData:{previousData:null==(r=null==t?void 0:t.resultData.current)?void 0:r.data}}}var d=r.useState(o),c=d[0],p=d[1];function h(e){Object.assign(c.observable,((i={})[N]=e,i));var i,r,n=c.resultData;p((0,t.__assign)((0,t.__assign)({},c),{query:e.query,resultData:Object.assign(n,{previousData:(null==(r=n.current)?void 0:r.data)||n.previousData,current:void 0})}))}if(e!==c.client||i!==c.query){var g=o(c);return p(g),[g,h]}return[c,h]}(j,e,a,G,J),Z=X[0],ee=Z.observable,et=Z.resultData,ei=X[1],er=J(ee);d=et,h=ee,g=j,m=a,I=er,h[N]&&!(0,s.equal)(h[N],I)&&(h.reobserve(D(h,g,m,I)),d.previousData=(null==(f=d.current)?void 0:f.data)||d.previousData,d.current=void 0),h[N]=I;var en=r.useMemo(function(){var e;return{refetch:(e=ee).refetch.bind(e),reobserve:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&i.invariant.warn(83),e.reobserve.apply(e,t)},fetchMore:e.fetchMore.bind(e),updateQuery:e.updateQuery.bind(e),startPolling:e.startPolling.bind(e),stopPolling:e.stopPolling.bind(e),subscribeToMore:e.subscribeToMore.bind(e)}},[ee]);return E=ee,b=G,A=Y,b&&A&&(b.registerSSRObservable(E),E.getCurrentResult().loading&&b.addObservableQueryPromise(E)),{result:(w=et,x=ee,R=j,P=a,q=er,L=z,F=W,M=H,B={onCompleted:a.onCompleted||T,onError:a.onError||T},K=r.useRef(B),r.useEffect(function(){K.current=B}),U=(M||L)&&!1===P.ssr&&!P.skip?O:P.skip||"standby"===q.fetchPolicy?k:void 0,V=w.previousData,Q=r.useMemo(function(){return U&&S(U,V,x,R)},[R,x,U,V]),(0,n.useSyncExternalStore)(r.useCallback(function(e){if(M)return function(){};var t=function(){var t=w.current,i=x.getCurrentResult();t&&t.loading===i.loading&&t.networkStatus===i.networkStatus&&(0,s.equal)(t.data,i.data)||_(i,w,x,R,F,e,K.current)},i=function(n){if(r.current.unsubscribe(),r.current=x.resubscribeAfterError(t,i),!y.call(n,"graphQLErrors"))throw n;var a=w.current;(!a||a&&a.loading||!(0,s.equal)(n,a.error))&&_({data:a&&a.data,error:n,loading:!1,networkStatus:c.NetworkStatus.error},w,x,R,F,e,K.current)},r={current:x.subscribe(t,i)};return function(){setTimeout(function(){return r.current.unsubscribe()})}},[L,M,x,w,F,R]),function(){return Q||C(w,x,K.current,F,R)},function(){return Q||C(w,x,K.current,F,R)})),obsQueryFields:en,observable:ee,resultData:et,client:j,onQueryExecuted:ei}}function $(e,i,r,n){void 0===r&&(r={});var s=r.skip,a=(r.ssr,r.onCompleted,r.onError,r.defaultOptions),o=(0,t.__rest)(r,["skip","ssr","onCompleted","onError","defaultOptions"]);return function(t){var r=Object.assign(o,{query:i});return n&&("network-only"===r.fetchPolicy||"cache-and-network"===r.fetchPolicy)&&(r.fetchPolicy="cache-first"),r.variables||(r.variables={}),s?(r.initialFetchPolicy=r.initialFetchPolicy||r.fetchPolicy||A(a,e.defaultOptions),r.fetchPolicy="standby"):r.fetchPolicy||(r.fetchPolicy=(null==t?void 0:t.options.initialFetchPolicy)||A(a,e.defaultOptions)),r}}function D(e,t,i,r){var n=[],s=t.defaultOptions.watchQuery;return s&&n.push(s),i.defaultOptions&&n.push(i.defaultOptions),n.push((0,h.compact)(e&&e.options,r)),n.reduce(a.mergeOptions)}function _(e,r,n,s,a,o,u){var l,p,h,m=r.current;m&&m.data&&(r.previousData=m.data),!e.error&&(0,g.isNonEmptyArray)(e.errors)&&(e.error=new d.ApolloError({graphQLErrors:e.errors})),r.current=S((l=e,p=n,h=a,l.partial&&h&&!l.loading&&(!l.data||0===Object.keys(l.data).length)&&"cac
1he-only"!==p.options.fetchPolicy?(p.refetch(),(0,t.__assign)((0,t.__assign)({},l),{loading:!0,networkStatus:c.NetworkStatus.refetch})):l),r.previousData,n,s),o(),function(e,t,r){if(!e.loading){var n,s=(n=e,(0,g.isNonEmptyArray)(n.errors)?new d.ApolloError({graphQLErrors:n.errors}):n.error);Promise.resolve().then(function(){s?r.onError(s):e.data&&t!==e.networkStatus&&e.networkStatus===c.NetworkStatus.ready&&r.onCompleted(e.data)}).catch(function(e){!1!==globalThis.__DEV__&&i.invariant.warn(e)})}}(e,null==m?void 0:m.networkStatus,u)}function C(e,t,i,r,n){return e.current||_(t.getCurrentResult(),e,t,n,r,function(){},i),e.current}function A(e,t){var i;return(null==e?void 0:e.fetchPolicy)||(null==(i=null==t?void 0:t.watchQuery)?void 0:i.fetchPolicy)||"cache-first"}function S(e,i,r,n){var s=e.data,a=(e.partial,(0,t.__rest)(e,["data","partial"]));return(0,t.__assign)((0,t.__assign)({data:s},a),{client:n,observable:r,variables:r.variables,called:e!==O&&e!==k,previousData:i})}var O=(0,m.maybeDeepFreeze)({loading:!0,data:void 0,error:void 0,networkStatus:c.NetworkStatus.loading}),k=(0,m.maybeDeepFreeze)({loading:!1,data:void 0,error:void 0,networkStatus:c.NetworkStatus.ready});e.s(["createMakeWatchQueryOptions",0,$,"getDefaultFetchPolicy",0,A,"getObsQueryOptions",0,D,"toQueryResult",0,S,"useQuery",0,function(e,t){var i,r,n;return void 0===t&&(t=Object.create(null)),((n=(r=(i=(0,p.useApolloClient)(t&&t.client).queryManager)&&i[f])&&r.useQuery)?n(E):E)(e,t)},"useQueryInternals",0,b],432171)},632854,e=>{"use strict";e.i(868681);var t=e.i(5578),i=e.i(811818),r=e.i(223289),n=!1,s=i.useSyncExternalStore||function(e,s,o){var d=s();!1===globalThis.__DEV__||n||d===s()||(n=!0,!1!==globalThis.__DEV__&&t.invariant.error(91));var u=i.useState({inst:{value:d,getSnapshot:s}}),c=u[0].inst,l=u[1];return r.canUseLayoutEffect?i.useLayoutEffect(function(){Object.assign(c,{value:d,getSnapshot:s}),a(c)&&l({inst:c})},[e,d,s]):Object.assign(c,{value:d,getSnapshot:s}),i.useEffect(function(){return a(c)&&l({inst:c}),e(function(){a(c)&&l({inst:c})})},[e]),d};function a(e){var t=e.value,i=e.getSnapshot;try{return t!==i()}catch(e){return!0}}e.s(["useSyncExternalStore",0,s])},660601,e=>{"use strict";e.i(868681);var t,i,r,n=e.i(5578),s=e.i(336904),a=e.i(506044),o=e.i(799523),d=e.i(369547);function u(e){var t;switch(e){case i.Query:t="Query";break;case i.Mutation:t="Mutation";break;case i.Subscription:t="Subscription"}return t}function c(e){(0,d.warnDeprecated)("parser",function(){!1!==globalThis.__DEV__&&n.invariant.warn(93)}),r||(r=new s.AutoCleanedWeakCache(a.cacheSizes.parser||1e3));var t,o,u=r.get(e);if(u)return u;(0,n.invariant)(!!e&&!!e.kind,94,e);for(var c=[],l=[],p=[],h=[],g=0,m=e.definitions;g<m.length;g++){var I=m[g];if("FragmentDefinition"===I.kind){c.push(I);continue}if("OperationDefinition"===I.kind)switch(I.operation){case"query":l.push(I);break;case"mutation":p.push(I);break;case"subscription":h.push(I)}}(0,n.invariant)(!c.length||l.length||p.length||h.length,95),(0,n.invariant)(l.length+p.length+h.length<=1,96,e,l.length,h.length,p.length),o=l.length?i.Query:i.Mutation,l.length||p.length||(o=i.Subscription);var f=l.length?l:p.length?p:h;(0,n.invariant)(1===f.length,97,e,f.length);var v=f[0];t=v.variableDefinitions||[];var y={name:v.name&&"Name"===v.name.kind?v.name.value:"data",type:o,variables:t};return r.set(e,y),y}(t=i||(i={}))[t.Query=0]="Query",t[t.Mutation=1]="Mutation",t[t.Subscription=2]="Subscription",c.resetCache=function(){r=void 0},!1!==globalThis.__DEV__&&(0,o.registerGlobalCache)("parser",function(){return r?r.size:0}),e.s(["DocumentType",0,i,"verifyDocumentType",0,function(e,t){var i=(0,d.muteDeprecations)("parser",c,[e]),r=u(t),s=u(i.type);(0,n.invariant)(i.type===t,98,r,r,s)}])},159080,e=>{"use strict";var t,i,r,n,s,a=e.i(189280);let o=/\r\n|[\n\r]/g;function d(e,t){let i=0,r=1;for(let n of e.body.matchAll(o)){if("number"==typeof n.index||function(e){if(!e)throw Error("Unexpected invariant triggered.")}(!1),n.index>=t)break;i=n.index+n[0].length,r+=1}return{line:r,column:t+1-i}}function u(e,t){let i=e.locationOffset.column-1,r="".padStart(i)+e.body,n=t.line-1,s=e.locationOffset.line-1,a=t.line+s,o=1===t.line?i:0,d=t.column+o,u=`${e.name}:${a}:${d} 2`,l=r.split(/\r\n|[\n\r]/g),p=l[n];if(p.length>120){let e=Math.floor(d/80),t=[];for(let e=0;e<p.length;e+=80)t.push(p.slice(e,e+80));return u+c([[`${a} |`,t[0]],...t.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(d%80)],["|",t[e+1]]])}return u+c([[`${a-1} |`,l[n-1]],[`${a} |`,p],["|","^".padStart(d)],[`${a+1} |`,l[n+1]]])}function c(e){let t=e.filter(([e,t])=>void 0!==t),i=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(i)+(t?" "+t:"")).join("\n")}
2class l extends Error{constructor(e,...t){var i,r,n;const{nodes:s,source:a,positions:o,path:u,originalError:c,extensions:h}=function(e){let t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!=u?u:void 0,this.originalError=null!=c?c:void 0,this.nodes=p(Array.isArray(s)?s:s?[s]:void 0);const g=p(null==(i=this.nodes)?void 0:i.map(e=>e.loc).filter(e=>null!=e));this.source=null!=a?a:null==g||null==(r=g[0])?void 0:r.source,this.positions=null!=o?o:null==g?void 0:g.map(e=>e.start),this.locations=o&&a?o.map(e=>d(a,e)):null==g?void 0:g.map(e=>d(e.source,e.start));const m=!function(e){return"object"==typeof e&&null!==e}(null==c?void 0:c.extensions)||null==c?void 0:c.extensions;this.extensions=null!=(n=null!=h?h:m)?n: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!=c&&c.stack?Object.defineProperty(this,"stack",{value:c.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,l):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(let i of this.nodes){var t;i.loc&&(e+="\n\n"+u((t=i.loc).source,d(t.source,t.start)))}else if(this.source&&this.locations)for(let t of this.locations)e+="\n\n"+u(this.source,t);return e}toJSON(){let e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function p(e){return void 0===e||0===e.length?void 0:e}function h(e,t,i){return new l(`Syntax Error: ${i}`,{source:e,positions:[t]})}var g=e.i(442341);(t=n||(n={})).QUERY="QUERY",t.MUTATION="MUTATION",t.SUBSCRIPTION="SUBSCRIPTION",t.FIELD="FIELD",t.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",t.FRAGMENT_SPREAD="FRAGMENT_SPREAD",t.INLINE_FRAGMENT="INLINE_FRAGMENT",t.VARIABLE_DEFINITION="VARIABLE_DEFINITION",t.SCHEMA="SCHEMA",t.SCALAR="SCALAR",t.OBJECT="OBJECT",t.FIELD_DEFINITION="FIELD_DEFINITION",t.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",t.INTERFACE="INTERFACE",t.UNION="UNION",t.ENUM="ENUM",t.ENUM_VALUE="ENUM_VALUE",t.INPUT_OBJECT="INPUT_OBJECT",t.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION",t.DIRECTIVE_DEFINITION="DIRECTIVE_DEFINITION";var m=e.i(206699),I=e.i(267757),f=e.i(210696);(i=s||(s={})).SOF="<SOF>",i.EOF="<EOF>",i.BANG="!",i.DOLLAR="$",i.AMP="&",i.PAREN_L="(",i.PAREN_R=")",i.DOT=".",i.SPREAD="...",i.COLON=":",i.EQUALS="=",i.AT="@",i.BRACKET_L="[",i.BRACKET_R="]",i.BRACE_L="{",i.PIPE="|",i.BRACE_R="}",i.NAME="Name",i.INT="Int",i.FLOAT="Float",i.STRING="String",i.BLOCK_STRING="BlockString",i.COMMENT="Comment";class v{constructor(e){const t=new g.Token(s.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==s.EOF)do if(e.next)e=e.next;else{let t=function(e,t){let i=e.source.body,r=i.length,n=t;for(;n<r;){let t=i.charCodeAt(n);switch(t){case 65279:case 9:case 32:case 44:++n;continue;case 10:++n,++e.line,e.lineStart=n;continue;case 13:10===i.charCodeAt(n+1)?n+=2:++n,++e.line,e.lineStart=n;continue;case 35:return function(e,t){let i=e.source.body,r=i.length,n=t+1;for(;n<r;){let e=i.charCodeAt(n);if(10===e||13===e)break;if(y(e))++n;else if(T(i,n))n+=2;else break}return $(e,s.COMMENT,t,n,i.slice(t+1,n))}(e,n);case 33:return $(e,s.BANG,n,n+1);case 36:return $(e,s.DOLLAR,n,n+1);case 38:return $(e,s.AMP,n,n+1);case 40:return $(e,s.PAREN_L,n,n+1);case 41:return $(e,s.PAREN_R,n,n+1);case 46:if(46===i.charCodeAt(n+1)&&46===i.charCodeAt(n+2))return $(e,s.SPREAD,n,n+3);break;case 58:return $(e,s.COLON,n,n+1);case 61:return $(e,s.EQUALS,n,n+1);case 64:return $(e,s.AT,n,n+1);case 91:return $(e,s.BRACKET_L,n,n+1);case 93:return $(e,s.BRACKET_R,n,n+1);case 123:return $(e,s.BRACE_L,n,n+1);case 124:return $(e,s.PIPE,n,n+1);case 125:return $(e,s.BRACE_R,n,n+1);case 34:if(34===i.charCodeAt(n+1)&&34===i.charCodeAt(n+2))return function(e,t){let i=e.source.body,r=i.length,n=e.lineStart,a=t+3,o=a,d="",u=[];for(;a<r;){let r=i.charCodeAt(a);if(34===r&&34===i.charCodeAt(a+1)&&34===i.charCodeAt(a+2)){d+=i.slice(o,a),u.push(d);
2let r=$(e,s.BLOCK_STRING,t,a+3,(0,I.dedentBlockStringLines)(u).join("\n"));return e.line+=u.length-1,e.lineStart=n,r}if(92===r&&34===i.charCodeAt(a+1)&&34===i.charCodeAt(a+2)&&34===i.charCodeAt(a+3)){d+=i.slice(o,a),o=a+1,a+=4;continue}if(10===r||13===r){d+=i.slice(o,a),u.push(d),13===r&&10===i.charCodeAt(a+1)?a+=2:++a,d="",o=a,n=a;continue}if(y(r))++a;else if(T(i,a))a+=2;else throw h(e.source,a,`Invalid character within String: ${b(e,a)}.`)}throw h(e.source,a,"Unterminated string.")}(e,n);return function(e,t){let i=e.source.body,r=i.length,n=t+1,a=n,o="";for(;n<r;){let r=i.charCodeAt(n);if(34===r)return o+=i.slice(a,n),$(e,s.STRING,t,n+1,o);if(92===r){o+=i.slice(a,n);let t=117===i.charCodeAt(n+1)?123===i.charCodeAt(n+2)?function(e,t){let i=e.source.body,r=0,n=3;for(;n<12;){let e=i.charCodeAt(t+n++);if(125===e){if(n<5||!y(r))break;return{value:String.fromCodePoint(r),size:n}}if((r=r<<4|C(e))<0)break}throw h(e.source,t,`Invalid Unicode escape sequence: "${i.slice(t,t+n)}".`)}(e,n):function(e,t){let i=e.source.body,r=_(i,t+2);if(y(r))return{value:String.fromCodePoint(r),size:6};if(N(r)&&92===i.charCodeAt(t+6)&&117===i.charCodeAt(t+7)){let e=_(i,t+8);if(E(e))return{value:String.fromCodePoint(r,e),size:12}}throw h(e.source,t,`Invalid Unicode escape sequence: "${i.slice(t,t+6)}".`)}(e,n):function(e,t){let i=e.source.body;switch(i.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:" ",size:2}}throw h(e.source,t,`Invalid character escape sequence: "${i.slice(t,t+2)}".`)}(e,n);o+=t.value,n+=t.size,a=n;continue}if(10===r||13===r)break;if(y(r))++n;else if(T(i,n))n+=2;else throw h(e.source,n,`Invalid character within String: ${b(e,n)}.`)}throw h(e.source,n,"Unterminated string.")}(e,n)}if((0,f.isDigit)(t)||45===t)return function(e,t,i){let r=e.source.body,n=t,a=i,o=!1;if(45===a&&(a=r.charCodeAt(++n)),48===a){if(a=r.charCodeAt(++n),(0,f.isDigit)(a))throw h(e.source,n,`Invalid number, unexpected digit after 0: ${b(e,n)}.`)}else n=D(e,n,a),a=r.charCodeAt(n);if(46===a&&(o=!0,a=r.charCodeAt(++n),n=D(e,n,a),a=r.charCodeAt(n)),(69===a||101===a)&&(o=!0,(43===(a=r.charCodeAt(++n))||45===a)&&(a=r.charCodeAt(++n)),n=D(e,n,a),a=r.charCodeAt(n)),46===a||(0,f.isNameStart)(a))throw h(e.source,n,`Invalid number, expected digit but got: ${b(e,n)}.`);return $(e,o?s.FLOAT:s.INT,t,n,r.slice(t,n))}(e,n,t);if((0,f.isNameStart)(t))return function(e,t){let i=e.source.body,r=i.length,n=t+1;for(;n<r;){let e=i.charCodeAt(n);if((0,f.isNameContinue)(e))++n;else break}return $(e,s.NAME,t,n,i.slice(t,n))}(e,n);throw h(e.source,n,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":y(t)||T(i,n)?`Unexpected character: ${b(e,n)}.`:`Invalid character: ${b(e,n)}.`)}return $(e,s.EOF,r,r)}(this,e.end);e.next=t,t.prev=e,e=t}while(e.kind===s.COMMENT)return e}}function y(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function T(e,t){return N(e.charCodeAt(t))&&E(e.charCodeAt(t+1))}function N(e){return e>=55296&&e<=56319}function E(e){return e>=56320&&e<=57343}function b(e,t){let i=e.source.body.codePointAt(t);if(void 0===i)return s.EOF;if(i>=32&&i<=126){let e=String.fromCodePoint(i);return'"'===e?"'\"'":`"${e}"`}return"U+"+i.toString(16).toUpperCase().padStart(4,"0")}function $(e,t,i,r,n){let s=e.line,a=1+i-e.lineStart;return new g.Token(t,i,r,s,a,n)}function D(e,t,i){if(!(0,f.isDigit)(i))throw h(e.source,t,`Invalid number, expected digit but got: ${b(e,t)}.`);let r=e.source.body,n=t+1;for(;(0,f.isDigit)(r.charCodeAt(n));)++n;return n}function _(e,t){return C(e.charCodeAt(t))<<12|C(e.charCodeAt(t+1))<<8|C(e.charCodeAt(t+2))<<4|C(e.charCodeAt(t+3))}function C(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}var A=e.i(417405),S=e.i(328262);let O=globalThis.process&&1?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if("object"==typeof e&&null!==e){var i;let r=t.prototype[Symbol.toStringTag];if(r===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null==(i=e.constructor)?void 0:i.name)){let t=(0,S.inspect)(e);throw Error(`Cannot use ${r} "${t}" from another module or realm. 3 4Ensure that there is only one instance of "graphql" in the node_modules 5directory. If different versions of "graphql" are the dependencies of other 6relied on modules, use "resolutions" to ensure only one version is installed. 7 8https://yarnpkg.com/en/docs/selective-version-resolutions 9 10Duplicate "graphql" modules cannot be used at the same time since different 11versions may have different capabilities and behavior. The data from one 12version used in the function from another could produce confusing and 13spurious results.`)}}return!1};class k{constructor(e,t="GraphQL request",i={line:1,column:1}){"string"==typeof e||(0,A.devAssert)(!1,`Body must be a string. Received: ${(0,S.inspect)(e)}.`),this.body=e,this.name=t,this.locationOffset=i,this.locationOffset.line>0||(0,A.devAssert)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,A.devAssert)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}class w{constructor(e,t={}){const{lexer:i,...r}=t;if(i)this._lexer=i;else{const t=!function(e){return O(e,k)}(e)?new k(e):e;this._lexer=new v(t)}this._options=r,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){let e=this.expectToken(s.NAME);return this.node(e,{kind:m.Kind.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:m.Kind.DOCUMENT,definitions:this.many(s.SOF,this.parseDefinition,s.EOF)})}parseDefinition(){if(this.peek(s.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(e&&t.kind===s.BRACE_L)throw h(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are not supported on shorthand queries.");if(t.kind===s.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()}switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition()}if(e)throw h(this._lexer.source,this._lexer.token.start,"Unexpected description, only GraphQL definitions supp
13ort descriptions.");if("extend"===t.value)return this.parseTypeSystemExtension()}throw this.unexpected(t)}parseOperationDefinition(){let e,t=this._lexer.token;if(this.peek(s.BRACE_L))return this.node(t,{kind:m.Kind.OPERATION_DEFINITION,operation:g.OperationTypeNode.QUERY,description:void 0,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let i=this.parseDescription(),r=this.parseOperationType();return this.peek(s.NAME)&&(e=this.parseName()),this.node(t,{kind:m.Kind.OPERATION_DEFINITION,operation:r,description:i,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(s.NAME);switch(e.value){case"query":return g.OperationTypeNode.QUERY;case"mutation":return g.OperationTypeNode.MUTATION;case"subscription":return g.OperationTypeNode.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(s.PAREN_L,this.parseVariableDefinition,s.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:m.Kind.VARIABLE_DEFINITION,description:this.parseDescription(),variable:this.parseVariable(),type:(this.expectToken(s.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(s.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(s.DOLLAR),this.node(e,{kind:m.Kind.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:m.Kind.SELECTION_SET,selections:this.many(s.BRACE_L,this.parseSelection,s.BRACE_R)})}parseSelection(){return this.peek(s.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,t,i=this._lexer.token,r=this.parseName();return this.expectOptionalToken(s.COLON)?(e=r,t=this.parseName()):t=r,this.node(i,{kind:m.Kind.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(s.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(s.PAREN_L,t,s.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,i=this.parseName();return this.expectToken(s.COLON),this.node(t,{kind:m.Kind.ARGUMENT,name:i,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(s.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(s.NAME)?this.node(e,{kind:m.Kind.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:m.Kind.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token,t=this.parseDescription();return(this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables)?this.node(e,{kind:m.Kind.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:m.Kind.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){let t=this._lexer.token;switch(t.kind){case s.BRACKET_L:return this.parseList(e);case s.BRACE_L:return this.parseObject(e);case s.INT:return this.advanceLexer(),this.node(t,{kind:m.Kind.INT,value:t.value});case s.FLOAT:return this.advanceLexer(),this.node(t,{kind:m.Kind.FLOAT,value:t.value});case s.STRING:case s.BLOCK_STRING:return this.parseStringLiteral();case s.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:m.Kind.BOOLEAN,value:!0});case"false":return this.node(t,{kind:m.Kind.BOOLEAN,value:!1});case"null":return this.node(t,{kind:m.Kind.NULL});default:return this.node(t,{kind:m.Kind.ENUM,value:t.value})}case s.DOLLAR:if(e){if(this.expectToken(s.DOLLAR),this._lexer.token.kind===s.NAME){let e=this._lexer.token.value;throw h(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(){let e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:m.Kind.STRING,value:e.value,block:e.kind===s.BLOCK_STRING})}parseList(e){let t=()=>this.parseValueLiteral(e);
13return this.node(this._lexer.token,{kind:m.Kind.LIST,values:this.any(s.BRACKET_L,t,s.BRACKET_R)})}parseObject(e){let t=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:m.Kind.OBJECT,fields:this.any(s.BRACE_L,t,s.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,i=this.parseName();return this.expectToken(s.COLON),this.node(t,{kind:m.Kind.OBJECT_FIELD,name:i,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(s.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(s.AT),this.node(t,{kind:m.Kind.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e,t=this._lexer.token;if(this.expectOptionalToken(s.BRACKET_L)){let i=this.parseTypeReference();this.expectToken(s.BRACKET_R),e=this.node(t,{kind:m.Kind.LIST_TYPE,type:i})}else e=this.parseNamedType();return this.expectOptionalToken(s.BANG)?this.node(t,{kind:m.Kind.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:m.Kind.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(s.STRING)||this.peek(s.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let i=this.parseConstDirectives(),r=this.many(s.BRACE_L,this.parseOperationTypeDefinition,s.BRACE_R);return this.node(e,{kind:m.Kind.SCHEMA_DEFINITION,description:t,directives:i,operationTypes:r})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(s.COLON);let i=this.parseNamedType();return this.node(e,{kind:m.Kind.OPERATION_TYPE_DEFINITION,operation:t,type:i})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let i=this.parseName(),r=this.parseConstDirectives();return this.node(e,{kind:m.Kind.SCALAR_TYPE_DEFINITION,description:t,name:i,directives:r})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let i=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:m.Kind.OBJECT_TYPE_DEFINITION,description:t,name:i,interfaces:r,directives:n,fields:s})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(s.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(s.BRACE_L,this.parseFieldDefinition,s.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),i=this.parseName(),r=this.parseArgumentDefs();this.expectToken(s.COLON);let n=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(e,{kind:m.Kind.FIELD_DEFINITION,description:t,name:i,arguments:r,type:n,directives:a})}parseArgumentDefs(){return this.optionalMany(s.PAREN_L,this.parseInputValueDef,s.PAREN_R)}parseInputValueDef(){let e,t=this._lexer.token,i=this.parseDescription(),r=this.parseName();this.expectToken(s.COLON);let n=this.parseTypeReference();this.expectOptionalToken(s.EQUALS)&&(e=this.parseConstValueLiteral());let a=this.parseConstDirectives();return this.node(t,{kind:m.Kind.INPUT_VALUE_DEFINITION,description:i,name:r,type:n,defaultValue:e,directives:a})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let i=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:m.Kind.INTERFACE_TYPE_DEFINITION,description:t,name:i,interfaces:r,directives:n,fields:s})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let i=this.parseName(),r=this.parseConstDirectives(),n=this.parseUnionMemberTypes();return this.node(e,{kind:m.Kind.UNION_TYPE_DEFINITION,description:t,name:i,directives:r,types:n})}parseUnionMemberTypes(){return this.expectOptionalToken(s.EQUALS)?this.delimitedMany(s.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let i=this.parseName(),r=this.parseConstDirectives(),n=this.parseEnumValuesDefinition();return this.node(e,{kind:m.Kind.ENUM_TYPE_DEFINITION,description:t,name:i,directives:r,values:n})}parseEnumValuesDefinition(){return this.optionalMany(s.BRACE_L,this.parseEnumValueDefinition,s.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),i=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(e,{kind:m.Kind.ENUM_VALUE_DEFINITION,description:t,name:i,directives:r})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw h(this._lexer.source,this._lexer.token.start,`${x(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");let i=this.parseName(),r=this.parseConstDirectives(),n=this.parseInputFieldsDefinition();return this.node(e,{kind:m.Kind.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:i,directives:r,fields:n})}parseInputFieldsDefinition(){return this.optionalMany(s.BRACE_L,this.parseInputValueDef,s.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===s.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();case"directive":if(this._options.experimentalDirectivesOnDirectiveDefinitions)return this.parseDirectiveDefinitionExtension()}throw this.unexpected(e)}parseSchemaExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let t=this.parseConstDirectives(),i=this.optionalMany(s.BRACE_L,this.parseOperationTypeDefinition,s.BRACE_R);if(0===t.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:m.Kind.SCHEMA_EXTENSION,directives:t,operationTypes:i})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),i=this.parseConstDirectives();if(0===i.length)throw this.unexpected();return this.node(e,{kind:m.Kind.SCALAR_TYPE_EXTENSION,name:t,directives:i})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let t=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),n=this.parseFieldsDefinition();if(0===i.length&&0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:m.Kind.OBJECT_TYPE_EXTENSION,name:t,interfaces:i,directives:r,fields:n})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),n=this.parseFieldsDefinition();if(0===i.length&&0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:m.Kind.INTERFACE_TYPE_EXTENSION,name:t,interfaces:i,directives:r,fields:n})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),i=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(0===i.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:m.Kind.UNION_TYPE_EXTENSION,name:t,directives:i,types:r})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),i=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(0===i.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:m.Kind.ENUM_TYPE_EXTENSION,name:t,directives:i,values:r})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),i=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(0===i.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:m.Kind.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:i,fields:r})}parseDirectiveDefinitionExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("directive"),this.expectToken(s.AT);let t=this.parseName(),i=this.parseConstDirectives();if(0===i.length)throw this.unexpected();return this.node(e,{kind:m.Kind.DIRECTIVE_EXTENSION,name:t,directives:i})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(s.AT);let i=this.parseName(),r=this.parseArgumentDefs(),n=this._options.experimentalDirectivesOnDirectiveDefinitions?this.parseConstDirectives():[],a=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let o=this.parseDirectiveLocations();return this.node(e,{kind:m.Kind.DIRECTIVE_DEFINITION,description:t,name:i,arguments:r,directives:n,repeatable:a,locations:o})}parseDirectiveLocations(){return this.delimitedMany(s.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(n,t.value))return t;throw this.unexpected(e)}parseSchemaCoordinate(){let e,t,i=this._lexer.token,r=this.expectOptionalToken(s.AT),n=this.parseName();return(!r&&this.expectOptionalToken(s.DOT)&&(e=this.parseName()),(r||e)&&this.expectOptionalToken(s.PAREN_L)&&(t=this.parseName(),this.expectToken(s.COLON),this.expectToken(s.PAREN_R)),r)?t?this.node(i,{kind:m.Kind.DIRECTIVE_ARGUMENT_COORDINATE,name:n,argumentName:t}):this.node(i,{kind:m.Kind.DIRECTIVE_COORDINATE,name:n}):e?t?this.node(i,{kind:m.Kind.ARGUMENT_COORDINATE,name:n,fieldName:e,argumentName:t}):this.node(i,{kind:m.Kind.MEMBER_COORDINATE,name:n,memberName:e}):this.node(i,{kind:m.Kind.TYPE_COORDINATE,name:n})}node(e,t){return!0!==this._options.noLocation&&(t.loc=new g.Location(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw h(this._lexer.source,t.start,`Expected ${R(e)}, found ${x(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind===s.NAME&&t.value===e)this.advanceLexer();else throw h(this._lexer.source,t.start,`Expected "${e}", found ${x(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===s.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let t=null!=e?e:this._lexer.token;return h(this._lexer.source,t.start,`Unexpected ${x(t)}.`)}any(e,t,i){this.expectToken(e);let r=[];for(;!this.expectOptionalToken(i);)r.push(t.call(this));return r}optionalMany(e,t,i){if(this.expectOptionalToken(e)){let e=[];do e.push(t.call(this));while(!this.expectOptionalToken(i))return e}return[]}many(e,t,i){this.expectToken(e);let r=[];do r.push(t.call(this));while(!this.expectOptionalToken(i))return r}delimitedMany(e,t){this.expectOptionalToken(e);let i=[];do i.push(t.call(this));while(this.expectOptionalToken(e))return i}advanceLexer(){let{maxTokens:e}=this._options,t=this._lexer.advance();if(t.kind!==s.EOF&&(++this._tokenCounter,void 0!==e&&this._tokenCounter>e))throw h(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function x(e){let t=e.value;return R(e.kind)+(null!=t?` "${t}"`:"")}function R(e){return e===s.BANG||e===s.DOLLAR||e===s.AMP||e===s.PAREN_L||e===s.PAREN_R||e===s.DOT||e===s.SPREAD||e===s.COLON||e===s.EQUALS||e===s.AT||e===s.BRACKET_L||e===s.BRACKET_R||e===s.BRACE_L||e===s.PIPE||e===s.BRACE_R?`"${e}"`:e}var P=new Map,q=new Map,L=!0,F=!1;function M(e){return e.replace(/[\s,]+/g," ").trim()}function B(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];"string"==typeof e&&(e=[e]);var r=e[0];return t.forEach(function(t,i){t&&"Document"===t.kind?r+=t.loc.source.body:r+=t,r+=e[i+1]}),function(e){var t=M(e);if(!P.has(t)){let u,c;var i,r,n,s,o,d=(Object.defineProperty(c=(u=new w(e,{experimentalFragmentVariables:F,allowLegacyFragmentVariables:F})).parseDocument(),"tokenCount",{enumerable:!1,value:u.tokenCount}),c);if(!d||"Document"!==d.kind)throw Error("Not a valid GraphQL document.");P.set(t,((s=new Set((i=new Set,r=[],d.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var t,n=e.name.value,s=M((t=e.loc).source.body.substring(t.start,t.end)),a=q.get(n);a&&!a.has(s)?L&&console.warn("Warning: fragment with name "+n+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):a||q.set(n,a=new Set),a.add(s),i.has(s)||(i.add(s),r.push(e))}else r.push(e)}),n=(0,a.__assign)((0,a.__assign)({},d),{definitions:r}
13)).definitions)).forEach(function(e){e.loc&&delete e.loc,Object.keys(e).forEach(function(t){var i=e[t];i&&"object"==typeof i&&s.add(i)})}),(o=n.loc)&&(delete o.startToken,delete o.endToken),n))}return P.get(t)}(r)}var K=B;(r=B||(B={})).gql=K,r.resetCaches=function(){P.clear(),q.clear()},r.disableFragmentWarnings=function(){L=!1},r.enableExperimentalFragmentVariables=function(){F=!0},r.disableExperimentalFragmentVariables=function(){F=!1},B.default=B;let U=B;e.s(["default",0,U,"gql",0,B],159080)},688890,467591,716523,e=>{"use strict";var t,i=e.i(159080);let r=i.gql` 14 fragment AnswerParts on CustomAnswer { 15 id 16 answer 17 displayAnswer 18 questionId 19 question { 20 id 21 question 22 type 23 } 24 } 25`,n=i.gql` 26 fragment ProductParts on Product { 27 id 28 name 29 status 30 price 31 vat 32 productNumber 33 rowNumber 34 mustBuy 35 questions { 36 id 37 question 38 required 39 type 40 choices 41 } 42 } 43`,s=i.gql` 44 fragment FederationProductParts on FederationProduct { 45 id 46 name 47 price 48 vat 49 productNumber 50 sellingType 51 eventTypes 52 questions { 53 id 54 question 55 required 56 type 57 choices 58 } 59 } 60`,a=i.gql` 61 fragment ProductRegistrationParts on ProductRegistration { 62 id 63 status 64 amount 65 answers { 66 ...AnswerParts 67 } 68 product { 69 ...ProductParts 70 } 71 federationProduct { 72 ...FederationProductParts 73 } 74 } 75 ${r} 76 ${n} 77 ${s} 78`,o=i.gql` 79 fragment TeamMemberParts on TeamMember { 80 id 81 createdAt 82 updatedAt 83 rowNumber 84 firstName 85 lastName 86 buypassId 87 personId 88 gender 89 DoB 90 mobile 91 email 92 country 93 countryCode 94 isTeamLeader 95 licenceNumber 96 timingChipId 97 timingChipName 98 fisCode 99 team { 100 id 101 name 102 } 103 oneTimeLicence2 { 104 licenceNumber 105 status 106 price 107 vat 108 } 109 answers { 110 id 111 answer 112 displayAnswer 113 questionId 114 } 115 } 116`,d=i.gql` 117 fragment TeamExerciseParts on Activity { 118 isTeamExercise 119 teamSize 120 teamSpares 121 } 122`,u=i.gql` 123 fragment ActivityParts on Activity { 124 id 125 name 126 status 127 priceSteps { 128 id 129 name 130 price 131 vat 132 startTime 133 memberPrice 134 } 135 questions { 136 id 137 question 138 required 139 type 140 choices 141 isFromFederation 142 } 143 rowNumber 144 gender 145 ageFrom 146 ageTo 147 official 148 requiresLicence 149 maxAttendees 150 sportId 151 sportName 152 exerciseId 153 exerciseName 154 classId 155 className 156 startDateTime 157 endDateTime 158 style 159 tag1 160 tag2 161 classTag1 162 classTag2 163 disciplineCode 164 requiresTimingChip 165 ...TeamExerciseParts 166 } 167 ${d} 168`,c=i.gql` 169 fragment PublicTeamMemberParts on TeamMember { 170 id 171 firstName 172 lastName 173 isTeamLeader 174 rowNumber 175 } 176`,l=i.gql` 177 fragment PublicParticipantParts on Participant { 178 firstName 179 lastName 180 club 181 activities { 182 status 183 activity { 184 ...ActivityParts 185 } 186 teams { 187 name 188 participants { 189 ...PublicTeamMemberParts 190 } 191 } 192 } 193 } 194 ${u} 195 ${c} 196`,p=i.gql` 197 fragment TeamParts on Team { 198 id 199 name 200 participants { 201 ...TeamMemberParts 202 } 203 reserves { 204 ...TeamMemberParts 205 } 206 } 207 ${o} 208`,h=i.gql` 209 fragment ParticipantParts on Participant { 210 id 211 firstName 212 lastName 213 email 214 age 215 DoB 216 gender 217 phone 218 club 219 clubOrgId 220 groupOrgId 221 buypassId 222 personId 223 address 224 city 225 postalCode 226 country 227 countryCode 228 emergencyContactFirstName 229 emergencyContactLastName 230 emergencyContactPhone 231 emergencyContactEmail 232 timingChipId 233 timingChipName 234 timingChipVendorId 235 participantType 236 answers { 237 id 238 answer 239 displayAnswer 240 question { 241 id 242 question 243 type 244 } 245 } 246 activities { 247 id 248 status 249 answers { 250 ...AnswerParts 251 } 252 activity { 253 id 254 name 255 isTeamExercise 256 exerciseName 257 className 258 priceSteps { 259 id 260 price 261 memberPrice 262 } 263 } 264 licenceNumber 265 oneTimeLicence { 266 licenceNumber 267 status 268 } 269 oneTimeLicence2 { 270 licenceNumber 271 price 272 vat 273 } 274 startNumber 275 professionalTeam 276 sportsHighSchool 277 fisCode 278 teams { 279 ...TeamParts 280 } 281 } 282 products { 283 ...ProductRegistrationParts 284 } 285 cancelationInsurance { 286 referenceNo 287 orderNo 288 price 289 insurancePrice 290 insuranceTransactionId 291 participantId 292 contractNo 293 } 294 comment 295 checkedIn 296 checkedInAt 297 cancelation { 298 id 299 createdAt 300 updatedAt 301 } 302 } 303 ${a} 304 ${r} 305 ${p} 306`;e.s(["ActivityParts",0,u,"AnswerParts",0,r,"FederationProductParts",0,s,"ParticipantParts",0,h,"ProductParts",0,n,"PublicParticipantParts",0,l,"TeamMemberParts",0,o,"TeamParts",0,p],467591);let g=i.gql` 307 mutation updateEventLicenceDates($eventId: ID!) { 308 updateEventLicenceDates(where: { eventId: $eventId }) { 309 updatedCount 310 totalCount 311 results { 312 licenseNumber 313 success 314 errorMessage 315 } 316 } 317 } 318`;e.s(["updateEventLicenceDates",0,g],716523);let m=i.gql` 319 query getUser { 320 user { 321 id 322 firstName 323 lastName 324 buypassId 325 email 326 age 327 gender 328 personId 329 DoB 330 phone 331 } 332 } 333`,I=i.gql` 334 query getHeaderUser { 335 headerUser { 336 id 337 buypassId 338 firstName 339 lastName 340 } 341 } 342`,f=i.gql` 343 query getUserEvents { 344 user { 345 id 346 buypassId 347 firstName 348 events { 349 id 350 status 351 } 352 } 353 } 354`,v=i.gql` 355 query getUserFirebaseToken { 356 user { 357 id 358 firebaseToken 359 buypassId 360 } 361 } 362`,y=i.gql` 363 query getEventTitle($id: ID!) { 364 event(where: { id: $id }) { 365 title 366 isTemplate 367 } 368 } 369`,T=i.gql` 370 query getLicenseEvents($orgId: Int!) { 371 events( 372 where: { 373 sfId: $orgId 374 type: { equals: LICENSE } 375 status: { equals: PUBLISHED } 376 } 377 ) { 378 id 379 title 380 createdAt 381 updatedAt 382 status 383 scheduleStartDateTime
384 scheduleEndDateTime 385 } 386 } 387`,N=i.gql` 388 mutation addCompetitionTypeToFederation($id: ID!) { 389 createCompetitionType( 390 where: { id: $id } 391 data: { name: "", connectTo: federationActivity } 392 ) { 393 id 394 } 395 } 396`,E=i.gql` 397 mutation updateCompetitionType($id: ID!, $name: String!) { 398 updateCompetitionType(where: { id: $id }, data: { name: $name }) { 399 id 400 name 401 } 402 } 403`,b=i.gql` 404 mutation deleteCompetitionType($id: ID!) { 405 deleteCompetitionType(where: { id: $id }) { 406 id 407 } 408 } 409`,$=i.gql` 410 mutation addQuestionToFederation($id: ID!) { 411 createQuestion( 412 where: { id: $id } 413 data: { question: "", required: false, connectTo: federationActivity } 414 ) { 415 id 416 } 417 } 418`,D=i.gql` 419 mutation createQuestionMutation( 420 $id: ID! 421 $connectTo: QuestionConnectToTypeEnum! 422 ) { 423 createQuestion( 424 where: { id: $id } 425 data: { question: "", connectTo: $connectTo } 426 ) { 427 id 428 question 429 type 430 choices 431 required 432 isFromFederation 433 isRequiredFromFederation 434 } 435 } 436`,_=i.gql` 437 mutation updateQuestion( 438 $id: ID! 439 $question: String! 440 $required: Boolean 441 $type: CustomQuestion_type 442 $choices: [String!] 443 ) { 444 updateQuestion( 445 where: { id: $id } 446 data: { 447 question: $question 448 required: $required 449 type: $type 450 choices: $choices 451 } 452 ) { 453 id 454 question 455 type 456 choices 457 required 458 } 459 } 460`,C=i.gql` 461 mutation deleteQuestion($id: ID!) { 462 deleteQuestion(where: { id: $id }) { 463 id 464 } 465 } 466`,A=i.gql` 467 mutation upsertFederationProduct( 468 $id: ID 469 $federationId: String! 470 $name: String 471 $price: String 472 $currency: Product_currency 473 $vat: Int 474 $productNumber: String 475 $accountNumber: String 476 $required: Boolean 477 $sellingType: Selling_type 478 $sports: [SportDataInput!] 479 $eventTypes: [Event_type] 480 ) { 481 upsertFederationProduct( 482 where: { id: $id } 483 connect: { federationId: $federationId } 484 data: { 485 name: $name 486 price: $price 487 currency: $currency 488 vat: $vat 489 productNumber: $productNumber 490 accountNumber: $accountNumber 491 required: $required 492 sports: $sports 493 eventTypes: $eventTypes 494 sellingType: $sellingType 495 } 496 ) { 497 id 498 name 499 price 500 vat 501 currency 502 productNumber 503 accountNumber 504 required 505 sellingType 506 sports { 507 sportId 508 sportName 509 } 510 eventTypes 511 questions { 512 id 513 question 514 required 515 type 516 choices 517 } 518 } 519 } 520`,S=i.gql` 521 mutation deleteFederationProduct($id: ID!) { 522 deleteFederationProduct(where: { id: $id }) { 523 id 524 } 525 } 526`,O=i.gql` 527 mutation updateCheckIn( 528 $id: ID! 529 $eventId: ID! 530 $eventToken: String! 531 $checkedIn: Boolean! 532 ) { 533 updateCheckIn( 534 where: { id: $id, eventId: $eventId, token: $eventToken } 535 data: { checkedIn: $checkedIn } 536 ) { 537 id 538 checkedIn 539 } 540 } 541`,k=i.gql` 542 mutation updateTeamCheckIn( 543 $id: ID! 544 $eventId: ID! 545 $eventToken: String! 546 $checkedIn: Boolean! 547 ) { 548 updateTeamCheckIn( 549 where: { id: $id, eventId: $eventId, eventToken: $eventToken } 550 data: { checkedIn: $checkedIn } 551 ) { 552 id 553 checkedIn 554 } 555 } 556`,w=i.gql` 557 query getTemplates($orgId: Int) { 558 templates(where: { orgId: $orgId }) { 559 id 560 orgId 561 event { 562 id 563 title 564 createdAt 565 } 566 } 567 } 568`,x=i.gql` 569 mutation upsertSurveyConfiguration( 570 $surveyObjectId: String! 571 $showSurveyPrompt: Boolean 572 $showEventPagePrompt: Boolean 573 $showUxSurveyPrompt_08_10_24: Boolean 574 ) { 575 upsertSurveyConfiguration( 576 where: { surveyObjectId: $surveyObjectId } 577 data: { 578 showSurveyPrompt: $showSurveyPrompt 579 showEventPagePrompt: $showEventPagePrompt 580 showUxSurveyPrompt_08_10_24: $showUxSurveyPrompt_08_10_24 581 } 582 ) { 583 id 584 surveyObjectId 585 showSurveyPrompt 586 showEventPagePrompt 587 showUxSurveyPrompt_08_10_24 588 } 589 } 590`,R=i.gql` 591 query getSurveyConfiguration($surveyObjectId: String!) { 592 surveyConfiguration(where: { surveyObjectId: $surveyObjectId }) { 593 id 594 surveyObjectId 595 showSurveyPrompt 596 showEventPagePrompt 597 showUxSurveyPrompt_08_10_24 598 } 599 } 600`,P=i.gql` 601 query getFisCodes( 602 $bpIds: [String!] 603 $personIds: [String!] 604 $sportId: Int! 605 $disciplineCode: String! 606 ) { 607 fisCompetitor( 608 where: { 609 bpIds: $bpIds 610 personIds: $personIds 611 sportId: $sportId 612 disciplineCode: $disciplineCode 613 } 614 ) { 615 fisCode 616 buypassId 617 personId 618 } 619 } 620`,q=i.gql` 621 query getProffTeamAndHighSchool( 622 $buypassId: String! 623 $personId: String 624 $orgTypeId: Int 625 ) { 626 personActivityTeams( 627 where: { 628 buypassId: $buypassId 629 personId: $personId 630 orgTypeId: $orgTypeId 631 } 632 ) { 633 orgId 634 orgName 635 orgTypeId 636 organisationNumber 637 abbreviation 638 describingName 639 addressLine1 640 addressLine2 641 postCode 642 city 643 country 644 email 645 phone1 646 phone2 647 mobilePhone 648 sportId 649 owningOrgId 650 } 651 } 652`,L=i.gql` 653 mutation updateActivityRegistration( 654 $id: ID! 655 $answers: [CustomUpsertAnswerDataInput!] 656 $status: ActivityRegistration_status 657 $licenceNumber: String 658 $startNumber: Int 659 $fisCode: Int 660 $professionalTeam: String 661 $professionalTeamShort: String 662 $professionalTeamOrgId: Int 663 $sportsHighSchool: String 664 $sportsHighSchoolShort: String 665 $sportsHighSchoolOrgId: Int 666 $updateOrderLine: OrderLineRemovedEnumType 667 ) { 668 updateActivityRegistration( 669 where: { id: $id } 670 data: { 671 status: $status 672 answers: $answers 673 licenceNumber: $licenceNumber 674 startNumber: $startNumber 675 fisCode: $fisCode 676 professionalTeam: $professionalTeam 677 professionalTeamShort: $professionalTeamShort 678 professionalTeamOrgId: $professionalTeamOrgId 679 sportsHighSchool: $sportsHighSchool 680 sportsHighSchoolShort: $sportsHighSchoolShort 681 sportsHighSchoolOrgId: $sportsHighSchoolOrgId 682 updateOrderLine: $updateOrderLine 683 } 684 ) { 685 id 686 status 687 answers { 688 id 689 questionId 690 answer 691 displayAnswer 692 } 693 licenceNumber 694 startNumber 695 fisCode 696 professionalTeam 697 professionalTeamShort 698 professionalTeamOrgId 699 sportsHighSchool 700 sportsHighSchoolShort 701 sportsHighSchoolOrgId 702 } 703 } 704`;i.gql` 705 query participantActivityRegs($participantId: String!) { 706 participantActivityRegs(where: { participantId: $participantId }) { 707 id 708 status 709 licenceNumber 710 startNumber 711 activity { 712 id 713 sportId 714 name 715 requiresLicence 716 } 717 oneTimeLicence { 718 licenceNumber 719 } 720 oneTimeLicence2 { 721 licenceNumber 722 price 723 vat 724 sportId 725 duration 726 startDate 727 } 728 answers { 729 id 730 answer 731 displayAnswer 732 questionId 733 question { 734 id 735 question 736 type 737 required 738 } 739 } 740 teams { 741 id 742 name 743 participants { 744 ...TeamMemberParts 745 } 746 reserves { 747 ...TeamMemberParts 748 } 749 } 750 } 751 } 752 ${o} 753`,i.gql` 754 query participantProductRegs($participantId: String!) { 755 participantProductRegs(where: { participantId: $participantId }) { 756 id 757 status 758 amount 759 product { 760 id 761 name 762 price 763 mustBuy 764 } 765 federationProduct { 766 id 767 name 768 price 769 sellingType 770 } 771 answers { 772 id 773 answer 774 displayAnswer 775 questionId 776 question { 777 id 778 question 779 type 780 required 781 } 782 } 783 } 784 } 785`;let F=i.gql` 786 mutation createActivityRegistration( 787 $activityId: String! 788 $participantId: String! 789 $status: ActivityRegistration_status 790 ) { 791 createActivityRegistration( 792 data: { status: $status } 793 connect: { activityId: $activityId, participantId: $participantId } 794 ) { 795 id 796 } 797 } 798`;i.gql` 799 mutation deleteActivityRegistration( 800 $id: ID! 801 $updateOrderLine: OrderLineRemovedEnumType 802 ) { 803 deleteActivityRegistration( 804 where: { id: $id, updateOrderLine: $updateOrderLine } 805 ) { 806 id 807 } 808 } 809`;let M=i.gql` 810 mutation updateProductRegistration( 811 $id: ID! 812 $answers: [CustomUpsertAnswerDataInput!] 813 $amount: Int 814 $status: ActivityRegistration_status 815 ) { 816 updateProductRegistration( 817 where: { id: $id } 818 data: { answers: $answers, amount: $amount, status: $status } 819 ) { 820 id 821 status 822 amount 823 answers { 824 id 825 question { 826 id 827 question 828 type 829 required 830 } 831 answer 832 displayAnswer 833 } 834 } 835 } 836`,B=i.gql` 837 mutation createProductRegistration( 838 $productId: String 839 $federationProductId: String 840 $participantId: String! 841 $productNumber: String 842 $status: ActivityRegistration_status 843 ) { 844 createProductRegistration( 845 data: { status: $status, productNumber: $productNumber } 846 connect: { 847 productId: $productId 848 federationProductId: $federationProductId 849 participantId: $participantId 850 } 851 ) { 852 id 853 } 854 } 855`,K=i.gql` 856 mutation deleteProductRegistration( 857 $id: ID! 858 $updateOrderLine: OrderLineRemovedEnumType 859 ) { 860 deleteProductRegistration( 861 where: { id: $id, updateOrderLine: $updateOrderLine } 862 ) { 863 id 864 } 865 } 866`,U=i.gql` 867 query getFederationEvents($sfId: Int!) { 868 publicEvents( 869 where: { 870 organizerId: $sfId 871 type: { equals: EVENT_SERIES } 872 status: { equals: PUBLISHED } 873 } 874 orderBy: { title: asc } 875 ) { 876 id 877 title 878 status 879 createdAt 880 } 881 } 882`,V=i.gql` 883 query personRelations( 884 $buypassId: String 885 $personId: String 886 $noCache: Boolean 887 ) { 888 personRelations( 889 where: { buypassId: $buypassId, personId: $personId, noCache: $noCache } 890 ) { 891 parentPersonId 892 childPersonId 893 childBuypassId 894 childBirthDate 895 childFirstName 896 childLastName 897 childGender 898 country 899 countryCode 900 } 901 } 902`,Q=i.gql` 903 mutation createPersonRelation($nnin: String!, $name: String!) { 904 createPersonRelation(where: { nnin: $nnin, name: $name }) { 905 personId 906 } 907 } 908`;i.gql` 909 query getFolkeregisterPersonData($nnin: String!) { 910 getFolkeregisterPersonData(where: { nnin: $nnin }) { 911 identity_number 912 birth_date 913 name { 914 first_name 915 middle_name 916 last_name 917 } 918 kjoenn 919 citizenships 920 identity_documents 921 foreign_identities 922 parental_responsibilities 923 status 924 residential_address { 925 address_name 926 address_number { 927 house_number 928 house_letter 929 } 930 address_location { 931 address_location_name 932 zip_code 933 } 934 } 935 } 936 } 937`;let j=i.gql` 938 query userLicenses( 939 $buypassId: String 940 $personId: String 941 $eventId: String 942 $noCache: Boolean 943 ) { 944 userLicenses( 945 where: { 946 buypassId: $buypassId 947 personId: $personId 948 eventId: $eventId 949 noCache: $noCache 950 } 951 ) { 952 iSonenLicenses { 953 licenseNumber 954 createdAt 955 validYear 956 startTime 957 endTime 958 sfId 959 eventName 960 eventId 961 firstName 962 lastName 963 clubName 964 gender 965 phone 966 status 967 activity { 968 id 969 name 970 event { 971 id 972 organizer 973 } 974 } 975 } 976 nifLicenses { 977 paid 978 licenseXId 979 licensePeriodFromDate 980 licensePeriodToDate 981 sfOrgId 982 licensePeriodName 983 licenseName 984 } 985 oneTimeLicenses { 986 licenceNumber 987 status 988 buypassId 989 personId 990 sportId 991 startDate 992 duration 993 eventId 994 } 995 } 996 } 997`,G=i.gql` 998 query personRoles($orgId: Int, $buypassId: String, $personId: String) { 999 personRoles( 1000 where: { orgId: $orgId, buypassId: $buypassId, personId: $personId } 1001 ) { 1002 personId 1003 orgId 1004 orgName 1005 orgTypeId 1006 functionId 1007 functionTypeId 1008 functionTypeName 1009 functionStartDate 1010 functionEndDate 1011 } 1012 } 1013`;i.gql` 1014 query personRoles($orgId: Int, $buypassId: String) { 1015 personRoles(where: { orgId: $orgId, buypassId: $buypassId }) { 1016 personId 1017 orgId 1018 orgName 1019 functionTypeId 1020 } 1021 } 1022`;let H=i.gql` 1023 query weatherData($id: ID!) { 1024 weatherData(where: { id: $id }) { 1025 locationName 1026 minTemperature 1027 maxTemperature 1028 eventTime 1029 temperatureAtEventTime 1030 weatherSymbol
1031 nextOneHourPrecipitationAmount 1032 nextOneHourPrecipitationAmount 1033 windDirection 1034 windSpeed 1035 updatedAt 1036 } 1037 } 1038`,z=i.gql` 1039 query getEditorEventOverview($id: ID!) { 1040 editorEvents(where: { id: $id, status: { not: ARCHIVED } }) { 1041 id 1042 } 1043 } 1044`,Y=i.gql` 1045 query clubStructure($orgId: Int!) { 1046 clubStructure(where: { orgId: $orgId, fetchLogo: true }) { 1047 orgId 1048 orgName 1049 orgLogoBase64 1050 } 1051 } 1052`,W=i.gql` 1053 query clubStructure($orgId: Int!) { 1054 clubStructure(where: { orgId: $orgId }) { 1055 orgId 1056 orgName 1057 orgTypeId 1058 organisationNumber 1059 email 1060 referenceId 1061 abbreviation 1062 describingName 1063 homePage 1064 mobilePhone 1065 addressLine1 1066 addressLine2 1067 city 1068 country 1069 countryId 1070 postCode 1071 longitude 1072 latitude 1073 members 1074 groups { 1075 orgId 1076 orgName 1077 describingName 1078 orgTypeId 1079 sportId 1080 sportName 1081 sfOrgId 1082 sfOrgName 1083 sfConfederationOrgId 1084 sfConfederationOrgName 1085 sfRegionOrgId 1086 sfRegionOrgName 1087 organisationNumber 1088 branches { 1089 orgId 1090 orgName 1091 describingName 1092 orgTypeId 1093 sportId 1094 sportName 1095 sfOrgId 1096 sfOrgName 1097 sfConfederationOrgId 1098 sfConfederationOrgName 1099 sfRegionOrgId 1100 sfRegionOrgName 1101 organisationNumber 1102 } 1103 } 1104 } 1105 } 1106`;i.gql` 1107 query corpClubStructure($orgId: Int!) { 1108 corpClubStructure(where: { orgId: $orgId }) { 1109 orgId 1110 orgName 1111 orgTypeId 1112 organisationNumber 1113 email 1114 referenceId 1115 abbreviation 1116 describingName 1117 homePage 1118 mobilePhone 1119 addressLine1 1120 addressLine2 1121 city 1122 country 1123 countryId 1124 postCode 1125 longitude 1126 latitude 1127 members 1128 } 1129 } 1130`;let J=i.gql` 1131 query getUserOrgs($buypassId: String, $personId: String) { 1132 userOrgs(where: { buypassId: $buypassId, personId: $personId }) { 1133 orgId 1134 orgName 1135 orgTypeId 1136 roles 1137 sfRelations { 1138 orgId 1139 orgName 1140 } 1141 confederationRelations { 1142 orgId 1143 orgName 1144 sfId 1145 sfName 1146 } 1147 regionRelations { 1148 orgId 1149 orgName 1150 sfId 1151 sfName 1152 } 1153 clubRelations { 1154 orgId 1155 orgName 1156 } 1157 groupRelations { 1158 orgId 1159 orgName 1160 sfId 1161 } 1162 } 1163 } 1164`,X=i.gql` 1165 query getUserOrgs($buypassId: String, $personId: String) { 1166 userOrgs(where: { buypassId: $buypassId, personId: $personId }) { 1167 orgId 1168 orgName 1169 orgTypeId 1170 organisationNumber 1171 roles 1172 bankAccounts { 1173 accountId 1174 description 1175 } 1176 } 1177 } 1178`,Z=i.gql` 1179 query getOrgRelations($orgId: Int, $organisationNumber: String) { 1180 orgRelations( 1181 where: { orgId: $orgId, organisationNumber: $organisationNumber } 1182 ) { 1183 orgId 1184 orgName 1185 orgTypeId 1186 sfRelations { 1187 orgId 1188 orgName 1189 } 1190 confederationRelations { 1191 orgId 1192 orgName 1193 } 1194 regionRelations { 1195 orgId 1196 orgName 1197 } 1198 clubRelations { 1199 orgId 1200 orgName 1201 } 1202 groupRelations { 1203 orgId 1204 orgName 1205 sfId 1206 } 1207 } 1208 } 1209`,ee=i.gql` 1210 query orgBankAccounts($organisationNumber: String, $orgId: Int) { 1211 orgBankAccounts( 1212 where: { organisationNumber: $organisationNumber, orgId: $orgId } 1213 ) { 1214 accountId 1215 description 1216 } 1217 } 1218`,et=i.gql` 1219 query personInfo($buypassId: String, $personId: String) { 1220 personInfo(where: { buypassId: $buypassId, personId: $personId }) { 1221 personId 1222 buypassId 1223 firstName 1224 lastName 1225 country 1226 countryCode 1227 personGender 1228 primaryPhoneMobile 1229 primaryEmail 1230 birthDate 1231 addressLine1 1232 postCode 1233 city 1234 } 1235 } 1236`;i.gql` 1237 query getUserRegistrations { 1238 userRegistrations(where: { status: { equals: PUBLISHED } }) { 1239 id 1240 createdAt 1241 updatedAt 1242 status 1243 orgId 1244 type 1245 event { 1246 id 1247 title 1248 } 1249 participants { 1250 id 1251 firstName 1252 lastName 1253 } 1254 } 1255 } 1256`,i.gql` 1257 query getUserDraftRegistrations($eventId: ID) { 1258 userRegistrations( 1259 where: { status: { equals: DRAFT }, eventId: $eventId } 1260 orderBy: { createdAt: asc } 1261 ) { 1262 id 1263 createdAt 1264 updatedAt 1265 status 1266 orgId 1267 type 1268 event { 1269 id 1270 title 1271 } 1272 participants { 1273 id 1274 firstName 1275 lastName 1276 } 1277 transaction { 1278 id 1279 status 1280 } 1281 } 1282 } 1283`;let ei=i.gql` 1284 query EventDraftRegistrations( 1285 $eventId: ID! 1286 $orderBy: RegistrationOrderByInput 1287 ) { 1288 eventDraftRegistrations(where: { eventId: $eventId }, orderBy: $orderBy) { 1289 id 1290 status 1291 type 1292 registrant 1293 registrantEmail 1294 createdAt 1295 updatedAt 1296 orgId 1297 orgName 1298 participants { 1299 id 1300 firstName 1301 lastName 1302 } 1303 user { 1304 id 1305 firstName 1306 lastName 1307 email 1308 } 1309 transaction { 1310 id 1311 status 1312 } 1313 } 1314 } 1315`,er=i.gql` 1316 query getUserDrafts { 1317 events(where: { status: { equals: DRAFT } }, orderBy: { updatedAt: desc }) { 1318 id 1319 title 1320 createdAt 1321 updatedAt 1322 organizer 1323 } 1324 } 1325`,en=i.gql` 1326 mutation archiveEvent($id: ID!) { 1327 archiveEvent(where: { id: $id }) { 1328 id 1329 } 1330 } 1331`;var es=((t={}).TimingChip="TimingChip",t.BirkID="BirkID",t.VasaID="VasaID",t.FISCode="FISCode",t);let ea=i.gql` 1332 query getTimingChips($personId: String!) { 1333 timingChips(where: { personId: $personId }) { 1334 deviceId 1335 deviceName 1336 deviceVendorId 1337 personId 1338 registeredByPersonId 1339 buypassId 1340 isActive 1341 } 1342 } 1343`,eo=i.gql` 1344 query getDeviceVendors( 1345 $contextOrgId: String! 1346 $showInactive: Boolean! 1347 $skip: Int! 1348 $take: Int! 1349 $deviceType: DeviceVendorType! 1350 ) { 1351 deviceVendors( 1352 where: { 1353 contextOrgId: $contextOrgId 1354 showInactive: $showInactive 1355 skip: $skip 1356 take: $take 1357 deviceType: $deviceType 1358 } 1359 ) { 1360 items { 1361 id 1362 name 1363 isActive 1364 } 1365 count 1366 } 1367 } 1368`,ed=i.gql` 1369 mutation registerNewTimingChip( 1370 $deviceName: String! 1371 $registeredByPersonId: Int! 1372 $deviceVendorId: Int! 1373 $deviceId: String! 1374 $isActive: Boolean! 1375 $personId: Int 1376 $buypassId: Int 1377 ) { 1378 registerNewDevice( 1379 where: { 1380 deviceName: $deviceName 1381 registeredByPersonId: $registeredByPersonId 1382 deviceVendorId: $deviceVendorId 1383 deviceId: $deviceId 1384 isActive: $isActive 1385 personId: $personId 1386 buypassId: $buypassId 1387 } 1388 ) { 1389 deviceId 1390 deviceName 1391 deviceVendorId 1392 registeredByPersonId 1393 isActive 1394 personId 1395 buypassId 1396 } 1397 } 1398`,eu=i.gql` 1399 mutation upsertFederationProductMapping( 1400 $id: ID 1401 $eventId: ID! 1402 $federationProductId: ID! 1403 $active: Boolean 1404 ) { 1405 upsertFederationProductMapping( 1406 where: { id: $id } 1407 data: { 1408 active: $active 1409 eventId: $eventId 1410 federationProductId: $federationProductId 1411 } 1412 ) { 1413 id 1414 active 1415 eventId 1416 federationProductId 1417 } 1418 } 1419`,ec=i.gql` 1420 mutation deleteRegistration($id: ID!) { 1421 deleteRegistration(where: { id: $id }) { 1422 id 1423 } 1424 } 1425`,el=i.gql` 1426 mutation upsertSportFederationSettings( 1427 $id: ID 1428 $sportId: Int! 1429 $federationId: String 1430 $timingChipMode: Required_optional_status 1431 $seasonStart: DateTime
1432 $ageCalculatedFrom: AgeCalculatedFrom_enum 1433 $strictAgeClasses: Boolean 1434 $schoolName: String 1435 ) { 1436 upsertSportFederationSettings( 1437 where: { id: $id } 1438 data: { 1439 sportId: $sportId 1440 federationId: $federationId 1441 timingChipMode: $timingChipMode 1442 seasonStart: $seasonStart 1443 ageCalculatedFrom: $ageCalculatedFrom 1444 strictAgeClasses: $strictAgeClasses 1445 schoolName: $schoolName 1446 } 1447 ) { 1448 id 1449 sportId 1450 federationId 1451 timingChipMode 1452 seasonStart 1453 ageCalculatedFrom 1454 strictAgeClasses 1455 schoolName 1456 } 1457 } 1458`,ep=i.gql` 1459 mutation upsertEventOverriddenSettings( 1460 $eventId: ID! 1461 $requiresOneTimeLicence: Boolean 1462 ) { 1463 upsertEventOverriddenSettings( 1464 where: { eventId: $eventId } 1465 data: { requiresOneTimeLicence: $requiresOneTimeLicence } 1466 ) { 1467 id 1468 createdAt 1469 updatedAt 1470 eventId 1471 requiresOneTimeLicence 1472 } 1473 } 1474`,eh=i.gql` 1475 mutation deleteEventOverriddenSettings($eventId: ID!) { 1476 deleteEventOverriddenSettings(where: { eventId: $eventId }) 1477 } 1478`,eg=i.gql` 1479 mutation upsertDiscountCoupon( 1480 $id: ID 1481 $eventId: String 1482 $code: String! 1483 $discount: Int! 1484 $discountType: OrderLine_discountType 1485 ) { 1486 upsertDiscountCoupon( 1487 where: { id: $id } 1488 data: { 1489 eventId: $eventId 1490 code: $code 1491 discount: $discount 1492 discountType: $discountType 1493 } 1494 ) { 1495 id 1496 eventId 1497 code 1498 discount 1499 discountType 1500 } 1501 } 1502`,em=i.gql` 1503 mutation deleteDiscountCoupon($id: ID!) { 1504 deleteDiscountCoupon(where: { id: $id }) { 1505 id 1506 eventId 1507 code 1508 discount 1509 discountType 1510 } 1511 } 1512`,eI=i.gql` 1513 query discountCoupons($eventId: ID!) { 1514 discountCoupons(where: { eventId: $eventId }) { 1515 id 1516 eventId 1517 code 1518 discount 1519 discountType 1520 } 1521 } 1522`,ef=i.gql` 1523 query checkDiscountCoupon($eventId: ID!, $code: String!) { 1524 checkDiscountCoupon(where: { eventId: $eventId, code: $code }) { 1525 id 1526 eventId 1527 code 1528 discount 1529 discountType 1530 } 1531 } 1532`,ev=i.gql` 1533 query federations { 1534 federations { 1535 id 1536 orgId 1537 name 1538 } 1539 } 1540`,ey=i.gql` 1541 mutation publishEvent($id: ID!) { 1542 publishEvent(where: { id: $id }) { 1543 id 1544 status 1545 } 1546 } 1547`,eT=i.gql` 1548 query userWithFavorites { 1549 userWithFavorites { 1550 buypassId 1551 favoriteEvents 1552 } 1553 } 1554`;e.s(["DeviceVendorType",()=>es,"addCompetitionTypeToFederationMutation",0,N,"addQuestionToFederationMutation",0,$,"archiveEvent",0,en,"checkDiscountCoupon",0,ef,"createActivityRegistration",0,F,"createPersonRelation",0,Q,"createProductRegistration",0,B,"createQuestionMutation",0,D,"deleteCompetitionTypeMutation",0,b,"deleteDiscountCoupon",0,em,"deleteEventOverriddenSettings",0,eh,"deleteFederationProductMutation",0,S,"deleteProductRegistration",0,K,"deleteQuestionMutation",0,C,"deleteRegistration",0,ec,"getClubLogo",0,Y,"getClubStructure",0,W,"getDiscountCoupons",0,eI,"getEditorEvents",0,z,"getEventDraftRegistrations",0,ei,"getEventTitle",0,y,"getFederationEventSeries",0,U,"getFederations",0,ev,"getFisCodes",0,P,"getHeaderUser",0,I,"getLicenseEvents",0,T,"getOrgBankAccounts",0,ee,"getOrgRelations",0,Z,"getPersonInfo",0,et,"getPersonRelations",0,V,"getPersonRoles",0,G,"getProffTeamAndHighSchool",0,q,"getSurveyConfiguration",0,R,"getTemplates",0,w,"getTimingChipVendors",0,eo,"getTimingChips",0,ea,"getUser",0,m,"getUserDrafts",0,er,"getUserEvents",0,f,"getUserFirebaseToken",0,v,"getUserLicenses",0,j,"getUserOrgs",0,J,"getUserOrgsWithBankAccounts",0,X,"getWeatherData",0,H,"publishEvent",0,ey,"registerNewTimingChip",0,ed,"updateActivityRegistration",0,L,"updateCompetitionTypeMutation",0,E,"updateParticipantCheckIn",0,O,"updateProductRegistration",0,M,"updateQuestionMutation",0,_,"updateTeamCheckIn",0,k,"upsertDiscountCoupon",0,eg,"upsertEventOverriddenSettings",0,ep,"upsertFederationProductMappingMutation",0,eu,"upsertFederationProductMutation",0,A,"upsertSportFederationSettings",0,el,"upsertSurveyConfiguration",0,x,"userWithFavoritesQuery",0,eT],688890)}]);
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.