altair-static 6.0.2 → 6.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/dist/106.js +5 -0
- package/build/dist/150.js +5 -0
- package/build/dist/193.js +5 -0
- package/build/dist/199.js +5 -0
- package/build/dist/27.js +5 -0
- package/build/dist/295.js +5 -0
- package/build/dist/3rdpartylicenses.txt +5 -104
- package/build/dist/518.js +5 -0
- package/build/dist/526.js +5 -0
- package/build/dist/557.js +5 -0
- package/build/dist/639.js +5 -0
- package/build/dist/658.js +5 -0
- package/build/dist/671.js +5 -0
- package/build/dist/682.js +5 -0
- package/build/dist/753.js +5 -0
- package/build/dist/857.js +5 -0
- package/build/dist/994.js +5 -0
- package/build/dist/assets/i18n/ach-UG.json +6 -0
- package/build/dist/assets/i18n/cs-CZ.json +6 -0
- package/build/dist/assets/i18n/da-DK.json +6 -0
- package/build/dist/assets/i18n/de-DE.json +6 -0
- package/build/dist/assets/i18n/default.json +8 -1
- package/build/dist/assets/i18n/en-US.json +6 -0
- package/build/dist/assets/i18n/es-ES.json +6 -0
- package/build/dist/assets/i18n/fi-FI.json +6 -0
- package/build/dist/assets/i18n/fr-FR.json +6 -0
- package/build/dist/assets/i18n/hu-HU.json +6 -0
- package/build/dist/assets/i18n/it-IT.json +6 -0
- package/build/dist/assets/i18n/ja-JP.json +6 -0
- package/build/dist/assets/i18n/ko-KR.json +6 -0
- package/build/dist/assets/i18n/nl-NL.json +6 -0
- package/build/dist/assets/i18n/no-NO.json +6 -0
- package/build/dist/assets/i18n/pl-PL.json +6 -0
- package/build/dist/assets/i18n/pt-BR.json +6 -0
- package/build/dist/assets/i18n/pt-PT.json +6 -0
- package/build/dist/assets/i18n/ro-RO.json +6 -0
- package/build/dist/assets/i18n/ru-RU.json +6 -0
- package/build/dist/assets/i18n/sr-SP.json +6 -0
- package/build/dist/assets/i18n/sv-SE.json +6 -0
- package/build/dist/assets/i18n/tr-TR.json +6 -0
- package/build/dist/assets/i18n/uk-UA.json +6 -0
- package/build/dist/assets/i18n/vi-VN.json +6 -0
- package/build/dist/assets/i18n/zh-CN.json +6 -0
- package/build/dist/assets/i18n/zh-TW.json +6 -0
- package/build/dist/common.js +2 -2
- package/build/dist/main.js +4 -4
- package/build/dist/polyfills.js +3 -3
- package/build/dist/runtime.js +2 -2
- package/build/dist/styles.css +1 -1
- package/build/index.d.ts +2 -2
- package/package.json +5 -5
- package/build/dist/114.js +0 -5
- package/build/dist/176.js +0 -5
- package/build/dist/38.js +0 -5
- package/build/dist/404.js +0 -5
- package/build/dist/414.js +0 -5
- package/build/dist/425.js +0 -5
- package/build/dist/485.js +0 -5
- package/build/dist/494.js +0 -5
- package/build/dist/579.js +0 -5
- package/build/dist/614.js +0 -5
- package/build/dist/629.js +0 -5
- package/build/dist/670.js +0 -5
- package/build/dist/788.js +0 -5
- package/build/dist/881.js +0 -5
- package/build/dist/913.js +0 -5
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ac93024d-8fc0-5a5e-9c19-629d44539e74")}catch(e){}}();
|
|
3
|
+
(self.webpackChunkaltair=self.webpackChunkaltair||[]).push([[199],{39199:(ie,J,R)=>{R.r(J),R.d(J,{GraphQLSSESubscriptionProvider:()=>re});var N=R(26642),$=R(29954),B=R(78345);function H(e){if("next"!==e&&"complete"!==e)throw new Error(`Invalid stream event "${e}"`);return e}function W(e,t){if(t)try{t=JSON.parse(t)}catch{throw new Error("Invalid stream data")}if("next"===e&&!t)throw new Error('Stream data must be an object for "next" events');return t||null}var _=function(e){return e[e.NewLine=10]="NewLine",e[e.CchunkiageReturn=13]="CchunkiageReturn",e[e.Space=32]="Space",e[e.Colon=58]="Colon",e}(_||{}),K=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e="function"==typeof __values?__values(e):e[Symbol.iterator](),n={},f("next"),f("throw"),f("return"),n[Symbol.asyncIterator]=function(){return this},n);function f(y){n[y]=e[y]&&function(w){return new Promise(function(m,b){!function s(y,w,m,b){Promise.resolve(b).then(function(v){y({value:v,done:m})},w)}(m,b,(w=e[y](w)).done,w.value)})}}},O=function(e){return this instanceof O?(this.v=e,this):new O(e)},Q=function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var s,f=n.apply(e,t||[]),y=[];return s={},w("next"),w("throw"),w("return"),s[Symbol.asyncIterator]=function(){return this},s;function w(r){f[r]&&(s[r]=function(o){return new Promise(function(u,x){y.push([r,o,u,x])>1||m(r,o)})})}function m(r,o){try{!function b(r){r.value instanceof O?Promise.resolve(r.value.v).then(v,h):l(y[0][2],r)}(f[r](o))}catch(u){l(y[0][3],u)}}function v(r){m("next",r)}function h(r){m("throw",r)}function l(r,o){r(o),y.shift(),y.length&&m(y[0][0],y[0][1])}};class I extends Error{constructor(t){let n,f;!function te(e){return function q(e){return"object"==typeof e&&null!==e}(e)&&"boolean"==typeof e.ok&&"number"==typeof e.status&&"string"==typeof e.statusText}(t)?n=t instanceof Error?t.message:String(t):(f=t,n="Server responded with "+t.status+": "+t.statusText),super(n),this.name=this.constructor.name,this.response=f}}function Y(e){return z.apply(this,arguments)}function z(){return z=(0,N.Z)(function*(e){const{signal:t,url:n,credentials:f,headers:s,body:y,fetchFn:w,onMessage:m}=e,b={},v={};let h;try{h=yield w(n,{signal:t,method:y?"POST":"GET",credentials:f,headers:Object.assign(Object.assign({},s),{accept:"text/event-stream"}),body:y})}catch(o){throw new I(o)}if(!h.ok)throw new I(h);if(!h.body)throw new Error("Missing response body");let r,l=null;return(0,N.Z)(function*(){var o,u,x;try{const E=function X(){let e,t,n,f=!1,s={event:"",data:""},y=[];const w=new TextDecoder;return function(b){if(void 0===e)e=b,t=0,n=-1;else{const l=new Uint8Array(e.length+b.length);l.set(e),l.set(b,e.length),e=l}const v=e.length;let h=0;for(;t<v;){f&&(e[t]===_.NewLine&&(h=++t),f=!1);let l=-1;for(;t<v&&-1===l;++t)switch(e[t]){case _.Colon:-1===n&&(n=t-h);break;case _.CchunkiageReturn:f=!0;case _.NewLine:l=t}if(-1===l)break;if(h===l){if(s.event||s.data){if(!s.event)throw new Error("Missing message event");const r=H(s.event),o=W(r,s.data);y.push({event:r,data:o}),s={event:"",data:""}}}else if(n>0){const r=e.subarray(h,l),o=w.decode(r.subarray(0,n)),x=w.decode(r.subarray(n+(r[n+1]===_.Space?2:1)));switch(o){case"event":s.event=x;break;case"data":s.data=s.data?s.data+"\n"+x:x}}h=t,n=-1}if(h===v){e=void 0;const l=[...y];return y=[],l}0!==h&&(e=e.subarray(h),t-=h)}}();try{for(var p,g=K(function ne(e){return"function"==typeof Object(e)[Symbol.asyncIterator]?e[Symbol.asyncIterator]():function(){return Q(this,arguments,function*(){const t=e.getReader();let n;do{n=yield O(t.read()),void 0!==n.value&&(yield yield O(n.value))}while(!n.done)})}()}(h.body));!(p=yield g.next()).done;){const S=p.value;if("string"==typeof S)throw new Error(`Unexpected string chunk "${S}"`);const a=E(S);if(a)for(const c of a){m?.(c);const i=c.data&&"id"in c.data?c.data.id:"";switch(i in v||(v[i]=[]),c.event){case"next":v[i].push(i?c.data.payload:c.data);break;case"complete":v[i].push("complete");break;default:throw new Error(`Unexpected message event "${c.event}"`)}null===(x=b[i])||void 0===x||x.proceed()}}}catch(S){o={error:S}}finally{try{p&&!p.done&&(u=g.return)&&(yield u.call(g))}finally{if(o)throw o.error}}}catch(E){l=/network|stream/i.test(E)?new I(E):E,r?.(l)}finally{Object.values(b).forEach(({proceed:E})=>E())}})(),{url:n,headers:s,waitForThrow:()=>new Promise((o,u)=>{if(l)return u(l);r=u}),getResults(o){var u;return Q(this,arguments,function*(){const{signal:g,operationId:p=""}=o??{};try{for(;;){for(;null!==(u=v[p])&&void 0!==u&&u.length;){const E=v[p].shift();if("complete"===E)return yield O(void 0);yield yield O(E)}if(l)throw l;if(g?.aborted)throw new Error("Getting results aborted by the client");yield O(new Promise(E=>{const S=()=>{g?.removeEventListener("abort",S),delete b[p],E()};g?.addEventListener("abort",S),b[p]={proceed:S}}))}}finally{delete v[p]}})}}}),z.apply(this,arguments)}class re extends $.q{createClient(){this.client=function ee(e){const{singleConnection:t=!1,lazy:n=!0,lazyCloseTimeout:f=0,onNonLazyError:s=console.error,generateID:y=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,c=>{const i=16*Math.random()|0;return("x"==c?i:3&i|8).toString(16)})},retryAttempts:w=5,retry:m=function(){var a=(0,N.Z)(function*(i){let D=1e3;for(let d=0;d<i;d++)D*=2;yield new Promise(d=>setTimeout(d,D+Math.floor(2700*Math.random()+300)))});return function c(i){return a.apply(this,arguments)}}(),credentials:b="same-origin",onMessage:v}=e,h=e.fetchFn||fetch,l=e.abortControllerImpl||AbortController,r=(()=>{let a=!1;const c=[];return{get disposed(){return a},onDispose:i=>a?(setTimeout(()=>i(),0),()=>{}):(c.push(i),()=>{c.splice(c.indexOf(i),1)}),dispose(){if(!a){a=!0;for(const i of[...c])i()}}}})();let o,u,x=0,g=null,p=0;function E(){return S.apply(this,arguments)}function S(){return(S=(0,N.Z)(function*(){try{if(r.disposed)throw new Error("Client has been disposed");return yield u??(u=(0,N.Z)(function*(){var a;if(g){if(yield m(p),o.signal.aborted)throw new Error("Connection aborted by the client");p++}o=new l;const c=r.onDispose(()=>o.abort());o.signal.addEventListener("abort",()=>{c(),u=void 0});const i="function"==typeof e.url?yield e.url():e.url;if(o.signal.aborted)throw new Error("Connection aborted by the client");const D="function"==typeof e.headers?yield e.headers():null!==(a=e.headers)&&void 0!==a?a:{};if(o.signal.aborted)throw new Error("Connection aborted by the client");let d;try{d=yield h(i,{signal:o.signal,method:"PUT",credentials:b,headers:D})}catch(L){throw new I(L)}if(201!==d.status)throw new I(d);const G=yield d.text();D["x-graphql-event-stream-token"]=G;const T=yield Y({signal:o.signal,headers:D,credentials:b,url:i,fetchFn:h,onMessage:v});return g=null,p=0,T.waitForThrow().catch(()=>u=void 0),T})())}catch(a){throw u=void 0,a}})).apply(this,arguments)}return t&&!n&&(0,N.Z)(function*(){for(x++;;)try{const{waitForThrow:a}=yield E();yield a()}catch(a){if(r.disposed)return;if(!(a instanceof I)||(u=void 0,!w||p>=w))return s?.(a);g=a}})(),{subscribe(a,c){if(!t){const d=new l,G=r.onDispose(()=>{G(),d.abort()});return(0,N.Z)(function*(){var T,L,F;let P=null,k=0;for(;;)try{if(P){if(yield m(k),d.signal.aborted)throw new Error("Connection aborted by the client");k++}const C="function"==typeof e.url?yield e.url():e.url;if(d.signal.aborted)throw new Error("Connection aborted by the client");const j="function"==typeof e.headers?yield e.headers():null!==(F=e.headers)&&void 0!==F?F:{};if(d.signal.aborted)throw new Error("Connection aborted by the client");const{getResults:A}=yield Y({signal:d.signal,headers:j,credentials:b,url:C,body:JSON.stringify(a),fetchFn:h,onMessage:v});P=null,k=0;try{for(var U,M=(T=void 0,K(A()));!(U=yield M.next()).done;)c.next(U.value)}catch(Z){T={error:Z}}finally{try{U&&!U.done&&(L=M.return)&&(yield L.call(M))}finally{if(T)throw T.error}}return d.abort()}catch(C){if(d.signal.aborted)return;if(!(C instanceof I)||!w||k>=w)throw C;P=C}})().then(()=>c.complete()).catch(T=>c.error(T)),()=>d.abort()}x++;const i=new l,D=r.onDispose(()=>{D(),i.abort()});return(0,N.Z)(function*(){var d,G;const T=y();a=Object.assign(Object.assign({},a),{extensions:Object.assign(Object.assign({},a.extensions),{operationId:T})});let L=null;for(;;){L=null;try{const{url:k,headers:M,getResults:U}=yield E();let C;try{C=yield h(k,{signal:i.signal,method:"POST",credentials:b,headers:M,body:JSON.stringify(a)})}catch(j){throw new I(j)}if(202!==C.status)throw new I(C);L=function(){var j=(0,N.Z)(function*(){let A;try{const Z=new l,oe=r.onDispose(()=>{oe(),Z.abort()});A=yield h(k+"?operationId="+T,{signal:Z.signal,method:"DELETE",credentials:b,headers:M})}catch(Z){throw new I(Z)}if(200!==A.status)throw new I(A)});return function(){return j.apply(this,arguments)}}();try{for(var P,F=(d=void 0,K(U({signal:i.signal,operationId:T})));!(P=yield F.next()).done;)c.next(P.value)}catch(j){d={error:j}}finally{try{P&&!P.done&&(G=F.return)&&(yield G.call(F))}finally{if(d)throw d.error}}return L=null,i.abort()}catch(k){if(i.signal.aborted)return yield L?.();if(!(k instanceof I)||(n&&(u=void 0),!w||p>=w))throw k;g=k}finally{i.signal.aborted&&0==--x&&(isFinite(f)&&f>0?setTimeout(()=>{x||o.abort()},f):o.abort())}}})().then(()=>c.complete()).catch(d=>c.error(d)),()=>i.abort()},dispose(){r.dispose()}}}({url:this.subscriptionUrl,headers:this.extraOptions?.headers})}execute(t){if(this.createClient(),!this.client)throw new Error("Could not create subscription client!");return new B.y(n=>{this.cleanup=this.client.subscribe({query:t.query,variables:t.variables,operationName:t.operationName},{next:(...f)=>n.next(...f),error:(...f)=>n.error(...f),complete:()=>n.complete()})})}close(){var t=this;return(0,N.Z)(function*(){try{t.cleanup?.(),t.cleanup=void 0,yield t.client?.dispose(),t.client=void 0}catch(n){console.error(n)}})()}}}}]);
|
|
4
|
+
//# sourceMappingURL=199.js.map
|
|
5
|
+
//# debugId=ac93024d-8fc0-5a5e-9c19-629d44539e74
|
package/build/dist/27.js
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="50bb3f0a-8d36-5144-861a-0cbb41508436")}catch(e){}}();
|
|
3
|
+
(self.webpackChunkaltair=self.webpackChunkaltair||[]).push([[27],{34027:(Ut,ht,at)=>{function y(e){return Array.isArray?Array.isArray(e):"[object Array]"===V(e)}at.d(ht,{Z:()=>Gt});function E(e){return"string"==typeof e}function Y(e){return"number"==typeof e}function G(e){return"object"==typeof e}function m(e){return null!=e}function T(e){return!e.trim().length}function V(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const _t=e=>`Missing ${e} property in key`,xt=e=>`Property 'weight' in key '${e}' must be a positive integer`,U=Object.prototype.hasOwnProperty;class yt{constructor(t){this._keys=[],this._keyMap={};let s=0;t.forEach(n=>{let r=Q(n);s+=r.weight,this._keys.push(r),this._keyMap[r.id]=r,s+=r.weight}),this._keys.forEach(n=>{n.weight/=s})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Q(e){let t=null,s=null,n=null,r=1;if(E(e)||y(e))n=e,t=X(e),s=F(e);else{if(!U.call(e,"name"))throw new Error(_t("name"));const c=e.name;if(n=c,U.call(e,"weight")&&(r=e.weight,r<=0))throw new Error(xt(c));t=X(c),s=F(c)}return{path:t,id:s,weight:r,src:n}}function X(e){return y(e)?e:e.split(".")}function F(e){return y(e)?e.join("."):e}var f={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,useExtendedSearch:!1,getFn:function Et(e,t){let s=[],n=!1;const r=(c,i,h)=>{if(m(c))if(i[h]){const o=c[i[h]];if(!m(o))return;if(h===i.length-1&&(E(o)||Y(o)||function dt(e){return!0===e||!1===e||function gt(e){return G(e)&&null!==e}(e)&&"[object Boolean]"==V(e)}(o)))s.push(function ft(e){return null==e?"":function ut(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}(o));else if(y(o)){n=!0;for(let l=0,u=o.length;l<u;l+=1)r(o[l],i,h+1)}else i.length&&r(o,i,h+1)}else s.push(c)};return r(e,E(t)?t.split("."):t,0),n?s:s[0]},ignoreLocation:!1,ignoreFieldNorm:!1};const It=/[^ ]+/g;class P{constructor({getFn:t=f.getFn}={}){this.norm=function St(e=3){const t=new Map,s=Math.pow(10,e);return{get(n){const r=n.match(It).length;if(t.has(r))return t.get(r);const c=1/Math.sqrt(r),i=parseFloat(Math.round(c*s)/s);return t.set(r,i),i},clear(){t.clear()}}}(3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((s,n)=>{this._keysMap[s.id]=n})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,E(this.docs[0])?this.docs.forEach((t,s)=>{this._addString(t,s)}):this.docs.forEach((t,s)=>{this._addObject(t,s)}),this.norm.clear())}add(t){const s=this.size();E(t)?this._addString(t,s):this._addObject(t,s)}removeAt(t){this.records.splice(t,1);for(let s=t,n=this.size();s<n;s+=1)this.records[s].i-=1}getValueForItemAtKeyId(t,s){return t[this._keysMap[s]]}size(){return this.records.length}_addString(t,s){if(!m(t)||T(t))return;let n={v:t,i:s,n:this.norm.get(t)};this.records.push(n)}_addObject(t,s){let n={i:s,$:{}};this.keys.forEach((r,c)=>{let i=this.getFn(t,r.path);if(m(i))if(y(i)){let h=[];const a=[{nestedArrIndex:-1,value:i}];for(;a.length;){const{nestedArrIndex:o,value:l}=a.pop();if(m(l))if(E(l)&&!T(l)){let u={v:l,i:o,n:this.norm.get(l)};h.push(u)}else y(l)&&l.forEach((u,d)=>{a.push({nestedArrIndex:d,value:u})})}n.$[c]=h}else if(!T(i)){let h={v:i,n:this.norm.get(i)};n.$[c]=h}}),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function J(e,t,{getFn:s=f.getFn}={}){const n=new P({getFn:s});return n.setKeys(e.map(Q)),n.setSources(t),n.create(),n}function At(e,{getFn:t=f.getFn}={}){const{keys:s,records:n}=e,r=new P({getFn:t});return r.setKeys(s),r.setIndexRecords(n),r}function C(e,{errors:t=0,currentLocation:s=0,expectedLocation:n=0,distance:r=f.distance,ignoreLocation:c=f.ignoreLocation}={}){const i=t/e.length;if(c)return i;const h=Math.abs(n-s);return r?i+h/r:h?1:i}const L=32;function bt(e){let t={};for(let s=0,n=e.length;s<n;s+=1){const r=e.charAt(s);t[r]=(t[r]||0)|1<<n-s-1}return t}class Z{constructor(t,{location:s=f.location,threshold:n=f.threshold,distance:r=f.distance,includeMatches:c=f.includeMatches,findAllMatches:i=f.findAllMatches,minMatchCharLength:h=f.minMatchCharLength,isCaseSensitive:a=f.isCaseSensitive,ignoreLocation:o=f.ignoreLocation}={}){if(this.options={location:s,threshold:n,distance:r,includeMatches:c,findAllMatches:i,minMatchCharLength:h,isCaseSensitive:a,ignoreLocation:o},this.pattern=a?t:t.toLowerCase(),this.chunks=[],!this.pattern.length)return;const l=(d,g)=>{this.chunks.push({pattern:d,alphabet:bt(d),startIndex:g})},u=this.pattern.length;if(u>L){let d=0;const g=u%L,p=u-g;for(;d<p;)l(this.pattern.substr(d,L),d),d+=L;if(g){const M=u-L;l(this.pattern.substr(M),M)}}else l(this.pattern,0)}searchIn(t){const{isCaseSensitive:s,includeMatches:n}=this.options;if(s||(t=t.toLowerCase()),this.pattern===t){let p={isMatch:!0,score:0};return n&&(p.indices=[[0,t.length-1]]),p}const{location:r,distance:c,threshold:i,findAllMatches:h,minMatchCharLength:a,ignoreLocation:o}=this.options;let l=[],u=0,d=!1;this.chunks.forEach(({pattern:p,alphabet:M,startIndex:b})=>{const{isMatch:I,score:R,indices:k}=function Lt(e,t,s,{location:n=f.location,distance:r=f.distance,threshold:c=f.threshold,findAllMatches:i=f.findAllMatches,minMatchCharLength:h=f.minMatchCharLength,includeMatches:a=f.includeMatches,ignoreLocation:o=f.ignoreLocation}={}){if(t.length>L)throw new Error("Pattern length exceeds max of 32.");const l=t.length,u=e.length,d=Math.max(0,Math.min(n,u));let g=c,p=d;const M=h>1||a,b=M?Array(u):[];let I;for(;(I=e.indexOf(t,p))>-1;){let _=C(t,{currentLocation:I,expectedLocation:d,distance:r,ignoreLocation:o});if(g=Math.min(_,g),p=I+l,M){let A=0;for(;A<l;)b[I+A]=1,A+=1}}p=-1;let R=[],k=1,v=l+u;const Vt=1<<l-1;for(let _=0;_<l;_+=1){let A=0,w=v;for(;A<w;)C(t,{errors:_,currentLocation:d+w,expectedLocation:d,distance:r,ignoreLocation:o})<=g?A=w:v=w,w=Math.floor((v-A)/2+A);v=w;let ct=Math.max(1,d-w+1),W=i?u:Math.min(d+w,u)+l,O=Array(W+2);O[W+1]=(1<<_)-1;for(let x=W;x>=ct;x-=1){let N=x-1,ot=s[e.charAt(N)];if(M&&(b[N]=+!!ot),O[x]=(O[x+1]<<1|1)&ot,_&&(O[x]|=(R[x+1]|R[x])<<1|1|R[x+1]),O[x]&Vt&&(k=C(t,{errors:_,currentLocation:N,expectedLocation:d,distance:r,ignoreLocation:o}),k<=g)){if(g=k,p=N,p<=d)break;ct=Math.max(1,2*d-p)}}if(C(t,{errors:_+1,currentLocation:d,expectedLocation:d,distance:r,ignoreLocation:o})>g)break;R=O}const H={isMatch:p>=0,score:Math.max(.001,k)};if(M){const _=function wt(e=[],t=f.minMatchCharLength){let s=[],n=-1,r=-1,c=0;for(let i=e.length;c<i;c+=1){let h=e[c];h&&-1===n?n=c:!h&&-1!==n&&(r=c-1,r-n+1>=t&&s.push([n,r]),n=-1)}return e[c-1]&&c-n>=t&&s.push([n,c-1]),s}(b,h);_.length?a&&(H.indices=_):H.isMatch=!1}return H}(t,p,M,{location:r+b,distance:c,threshold:i,findAllMatches:h,minMatchCharLength:a,includeMatches:n,ignoreLocation:o});I&&(d=!0),u+=R,I&&k&&(l=[...l,...k])});let g={isMatch:d,score:d?u/this.chunks.length:1};return d&&n&&(g.indices=l),g}}class S{constructor(t){this.pattern=t}static isMultiMatch(t){return q(t,this.multiRegex)}static isSingleMatch(t){return q(t,this.singleRegex)}search(){}}function q(e,t){const s=e.match(t);return s?s[1]:null}class tt extends S{constructor(t,{location:s=f.location,threshold:n=f.threshold,distance:r=f.distance,includeMatches:c=f.includeMatches,findAllMatches:i=f.findAllMatches,minMatchCharLength:h=f.minMatchCharLength,isCaseSensitive:a=f.isCaseSensitive,ignoreLocation:o=f.ignoreLocation}={}){super(t),this._bitapSearch=new Z(t,{location:s,threshold:n,distance:r,includeMatches:c,findAllMatches:i,minMatchCharLength:h,isCaseSensitive:a,ignoreLocation:o})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class et extends S{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n,s=0;const r=[],c=this.pattern.length;for(;(n=t.indexOf(this.pattern,s))>-1;)s=n+c,r.push([n,s-1]);const i=!!r.length;return{isMatch:i,score:i?0:1,indices:r}}}const j=[class kt extends S{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const s=t===this.pattern;return{isMatch:s,score:s?0:1,indices:[0,this.pattern.length-1]}}},et,class Ot extends S{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const s=t.startsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[0,this.pattern.length-1]}}},class $t extends S{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const s=!t.startsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[0,t.length-1]}}},class vt extends S{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const s=!t.endsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[0,t.length-1]}}},class Ct extends S{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const s=t.endsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[t.length-this.pattern.length,t.length-1]}}},class Rt extends S{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const n=-1===t.indexOf(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}},tt],st=j.length,Nt=/ +(?=([^\"]*\"[^\"]*\")*[^\"]*$)/,Pt=new Set([tt.type,et.type]),K=[];function z(e,t){for(let s=0,n=K.length;s<n;s+=1){let r=K[s];if(r.condition(e,t))return new r(e,t)}return new Z(e,t)}const D=e=>!(!e.$and&&!e.$or),nt=e=>({$and:Object.keys(e).map(t=>({[t]:e[t]}))});function rt(e,t,{auto:s=!0}={}){const n=r=>{let c=Object.keys(r);const i=(e=>!!e.$path)(r);if(!i&&c.length>1&&!D(r))return n(nt(r));if((e=>!y(e)&&G(e)&&!D(e))(r)){const a=i?r.$path:c[0],o=i?r.$val:r[a];if(!E(o))throw new Error((e=>`Invalid value for key ${e}`)(a));const l={keyId:F(a),pattern:o};return s&&(l.searcher=z(o,t)),l}let h={children:[],operator:c[0]};return c.forEach(a=>{const o=r[a];y(o)&&o.forEach(l=>{h.children.push(n(l))})}),h};return D(e)||(e=nt(e)),n(e)}function Ht(e,t){const s=e.matches;t.matches=[],m(s)&&s.forEach(n=>{if(!m(n.indices)||!n.indices.length)return;const{indices:r,value:c}=n;let i={indices:r,value:c};n.key&&(i.key=n.key.src),n.idx>-1&&(i.refIndex=n.idx),t.matches.push(i)})}function Wt(e,t){t.score=e.score}let it=(()=>{class e{constructor(s,n={},r){this.options={...f,...n},this._keyStore=new yt(this.options.keys),this.setCollection(s,r)}setCollection(s,n){if(this._docs=s,n&&!(n instanceof P))throw new Error("Incorrect 'index' type");this._myIndex=n||J(this.options.keys,this._docs,{getFn:this.options.getFn})}add(s){m(s)&&(this._docs.push(s),this._myIndex.add(s))}remove(s=(()=>!1)){const n=[];for(let r=0,c=this._docs.length;r<c;r+=1){const i=this._docs[r];s(i,r)&&(this.removeAt(r),r-=1,c-=1,n.push(i))}return n}removeAt(s){this._docs.splice(s,1),this._myIndex.removeAt(s)}getIndex(){return this._myIndex}search(s,{limit:n=-1}={}){const{includeMatches:r,includeScore:c,shouldSort:i,sortFn:h,ignoreFieldNorm:a}=this.options;let o=E(s)?E(this._docs[0])?this._searchStringList(s):this._searchObjectList(s):this._searchLogical(s);return function Dt(e,{ignoreFieldNorm:t=f.ignoreFieldNorm}){e.forEach(s=>{let n=1;s.matches.forEach(({key:r,norm:c,score:i})=>{const h=r?r.weight:null;n*=Math.pow(0===i&&h?Number.EPSILON:i,(h||1)*(t?1:c))}),s.score=n})}(o,{ignoreFieldNorm:a}),i&&o.sort(h),Y(n)&&n>-1&&(o=o.slice(0,n)),function Yt(e,t,{includeMatches:s=f.includeMatches,includeScore:n=f.includeScore}={}){const r=[];return s&&r.push(Ht),n&&r.push(Wt),e.map(c=>{const{idx:i}=c,h={item:t[i],refIndex:i};return r.length&&r.forEach(a=>{a(c,h)}),h})}(o,this._docs,{includeMatches:r,includeScore:c})}_searchStringList(s){const n=z(s,this.options),{records:r}=this._myIndex,c=[];return r.forEach(({v:i,i:h,n:a})=>{if(!m(i))return;const{isMatch:o,score:l,indices:u}=n.searchIn(i);o&&c.push({item:i,idx:h,matches:[{score:l,value:i,norm:a,indices:u}]})}),c}_searchLogical(s){const n=rt(s,this.options),r=(a,o,l)=>{if(!a.children){const{keyId:u,searcher:d}=a,g=this._findMatches({key:this._keyStore.get(u),value:this._myIndex.getValueForItemAtKeyId(o,u),searcher:d});return g&&g.length?[{idx:l,item:o,matches:g}]:[]}switch(a.operator){case"$and":{const u=[];for(let d=0,g=a.children.length;d<g;d+=1){const M=r(a.children[d],o,l);if(!M.length)return[];u.push(...M)}return u}case"$or":{const u=[];for(let d=0,g=a.children.length;d<g;d+=1){const M=r(a.children[d],o,l);if(M.length){u.push(...M);break}}return u}}},i={},h=[];return this._myIndex.records.forEach(({$:a,i:o})=>{if(m(a)){let l=r(n,a,o);l.length&&(i[o]||(i[o]={idx:o,item:a,matches:[]},h.push(i[o])),l.forEach(({matches:u})=>{i[o].matches.push(...u)}))}}),h}_searchObjectList(s){const n=z(s,this.options),{keys:r,records:c}=this._myIndex,i=[];return c.forEach(({$:h,i:a})=>{if(!m(h))return;let o=[];r.forEach((l,u)=>{o.push(...this._findMatches({key:l,value:h[u],searcher:n}))}),o.length&&i.push({idx:a,item:h,matches:o})}),i}_findMatches({key:s,value:n,searcher:r}){if(!m(n))return[];let c=[];if(y(n))n.forEach(({v:i,i:h,n:a})=>{if(!m(i))return;const{isMatch:o,score:l,indices:u}=r.searchIn(i);o&&c.push({score:l,key:s,value:i,idx:h,norm:a,indices:u})});else{const{v:i,n:h}=n,{isMatch:a,score:o,indices:l}=r.searchIn(i);a&&c.push({score:o,key:s,value:i,norm:h,indices:l})}return c}}return e.version="6.4.6",e.createIndex=J,e.parseIndex=At,e.config=f,e})();it.parseQuery=rt,function Kt(...e){K.push(...e)}(class jt{constructor(t,{isCaseSensitive:s=f.isCaseSensitive,includeMatches:n=f.includeMatches,minMatchCharLength:r=f.minMatchCharLength,ignoreLocation:c=f.ignoreLocation,findAllMatches:i=f.findAllMatches,location:h=f.location,threshold:a=f.threshold,distance:o=f.distance}={}){this.query=null,this.options={isCaseSensitive:s,includeMatches:n,minMatchCharLength:r,findAllMatches:i,ignoreLocation:c,location:h,threshold:a,distance:o},this.pattern=s?t:t.toLowerCase(),this.query=function Ft(e,t={}){return e.split("|").map(s=>{let n=s.trim().split(Nt).filter(c=>c&&!!c.trim()),r=[];for(let c=0,i=n.length;c<i;c+=1){const h=n[c];let a=!1,o=-1;for(;!a&&++o<st;){const l=j[o];let u=l.isMultiMatch(h);u&&(r.push(new l(u,t)),a=!0)}if(!a)for(o=-1;++o<st;){const l=j[o];let u=l.isSingleMatch(h);if(u){r.push(new l(u,t));break}}}return r})}(this.pattern,this.options)}static condition(t,s){return s.useExtendedSearch}searchIn(t){const s=this.query;if(!s)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:r}=this.options;t=r?t:t.toLowerCase();let c=0,i=[],h=0;for(let a=0,o=s.length;a<o;a+=1){const l=s[a];i.length=0,c=0;for(let u=0,d=l.length;u<d;u+=1){const g=l[u],{isMatch:p,indices:M,score:b}=g.search(t);if(!p){h=0,c=0,i.length=0;break}c+=1,h+=b,n&&(Pt.has(g.constructor.type)?i=[...i,...M]:i.push(M))}if(c){let u={isMatch:!0,score:h/c};return n&&(u.indices=i),u}}return{isMatch:!1,score:1}}});const Gt=it}}]);
|
|
4
|
+
//# sourceMappingURL=27.js.map
|
|
5
|
+
//# debugId=50bb3f0a-8d36-5144-861a-0cbb41508436
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d42aa18c-0ad1-5c79-969f-529f33c4c81a")}catch(e){}}();
|
|
3
|
+
(self.webpackChunkaltair=self.webpackChunkaltair||[]).push([[295],{57295:(pe,j,I)=>{I.r(j),I.d(j,{GraphQLWsSubscriptionProvider:()=>ae});var g=I(26642),Y=I(29954),_=I(78345);const T=Object.prototype.hasOwnProperty;function x(e){return"object"==typeof e&&null!==e}function O(e,n){return T.call(e,n)}function W(e,n){return T.call(e,n)&&x(e[n])}function w(e,n){return T.call(e,n)&&"string"==typeof e[n]}function H(e,n){return e.length<124?e:n}var p=function(e){return e[e.InternalServerError=4500]="InternalServerError",e[e.InternalClientError=4005]="InternalClientError",e[e.BadRequest=4400]="BadRequest",e[e.BadResponse=4004]="BadResponse",e[e.Unauthorized=4401]="Unauthorized",e[e.Forbidden=4403]="Forbidden",e[e.SubprotocolNotAcceptable=4406]="SubprotocolNotAcceptable",e[e.ConnectionInitialisationTimeout=4408]="ConnectionInitialisationTimeout",e[e.ConnectionAcknowledgementTimeout=4504]="ConnectionAcknowledgementTimeout",e[e.SubscriberAlreadyExists=4409]="SubscriberAlreadyExists",e[e.TooManyInitialisationRequests=4429]="TooManyInitialisationRequests",e}(p||{}),s=function(e){return e.ConnectionInit="connection_init",e.ConnectionAck="connection_ack",e.Ping="ping",e.Pong="pong",e.Subscribe="subscribe",e.Next="next",e.Error="error",e.Complete="complete",e}(s||{});function v(e){if(x(e)){if(!w(e,"type"))return!1;switch(e.type){case s.ConnectionInit:case s.ConnectionAck:case s.Ping:case s.Pong:return!O(e,"payload")||void 0===e.payload||x(e.payload);case s.Subscribe:return w(e,"id")&&W(e,"payload")&&(!O(e.payload,"operationName")||null==e.payload.operationName||"string"==typeof e.payload.operationName)&&w(e.payload,"query")&&(!O(e.payload,"variables")||null==e.payload.variables||W(e.payload,"variables"))&&(!O(e.payload,"extensions")||null==e.payload.extensions||W(e.payload,"extensions"));case s.Next:return w(e,"id")&&W(e,"payload");case s.Error:return w(e,"id")&&function ee(e){return Array.isArray(e)&&e.length>0&&e.every(n=>"message"in n)}(e.payload);case s.Complete:return w(e,"id");default:return!1}}return!1}function N(e,n){if(!v(e))throw new Error("Cannot stringify invalid message");return JSON.stringify(e,n)}function L(e){return x(e)&&"code"in e&&"reason"in e}class ae extends Y.q{createClient(){this.client=function re(e){const{url:n,connectionParams:y,lazy:A=!0,onNonLazyError:z=console.error,lazyCloseTimeout:B=0,keepAlive:F=0,disablePong:ce,connectionAckWaitTimeout:M=0,retryAttempts:J=5,retryWait:se=function(){var t=(0,g.Z)(function*(c){let o=1e3;for(let a=0;a<c;a++)o*=2;yield new Promise(a=>setTimeout(a,o+Math.floor(2700*Math.random()+300)))});return function l(c){return t.apply(this,arguments)}}(),shouldRetry:le=L,isFatalConnectionProblem:Z,on:r,webSocketImpl:D,generateID:ue=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,l=>{const c=16*Math.random()|0;return("x"==l?c:3&c|8).toString(16)})},jsonMessageReplacer:U,jsonMessageReviver:de}=e;let S;if(D){if(!function ie(e){return"function"==typeof e&&"constructor"in e&&"CLOSED"in e&&"CLOSING"in e&&"CONNECTING"in e&&"OPEN"in e}(D))throw new Error("Invalid WebSocket implementation provided");S=D}else typeof WebSocket<"u"?S=WebSocket:typeof global<"u"?S=global.WebSocket||global.MozWebSocket:typeof window<"u"&&(S=window.WebSocket||window.MozWebSocket);if(!S)throw new Error("WebSocket implementation missing; on Node you can `import WebSocket from 'ws';` and pass `webSocketImpl: WebSocket` to `createClient`");const P=S,f=(()=>{const t=(()=>{const c={};return{on:(o,a)=>(c[o]=a,()=>{delete c[o]}),emit(o){var a;"id"in o&&(null===(a=c[o.id])||void 0===a||a.call(c,o))}}})(),l={connecting:r?.connecting?[r.connecting]:[],opened:r?.opened?[r.opened]:[],connected:r?.connected?[r.connected]:[],ping:r?.ping?[r.ping]:[],pong:r?.pong?[r.pong]:[],message:r?.message?[t.emit,r.message]:[t.emit],closed:r?.closed?[r.closed]:[],error:r?.error?[r.error]:[]};return{onMessage:t.on,on(c,o){const a=l[c];return a.push(o),()=>{a.splice(a.indexOf(o),1)}},emit(c,...o){for(const a of[...l[c]])a(...o)}}})();function $(t){const l=[f.on("error",c=>{l.forEach(o=>o()),t(c)}),f.on("closed",c=>{l.forEach(o=>o()),t(c)})]}let m,h=0,C=!1,G=0,K=!1;function V(){return Q.apply(this,arguments)}function Q(){return Q=(0,g.Z)(function*(){const[t,l]=yield m??(m=new Promise((a,b)=>(0,g.Z)(function*(){if(C){if(yield se(G),!h)return m=void 0,b({code:1e3,reason:"All Subscriptions Gone"});G++}f.emit("connecting");const i=new P("function"==typeof n?yield n():n,"graphql-transport-ws");let E,R;function q(){isFinite(F)&&F>0&&(clearTimeout(R),R=setTimeout(()=>{i.readyState===P.OPEN&&(i.send(N({type:s.Ping})),f.emit("ping",!1,void 0))},F))}$(u=>{m=void 0,clearTimeout(E),clearTimeout(R),b(u),L(u)&&4499===u.code&&(i.close(4499,"Terminated"),i.onerror=null,i.onclose=null)}),i.onerror=u=>f.emit("error",u),i.onclose=u=>f.emit("closed",u),i.onopen=(0,g.Z)(function*(){try{f.emit("opened",i);const u="function"==typeof y?yield y():y;if(i.readyState!==P.OPEN)return;i.send(N(u?{type:s.ConnectionInit,payload:u}:{type:s.ConnectionInit},U)),isFinite(M)&&M>0&&(E=setTimeout(()=>{i.close(p.ConnectionAcknowledgementTimeout,"Connection acknowledgement timeout")},M)),q()}catch(u){f.emit("error",u),i.close(p.InternalClientError,H(u instanceof Error?u.message:new Error(u).message,"Internal client error"))}});let k=!1;i.onmessage=({data:u})=>{try{const d=function te(e,n){if(v(e))return e;if("string"!=typeof e)throw new Error("Message not parsable");const y=JSON.parse(e,n);if(!v(y))throw new Error("Invalid message");return y}(u,de);if(f.emit("message",d),"ping"===d.type||"pong"===d.type)return f.emit(d.type,!0,d.payload),void("pong"===d.type?q():ce||(i.send(N(d.payload?{type:s.Pong,payload:d.payload}:{type:s.Pong})),f.emit("pong",!1,d.payload)));if(k)return;if(d.type!==s.ConnectionAck)throw new Error(`First message cannot be of type ${d.type}`);clearTimeout(E),k=!0,f.emit("connected",i,d.payload),C=!1,G=0,a([i,new Promise((be,fe)=>$(fe))])}catch(d){i.onmessage=null,f.emit("error",d),i.close(p.BadResponse,H(d instanceof Error?d.message:new Error(d).message,"Bad response"))}}})()));t.readyState===P.CLOSING&&(yield l);let c=()=>{};const o=new Promise(a=>c=a);return[t,c,Promise.race([o.then(()=>{if(!h){const a=()=>t.close(1e3,"Normal Closure");isFinite(B)&&B>0?setTimeout(()=>{!h&&t.readyState===P.OPEN&&a()},B):a()}}),l])]}),Q.apply(this,arguments)}function X(t){if(L(t)&&(function oe(e){return![1e3,1001,1006,1005,1012,1013,1013].includes(e)&&e>=1e3&&e<=1999}(t.code)||[p.InternalServerError,p.InternalClientError,p.BadRequest,p.BadResponse,p.Unauthorized,p.SubprotocolNotAcceptable,p.SubscriberAlreadyExists,p.TooManyInitialisationRequests].includes(t.code)))throw t;if(K)return!1;if(L(t)&&1e3===t.code)return h>0;if(!J||G>=J||!le(t)||Z?.(t))throw t;return C=!0}return A||(0,g.Z)(function*(){for(h++;;)try{const[,,t]=yield V();yield t}catch(t){try{if(!X(t))return}catch(l){return z?.(l)}}})(),{on:f.on,subscribe(t,l){const c=ue();let o=!1,a=!1,b=()=>{h--,o=!0};return(0,g.Z)(function*(){for(h++;;)try{const[i,E,R]=yield V();if(o)return E();const q=f.onMessage(c,k=>{switch(k.type){case s.Next:return void l.next(k.payload);case s.Error:return a=!0,o=!0,l.error(k.payload),void b();case s.Complete:return o=!0,void b()}});return i.send(N({id:c,type:s.Subscribe,payload:t},U)),b=()=>{!o&&i.readyState===P.OPEN&&i.send(N({id:c,type:s.Complete},U)),h--,o=!0,E()},void(yield R.finally(q))}catch(i){if(!X(i))return}})().then(()=>{a||l.complete()}).catch(i=>{l.error(i)}),()=>{o||b()}},dispose:()=>(0,g.Z)(function*(){if(K=!0,m){const[t]=yield m;t.close(1e3,"Normal Closure")}})(),terminate(){m&&f.emit("closed",{code:4499,reason:"Terminated",wasClean:!1})}}}({url:this.subscriptionUrl,connectionParams:this.connectionParams,lazy:!1,onNonLazyError:n=>{this.extraOptions?.onConnected?.(n,void 0)},on:{connected:()=>{this.extraOptions?.onConnected?.(void 0,void 0)},error:n=>{this.extraOptions?.onConnected?.(n,void 0)}}})}execute(n){if(this.createClient(),!this.client)throw new Error("Could not create subscription client!");return new _.y(y=>{this.cleanup=this.client.subscribe({query:n.query,variables:n.variables,operationName:n.operationName},{next:(...A)=>y.next(...A),error:(...A)=>y.error(...A),complete:()=>y.complete()})})}close(){var n=this;return(0,g.Z)(function*(){try{n.cleanup?.(),n.cleanup=void 0,yield n.client?.dispose(),n.client=void 0}catch(y){console.error(y)}})()}}}}]);
|
|
4
|
+
//# sourceMappingURL=295.js.map
|
|
5
|
+
//# debugId=d42aa18c-0ad1-5c79-969f-529f33c4c81a
|
|
@@ -11,7 +11,7 @@ MIT
|
|
|
11
11
|
MIT
|
|
12
12
|
The MIT License
|
|
13
13
|
|
|
14
|
-
Copyright (c)
|
|
14
|
+
Copyright (c) 2023 Google LLC.
|
|
15
15
|
|
|
16
16
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
17
17
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -1582,12 +1582,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
|
1582
1582
|
THE SOFTWARE.
|
|
1583
1583
|
|
|
1584
1584
|
|
|
1585
|
-
@ngneat/hot-toast
|
|
1586
|
-
MIT
|
|
1587
|
-
|
|
1588
|
-
@ngneat/overview
|
|
1589
|
-
MIT
|
|
1590
|
-
|
|
1591
1585
|
@ngneat/until-destroy
|
|
1592
1586
|
MIT
|
|
1593
1587
|
|
|
@@ -1597,22 +1591,11 @@ MIT
|
|
|
1597
1591
|
@ngrx/store
|
|
1598
1592
|
MIT
|
|
1599
1593
|
|
|
1600
|
-
@ngui/auto-complete
|
|
1601
|
-
MIT
|
|
1602
|
-
Copyright (c) 2016 Allen Kim <allenhwkim@gmail.com>
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
1606
|
-
|
|
1607
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
1608
|
-
|
|
1609
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1610
|
-
|
|
1611
1594
|
@ngx-translate/core
|
|
1612
|
-
|
|
1595
|
+
SEE LICENSE IN LICENSE
|
|
1613
1596
|
|
|
1614
1597
|
@ngx-translate/http-loader
|
|
1615
|
-
|
|
1598
|
+
SEE LICENSE IN LICENSE
|
|
1616
1599
|
|
|
1617
1600
|
@sagold/json-pointer
|
|
1618
1601
|
MIT
|
|
@@ -4482,7 +4465,7 @@ lucide-angular
|
|
|
4482
4465
|
ISC
|
|
4483
4466
|
ISC License
|
|
4484
4467
|
|
|
4485
|
-
Copyright (c)
|
|
4468
|
+
Copyright (c) for portions of Lucide are held by Cole Bemis 2013-2022 as part of Feather (MIT). All other copyright (c) for Lucide are held by Lucide Contributors 2022.
|
|
4486
4469
|
|
|
4487
4470
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
4488
4471
|
purpose with or without fee is hereby granted, provided that the above
|
|
@@ -5064,31 +5047,6 @@ MIT
|
|
|
5064
5047
|
|
|
5065
5048
|
ngrx-store-localstorage
|
|
5066
5049
|
|
|
5067
|
-
ngx-contextmenu
|
|
5068
|
-
MIT
|
|
5069
|
-
The MIT License (MIT)
|
|
5070
|
-
|
|
5071
|
-
Copyright (c) 2016
|
|
5072
|
-
|
|
5073
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5074
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
5075
|
-
in the Software without restriction, including without limitation the rights
|
|
5076
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
5077
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
5078
|
-
furnished to do so, subject to the following conditions:
|
|
5079
|
-
|
|
5080
|
-
The above copyright notice and this permission notice shall be included in all
|
|
5081
|
-
copies or substantial portions of the Software.
|
|
5082
|
-
|
|
5083
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
5084
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
5085
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
5086
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
5087
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
5088
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
5089
|
-
SOFTWARE.
|
|
5090
|
-
|
|
5091
|
-
|
|
5092
5050
|
ngx-cookie-service
|
|
5093
5051
|
MIT
|
|
5094
5052
|
|
|
@@ -5120,35 +5078,6 @@ SOFTWARE.
|
|
|
5120
5078
|
ngx-pipes
|
|
5121
5079
|
MIT
|
|
5122
5080
|
|
|
5123
|
-
ngx-popper
|
|
5124
|
-
MIT
|
|
5125
|
-
The MIT License (MIT)
|
|
5126
|
-
|
|
5127
|
-
Copyright (c) 2016-2017 Jacob Harasimo.
|
|
5128
|
-
|
|
5129
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5130
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
5131
|
-
in the Software without restriction, including without limitation the rights
|
|
5132
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
5133
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
5134
|
-
furnished to do so, subject to the following conditions:
|
|
5135
|
-
|
|
5136
|
-
The above copyright notice and this permission notice shall be included in all
|
|
5137
|
-
copies or substantial portions of the Software.
|
|
5138
|
-
|
|
5139
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
5140
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
5141
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
5142
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
5143
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
5144
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
5145
|
-
SOFTWARE.
|
|
5146
|
-
|
|
5147
|
-
|
|
5148
|
-
|
|
5149
|
-
ngx-sortablejs
|
|
5150
|
-
MIT
|
|
5151
|
-
|
|
5152
5081
|
ngx-toastr
|
|
5153
5082
|
MIT
|
|
5154
5083
|
The MIT License (MIT)
|
|
@@ -5305,9 +5234,6 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
|
5305
5234
|
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
5306
5235
|
|
|
5307
5236
|
|
|
5308
|
-
popper.js
|
|
5309
|
-
MIT
|
|
5310
|
-
|
|
5311
5237
|
postcss
|
|
5312
5238
|
MIT
|
|
5313
5239
|
The MIT License (MIT)
|
|
@@ -5657,31 +5583,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
5657
5583
|
SOFTWARE.
|
|
5658
5584
|
|
|
5659
5585
|
|
|
5660
|
-
sortablejs
|
|
5661
|
-
MIT
|
|
5662
|
-
MIT License
|
|
5663
|
-
|
|
5664
|
-
Copyright (c) 2019 All contributors to Sortable
|
|
5665
|
-
|
|
5666
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5667
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
5668
|
-
in the Software without restriction, including without limitation the rights
|
|
5669
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
5670
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
5671
|
-
furnished to do so, subject to the following conditions:
|
|
5672
|
-
|
|
5673
|
-
The above copyright notice and this permission notice shall be included in all
|
|
5674
|
-
copies or substantial portions of the Software.
|
|
5675
|
-
|
|
5676
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
5677
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
5678
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
5679
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
5680
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
5681
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
5682
|
-
SOFTWARE.
|
|
5683
|
-
|
|
5684
|
-
|
|
5685
5586
|
style-mod
|
|
5686
5587
|
MIT
|
|
5687
5588
|
Copyright (C) 2018 by Marijn Haverbeke <marijnh@gmail.com> and others
|
|
@@ -6085,7 +5986,7 @@ zone.js
|
|
|
6085
5986
|
MIT
|
|
6086
5987
|
The MIT License
|
|
6087
5988
|
|
|
6088
|
-
Copyright (c) 2010-
|
|
5989
|
+
Copyright (c) 2010-2023 Google LLC. https://angular.io/license
|
|
6089
5990
|
|
|
6090
5991
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6091
5992
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="343d72ff-4f43-585c-9849-2109706a4cf5")}catch(e){}}();
|
|
3
|
+
(self.webpackChunkaltair=self.webpackChunkaltair||[]).push([[518],{29954:(L,T,j)=>{j.d(T,{q:()=>v});class v{constructor(g,H,F){this.subscriptionUrl=g,this.connectionParams=H,this.extraOptions=F}}},78345:(L,T,j)=>{j.d(T,{y:()=>rt});var v=function(t,r){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o])})(t,r)};function x(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}v(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}function S(t){var r="function"==typeof Symbol&&Symbol.iterator,n=r&&t[r],e=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&e>=t.length&&(t=void 0),{value:t&&t[e++],done:!t}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function _(t,r){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var o,u,e=n.call(t),i=[];try{for(;(void 0===r||r-- >0)&&!(o=e.next()).done;)i.push(o.value)}catch(c){u={error:c}}finally{try{o&&!o.done&&(n=e.return)&&n.call(e)}finally{if(u)throw u.error}}return i}function w(t,r){for(var n=0,e=r.length,o=t.length;n<e;n++,o++)t[o]=r[n];return t}function y(t){return"function"==typeof t}var A=function J(t){var n=t(function(e){Error.call(e),e.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}(function(t){return function(n){t(this),this.message=n?n.length+" errors occurred during unsubscription:\n"+n.map(function(e,o){return o+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=n}});function C(t,r){if(t){var n=t.indexOf(r);0<=n&&t.splice(n,1)}}var I=function(){function t(r){this.initialTeardown=r,this.closed=!1,this._parentage=null,this._teardowns=null}return t.prototype.unsubscribe=function(){var r,n,e,o,i;if(!this.closed){this.closed=!0;var u=this._parentage;if(u)if(this._parentage=null,Array.isArray(u))try{for(var c=S(u),f=c.next();!f.done;f=c.next())f.value.remove(this)}catch(h){r={error:h}}finally{try{f&&!f.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}else u.remove(this);var l=this.initialTeardown;if(y(l))try{l()}catch(h){i=h instanceof A?h.errors:[h]}var d=this._teardowns;if(d){this._teardowns=null;try{for(var s=S(d),p=s.next();!p.done;p=s.next()){var m=p.value;try{Y(m)}catch(h){i=i??[],h instanceof A?i=w(w([],_(i)),_(h.errors)):i.push(h)}}}catch(h){e={error:h}}finally{try{p&&!p.done&&(o=s.return)&&o.call(s)}finally{if(e)throw e.error}}}if(i)throw new A(i)}},t.prototype.add=function(r){var n;if(r&&r!==this)if(this.closed)Y(r);else{if(r instanceof t){if(r.closed||r._hasParent(this))return;r._addParent(this)}(this._teardowns=null!==(n=this._teardowns)&&void 0!==n?n:[]).push(r)}},t.prototype._hasParent=function(r){var n=this._parentage;return n===r||Array.isArray(n)&&n.includes(r)},t.prototype._addParent=function(r){var n=this._parentage;this._parentage=Array.isArray(n)?(n.push(r),n):n?[n,r]:r},t.prototype._removeParent=function(r){var n=this._parentage;n===r?this._parentage=null:Array.isArray(n)&&C(n,r)},t.prototype.remove=function(r){var n=this._teardowns;n&&C(n,r),r instanceof t&&r._removeParent(this)},t.EMPTY=((r=new t).closed=!0,r),t;var r}();function N(t){return t instanceof I||t&&"closed"in t&&y(t.remove)&&y(t.add)&&y(t.unsubscribe)}function Y(t){y(t)?t():t.unsubscribe()}var b_onUnhandledError=null,b_onStoppedNotification=null,b_Promise=void 0,b_useDeprecatedSynchronousErrorHandling=!1,b_useDeprecatedNextContext=!1,P={setTimeout:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=P.delegate;return(n?.setTimeout||setTimeout).apply(void 0,w([],_(t)))},clearTimeout:function(t){var r=P.delegate;return(r?.clearTimeout||clearTimeout)(t)},delegate:void 0};function O(){}var Q=R("C",void 0,void 0);function R(t,r,n){return{kind:t,value:r,error:n}}var B=function(t){function r(n){var e=t.call(this)||this;return e.isStopped=!1,n?(e.destination=n,N(n)&&n.add(e)):e.destination=Z,e}return x(r,t),r.create=function(n,e,o){return new G(n,e,o)},r.prototype.next=function(n){this.isStopped?U(function X(t){return R("N",t,void 0)}(n),this):this._next(n)},r.prototype.error=function(n){this.isStopped?U(function W(t){return R("E",void 0,t)}(n),this):(this.isStopped=!0,this._error(n))},r.prototype.complete=function(){this.isStopped?U(Q,this):(this.isStopped=!0,this._complete())},r.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},r.prototype._next=function(n){this.destination.next(n)},r.prototype._error=function(n){try{this.destination.error(n)}finally{this.unsubscribe()}},r.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},r}(I),G=function(t){function r(n,e,o){var u,i=t.call(this)||this;if(y(n))u=n;else if(n){var c;u=n.next,e=n.error,o=n.complete,i&&b_useDeprecatedNextContext?(c=Object.create(n)).unsubscribe=function(){return i.unsubscribe()}:c=n,u=u?.bind(c),e=e?.bind(c),o=o?.bind(c)}return i.destination={next:u?D(u,i):O,error:D(e??q,i),complete:o?D(o,i):O},i}return x(r,t),r}(B);function D(t,r){return function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];try{t.apply(void 0,w([],_(n)))}catch(o){if(b_useDeprecatedSynchronousErrorHandling){if(!r._syncErrorHack_isSubscribing)throw o;r.__syncError=o}else!function K(t){P.setTimeout(function(){if(!b_onUnhandledError)throw t;b_onUnhandledError(t)})}(o)}}}function q(t){throw t}function U(t,r){var n=b_onStoppedNotification;n&&P.setTimeout(function(){return n(t,r)})}var Z={closed:!0,next:O,error:q,complete:O},$="function"==typeof Symbol&&Symbol.observable||"@@observable";function tt(t){return t}var rt=function(){function t(r){r&&(this._subscribe=r)}return t.prototype.lift=function(r){var n=new t;return n.source=this,n.operator=r,n},t.prototype.subscribe=function(r,n,e){var o=function et(t){return t&&t instanceof B||function nt(t){return t&&y(t.next)&&y(t.error)&&y(t.complete)}(t)&&N(t)}(r)?r:new G(r,n,e);if(b_useDeprecatedSynchronousErrorHandling)this._deprecatedSyncErrorSubscribe(o);else{var u=this.operator,c=this.source;o.add(u?u.call(o,c):c?this._subscribe(o):this._trySubscribe(o))}return o},t.prototype._deprecatedSyncErrorSubscribe=function(r){var n=r;n._syncErrorHack_isSubscribing=!0;var e=this.operator;if(e)r.add(e.call(r,this.source));else try{r.add(this._subscribe(r))}catch(i){n.__syncError=i}for(var o=n;o;){if("__syncError"in o)try{throw o.__syncError}finally{r.unsubscribe()}o=o.destination}n._syncErrorHack_isSubscribing=!1},t.prototype._trySubscribe=function(r){try{return this._subscribe(r)}catch(n){r.error(n)}},t.prototype.forEach=function(r,n){var e=this;return new(n=k(n))(function(o,i){var u;u=e.subscribe(function(c){try{r(c)}catch(f){i(f),u?.unsubscribe()}},i,o)})},t.prototype._subscribe=function(r){var n;return null===(n=this.source)||void 0===n?void 0:n.subscribe(r)},t.prototype[$]=function(){return this},t.prototype.pipe=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length?function V(t){return 0===t.length?tt:1===t.length?t[0]:function(n){return t.reduce(function(e,o){return o(e)},n)}}(r)(this):this},t.prototype.toPromise=function(r){var n=this;return new(r=k(r))(function(e,o){var i;n.subscribe(function(u){return i=u},function(u){return o(u)},function(){return e(i)})})},t.create=function(r){return new t(r)},t}();function k(t){var r;return null!==(r=t??b_Promise)&&void 0!==r?r:Promise}}}]);
|
|
4
|
+
//# sourceMappingURL=518.js.map
|
|
5
|
+
//# debugId=343d72ff-4f43-585c-9849-2109706a4cf5
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="c0ba37c4-9451-593b-8c86-6d91d4a1f703")}catch(e){}}();
|
|
3
|
+
(self.webpackChunkaltair=self.webpackChunkaltair||[]).push([[526],{34526:function(Ce){Ce.exports=function(){"use strict";function L(e){var n={exports:{}};return e(n,n.exports),n.exports}function fe(e){return(fe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(e)}var je=Object.defineProperty({default:function(e){return"object"==fe(e)&&null!==e}},"__esModule",{value:!0}),he=L(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SYMBOL_TO_STRING_TAG=n.SYMBOL_ASYNC_ITERATOR=n.SYMBOL_ITERATOR=void 0;var o="function"==typeof Symbol&&null!=Symbol.iterator?Symbol.iterator:"@@iterator";n.SYMBOL_ITERATOR=o;var c="function"==typeof Symbol&&null!=Symbol.asyncIterator?Symbol.asyncIterator:"@@asyncIterator";n.SYMBOL_ASYNC_ITERATOR=c;var f="function"==typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag";n.SYMBOL_TO_STRING_TAG=f}),q=Object.defineProperty({getLocation:function(e,n){for(var o,c=/\r\n|[\n\r]/g,f=1,T=n+1;(o=c.exec(e.body))&&o.index<n;)f+=1,T=n+1-(o.index+o[0].length);return{line:f,column:T}}},"__esModule",{value:!0});function Te(e,n){var o=e.locationOffset.column-1,c=H(o)+e.body,f=n.line-1,r=n.line+(e.locationOffset.line-1),i=n.column+(1===n.line?o:0),a="".concat(e.name,":").concat(r,":").concat(i,"\n"),l=c.split(/\r\n|[\n\r]/g),v=l[f];if(v.length>120){for(var b=Math.floor(i/80),d=i%80,E=[],m=0;m<v.length;m+=80)E.push(v.slice(m,m+80));return a+ve([["".concat(r),E[0]]].concat(E.slice(1,b+1).map(function(y){return["",y]}),[[" ",H(d-1)+"^"],["",E[b+1]]]))}return a+ve([["".concat(r-1),l[f-1]],["".concat(r),v],["",H(i-1)+"^"],["".concat(r+1),l[f+1]]])}function ve(e){var n=e.filter(function(c){return void 0!==c[1]}),o=Math.max.apply(Math,n.map(function(c){return c[0].length}));return n.map(function(c){var f,r=c[1];return H(o-(f=c[0]).length)+f+(r?" | "+r:" |")}).join("\n")}function H(e){return Array(e+1).join(" ")}var W,z=Object.defineProperty({printLocation:function(e){return Te(e.source,(0,q.getLocation)(e.source,e.start))},printSourceLocation:Te},"__esModule",{value:!0}),$=L(function(e,n){function o(m){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(y){return typeof y}:function(y){return y&&"function"==typeof Symbol&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y})(m)}Object.defineProperty(n,"__esModule",{value:!0}),n.printError=E,n.GraphQLError=void 0;var c,f=(c=je)&&c.__esModule?c:{default:c};function T(m,y){for(var _=0;_<y.length;_++){var u=y[_];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(m,u.key,u)}}function r(m,y){return!y||"object"!==o(y)&&"function"!=typeof y?t(m):y}function t(m){if(void 0===m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m}function i(m){var y="function"==typeof Map?new Map:void 0;return(i=function(_){if(null===_||-1===Function.toString.call(_).indexOf("[native code]"))return _;if("function"!=typeof _)throw new TypeError("Super expression must either be null or a function");if(void 0!==y){if(y.has(_))return y.get(_);y.set(_,O)}function O(){return a(_,arguments,b(this).constructor)}return O.prototype=Object.create(_.prototype,{constructor:{value:O,enumerable:!1,writable:!0,configurable:!0}}),v(O,_)})(m)}function a(m,y,_){return(a=l()?Reflect.construct:function(u,O,p){var N=[null];N.push.apply(N,O);var D=new(Function.bind.apply(u,N));return p&&v(D,p.prototype),D}).apply(null,arguments)}function l(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function v(m,y){return(v=Object.setPrototypeOf||function(_,u){return _.__proto__=u,_})(m,y)}function b(m){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(y){return y.__proto__||Object.getPrototypeOf(y)})(m)}var d=function(m){!function(I,g){if("function"!=typeof g&&null!==g)throw new TypeError("Super expression must either be null or a function");I.prototype=Object.create(g&&g.prototype,{constructor:{value:I,writable:!0,configurable:!0}}),g&&v(I,g)}(D,m);var y,_,u,O,N=(y=D,_=l(),function(){var I,g=b(y);if(_){var S=b(this).constructor;I=Reflect.construct(g,arguments,S)}else I=g.apply(this,arguments);return r(this,I)});function D(I,g,S,K,M,P,ne){var Y,w,J,ue,G;(function(B,U){if(!(B instanceof U))throw new TypeError("Cannot call a class as a function")})(this,D),G=N.call(this,I);var le,V=Array.isArray(g)?0!==g.length?g:void 0:g?[g]:void 0,de=S;!de&&V&&(de=null===(le=V[0].loc)||void 0===le?void 0:le.source);var te,X=K;!X&&V&&(X=V.reduce(function(B,U){return U.loc&&B.push(U.loc.start),B},[])),X&&0===X.length&&(X=void 0),K&&S?te=K.map(function(B){return(0,q.getLocation)(S,B)}):V&&(te=V.reduce(function(B,U){return U.loc&&B.push((0,q.getLocation)(U.loc.source,U.loc.start)),B},[]));var ie=ne;if(null==ie&&null!=P){var Pe=P.extensions;(0,f.default)(Pe)&&(ie=Pe)}return Object.defineProperties(t(G),{name:{value:"GraphQLError"},message:{value:I,enumerable:!0,writable:!0},locations:{value:null!==(Y=te)&&void 0!==Y?Y:void 0,enumerable:null!=te},path:{value:M??void 0,enumerable:null!=M},nodes:{value:V??void 0},source:{value:null!==(w=de)&&void 0!==w?w:void 0},positions:{value:null!==(J=X)&&void 0!==J?J:void 0},originalError:{value:P},extensions:{value:null!==(ue=ie)&&void 0!==ue?ue:void 0,enumerable:null!=ie}}),null!=P&&P.stack?(Object.defineProperty(t(G),"stack",{value:P.stack,writable:!0,configurable:!0}),r(G)):(Error.captureStackTrace?Error.captureStackTrace(t(G),D):Object.defineProperty(t(G),"stack",{value:Error().stack,writable:!0,configurable:!0}),G)}return u=D,(O=[{key:"toString",value:function(){return E(this)}},{key:he.SYMBOL_TO_STRING_TAG,get:function(){return"Object"}}])&&T(u.prototype,O),D}(i(Error));function E(m){var y=m.message;if(m.nodes)for(var _=0,u=m.nodes;_<u.length;_++){var O=u[_];O.loc&&(y+="\n\n"+(0,z.printLocation)(O.loc))}else if(m.source&&m.locations)for(var p=0,N=m.locations;p<N.length;p++)y+="\n\n"+(0,z.printSourceLocation)(m.source,N[p]);return y}n.GraphQLError=d}),R=Object.defineProperty({syntaxError:function(e,n,o){return new $.GraphQLError("Syntax Error: ".concat(o),void 0,e,[n])}},"__esModule",{value:!0}),Ee=L(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;n.default=o}),Je=(W=Ee)&&W.__esModule?W:{default:W};function ye(e){return(ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(e)}function Z(e,n){switch(ye(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":return null===e?"null":function(o,c){if(-1!==c.indexOf(o))return"[Circular]";var t,i,f=[].concat(c,[o]),T="function"==typeof(i=(t=o)[String(Je.default)])?i:"function"==typeof t.inspect?t.inspect:void 0;if(void 0!==T){var r=T.call(o);if(r!==o)return"string"==typeof r?r:Z(r,f)}else if(Array.isArray(o))return function(t,i){if(0===t.length)return"[]";if(i.length>2)return"[Array]";for(var a=Math.min(10,t.length),l=t.length-a,v=[],b=0;b<a;++b)v.push(Z(t[b],i));return 1===l?v.push("... 1 more item"):l>1&&v.push("... ".concat(l," more items")),"["+v.join(", ")+"]"}(o,f);return function(t,i){var a=Object.keys(t);return 0===a.length?"{}":i.length>2?"["+function(l){var v=Object.prototype.toString.call(l).replace(/^\[object /,"").replace(/]$/,"");if("Object"===v&&"function"==typeof l.constructor){var b=l.constructor.name;if("string"==typeof b&&""!==b)return b}return v}(t)+"]":"{ "+a.map(function(l){return l+": "+Z(t[l],i)}).join(", ")+" }"}(o,f)}(e,n);default:return String(e)}}var e,oe=Object.defineProperty({default:function(e){return Z(e,[])}},"__esModule",{value:!0}),Qe=(e=oe)&&e.__esModule?e:{default:e},qe=Object.defineProperty({locatedError:function(e,n,o){var c,f=e instanceof Error?e:new Error("Unexpected error value: "+(0,Qe.default)(e));return Array.isArray(f.path)?f:new $.GraphQLError(f.message,null!==(c=f.nodes)&&void 0!==c?c:n,f.source,f.positions,o,f)}},"__esModule",{value:!0}),me=Object.defineProperty({default:function(e,n){if(!e)throw new Error(n)}},"__esModule",{value:!0}),$e=function(e){return e&&e.__esModule?e:{default:e}}(me),We=Object.defineProperty({formatError:function(e){var n;e||(0,$e.default)(0,"Received null or undefined error.");var o=null!==(n=e.message)&&void 0!==n?n:"An unknown error occurred.",c=e.locations,f=e.path,T=e.extensions;return T?{message:o,locations:c,path:f,extensions:T}:{message:o,locations:c,path:f}}},"__esModule",{value:!0}),Ze=L(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"GraphQLError",{enumerable:!0,get:function(){return $.GraphQLError}}),Object.defineProperty(n,"printError",{enumerable:!0,get:function(){return $.printError}}),Object.defineProperty(n,"syntaxError",{enumerable:!0,get:function(){return R.syntaxError}}),Object.defineProperty(n,"locatedError",{enumerable:!0,get:function(){return qe.locatedError}}),Object.defineProperty(n,"formatError",{enumerable:!0,get:function(){return We.formatError}})}),en=L(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,n.default=function(o,c){return o instanceof c}}),ae=L(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.isSource=function(i){return(0,f.default)(i,t)},n.Source=void 0;var o=T(oe),c=T(me),f=T(en);function T(i){return i&&i.__esModule?i:{default:i}}function r(i,a){for(var l=0;l<a.length;l++){var v=a[l];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(i,v.key,v)}}var t=function(){function i(b){var d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",E=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"==typeof b||(0,c.default)(0,"Body must be a string. Received: ".concat((0,o.default)(b),".")),this.body=b,this.name=d,this.locationOffset=E,this.locationOffset.line>0||(0,c.default)(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,c.default)(0,"column in locationOffset is 1-indexed and must be positive.")}var a,l;return a=i,(l=[{key:he.SYMBOL_TO_STRING_TAG,get:function(){return"Source"}}])&&r(a.prototype,l),i}();n.Source=t}),h=L(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.Kind=void 0;var o=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"});n.Kind=o}),s=L(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.TokenKind=void 0;var o=Object.freeze({SOF:"<SOF>",EOF:"<EOF>",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});n.TokenKind=o}),rn=ke(Object.defineProperty({default:function(e,n){if(!e)throw new Error(n??"Unexpected invariant triggered.")}},"__esModule",{value:!0})),Ne=ke(Ee);function ke(e){return e&&e.__esModule?e:{default:e}}var on=Object.defineProperty({default:function(e){var n=e.prototype.toJSON;"function"==typeof n||(0,rn.default)(0),e.prototype.inspect=n,Ne.default&&(e.prototype[Ne.default]=n)}},"__esModule",{value:!0}),x=L(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.isNode=function(T){return null!=T&&"string"==typeof T.kind},n.Token=n.Location=void 0;var T,o=(T=on)&&T.__esModule?T:{default:T},c=function(){function T(r,t,i){this.start=r.start,this.end=t.end,this.startToken=r,this.endToken=t,this.source=i}return T.prototype.toJSON=function(){return{start:this.start,end:this.end}},T}();n.Location=c,(0,o.default)(c);var f=function(){function T(r,t,i,a,l,v,b){this.kind=r,this.start=t,this.end=i,this.line=a,this.column=l,this.value=b,this.prev=v,this.next=null}return T.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},T}();n.Token=f,(0,o.default)(f)});function _e(e){for(var n=0;n<e.length;++n)if(" "!==e[n]&&"\t"!==e[n])return!1;return!0}function Oe(e){for(var n,o=!0,c=!0,f=0,T=null,r=0;r<e.length;++r)switch(e.charCodeAt(r)){case 13:10===e.charCodeAt(r+1)&&++r;case 10:o=!1,c=!0,f=0;break;case 9:case 32:++f;break;default:c&&!o&&(null===T||f<T)&&(T=f),c=!1}return null!==(n=T)&&void 0!==n?n:0}var Ie=Object.defineProperty({dedentBlockStringValue:function(e){var n=e.split(/\r\n|[\n\r]/g),o=Oe(e);if(0!==o)for(var c=1;c<n.length;c++)n[c]=n[c].slice(o);for(var f=0;f<n.length&&_e(n[f]);)++f;for(var T=n.length;T>f&&_e(n[T-1]);)--T;return n.slice(f,T).join("\n")},getBlockStringIndentation:Oe,printBlockString:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],c=-1===e.indexOf("\n"),t=!c||'"'===e[e.length-1]||"\\"===e[e.length-1]||o,i="";return!t||c&&(" "===e[0]||"\t"===e[0])||(i+="\n"+n),i+=n?e.replace(/\n/g,"\n"+n):e,t&&(i+="\n"),'"""'+i.replace(/"""/g,'\\"""')+'"""'}},"__esModule",{value:!0}),se=L(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.isPunctuatorTokenKind=function(d){return d===s.TokenKind.BANG||d===s.TokenKind.DOLLAR||d===s.TokenKind.AMP||d===s.TokenKind.PAREN_L||d===s.TokenKind.PAREN_R||d===s.TokenKind.SPREAD||d===s.TokenKind.COLON||d===s.TokenKind.EQUALS||d===s.TokenKind.AT||d===s.TokenKind.BRACKET_L||d===s.TokenKind.BRACKET_R||d===s.TokenKind.BRACE_L||d===s.TokenKind.PIPE||d===s.TokenKind.BRACE_R},n.Lexer=void 0;var o=function(){function d(m){var y=new x.Token(s.TokenKind.SOF,0,0,0,0,null);this.source=m,this.lastToken=y,this.token=y,this.line=1,this.lineStart=0}var E=d.prototype;return E.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},E.lookahead=function(){var m=this.token;if(m.kind!==s.TokenKind.EOF)do{var y;m=null!==(y=m.next)&&void 0!==y?y:m.next=f(this,m)}while(m.kind===s.TokenKind.COMMENT);return m},d}();function c(d){return isNaN(d)?s.TokenKind.EOF:d<127?JSON.stringify(String.fromCharCode(d)):'"\\u'.concat(("00"+d.toString(16).toUpperCase()).slice(-4),'"')}function f(d,E){for(var m=d.source,y=m.body,_=y.length,u=E.end;u<_;){var O=y.charCodeAt(u),p=d.line,N=1+u-d.lineStart;switch(O){case 65279:case 9:case 32:case 44:++u;continue;case 10:++u,++d.line,d.lineStart=u;continue;case 13:10===y.charCodeAt(u+1)?u+=2:++u,++d.line,d.lineStart=u;continue;case 33:return new x.Token(s.TokenKind.BANG,u,u+1,p,N,E);case 35:return r(m,u,p,N,E);case 36:return new x.Token(s.TokenKind.DOLLAR,u,u+1,p,N,E);case 38:return new x.Token(s.TokenKind.AMP,u,u+1,p,N,E);case 40:return new x.Token(s.TokenKind.PAREN_L,u,u+1,p,N,E);case 41:return new x.Token(s.TokenKind.PAREN_R,u,u+1,p,N,E);case 46:if(46===y.charCodeAt(u+1)&&46===y.charCodeAt(u+2))return new x.Token(s.TokenKind.SPREAD,u,u+3,p,N,E);break;case 58:return new x.Token(s.TokenKind.COLON,u,u+1,p,N,E);case 61:return new x.Token(s.TokenKind.EQUALS,u,u+1,p,N,E);case 64:return new x.Token(s.TokenKind.AT,u,u+1,p,N,E);case 91:return new x.Token(s.TokenKind.BRACKET_L,u,u+1,p,N,E);case 93:return new x.Token(s.TokenKind.BRACKET_R,u,u+1,p,N,E);case 123:return new x.Token(s.TokenKind.BRACE_L,u,u+1,p,N,E);case 124:return new x.Token(s.TokenKind.PIPE,u,u+1,p,N,E);case 125:return new x.Token(s.TokenKind.BRACE_R,u,u+1,p,N,E);case 34:return 34===y.charCodeAt(u+1)&&34===y.charCodeAt(u+2)?l(m,u,p,N,E,d):a(m,u,p,N,E);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return t(m,u,O,p,N,E);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return b(m,u,p,N,E)}throw(0,R.syntaxError)(m,u,T(O))}return new x.Token(s.TokenKind.EOF,_,_,d.line,1+u-d.lineStart,E)}function T(d){return d<32&&9!==d&&10!==d&&13!==d?"Cannot contain the invalid character ".concat(c(d),"."):39===d?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character ".concat(c(d),".")}function r(d,E,m,y,_){var u,O=d.body,p=E;do{u=O.charCodeAt(++p)}while(!isNaN(u)&&(u>31||9===u));return new x.Token(s.TokenKind.COMMENT,E,p,m,y,_,O.slice(E+1,p))}function t(d,E,m,y,_,u){var I,O=d.body,p=m,N=E,D=!1;if(45===p&&(p=O.charCodeAt(++N)),48===p){if((p=O.charCodeAt(++N))>=48&&p<=57)throw(0,R.syntaxError)(d,N,"Invalid number, unexpected digit after 0: ".concat(c(p),"."))}else N=i(d,N,p),p=O.charCodeAt(N);if(46===p&&(D=!0,p=O.charCodeAt(++N),N=i(d,N,p),p=O.charCodeAt(N)),69!==p&&101!==p||(D=!0,43!==(p=O.charCodeAt(++N))&&45!==p||(p=O.charCodeAt(++N)),N=i(d,N,p),p=O.charCodeAt(N)),46===p||95===(I=p)||I>=65&&I<=90||I>=97&&I<=122)throw(0,R.syntaxError)(d,N,"Invalid number, expected digit but got: ".concat(c(p),"."));return new x.Token(D?s.TokenKind.FLOAT:s.TokenKind.INT,E,N,y,_,u,O.slice(E,N))}function i(d,E,m){var y=d.body,_=E,u=m;if(u>=48&&u<=57){do{u=y.charCodeAt(++_)}while(u>=48&&u<=57);return _}throw(0,R.syntaxError)(d,_,"Invalid number, expected digit but got: ".concat(c(u),"."))}function a(d,E,m,y,_){for(var u,O,p,N,D=d.body,I=E+1,g=I,S=0,K="";I<D.length&&!isNaN(S=D.charCodeAt(I))&&10!==S&&13!==S;){if(34===S)return K+=D.slice(g,I),new x.Token(s.TokenKind.STRING,E,I+1,m,y,_,K);if(S<32&&9!==S)throw(0,R.syntaxError)(d,I,"Invalid character within String: ".concat(c(S),"."));if(++I,92===S){switch(K+=D.slice(g,I-1),S=D.charCodeAt(I)){case 34:K+='"';break;case 47:K+="/";break;case 92:K+="\\";break;case 98:K+="\b";break;case 102:K+="\f";break;case 110:K+="\n";break;case 114:K+="\r";break;case 116:K+="\t";break;case 117:var M=(u=D.charCodeAt(I+1),O=D.charCodeAt(I+2),p=D.charCodeAt(I+3),N=D.charCodeAt(I+4),v(u)<<12|v(O)<<8|v(p)<<4|v(N));if(M<0){var P=D.slice(I+1,I+5);throw(0,R.syntaxError)(d,I,"Invalid character escape sequence: \\u".concat(P,"."))}K+=String.fromCharCode(M),I+=4;break;default:throw(0,R.syntaxError)(d,I,"Invalid character escape sequence: \\".concat(String.fromCharCode(S),"."))}g=++I}}throw(0,R.syntaxError)(d,I,"Unterminated string.")}function l(d,E,m,y,_,u){for(var O=d.body,p=E+3,N=p,D=0,I="";p<O.length&&!isNaN(D=O.charCodeAt(p));){if(34===D&&34===O.charCodeAt(p+1)&&34===O.charCodeAt(p+2))return I+=O.slice(N,p),new x.Token(s.TokenKind.BLOCK_STRING,E,p+3,m,y,_,(0,Ie.dedentBlockStringValue)(I));if(D<32&&9!==D&&10!==D&&13!==D)throw(0,R.syntaxError)(d,p,"Invalid character within String: ".concat(c(D),"."));10===D?(++p,++u.line,u.lineStart=p):13===D?(10===O.charCodeAt(p+1)?p+=2:++p,++u.line,u.lineStart=p):92===D&&34===O.charCodeAt(p+1)&&34===O.charCodeAt(p+2)&&34===O.charCodeAt(p+3)?(I+=O.slice(N,p)+'"""',N=p+=4):++p}throw(0,R.syntaxError)(d,p,"Unterminated string.")}function v(d){return d>=48&&d<=57?d-48:d>=65&&d<=70?d-55:d>=97&&d<=102?d-87:-1}function b(d,E,m,y,_){for(var u=d.body,O=u.length,p=E+1,N=0;p!==O&&!isNaN(N=u.charCodeAt(p))&&(95===N||N>=48&&N<=57||N>=65&&N<=90||N>=97&&N<=122);)++p;return new x.Token(s.TokenKind.NAME,E,p,m,y,_,u.slice(E,p))}n.Lexer=o}),be=L(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.DirectiveLocation=void 0;var o=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});n.DirectiveLocation=o}),ce=L(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.parse=function(T,r){return new o(T,r).parseDocument()},n.parseValue=function(T,r){var t=new o(T,r);t.expectToken(s.TokenKind.SOF);var i=t.parseValueLiteral(!1);return t.expectToken(s.TokenKind.EOF),i},n.parseType=function(T,r){var t=new o(T,r);t.expectToken(s.TokenKind.SOF);var i=t.parseTypeReference();return t.expectToken(s.TokenKind.EOF),i},n.Parser=void 0;var o=function(){function T(t,i){var a=(0,ae.isSource)(t)?t:new ae.Source(t);this._lexer=new se.Lexer(a),this._options=i}var r=T.prototype;return r.parseName=function(){var t=this.expectToken(s.TokenKind.NAME);return{kind:h.Kind.NAME,value:t.value,loc:this.loc(t)}},r.parseDocument=function(){var t=this._lexer.token;return{kind:h.Kind.DOCUMENT,definitions:this.many(s.TokenKind.SOF,this.parseDefinition,s.TokenKind.EOF),loc:this.loc(t)}},r.parseDefinition=function(){if(this.peek(s.TokenKind.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(s.TokenKind.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},r.parseOperationDefinition=function(){var t=this._lexer.token;if(this.peek(s.TokenKind.BRACE_L))return{kind:h.Kind.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(t)};var i,a=this.parseOperationType();return this.peek(s.TokenKind.NAME)&&(i=this.parseName()),{kind:h.Kind.OPERATION_DEFINITION,operation:a,name:i,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},r.parseOperationType=function(){var t=this.expectToken(s.TokenKind.NAME);switch(t.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(t)},r.parseVariableDefinitions=function(){return this.optionalMany(s.TokenKind.PAREN_L,this.parseVariableDefinition,s.TokenKind.PAREN_R)},r.parseVariableDefinition=function(){var t=this._lexer.token;return{kind:h.Kind.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(s.TokenKind.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(s.TokenKind.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(t)}},r.parseVariable=function(){var t=this._lexer.token;return this.expectToken(s.TokenKind.DOLLAR),{kind:h.Kind.VARIABLE,name:this.parseName(),loc:this.loc(t)}},r.parseSelectionSet=function(){var t=this._lexer.token;return{kind:h.Kind.SELECTION_SET,selections:this.many(s.TokenKind.BRACE_L,this.parseSelection,s.TokenKind.BRACE_R),loc:this.loc(t)}},r.parseSelection=function(){return this.peek(s.TokenKind.SPREAD)?this.parseFragment():this.parseField()},r.parseField=function(){var t,i,a=this._lexer.token,l=this.parseName();return this.expectOptionalToken(s.TokenKind.COLON)?(t=l,i=this.parseName()):i=l,{kind:h.Kind.FIELD,alias:t,name:i,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(s.TokenKind.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(a)}},r.parseArguments=function(t){return this.optionalMany(s.TokenKind.PAREN_L,t?this.parseConstArgument:this.parseArgument,s.TokenKind.PAREN_R)},r.parseArgument=function(){var t=this._lexer.token,i=this.parseName();return this.expectToken(s.TokenKind.COLON),{kind:h.Kind.ARGUMENT,name:i,value:this.parseValueLiteral(!1),loc:this.loc(t)}},r.parseConstArgument=function(){var t=this._lexer.token;return{kind:h.Kind.ARGUMENT,name:this.parseName(),value:(this.expectToken(s.TokenKind.COLON),this.parseValueLiteral(!0)),loc:this.loc(t)}},r.parseFragment=function(){var t=this._lexer.token;this.expectToken(s.TokenKind.SPREAD);var i=this.expectOptionalKeyword("on");return!i&&this.peek(s.TokenKind.NAME)?{kind:h.Kind.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(t)}:{kind:h.Kind.INLINE_FRAGMENT,typeCondition:i?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},r.parseFragmentDefinition=function(){var t,i=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(t=this._options)||void 0===t?void 0:t.experimentalFragmentVariables)?{kind:h.Kind.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(i)}:{kind:h.Kind.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(i)}},r.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},r.parseValueLiteral=function(t){var i=this._lexer.token;switch(i.kind){case s.TokenKind.BRACKET_L:return this.parseList(t);case s.TokenKind.BRACE_L:return this.parseObject(t);case s.TokenKind.INT:return this._lexer.advance(),{kind:h.Kind.INT,value:i.value,loc:this.loc(i)};case s.TokenKind.FLOAT:return this._lexer.advance(),{kind:h.Kind.FLOAT,value:i.value,loc:this.loc(i)};case s.TokenKind.STRING:case s.TokenKind.BLOCK_STRING:return this.parseStringLiteral();case s.TokenKind.NAME:switch(this._lexer.advance(),i.value){case"true":return{kind:h.Kind.BOOLEAN,value:!0,loc:this.loc(i)};case"false":return{kind:h.Kind.BOOLEAN,value:!1,loc:this.loc(i)};case"null":return{kind:h.Kind.NULL,loc:this.loc(i)};default:return{kind:h.Kind.ENUM,value:i.value,loc:this.loc(i)}}case s.TokenKind.DOLLAR:if(!t)return this.parseVariable()}throw this.unexpected()},r.parseStringLiteral=function(){var t=this._lexer.token;return this._lexer.advance(),{kind:h.Kind.STRING,value:t.value,block:t.kind===s.TokenKind.BLOCK_STRING,loc:this.loc(t)}},r.parseList=function(t){var i=this,a=this._lexer.token;return{kind:h.Kind.LIST,values:this.any(s.TokenKind.BRACKET_L,function(){return i.parseValueLiteral(t)},s.TokenKind.BRACKET_R),loc:this.loc(a)}},r.parseObject=function(t){var i=this,a=this._lexer.token;return{kind:h.Kind.OBJECT,fields:this.any(s.TokenKind.BRACE_L,function(){return i.parseObjectField(t)},s.TokenKind.BRACE_R),loc:this.loc(a)}},r.parseObjectField=function(t){var i=this._lexer.token,a=this.parseName();return this.expectToken(s.TokenKind.COLON),{kind:h.Kind.OBJECT_FIELD,name:a,value:this.parseValueLiteral(t),loc:this.loc(i)}},r.parseDirectives=function(t){for(var i=[];this.peek(s.TokenKind.AT);)i.push(this.parseDirective(t));return i},r.parseDirective=function(t){var i=this._lexer.token;return this.expectToken(s.TokenKind.AT),{kind:h.Kind.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(t),loc:this.loc(i)}},r.parseTypeReference=function(){var t,i=this._lexer.token;return this.expectOptionalToken(s.TokenKind.BRACKET_L)?(t=this.parseTypeReference(),this.expectToken(s.TokenKind.BRACKET_R),t={kind:h.Kind.LIST_TYPE,type:t,loc:this.loc(i)}):t=this.parseNamedType(),this.expectOptionalToken(s.TokenKind.BANG)?{kind:h.Kind.NON_NULL_TYPE,type:t,loc:this.loc(i)}:t},r.parseNamedType=function(){var t=this._lexer.token;return{kind:h.Kind.NAMED_TYPE,name:this.parseName(),loc:this.loc(t)}},r.parseTypeSystemDefinition=function(){var t=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(t.kind===s.TokenKind.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()}throw this.unexpected(t)},r.peekDescription=function(){return this.peek(s.TokenKind.STRING)||this.peek(s.TokenKind.BLOCK_STRING)},r.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},r.parseSchemaDefinition=function(){var t=this._lexer.token,i=this.parseDescription();this.expectKeyword("schema");var a=this.parseDirectives(!0),l=this.many(s.TokenKind.BRACE_L,this.parseOperationTypeDefinition,s.TokenKind.BRACE_R);return{kind:h.Kind.SCHEMA_DEFINITION,description:i,directives:a,operationTypes:l,loc:this.loc(t)}},r.parseOperationTypeDefinition=function(){var t=this._lexer.token,i=this.parseOperationType();this.expectToken(s.TokenKind.COLON);var a=this.parseNamedType();return{kind:h.Kind.OPERATION_TYPE_DEFINITION,operation:i,type:a,loc:this.loc(t)}},r.parseScalarTypeDefinition=function(){var t=this._lexer.token,i=this.parseDescription();this.expectKeyword("scalar");var a=this.parseName(),l=this.parseDirectives(!0);return{kind:h.Kind.SCALAR_TYPE_DEFINITION,description:i,name:a,directives:l,loc:this.loc(t)}},r.parseObjectTypeDefinition=function(){var t=this._lexer.token,i=this.parseDescription();this.expectKeyword("type");var a=this.parseName(),l=this.parseImplementsInterfaces(),v=this.parseDirectives(!0),b=this.parseFieldsDefinition();return{kind:h.Kind.OBJECT_TYPE_DEFINITION,description:i,name:a,interfaces:l,directives:v,fields:b,loc:this.loc(t)}},r.parseImplementsInterfaces=function(){var t;if(!this.expectOptionalKeyword("implements"))return[];if(!0===(null===(t=this._options)||void 0===t?void 0:t.allowLegacySDLImplementsInterfaces)){var i=[];this.expectOptionalToken(s.TokenKind.AMP);do{i.push(this.parseNamedType())}while(this.expectOptionalToken(s.TokenKind.AMP)||this.peek(s.TokenKind.NAME));return i}return this.delimitedMany(s.TokenKind.AMP,this.parseNamedType)},r.parseFieldsDefinition=function(){var t;return!0===(null===(t=this._options)||void 0===t?void 0:t.allowLegacySDLEmptyFields)&&this.peek(s.TokenKind.BRACE_L)&&this._lexer.lookahead().kind===s.TokenKind.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(s.TokenKind.BRACE_L,this.parseFieldDefinition,s.TokenKind.BRACE_R)},r.parseFieldDefinition=function(){var t=this._lexer.token,i=this.parseDescription(),a=this.parseName(),l=this.parseArgumentDefs();this.expectToken(s.TokenKind.COLON);var v=this.parseTypeReference(),b=this.parseDirectives(!0);return{kind:h.Kind.FIELD_DEFINITION,description:i,name:a,arguments:l,type:v,directives:b,loc:this.loc(t)}},r.parseArgumentDefs=function(){return this.optionalMany(s.TokenKind.PAREN_L,this.parseInputValueDef,s.TokenKind.PAREN_R)},r.parseInputValueDef=function(){var t=this._lexer.token,i=this.parseDescription(),a=this.parseName();this.expectToken(s.TokenKind.COLON);var l,v=this.parseTypeReference();this.expectOptionalToken(s.TokenKind.EQUALS)&&(l=this.parseValueLiteral(!0));var b=this.parseDirectives(!0);return{kind:h.Kind.INPUT_VALUE_DEFINITION,description:i,name:a,type:v,defaultValue:l,directives:b,loc:this.loc(t)}},r.parseInterfaceTypeDefinition=function(){var t=this._lexer.token,i=this.parseDescription();this.expectKeyword("interface");var a=this.parseName(),l=this.parseImplementsInterfaces(),v=this.parseDirectives(!0),b=this.parseFieldsDefinition();return{kind:h.Kind.INTERFACE_TYPE_DEFINITION,description:i,name:a,interfaces:l,directives:v,fields:b,loc:this.loc(t)}},r.parseUnionTypeDefinition=function(){var t=this._lexer.token,i=this.parseDescription();this.expectKeyword("union");var a=this.parseName(),l=this.parseDirectives(!0),v=this.parseUnionMemberTypes();return{kind:h.Kind.UNION_TYPE_DEFINITION,description:i,name:a,directives:l,types:v,loc:this.loc(t)}},r.parseUnionMemberTypes=function(){return this.expectOptionalToken(s.TokenKind.EQUALS)?this.delimitedMany(s.TokenKind.PIPE,this.parseNamedType):[]},r.parseEnumTypeDefinition=function(){var t=this._lexer.token,i=this.parseDescription();this.expectKeyword("enum");var a=this.parseName(),l=this.parseDirectives(!0),v=this.parseEnumValuesDefinition();return{kind:h.Kind.ENUM_TYPE_DEFINITION,description:i,name:a,directives:l,values:v,loc:this.loc(t)}},r.parseEnumValuesDefinition=function(){return this.optionalMany(s.TokenKind.BRACE_L,this.parseEnumValueDefinition,s.TokenKind.BRACE_R)},r.parseEnumValueDefinition=function(){var t=this._lexer.token,i=this.parseDescription(),a=this.parseName(),l=this.parseDirectives(!0);return{kind:h.Kind.ENUM_VALUE_DEFINITION,description:i,name:a,directives:l,loc:this.loc(t)}},r.parseInputObjectTypeDefinition=function(){var t=this._lexer.token,i=this.parseDescription();this.expectKeyword("input");var a=this.parseName(),l=this.parseDirectives(!0),v=this.parseInputFieldsDefinition();return{kind:h.Kind.INPUT_OBJECT_TYPE_DEFINITION,description:i,name:a,directives:l,fields:v,loc:this.loc(t)}},r.parseInputFieldsDefinition=function(){return this.optionalMany(s.TokenKind.BRACE_L,this.parseInputValueDef,s.TokenKind.BRACE_R)},r.parseTypeSystemExtension=function(){var t=this._lexer.lookahead();if(t.kind===s.TokenKind.NAME)switch(t.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(t)},r.parseSchemaExtension=function(){var t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var i=this.parseDirectives(!0),a=this.optionalMany(s.TokenKind.BRACE_L,this.parseOperationTypeDefinition,s.TokenKind.BRACE_R);if(0===i.length&&0===a.length)throw this.unexpected();return{kind:h.Kind.SCHEMA_EXTENSION,directives:i,operationTypes:a,loc:this.loc(t)}},r.parseScalarTypeExtension=function(){var t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var i=this.parseName(),a=this.parseDirectives(!0);if(0===a.length)throw this.unexpected();return{kind:h.Kind.SCALAR_TYPE_EXTENSION,name:i,directives:a,loc:this.loc(t)}},r.parseObjectTypeExtension=function(){var t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var i=this.parseName(),a=this.parseImplementsInterfaces(),l=this.parseDirectives(!0),v=this.parseFieldsDefinition();if(0===a.length&&0===l.length&&0===v.length)throw this.unexpected();return{kind:h.Kind.OBJECT_TYPE_EXTENSION,name:i,interfaces:a,directives:l,fields:v,loc:this.loc(t)}},r.parseInterfaceTypeExtension=function(){var t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var i=this.parseName(),a=this.parseImplementsInterfaces(),l=this.parseDirectives(!0),v=this.parseFieldsDefinition();if(0===a.length&&0===l.length&&0===v.length)throw this.unexpected();return{kind:h.Kind.INTERFACE_TYPE_EXTENSION,name:i,interfaces:a,directives:l,fields:v,loc:this.loc(t)}},r.parseUnionTypeExtension=function(){var t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var i=this.parseName(),a=this.parseDirectives(!0),l=this.parseUnionMemberTypes();if(0===a.length&&0===l.length)throw this.unexpected();return{kind:h.Kind.UNION_TYPE_EXTENSION,name:i,directives:a,types:l,loc:this.loc(t)}},r.parseEnumTypeExtension=function(){var t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var i=this.parseName(),a=this.parseDirectives(!0),l=this.parseEnumValuesDefinition();if(0===a.length&&0===l.length)throw this.unexpected();return{kind:h.Kind.ENUM_TYPE_EXTENSION,name:i,directives:a,values:l,loc:this.loc(t)}},r.parseInputObjectTypeExtension=function(){var t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var i=this.parseName(),a=this.parseDirectives(!0),l=this.parseInputFieldsDefinition();if(0===a.length&&0===l.length)throw this.unexpected();return{kind:h.Kind.INPUT_OBJECT_TYPE_EXTENSION,name:i,directives:a,fields:l,loc:this.loc(t)}},r.parseDirectiveDefinition=function(){var t=this._lexer.token,i=this.parseDescription();this.expectKeyword("directive"),this.expectToken(s.TokenKind.AT);var a=this.parseName(),l=this.parseArgumentDefs(),v=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var b=this.parseDirectiveLocations();return{kind:h.Kind.DIRECTIVE_DEFINITION,description:i,name:a,arguments:l,repeatable:v,locations:b,loc:this.loc(t)}},r.parseDirectiveLocations=function(){return this.delimitedMany(s.TokenKind.PIPE,this.parseDirectiveLocation)},r.parseDirectiveLocation=function(){var t=this._lexer.token,i=this.parseName();if(void 0!==be.DirectiveLocation[i.value])return i;throw this.unexpected(t)},r.loc=function(t){var i;if(!0!==(null===(i=this._options)||void 0===i?void 0:i.noLocation))return new x.Location(t,this._lexer.lastToken,this._lexer.source)},r.peek=function(t){return this._lexer.token.kind===t},r.expectToken=function(t){var i=this._lexer.token;if(i.kind===t)return this._lexer.advance(),i;throw(0,R.syntaxError)(this._lexer.source,i.start,"Expected ".concat(f(t),", found ").concat(c(i),"."))},r.expectOptionalToken=function(t){var i=this._lexer.token;if(i.kind===t)return this._lexer.advance(),i},r.expectKeyword=function(t){var i=this._lexer.token;if(i.kind!==s.TokenKind.NAME||i.value!==t)throw(0,R.syntaxError)(this._lexer.source,i.start,'Expected "'.concat(t,'", found ').concat(c(i),"."));this._lexer.advance()},r.expectOptionalKeyword=function(t){var i=this._lexer.token;return i.kind===s.TokenKind.NAME&&i.value===t&&(this._lexer.advance(),!0)},r.unexpected=function(t){var i=t??this._lexer.token;return(0,R.syntaxError)(this._lexer.source,i.start,"Unexpected ".concat(c(i),"."))},r.any=function(t,i,a){this.expectToken(t);for(var l=[];!this.expectOptionalToken(a);)l.push(i.call(this));return l},r.optionalMany=function(t,i,a){if(this.expectOptionalToken(t)){var l=[];do{l.push(i.call(this))}while(!this.expectOptionalToken(a));return l}return[]},r.many=function(t,i,a){this.expectToken(t);var l=[];do{l.push(i.call(this))}while(!this.expectOptionalToken(a));return l},r.delimitedMany=function(t,i){this.expectOptionalToken(t);var a=[];do{a.push(i.call(this))}while(this.expectOptionalToken(t));return a},T}();function c(T){var r=T.value;return f(T.kind)+(null!=r?' "'.concat(r,'"'):"")}function f(T){return(0,se.isPunctuatorTokenKind)(T)?'"'.concat(T,'"'):T}n.Parser=o}),Q=L(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.visit=function(r,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c,a=void 0,l=Array.isArray(r),v=[r],b=-1,d=[],E=void 0,m=void 0,y=void 0,_=[],u=[],O=r;do{var p=++b===v.length,N=p&&0!==d.length;if(p){if(m=0===u.length?void 0:_[_.length-1],E=y,y=u.pop(),N){if(l)E=E.slice();else{for(var D={},I=0,g=Object.keys(E);I<g.length;I++){var S=g[I];D[S]=E[S]}E=D}for(var K=0,M=0;M<d.length;M++){var P=d[M][0],ne=d[M][1];l&&(P-=K),l&&null===ne?(E.splice(P,1),K++):E[P]=ne}}b=a.index,v=a.keys,d=a.edits,l=a.inArray,a=a.prev}else{if(m=y?l?b:v[b]:void 0,null==(E=y?y[m]:O))continue;y&&_.push(m)}var Y,w=void 0;if(!Array.isArray(E)){if(!(0,x.isNode)(E))throw new Error("Invalid AST Node: ".concat((0,o.default)(E),"."));var J=T(t,E.kind,p);if(J){if((w=J.call(t,E,m,y,_,u))===f)break;if(!1===w){if(!p){_.pop();continue}}else if(void 0!==w&&(d.push([m,w]),!p)){if(!(0,x.isNode)(w)){_.pop();continue}E=w}}}void 0===w&&N&&d.push([m,E]),p?_.pop():(a={inArray:l,index:b,keys:v,edits:d,prev:a},v=(l=Array.isArray(E))?E:null!==(Y=i[E.kind])&&void 0!==Y?Y:[],b=-1,d=[],y&&u.push(y),y=E)}while(void 0!==a);return 0!==d.length&&(O=d[d.length-1][1]),O},n.visitInParallel=function(r){var t=new Array(r.length);return{enter:function(i){for(var a=0;a<r.length;a++)if(null==t[a]){var l=T(r[a],i.kind,!1);if(l){var v=l.apply(r[a],arguments);if(!1===v)t[a]=i;else if(v===f)t[a]=f;else if(void 0!==v)return v}}},leave:function(i){for(var a=0;a<r.length;a++)if(null==t[a]){var l=T(r[a],i.kind,!0);if(l){var v=l.apply(r[a],arguments);if(v===f)t[a]=f;else if(void 0!==v&&!1!==v)return v}}else t[a]===i&&(t[a]=null)}}},n.getVisitFn=T,n.BREAK=n.QueryDocumentKeys=void 0;var r,o=(r=oe)&&r.__esModule?r:{default:r},c={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]};n.QueryDocumentKeys=c;var f=Object.freeze({});function T(r,t,i){var a=r[t];if(a){if(!i&&"function"==typeof a)return a;var l=i?a.leave:a.enter;if("function"==typeof l)return l}else{var v=i?r.leave:r.enter;if(v){if("function"==typeof v)return v;var b=v[t];if("function"==typeof b)return b}}}n.BREAK=f}),ln={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return k(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var n=e.operation,o=e.name,c=A("(",k(e.variableDefinitions,", "),")"),f=k(e.directives," "),T=e.selectionSet;return o||f||c||"query"!==n?k([n,k([o,c]),f,T]," "):T},VariableDefinition:function(e){var f=e.directives;return e.variable+": "+e.type+A(" = ",e.defaultValue)+A(" ",k(f," "))},SelectionSet:function(e){return F(e.selections)},Field:function(e){var o=e.name,c=e.arguments,f=e.directives,T=e.selectionSet,r=A("",e.alias,": ")+o,t=r+A("(",k(c,", "),")");return t.length>80&&(t=r+A("(\n",ee(k(c,"\n")),"\n)")),k([t,k(f," "),T]," ")},Argument:function(e){return e.name+": "+e.value},FragmentSpread:function(e){return"..."+e.name+A(" ",k(e.directives," "))},InlineFragment:function(e){var o=e.directives,c=e.selectionSet;return k(["...",A("on ",e.typeCondition),k(o," "),c]," ")},FragmentDefinition:function(e){var o=e.typeCondition,c=e.variableDefinitions,f=e.directives,T=e.selectionSet;return"fragment ".concat(e.name).concat(A("(",k(c,", "),")")," ")+"on ".concat(o," ").concat(A("",k(f," ")," "))+T},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,n){var o=e.value;return e.block?(0,Ie.printBlockString)(o,"description"===n?"":" "):JSON.stringify(o)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+k(e.values,", ")+"]"},ObjectValue:function(e){return"{"+k(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+A("(",k(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:C(function(e){var o=e.operationTypes;return k(["schema",k(e.directives," "),F(o)]," ")}),OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:C(function(e){return k(["scalar",e.name,k(e.directives," ")]," ")}),ObjectTypeDefinition:C(function(e){var c=e.directives,f=e.fields;return k(["type",e.name,A("implements ",k(e.interfaces," & ")),k(c," "),F(f)]," ")}),FieldDefinition:C(function(e){var o=e.arguments,c=e.type,f=e.directives;return e.name+(De(o)?A("(\n",ee(k(o,"\n")),"\n)"):A("(",k(o,", "),")"))+": "+c+A(" ",k(f," "))}),InputValueDefinition:C(function(e){var f=e.directives;return k([e.name+": "+e.type,A("= ",e.defaultValue),k(f," ")]," ")}),InterfaceTypeDefinition:C(function(e){var c=e.directives,f=e.fields;return k(["interface",e.name,A("implements ",k(e.interfaces," & ")),k(c," "),F(f)]," ")}),UnionTypeDefinition:C(function(e){var c=e.types;return k(["union",e.name,k(e.directives," "),c&&0!==c.length?"= "+k(c," | "):""]," ")}),EnumTypeDefinition:C(function(e){var c=e.values;return k(["enum",e.name,k(e.directives," "),F(c)]," ")}),EnumValueDefinition:C(function(e){return k([e.name,k(e.directives," ")]," ")}),InputObjectTypeDefinition:C(function(e){var c=e.fields;return k(["input",e.name,k(e.directives," "),F(c)]," ")}),DirectiveDefinition:C(function(e){var o=e.arguments,c=e.repeatable,f=e.locations;return"directive @"+e.name+(De(o)?A("(\n",ee(k(o,"\n")),"\n)"):A("(",k(o,", "),")"))+(c?" repeatable":"")+" on "+k(f," | ")}),SchemaExtension:function(e){var o=e.operationTypes;return k(["extend schema",k(e.directives," "),F(o)]," ")},ScalarTypeExtension:function(e){return k(["extend scalar",e.name,k(e.directives," ")]," ")},ObjectTypeExtension:function(e){var c=e.directives,f=e.fields;return k(["extend type",e.name,A("implements ",k(e.interfaces," & ")),k(c," "),F(f)]," ")},InterfaceTypeExtension:function(e){var c=e.directives,f=e.fields;return k(["extend interface",e.name,A("implements ",k(e.interfaces," & ")),k(c," "),F(f)]," ")},UnionTypeExtension:function(e){var c=e.types;return k(["extend union",e.name,k(e.directives," "),c&&0!==c.length?"= "+k(c," | "):""]," ")},EnumTypeExtension:function(e){var c=e.values;return k(["extend enum",e.name,k(e.directives," "),F(c)]," ")},InputObjectTypeExtension:function(e){var c=e.fields;return k(["extend input",e.name,k(e.directives," "),F(c)]," ")}};function C(e){return function(n){return k([n.description,e(n)],"\n")}}function k(e){var n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(n=e?.filter(function(c){return c}).join(o))&&void 0!==n?n:""}function F(e){return A("{\n",ee(k(e,"\n")),"\n}")}function A(e,n){return null!=n&&""!==n?e+n+(arguments.length>2&&void 0!==arguments[2]?arguments[2]:""):""}function ee(e){return A(" ",e.replace(/\n/g,"\n "))}function dn(e){return-1!==e.indexOf("\n")}function De(e){return null!=e&&e.some(dn)}var pn=Object.defineProperty({print:function(e){return(0,Q.visit)(e,{leave:ln})}},"__esModule",{value:!0});function xe(e){return e.kind===h.Kind.OPERATION_DEFINITION||e.kind===h.Kind.FRAGMENT_DEFINITION}function Ae(e){return e.kind===h.Kind.SCHEMA_DEFINITION||ge(e)||e.kind===h.Kind.DIRECTIVE_DEFINITION}function ge(e){return e.kind===h.Kind.SCALAR_TYPE_DEFINITION||e.kind===h.Kind.OBJECT_TYPE_DEFINITION||e.kind===h.Kind.INTERFACE_TYPE_DEFINITION||e.kind===h.Kind.UNION_TYPE_DEFINITION||e.kind===h.Kind.ENUM_TYPE_DEFINITION||e.kind===h.Kind.INPUT_OBJECT_TYPE_DEFINITION}function Se(e){return e.kind===h.Kind.SCHEMA_EXTENSION||Ke(e)}function Ke(e){return e.kind===h.Kind.SCALAR_TYPE_EXTENSION||e.kind===h.Kind.OBJECT_TYPE_EXTENSION||e.kind===h.Kind.INTERFACE_TYPE_EXTENSION||e.kind===h.Kind.UNION_TYPE_EXTENSION||e.kind===h.Kind.ENUM_TYPE_EXTENSION||e.kind===h.Kind.INPUT_OBJECT_TYPE_EXTENSION}var j=Object.defineProperty({isDefinitionNode:function(e){return xe(e)||Ae(e)||Se(e)},isExecutableDefinitionNode:xe,isSelectionNode:function(e){return e.kind===h.Kind.FIELD||e.kind===h.Kind.FRAGMENT_SPREAD||e.kind===h.Kind.INLINE_FRAGMENT},isValueNode:function(e){return e.kind===h.Kind.VARIABLE||e.kind===h.Kind.INT||e.kind===h.Kind.FLOAT||e.kind===h.Kind.STRING||e.kind===h.Kind.BOOLEAN||e.kind===h.Kind.NULL||e.kind===h.Kind.ENUM||e.kind===h.Kind.LIST||e.kind===h.Kind.OBJECT},isTypeNode:function(e){return e.kind===h.Kind.NAMED_TYPE||e.kind===h.Kind.LIST_TYPE||e.kind===h.Kind.NON_NULL_TYPE},isTypeSystemDefinitionNode:Ae,isTypeDefinitionNode:ge,isTypeSystemExtensionNode:Se,isTypeExtensionNode:Ke},"__esModule",{value:!0}),_n=L(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Source",{enumerable:!0,get:function(){return ae.Source}}),Object.defineProperty(n,"getLocation",{enumerable:!0,get:function(){return q.getLocation}}),Object.defineProperty(n,"printLocation",{enumerable:!0,get:function(){return z.printLocation}}),Object.defineProperty(n,"printSourceLocation",{enumerable:!0,get:function(){return z.printSourceLocation}}),Object.defineProperty(n,"Kind",{enumerable:!0,get:function(){return h.Kind}}),Object.defineProperty(n,"TokenKind",{enumerable:!0,get:function(){return s.TokenKind}}),Object.defineProperty(n,"Lexer",{enumerable:!0,get:function(){return se.Lexer}}),Object.defineProperty(n,"parse",{enumerable:!0,get:function(){return ce.parse}}),Object.defineProperty(n,"parseValue",{enumerable:!0,get:function(){return ce.parseValue}}),Object.defineProperty(n,"parseType",{enumerable:!0,get:function(){return ce.parseType}}),Object.defineProperty(n,"print",{enumerable:!0,get:function(){return pn.print}}),Object.defineProperty(n,"visit",{enumerable:!0,get:function(){return Q.visit}}),Object.defineProperty(n,"visitInParallel",{enumerable:!0,get:function(){return Q.visitInParallel}}),Object.defineProperty(n,"getVisitFn",{enumerable:!0,get:function(){return Q.getVisitFn}}),Object.defineProperty(n,"BREAK",{enumerable:!0,get:function(){return Q.BREAK}}),Object.defineProperty(n,"Location",{enumerable:!0,get:function(){return x.Location}}),Object.defineProperty(n,"Token",{enumerable:!0,get:function(){return x.Token}}),Object.defineProperty(n,"isDefinitionNode",{enumerable:!0,get:function(){return j.isDefinitionNode}}),Object.defineProperty(n,"isExecutableDefinitionNode",{enumerable:!0,get:function(){return j.isExecutableDefinitionNode}}),Object.defineProperty(n,"isSelectionNode",{enumerable:!0,get:function(){return j.isSelectionNode}}),Object.defineProperty(n,"isValueNode",{enumerable:!0,get:function(){return j.isValueNode}}),Object.defineProperty(n,"isTypeNode",{enumerable:!0,get:function(){return j.isTypeNode}}),Object.defineProperty(n,"isTypeSystemDefinitionNode",{enumerable:!0,get:function(){return j.isTypeSystemDefinitionNode}}),Object.defineProperty(n,"isTypeDefinitionNode",{enumerable:!0,get:function(){return j.isTypeDefinitionNode}}),Object.defineProperty(n,"isTypeSystemExtensionNode",{enumerable:!0,get:function(){return j.isTypeSystemExtensionNode}}),Object.defineProperty(n,"isTypeExtensionNode",{enumerable:!0,get:function(){return j.isTypeExtensionNode}}),Object.defineProperty(n,"DirectiveLocation",{enumerable:!0,get:function(){return be.DirectiveLocation}})});const{hasPragma:On}={hasPragma:function(e){return/^\s*#[^\S\n]*@(format|prettier)\s*(\n|$)/.test(e)},insertPragma:function(e){return"# @format\n\n"+e}},{locStart:In,locEnd:bn}={locStart:function(e){return"number"==typeof e.start?e.start:e.loc&&e.loc.start},locEnd:function(e){return"number"==typeof e.end?e.end:e.loc&&e.loc.end}};function Le(e){if(e&&"object"==typeof e){delete e.startToken,delete e.endToken,delete e.prev,delete e.next;for(const n in e)Le(e[n])}return e}const Re={allowLegacySDLImplementsInterfaces:!1,experimentalFragmentVariables:!0};function Dn(e){const{GraphQLError:n}=Ze;if(e instanceof n){const{message:o,locations:[c]}=e;return function(e,n){const o=new SyntaxError(e+" ("+n.start.line+":"+n.start.column+")");return o.loc=n,o}(o,{start:c})}return e}return{parsers:{graphql:{parse:function(e){const{parse:n}=_n,{result:o,error:c}=function(...e){let n;for(const[o,c]of e.entries())try{return{result:c()}}catch(f){0===o&&(n=f)}return{error:n}}(()=>n(e,Object.assign({},Re)),()=>n(e,Object.assign({},Re,{allowLegacySDLImplementsInterfaces:!0})));if(!o)throw Dn(c);return o.comments=function(f){const T=[],{startToken:r}=f.loc;let{next:t}=r;for(;"<EOF>"!==t.kind;)"Comment"===t.kind&&(Object.assign(t,{column:t.column-1}),T.push(t)),t=t.next;return T}(o),Le(o),o},astFormat:"graphql",hasPragma:On,locStart:In,locEnd:bn}}}}()}}]);
|
|
4
|
+
//# sourceMappingURL=526.js.map
|
|
5
|
+
//# debugId=c0ba37c4-9451-593b-8c86-6d91d4a1f703
|