@chillicream/nitro-embedded 19.0.0 → 19.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/asset-manifest.json +30 -30
- package/index.html +1 -1
- package/package.json +1 -1
- package/service-worker.js +1 -1
- package/static/js/110.742d3eb0.js +2 -0
- package/static/js/195.667358d4.chunk.js +1 -0
- package/static/js/264.e8a97496.js +1 -0
- package/static/js/341.6b265c09.chunk.js +2 -0
- package/static/js/522.c4756a07.chunk.js +1 -0
- package/static/js/703.1f862f95.js +2 -0
- package/static/js/712.af77a472.chunk.js +2 -0
- package/static/js/788.02b07045.js +1 -0
- package/static/js/81.3a5e0fef.chunk.js +1 -0
- package/static/js/86.aec9cf39.chunk.js +1 -0
- package/static/js/918.87e4083a.chunk.js +1 -0
- package/static/js/927.871e3a3f.js +1 -0
- package/static/js/936.d3d4304f.js +1 -0
- package/static/js/938.a3f01930.chunk.js +1 -0
- package/static/js/940.bf2971d4.js +1 -0
- package/static/js/996.99877939.chunk.js +1 -0
- package/static/js/editor.afbd84bf.js +1 -1
- package/static/js/graphql-engine.670e6285.chunk.js +1 -0
- package/static/js/{graphql-indexer.0e4e5075.chunk.js → graphql-indexer.84477470.chunk.js} +1 -1
- package/static/js/graphql.worker.2c56696a.js +1 -1
- package/static/js/json.1cf77584.js +1 -1
- package/static/js/{main.de44c7be.js → main.23fc6617.js} +2 -2
- package/static/js/polyfills.cf97c1ee.js +1 -0
- package/static/js/{session.6217371a.chunk.js → session.d5c8d792.chunk.js} +1 -1
- package/static/js/yaml.worker.f5693bf4.js +1 -1
- package/static/js/110.0e366505.js +0 -2
- package/static/js/195.430987fc.chunk.js +0 -1
- package/static/js/264.41536de4.js +0 -1
- package/static/js/341.1e379763.chunk.js +0 -2
- package/static/js/522.f6b42267.chunk.js +0 -1
- package/static/js/703.2e7d099c.js +0 -2
- package/static/js/712.8d0b0855.chunk.js +0 -2
- package/static/js/788.3e19c8d7.js +0 -1
- package/static/js/81.f8d02cc4.chunk.js +0 -1
- package/static/js/86.e31a339b.chunk.js +0 -1
- package/static/js/918.a846b7ba.chunk.js +0 -1
- package/static/js/927.efb56557.js +0 -1
- package/static/js/936.e8fa296c.js +0 -1
- package/static/js/938.576aa13e.chunk.js +0 -1
- package/static/js/940.68e1b478.js +0 -1
- package/static/js/996.4df50182.chunk.js +0 -1
- package/static/js/graphql-engine.ba0943b0.chunk.js +0 -1
- package/static/js/polyfills.0bb6438e.js +0 -1
- /package/static/js/{110.0e366505.js.LICENSE.txt → 110.742d3eb0.js.LICENSE.txt} +0 -0
- /package/static/js/{341.1e379763.chunk.js.LICENSE.txt → 341.6b265c09.chunk.js.LICENSE.txt} +0 -0
- /package/static/js/{703.2e7d099c.js.LICENSE.txt → 703.1f862f95.js.LICENSE.txt} +0 -0
- /package/static/js/{712.8d0b0855.chunk.js.LICENSE.txt → 712.af77a472.chunk.js.LICENSE.txt} +0 -0
- /package/static/js/{main.de44c7be.js.LICENSE.txt → main.23fc6617.js.LICENSE.txt} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_chillicream_nitro=self.webpackChunk_chillicream_nitro||[]).push([[927],{65107:(e,l,n)=>{n.d(l,{$R:()=>t,AL:()=>y,Bp:()=>k,Er:()=>K,GP:()=>h,Jz:()=>o,Uj:()=>m,_n:()=>F,gV:()=>u,hN:()=>c,iQ:()=>a,mv:()=>d,sd:()=>r,sm:()=>p,t_:()=>s,tx:()=>i,wA:()=>g,xi:()=>S});const a="connection-settings",i="document-content",r="origin-document-content",s="variable-collection",t="origin-variable-collection",u="file-content",o="variable-json-schema",d="api",c="new-api",g="api-document",m="document",p="historical-document",y="new-document",k="environment",F="new-environment",K="file",h="folder";let S=function(e){return e.Collection="collection",e.Service="service",e.Gateway="gateway",e.Unknown="unknown",e}({})},56242:(e,l,n)=>{var a=n(4473),i=n(68341),r=(n(36022),n(75885),n(66094),n(97353)),s=n(28511),t=(0,i.A)("schemaCache");var u=(0,i.A)("directives"),o=(0,i.A)("fields"),d=(0,i.A)("types"),c=(0,i.A)("introspectionFields");class g{constructor(e){Object.defineProperty(this,u,{writable:!0,value:void 0}),Object.defineProperty(this,o,{writable:!0,value:void 0}),Object.defineProperty(this,d,{writable:!0,value:void 0}),Object.defineProperty(this,c,{writable:!0,value:void 0}),(0,a.A)(this,u)[u]=new Map(e.directives),(0,a.A)(this,o)[o]=new Map(e.fields),(0,a.A)(this,d)[d]=new Map(e.types),(0,a.A)(this,c)[c]=new Map(e.fields)}getDirectives(e){const l=[];if(null!==e&&void 0!==e&&e.length){const n=e.toLocaleLowerCase();(0,a.A)(this,u)[u].forEach((e=>{e.name.toLocaleLowerCase().includes(n)&&l.push(e)}))}else(0,a.A)(this,u)[u].forEach((e=>{l.push(e)}));return l.sort(s.Am)}getField(e){var l;return null!==(l=(0,a.A)(this,o)[o].get(e))&&void 0!==l?l:null}getFields(e,l){var n;const i=e+".",r=[];if(null!==l&&void 0!==l&&l.includeIntrospectionFields&&this.addIntrospectionFields(e,r),null!==l&&void 0!==l&&null!==(n=l.filter)&&void 0!==n&&n.length){const e=l.filter.toLocaleLowerCase();(0,a.A)(this,o)[o].forEach((l=>{l.coordinate.startsWith(i)&&l.name.toLocaleLowerCase().includes(e)&&r.push(l)}))}else(0,a.A)(this,o)[o].forEach((e=>{e.coordinate.startsWith(i)&&r.push(e)}));return r.sort(s.Am)}getType(e){var l;return null!==(l=(0,a.A)(this,d)[d].get(e))&&void 0!==l?l:null}getTypes(e){const l=[];if(null!==e&&void 0!==e&&e.length){const n=e.toLocaleLowerCase();(0,a.A)(this,d)[d].forEach((e=>{e.name.toLocaleLowerCase().includes(n)&&l.push(e)}))}else(0,a.A)(this,d)[d].forEach((e=>{l.push(e)}));return l.sort(s.Am)}getTypesByTypeKind(e,l){const n=[];if(null!==l&&void 0!==l&&l.length){const i=l.toLocaleLowerCase();(0,a.A)(this,d)[d].forEach((l=>{l.typeKind===e&&l.name.toLocaleLowerCase().includes(i)&&n.push(l)}))}else(0,a.A)(this,d)[d].forEach((l=>{l.typeKind===e&&n.push(l)}));return n.sort(s.Am)}dispose(){(0,a.A)(this,u)[u].clear(),(0,a.A)(this,o)[o].clear(),(0,a.A)(this,d)[d].clear()}addIntrospectionFields(e,l){const n=(0,a.A)(this,d)[d].get(e),i="query-type"===(null===n||void 0===n?void 0:n.kind),r="subscription-type"===(null===n||void 0===n?void 0:n.kind);if(i){const e=this.getIntrospectionSchemaField(n.name);e&&l.push(e);const a=this.getIntrospectionTypeField(n.name);a&&l.push(a)}if(!r&&n){const e=this.getIntrospectionTypenameField(n.name);e&&l.push(e)}}getIntrospectionSchemaField(e){const l=r.CM.SCHEMA_FIELD;let n=(0,a.A)(this,c)[c].get(l);if(!n){const i=(0,a.A)(this,d)[d].get("__Schema");i&&(n={kind:"field",name:l,coordinate:(0,r.IK)(e,l),valueType:{kind:"value-type",isList:!1,isOptional:!1,type:i}},(0,a.A)(this,c)[c].set(l,n))}return n}getIntrospectionTypeField(e){const l=r.CM.TYPE_FIELD;let n=(0,a.A)(this,c)[c].get(l);if(!n){const i=(0,a.A)(this,d)[d].get("__Type"),s=(0,a.A)(this,d)[d].get("String");i&&s&&(n={kind:"field",name:l,coordinate:(0,r.IK)(e,l),valueType:{kind:"value-type",isList:!1,isOptional:!0,type:i},arguments:[{kind:"argument",name:"name",coordinate:(0,r.IK)(e,l,"name"),type:{kind:"value-type",isList:!1,isOptional:!1,type:s}}]},(0,a.A)(this,c)[c].set(l,n))}return n}getIntrospectionTypenameField(e){const l=r.CM.TYPENAME_FIELD;let n=(0,a.A)(this,c)[c].get(l);if(n)n={...n,coordinate:(0,r.IK)(e,r.CM.TYPE_FIELD)};else{const i=(0,a.A)(this,d)[d].get("String");i&&(n={kind:"field",name:l,coordinate:(0,r.IK)(e,l),valueType:{kind:"value-type",isList:!1,isOptional:!1,type:i}},(0,a.A)(this,c)[c].set(l,n))}return n}}new class{constructor(){Object.defineProperty(this,t,{writable:!0,value:new s.Gc})}get(e){var l;return null!==(l=(0,a.A)(this,t)[t].get(e))&&void 0!==l?l:null}set(e,l){var n;const i=new g(l);return null===(n=(0,a.A)(this,t)[t].get(e))||void 0===n||n.dispose(),(0,a.A)(this,t)[t].set(e,i),i}remove(e){var l;null===(l=(0,a.A)(this,t)[t].get(e))||void 0===l||l.dispose(),(0,a.A)(this,t)[t].delete(e)}}},57745:(e,l,n)=>{n(36022),n(75885),n(66094),n(97353),n(28511),n(56242)},8553:(e,l,n)=>{n.r(l),n.d(l,{default:()=>i});const a=function(){var e={alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"user",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"username",storageKey:null}],storageKey:null},l={alias:null,args:null,kind:"ScalarField",name:"message",storageKey:null},n={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},a=[l],i={kind:"InlineFragment",selections:a,type:"UnauthorizedOperation",abstractKey:null};return{fragment:{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"createUserAccountTaskMutation",selections:[{alias:null,args:null,concreteType:"CreateAccountPayload",kind:"LinkedField",name:"createAccount",plural:!1,selections:[e,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"errors",plural:!0,selections:[{kind:"InlineFragment",selections:[l,n],type:"Error",abstractKey:"__isError"},i],storageKey:null}],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[],kind:"Operation",name:"createUserAccountTaskMutation",selections:[{alias:null,args:null,concreteType:"CreateAccountPayload",kind:"LinkedField",name:"createAccount",plural:!1,selections:[e,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"errors",plural:!0,selections:[n,{kind:"InlineFragment",selections:a,type:"Error",abstractKey:"__isError"},i],storageKey:null}],storageKey:null}]},params:{id:"547c06ba5e1ac0c1ec1c5fc8038600df",metadata:{},name:"createUserAccountTaskMutation",operationKind:"mutation",text:null}}}();a.hash="bdc483070d6d8e8bc4ea2f4990fb535b";const i=a},92334:(e,l,n)=>{n.r(l),n.d(l,{default:()=>i});const a=function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"input"}],l=[{kind:"Variable",name:"input",variableName:"input"}],n={alias:null,args:null,concreteType:"Workspace",kind:"LinkedField",name:"workspace",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null}],storageKey:null},a={alias:null,args:null,kind:"ScalarField",name:"message",storageKey:null},i=[a],r={kind:"InlineFragment",selections:i,type:"UnauthorizedOperation",abstractKey:null},s={kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"ValidationErrorProperty",kind:"LinkedField",name:"errors",plural:!0,selections:i,storageKey:null},a],type:"ValidationError",abstractKey:null};return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"createWorkspaceTaskMutation",selections:[{alias:null,args:l,concreteType:"CreateWorkspacePayload",kind:"LinkedField",name:"createWorkspace",plural:!1,selections:[n,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"errors",plural:!0,selections:[r,s],storageKey:null}],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"createWorkspaceTaskMutation",selections:[{alias:null,args:l,concreteType:"CreateWorkspacePayload",kind:"LinkedField",name:"createWorkspace",plural:!1,selections:[n,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"errors",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},r,s],storageKey:null}],storageKey:null}]},params:{id:"b717223d978323964a35cb2761344823",metadata:{},name:"createWorkspaceTaskMutation",operationKind:"mutation",text:null}}}();a.hash="7bfb0ca86d5b2ddd3981bed47c328e1c";const i=a},20798:(e,l,n)=>{n.r(l),n.d(l,{default:()=>i});const a=function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"input"}],l=[{kind:"Variable",name:"input",variableName:"input"}],n=[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}];return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"deleteApiTaskMutation",selections:[{alias:null,args:l,concreteType:"DeleteApiByIdPayload",kind:"LinkedField",name:"deleteApiById",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"errors",plural:!0,selections:[{kind:"InlineFragment",selections:n,type:"UnauthorizedOperation",abstractKey:null},{kind:"InlineFragment",selections:n,type:"ApiDeletionFailedError",abstractKey:null},{kind:"InlineFragment",selections:n,type:"ApiNotFoundError",abstractKey:null}],storageKey:null}],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"deleteApiTaskMutation",selections:[{alias:null,args:l,concreteType:"DeleteApiByIdPayload",kind:"LinkedField",name:"deleteApiById",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"errors",plural:!0,selections:n,storageKey:null}],storageKey:null}]},params:{id:"9232243e022418d56f6e7636f3cca80c",metadata:{},name:"deleteApiTaskMutation",operationKind:"mutation",text:null}}}();a.hash="1ab6c2ca68bdc4b7202caab963ebb9f0";const i=a},10081:(e,l,n)=>{n.r(l),n.d(l,{default:()=>i});const a=function(){var e=[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"me",plural:!1,selections:[{alias:null,args:null,concreteType:"OrganizationInfo",kind:"LinkedField",name:"organization",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"displayName",storageKey:null}],storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"fetchOrganizationInfoTaskQuery",selections:e,type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[],kind:"Operation",name:"fetchOrganizationInfoTaskQuery",selections:e},params:{id:"2ab20af0a295bf12896d512991bcd78a",metadata:{},name:"fetchOrganizationInfoTaskQuery",operationKind:"query",text:null}}}();a.hash="7445da3d28355509e9aa56662e792f24";const i=a},75716:(e,l,n)=>{n.r(l),n.d(l,{default:()=>i});const a=function(){var e=[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"me",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"preferences",storageKey:null},{alias:null,args:null,concreteType:"UserSettings",kind:"LinkedField",name:"settings",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"featureFlags",storageKey:null},{alias:null,args:null,concreteType:"ThemeSettings",kind:"LinkedField",name:"theme",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"usePreferredOsAppearance",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"darkThemeName",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"lightThemeName",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"themeName",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"fetchSettingsQuery",selections:e,type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[],kind:"Operation",name:"fetchSettingsQuery",selections:e},params:{id:"df41d535297ae400d3246d821c4cd2c2",metadata:{},name:"fetchSettingsQuery",operationKind:"query",text:null}}}();a.hash="6707fb784d7f0db877e5b2d257f80c46";const i=a},64949:(e,l,n)=>{n.r(l),n.d(l,{default:()=>i});const a=function(){var e=[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"me",plural:!1,selections:[{alias:null,args:null,concreteType:"WorkspacesConnection",kind:"LinkedField",name:"workspaces",plural:!1,selections:[{alias:null,args:null,concreteType:"WorkspacesEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"Workspace",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"fetchWorkspacesQuery",selections:e,type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[],kind:"Operation",name:"fetchWorkspacesQuery",selections:e},params:{id:"5808e31d1cdbbd4d24f35a54de0d02f6",metadata:{},name:"fetchWorkspacesQuery",operationKind:"query",text:null}}}();a.hash="c56df29b4d6cfa1c06bee69584e4d186";const i=a},64680:(e,l,n)=>{n.r(l),n.d(l,{default:()=>i});const a=function(){var e={defaultValue:null,kind:"LocalArgument",name:"darkThemeName"},l={defaultValue:null,kind:"LocalArgument",name:"lightThemeName"},n={defaultValue:null,kind:"LocalArgument",name:"themeName"},a={defaultValue:null,kind:"LocalArgument",name:"usePreferredOsAppearance"},i=[{fields:[{kind:"Variable",name:"darkThemeName",variableName:"darkThemeName"},{kind:"Variable",name:"lightThemeName",variableName:"lightThemeName"},{kind:"Variable",name:"themeName",variableName:"themeName"},{kind:"Variable",name:"usePreferredOsAppearance",variableName:"usePreferredOsAppearance"}],kind:"ObjectValue",name:"input"}],r={alias:null,args:null,concreteType:"UserSettings",kind:"LinkedField",name:"settings",plural:!1,selections:[{alias:null,args:null,concreteType:"ThemeSettings",kind:"LinkedField",name:"theme",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"usePreferredOsAppearance",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"darkThemeName",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"lightThemeName",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"themeName",storageKey:null}],storageKey:null}],storageKey:null},s={alias:null,args:null,kind:"ScalarField",name:"message",storageKey:null},t={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},u=[s],o={kind:"InlineFragment",selections:u,type:"UnauthorizedOperation",abstractKey:null};return{fragment:{argumentDefinitions:[e,l,n,a],kind:"Fragment",metadata:null,name:"persistThemeSettingsMutation",selections:[{alias:null,args:i,concreteType:"UpdateThemeSettingsPayload",kind:"LinkedField",name:"updateThemeSettings",plural:!1,selections:[r,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"errors",plural:!0,selections:[{kind:"InlineFragment",selections:[s,t],type:"Error",abstractKey:"__isError"},o],storageKey:null}],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[a,e,l,n],kind:"Operation",name:"persistThemeSettingsMutation",selections:[{alias:null,args:i,concreteType:"UpdateThemeSettingsPayload",kind:"LinkedField",name:"updateThemeSettings",plural:!1,selections:[r,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"errors",plural:!0,selections:[t,{kind:"InlineFragment",selections:u,type:"Error",abstractKey:"__isError"},o],storageKey:null}],storageKey:null}]},params:{id:"1a2d23dc80f3fd6c8863fc4611b970db",metadata:{},name:"persistThemeSettingsMutation",operationKind:"mutation",text:null}}}();a.hash="89d9131cf20b4626261c01731b759f5c";const i=a},61324:(e,l,n)=>{n.r(l),n.d(l,{default:()=>i});const a=function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"featureFlags"}],l=[{fields:[{kind:"Variable",name:"featureFlags",variableName:"featureFlags"}],kind:"ObjectValue",name:"input"}],n={kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"message",storageKey:null}],type:"Error",abstractKey:"__isError"};return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"updateFeatureFlagsMutation",selections:[{alias:null,args:l,concreteType:"UpdateFeatureFlagsPayload",kind:"LinkedField",name:"updateFeatureFlags",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"errors",plural:!0,selections:[n],storageKey:null}],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"updateFeatureFlagsMutation",selections:[{alias:null,args:l,concreteType:"UpdateFeatureFlagsPayload",kind:"LinkedField",name:"updateFeatureFlags",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"errors",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},n],storageKey:null}],storageKey:null}]},params:{id:"11d2ee2eb9f094b69d50997a02ecedc7",metadata:{},name:"updateFeatureFlagsMutation",operationKind:"mutation",text:null}}}();a.hash="3749944a69902195aab33b7a699dc235";const i=a},13919:(e,l,n)=>{n.r(l),n.d(l,{default:()=>i});const a=function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"preferences"}],l=[{fields:[{kind:"Variable",name:"preferences",variableName:"preferences"}],kind:"ObjectValue",name:"input"}],n={alias:null,args:null,kind:"ScalarField",name:"preferences",storageKey:null},a={kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"message",storageKey:null}],type:"Error",abstractKey:"__isError"};return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"updatePreferencesMutation",selections:[{alias:null,args:l,concreteType:"UpdatePreferencesPayload",kind:"LinkedField",name:"updatePreferences",plural:!1,selections:[n,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"errors",plural:!0,selections:[a],storageKey:null}],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"updatePreferencesMutation",selections:[{alias:null,args:l,concreteType:"UpdatePreferencesPayload",kind:"LinkedField",name:"updatePreferences",plural:!1,selections:[n,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"errors",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},a],storageKey:null}],storageKey:null}]},params:{id:"5681b95b96dc296c3e2cd6e1b7b0e2e1",metadata:{},name:"updatePreferencesMutation",operationKind:"mutation",text:null}}}();a.hash="ba147ea37cb75cfa9431c1015afcae51";const i=a},45025:(e,l,n)=>{n.r(l),n.d(l,{default:()=>i});const a=function(){var e={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},l=[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"me",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"billingUrl",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"manageTenantUrl",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"sessionId",storageKey:null},{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"user",plural:!1,selections:[e,{alias:null,args:null,kind:"ScalarField",name:"username",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"WorkspacesConnection",kind:"LinkedField",name:"workspaces",plural:!1,selections:[{alias:null,args:null,concreteType:"WorkspacesEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"Workspace",kind:"LinkedField",name:"node",plural:!1,selections:[e,{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"userAccountFetcherTaskQuery",selections:l,type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[],kind:"Operation",name:"userAccountFetcherTaskQuery",selections:l},params:{id:"228d7917d938a80786c74144f4ea26a1",metadata:{},name:"userAccountFetcherTaskQuery",operationKind:"query",text:null}}}();a.hash="bae83e45a5bb3c39337090e4a751388f";const i=a},66236:(e,l,n)=>{n.r(l),n.d(l,{default:()=>i});const a=function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"apiId"},{defaultValue:null,kind:"LocalArgument",name:"version"}],l=[{kind:"Variable",name:"id",variableName:"apiId"}],n={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},i={alias:null,args:[{kind:"Variable",name:"after",variableName:"version"},{kind:"Literal",name:"first",value:10}],concreteType:"ApiDocumentConnection",kind:"LinkedField",name:"documents",plural:!1,selections:[{alias:null,args:null,concreteType:"ApiDocumentEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null},{alias:null,args:null,concreteType:"ApiDocument",kind:"LinkedField",name:"node",plural:!1,selections:[n,{alias:null,args:null,concreteType:"Api",kind:"LinkedField",name:"api",plural:!1,selections:[a],storageKey:null},a,{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"path",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"version",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"createdAt",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"modifiedAt",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"body",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"variables",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null};return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"workspaceSynchronizationPageApiDocumentQuery",selections:[{alias:null,args:l,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{kind:"InlineFragment",selections:[n,i],type:"Api",abstractKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"workspaceSynchronizationPageApiDocumentQuery",selections:[{alias:null,args:l,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[n,a,{kind:"InlineFragment",selections:[i],type:"Api",abstractKey:null}],storageKey:null}]},params:{id:"9dee277284855991c78c880aee0c4ecc",metadata:{},name:"workspaceSynchronizationPageApiDocumentQuery",operationKind:"query",text:null}}}();a.hash="89dd536b09bbe75ca4c4ccd06c94b3b7";const i=a},46499:(e,l,n)=>{n.r(l),n.d(l,{default:()=>i});const a=function(){var e={defaultValue:null,kind:"LocalArgument",name:"version"},l={defaultValue:null,kind:"LocalArgument",name:"workspaceId"},n=[{kind:"Variable",name:"id",variableName:"workspaceId"}],a={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},r={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},s={alias:null,args:null,kind:"ScalarField",name:"username",storageKey:null},t={alias:null,args:null,kind:"ScalarField",name:"password",storageKey:null},u={alias:null,args:null,kind:"ScalarField",name:"prefix",storageKey:null},o={alias:null,args:[{kind:"Variable",name:"after",variableName:"version"},{kind:"Literal",name:"first",value:30}],concreteType:"ApisConnection",kind:"LinkedField",name:"apis",plural:!1,selections:[{alias:null,args:null,concreteType:"ApisEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null},{alias:null,args:null,concreteType:"Api",kind:"LinkedField",name:"node",plural:!1,selections:[a,i,r,{alias:null,args:null,kind:"ScalarField",name:"kind",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"path",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"version",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"createdAt",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"modifiedAt",storageKey:null},{alias:null,args:null,concreteType:"ApiHttpConnection",kind:"LinkedField",name:"httpConnection",plural:!1,selections:[{alias:null,args:null,concreteType:"ApiHttpAuthentication",kind:"LinkedField",name:"authentication",plural:!1,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"activeAuthenticationKind",storageKey:null},{alias:null,args:null,concreteType:"BasicAuthenticationFlowOptions",kind:"LinkedField",name:"basicOptions",plural:!1,selections:[a,s,t],storageKey:null},{alias:null,args:null,concreteType:"BearerAuthenticationFlowOptions",kind:"LinkedField",name:"bearerOptions",plural:!1,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"token",storageKey:null},u],storageKey:null},{alias:null,args:null,concreteType:"OAuth2AuthenticationFlowOptions",kind:"LinkedField",name:"oAuth2Options",plural:!1,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"activeFlowKind",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"authorizationUrl",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"audience",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"resource",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"usePkce",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"pkceMethod",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"origin",storageKey:null},s,t,u,{alias:null,args:null,kind:"ScalarField",name:"grantType",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"accessTokenUrl",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"credentialsInBody",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"clientId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"clientSecret",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"responseType",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"redirectUrl",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"scope",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"state",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"endpoint",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"sdlEndpoint",storageKey:null},{alias:null,args:null,concreteType:"ApiHeader",kind:"LinkedField",name:"headers",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"enabled",storageKey:null},r,{alias:null,args:null,kind:"ScalarField",name:"value",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"includeCookies",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"sseSubscriptionEndpoint",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"subscriptionEndpoint",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"subscriptionProtocol",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"useGet",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"useTunnel",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null};return{fragment:{argumentDefinitions:[e,l],kind:"Fragment",metadata:null,name:"workspaceSynchronizationPageApiQuery",selections:[{alias:null,args:n,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{kind:"InlineFragment",selections:[a,o],type:"Workspace",abstractKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[l,e],kind:"Operation",name:"workspaceSynchronizationPageApiQuery",selections:[{alias:null,args:n,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[a,i,{kind:"InlineFragment",selections:[o],type:"Workspace",abstractKey:null}],storageKey:null}]},params:{id:"01d097f2237d6be4e90e0788274e6844",metadata:{},name:"workspaceSynchronizationPageApiQuery",operationKind:"query",text:null}}}();a.hash="af261127cdb1b498f4b54d96075833ee";const i=a},81732:(e,l,n)=>{n.r(l),n.d(l,{default:()=>i});const a=function(){var e={defaultValue:null,kind:"LocalArgument",name:"version"},l={defaultValue:null,kind:"LocalArgument",name:"workspaceId"},n=[{kind:"Variable",name:"id",variableName:"workspaceId"}],a={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},r={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},s={alias:null,args:[{kind:"Variable",name:"after",variableName:"version"},{kind:"Literal",name:"first",value:30}],concreteType:"EnvironmentsConnection",kind:"LinkedField",name:"environments",plural:!1,selections:[{alias:null,args:null,concreteType:"EnvironmentsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null},{alias:null,args:null,concreteType:"Environment",kind:"LinkedField",name:"node",plural:!1,selections:[a,i,r,{alias:null,args:null,kind:"ScalarField",name:"version",storageKey:null},{alias:"environmentVariables",args:null,concreteType:"EnvironmentVariable",kind:"LinkedField",name:"variables",plural:!0,selections:[a,i,r,{alias:null,args:null,kind:"ScalarField",name:"value",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"isSecret",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null};return{fragment:{argumentDefinitions:[e,l],kind:"Fragment",metadata:null,name:"workspaceSynchronizationPageEnvironmentQuery",selections:[{alias:null,args:n,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{kind:"InlineFragment",selections:[a,s],type:"Workspace",abstractKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[l,e],kind:"Operation",name:"workspaceSynchronizationPageEnvironmentQuery",selections:[{alias:null,args:n,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[a,i,{kind:"InlineFragment",selections:[s],type:"Workspace",abstractKey:null}],storageKey:null}]},params:{id:"4f6888f3b402d9c95c6736f4fcbbe303",metadata:{},name:"workspaceSynchronizationPageEnvironmentQuery",operationKind:"query",text:null}}}();a.hash="4758760c92e8d09aeb73cf38fdb22031";const i=a},51623:(e,l,n)=>{n.r(l),n.d(l,{default:()=>i});const a=function(){var e={defaultValue:null,kind:"LocalArgument",name:"version"},l={defaultValue:null,kind:"LocalArgument",name:"workspaceId"},n=[{kind:"Variable",name:"id",variableName:"workspaceId"}],a={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},r={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},s={alias:null,args:null,kind:"ScalarField",name:"username",storageKey:null},t={alias:null,args:null,kind:"ScalarField",name:"password",storageKey:null},u={alias:null,args:null,kind:"ScalarField",name:"prefix",storageKey:null},o={alias:null,args:[{kind:"Variable",name:"after",variableName:"version"},{kind:"Literal",name:"first",value:10}],concreteType:"DocumentsConnection",kind:"LinkedField",name:"documents",plural:!1,selections:[{alias:null,args:null,concreteType:"DocumentsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null},{alias:null,args:null,concreteType:"WorkspaceDocument",kind:"LinkedField",name:"node",plural:!1,selections:[a,i,r,{alias:null,args:null,kind:"ScalarField",name:"path",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"version",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"createdAt",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"modifiedAt",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"body",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"variables",storageKey:null},{alias:null,args:null,concreteType:"WorkspaceDocumentHttpConnection",kind:"LinkedField",name:"httpConnection",plural:!1,selections:[{alias:null,args:null,concreteType:"WorkspaceDocumentAuthentication",kind:"LinkedField",name:"authentication",plural:!1,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"activeAuthenticationKind",storageKey:null},{alias:null,args:null,concreteType:"BasicAuthenticationFlowOptions",kind:"LinkedField",name:"basicOptions",plural:!1,selections:[a,s,t],storageKey:null},{alias:null,args:null,concreteType:"BearerAuthenticationFlowOptions",kind:"LinkedField",name:"bearerOptions",plural:!1,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"token",storageKey:null},u],storageKey:null},{alias:null,args:null,concreteType:"OAuth2AuthenticationFlowOptions",kind:"LinkedField",name:"oAuth2Options",plural:!1,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"activeFlowKind",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"authorizationUrl",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"audience",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"resource",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"usePkce",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"pkceMethod",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"origin",storageKey:null},s,t,u,{alias:null,args:null,kind:"ScalarField",name:"grantType",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"accessTokenUrl",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"credentialsInBody",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"clientId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"clientSecret",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"responseType",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"redirectUrl",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"scope",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"state",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"endpoint",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"sdlEndpoint",storageKey:null},{alias:null,args:null,concreteType:"WorkspaceDocumentHeader",kind:"LinkedField",name:"headers",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"enabled",storageKey:null},r,{alias:null,args:null,kind:"ScalarField",name:"value",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"includeCookies",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"sseSubscriptionEndpoint",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"subscriptionEndpoint",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"subscriptionProtocol",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"useGet",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"useTunnel",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null};return{fragment:{argumentDefinitions:[e,l],kind:"Fragment",metadata:null,name:"workspaceSynchronizationPageWorkspaceDocumentQuery",selections:[{alias:null,args:n,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{kind:"InlineFragment",selections:[a,o],type:"Workspace",abstractKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[l,e],kind:"Operation",name:"workspaceSynchronizationPageWorkspaceDocumentQuery",selections:[{alias:null,args:n,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[a,i,{kind:"InlineFragment",selections:[o],type:"Workspace",abstractKey:null}],storageKey:null}]},params:{id:"b562ed6d100e254db17d26badbf6e80c",metadata:{},name:"workspaceSynchronizationPageWorkspaceDocumentQuery",operationKind:"query",text:null}}}();a.hash="4548357d86cdbf109838ed52664e580f";const i=a},75460:(e,l,n)=>{n.r(l),n.d(l,{default:()=>i});const a=function(){var e={defaultValue:null,kind:"LocalArgument",name:"version"},l={defaultValue:null,kind:"LocalArgument",name:"workspaceId"},n=[{kind:"Variable",name:"workspaceId",variableName:"workspaceId"}],a=[{kind:"Variable",name:"after",variableName:"version"},{kind:"Literal",name:"first",value:5}],i={alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"pageInfo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"endCursor",storageKey:null}],storageKey:null},r={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},s={alias:null,args:null,kind:"ScalarField",name:"apiId",storageKey:null},t={alias:null,args:null,kind:"ScalarField",name:"workspaceId",storageKey:null},u={alias:null,args:null,kind:"ScalarField",name:"path",storageKey:null},o={alias:null,args:null,kind:"ScalarField",name:"version",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"changedAt",storageKey:null},c=[{kind:"Literal",name:"onlyIfLatest",value:!0}],g={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},m={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},p={alias:null,args:null,kind:"ScalarField",name:"createdAt",storageKey:null},y={alias:null,args:null,kind:"ScalarField",name:"modifiedAt",storageKey:null},k={alias:null,args:null,kind:"ScalarField",name:"username",storageKey:null},F={alias:null,args:null,kind:"ScalarField",name:"password",storageKey:null},K={alias:null,args:null,kind:"ScalarField",name:"prefix",storageKey:null},h=[r,{alias:null,args:null,kind:"ScalarField",name:"activeAuthenticationKind",storageKey:null},{alias:null,args:null,concreteType:"BasicAuthenticationFlowOptions",kind:"LinkedField",name:"basicOptions",plural:!1,selections:[r,k,F],storageKey:null},{alias:null,args:null,concreteType:"BearerAuthenticationFlowOptions",kind:"LinkedField",name:"bearerOptions",plural:!1,selections:[r,{alias:null,args:null,kind:"ScalarField",name:"token",storageKey:null},K],storageKey:null},{alias:null,args:null,concreteType:"OAuth2AuthenticationFlowOptions",kind:"LinkedField",name:"oAuth2Options",plural:!1,selections:[r,{alias:null,args:null,kind:"ScalarField",name:"activeFlowKind",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"authorizationUrl",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"audience",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"resource",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"usePkce",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"pkceMethod",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"origin",storageKey:null},k,F,K,{alias:null,args:null,kind:"ScalarField",name:"grantType",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"accessTokenUrl",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"credentialsInBody",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"clientId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"clientSecret",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"responseType",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"redirectUrl",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"scope",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"state",storageKey:null}],storageKey:null}],S={alias:null,args:null,kind:"ScalarField",name:"endpoint",storageKey:null},f={alias:null,args:null,kind:"ScalarField",name:"sdlEndpoint",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"value",storageKey:null},T=[{alias:null,args:null,kind:"ScalarField",name:"enabled",storageKey:null},m,b],L={alias:null,args:null,kind:"ScalarField",name:"includeCookies",storageKey:null},A={alias:null,args:null,kind:"ScalarField",name:"sseSubscriptionEndpoint",storageKey:null},v={alias:null,args:null,kind:"ScalarField",name:"subscriptionEndpoint",storageKey:null},I={alias:null,args:null,kind:"ScalarField",name:"subscriptionProtocol",storageKey:null},w={alias:null,args:null,kind:"ScalarField",name:"useGet",storageKey:null},C={alias:null,args:null,kind:"ScalarField",name:"useTunnel",storageKey:null},D=[s,t,u,o,d,{alias:null,args:c,concreteType:"Api",kind:"LinkedField",name:"api",plural:!1,selections:[r,g,m,{alias:null,args:null,kind:"ScalarField",name:"kind",storageKey:null},u,o,p,y,{alias:null,args:null,concreteType:"ApiHttpConnection",kind:"LinkedField",name:"httpConnection",plural:!1,selections:[{alias:null,args:null,concreteType:"ApiHttpAuthentication",kind:"LinkedField",name:"authentication",plural:!1,selections:h,storageKey:null},S,f,{alias:null,args:null,concreteType:"ApiHeader",kind:"LinkedField",name:"headers",plural:!0,selections:T,storageKey:null},L,A,v,I,w,C],storageKey:null}],storageKey:"api(onlyIfLatest:true)"}],E={kind:"InlineFragment",selections:D,type:"ApiChanged",abstractKey:null},O={kind:"InlineFragment",selections:D,type:"ApiCreated",abstractKey:null},P={kind:"InlineFragment",selections:[s,t,u,o,d],type:"ApiDeleted",abstractKey:null},V={alias:null,args:null,kind:"ScalarField",name:"documentId",storageKey:null},W={alias:null,args:null,kind:"ScalarField",name:"body",storageKey:null},_={alias:null,args:null,kind:"ScalarField",name:"variables",storageKey:null},M=[V,s,t,u,o,d,{alias:null,args:c,concreteType:"ApiDocument",kind:"LinkedField",name:"apiDocument",plural:!1,selections:[r,{alias:null,args:null,concreteType:"Api",kind:"LinkedField",name:"api",plural:!1,selections:[g],storageKey:null},g,m,u,o,p,y,W,_],storageKey:"apiDocument(onlyIfLatest:true)"}],N={kind:"InlineFragment",selections:M,type:"ApiDocumentChanged",abstractKey:null},Q={kind:"InlineFragment",selections:M,type:"ApiDocumentCreated",abstractKey:null},z={kind:"InlineFragment",selections:[V,s,t,u,o,d],type:"ApiDocumentDeleted",abstractKey:null},U=[V,t,u,o,d,{alias:null,args:c,concreteType:"WorkspaceDocument",kind:"LinkedField",name:"document",plural:!1,selections:[r,g,m,u,o,p,y,W,_,{alias:null,args:null,concreteType:"WorkspaceDocumentHttpConnection",kind:"LinkedField",name:"httpConnection",plural:!1,selections:[{alias:null,args:null,concreteType:"WorkspaceDocumentAuthentication",kind:"LinkedField",name:"authentication",plural:!1,selections:h,storageKey:null},S,f,{alias:null,args:null,concreteType:"WorkspaceDocumentHeader",kind:"LinkedField",name:"headers",plural:!0,selections:T,storageKey:null},L,A,v,I,w,C],storageKey:null}],storageKey:"document(onlyIfLatest:true)"}],x={kind:"InlineFragment",selections:U,type:"DocumentChanged",abstractKey:null},q={kind:"InlineFragment",selections:U,type:"DocumentCreated",abstractKey:null},B={kind:"InlineFragment",selections:[V,t,u,o,d],type:"DocumentDeleted",abstractKey:null},H={alias:null,args:null,kind:"ScalarField",name:"environmentId",storageKey:null},R=[H,t,o,d,{alias:null,args:c,concreteType:"Environment",kind:"LinkedField",name:"environment",plural:!1,selections:[r,g,m,o,{alias:"environmentVariables",args:null,concreteType:"EnvironmentVariable",kind:"LinkedField",name:"variables",plural:!0,selections:[r,g,m,b,{alias:null,args:null,kind:"ScalarField",name:"isSecret",storageKey:null}],storageKey:null}],storageKey:"environment(onlyIfLatest:true)"}],j={kind:"InlineFragment",selections:R,type:"EnvironmentChanged",abstractKey:null},G={kind:"InlineFragment",selections:R,type:"EnvironmentCreated",abstractKey:null},Y={kind:"InlineFragment",selections:[H,t,o,d],type:"EnvironmentDeleted",abstractKey:null};return{fragment:{argumentDefinitions:[e,l],kind:"Fragment",metadata:null,name:"workspaceSynchronizationPullChangesQuery",selections:[{alias:null,args:n,concreteType:"Workspace",kind:"LinkedField",name:"workspaceById",plural:!1,selections:[{alias:null,args:a,concreteType:"ChangesConnection",kind:"LinkedField",name:"changes",plural:!1,selections:[i,{alias:null,args:null,concreteType:"ChangesEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[r,E,O,P,N,Q,z,x,q,B,j,G,Y],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[l,e],kind:"Operation",name:"workspaceSynchronizationPullChangesQuery",selections:[{alias:null,args:n,concreteType:"Workspace",kind:"LinkedField",name:"workspaceById",plural:!1,selections:[{alias:null,args:a,concreteType:"ChangesConnection",kind:"LinkedField",name:"changes",plural:!1,selections:[i,{alias:null,args:null,concreteType:"ChangesEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[r,g,E,O,P,N,Q,z,x,q,B,j,G,Y],storageKey:null}],storageKey:null}],storageKey:null},g],storageKey:null}]},params:{id:"ac101055bd3f21a729c838e47a026865",metadata:{},name:"workspaceSynchronizationPullChangesQuery",operationKind:"query",text:null}}}();a.hash="f509500d551853fe4090b923e38fb35f";const i=a},80265:(e,l,n)=>{n.r(l),n.d(l,{default:()=>i});const a=function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"changes"}],l=[{fields:[{kind:"Variable",name:"changes",variableName:"changes"}],kind:"ObjectValue",name:"input"}],n={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},a={alias:null,args:null,kind:"ScalarField",name:"referenceId",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},r={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},s={alias:null,args:null,kind:"ScalarField",name:"kind",storageKey:null},t={alias:null,args:null,kind:"ScalarField",name:"path",storageKey:null},u={alias:null,args:null,kind:"ScalarField",name:"version",storageKey:null},o={alias:null,args:null,kind:"ScalarField",name:"createdAt",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"modifiedAt",storageKey:null},c={alias:null,args:null,kind:"ScalarField",name:"username",storageKey:null},g={alias:null,args:null,kind:"ScalarField",name:"password",storageKey:null},m={alias:null,args:null,kind:"ScalarField",name:"prefix",storageKey:null},p=[n,{alias:null,args:null,kind:"ScalarField",name:"activeAuthenticationKind",storageKey:null},{alias:null,args:null,concreteType:"BasicAuthenticationFlowOptions",kind:"LinkedField",name:"basicOptions",plural:!1,selections:[n,c,g],storageKey:null},{alias:null,args:null,concreteType:"BearerAuthenticationFlowOptions",kind:"LinkedField",name:"bearerOptions",plural:!1,selections:[n,{alias:null,args:null,kind:"ScalarField",name:"token",storageKey:null},m],storageKey:null},{alias:null,args:null,concreteType:"OAuth2AuthenticationFlowOptions",kind:"LinkedField",name:"oAuth2Options",plural:!1,selections:[n,{alias:null,args:null,kind:"ScalarField",name:"activeFlowKind",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"authorizationUrl",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"audience",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"resource",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"usePkce",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"pkceMethod",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"origin",storageKey:null},c,g,m,{alias:null,args:null,kind:"ScalarField",name:"grantType",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"accessTokenUrl",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"credentialsInBody",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"clientId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"clientSecret",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"responseType",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"redirectUrl",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"scope",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"state",storageKey:null}],storageKey:null}],y={alias:null,args:null,kind:"ScalarField",name:"endpoint",storageKey:null},k={alias:null,args:null,kind:"ScalarField",name:"sdlEndpoint",storageKey:null},F={alias:null,args:null,kind:"ScalarField",name:"value",storageKey:null},K=[{alias:null,args:null,kind:"ScalarField",name:"enabled",storageKey:null},r,F],h={alias:null,args:null,kind:"ScalarField",name:"includeCookies",storageKey:null},S={alias:null,args:null,kind:"ScalarField",name:"sseSubscriptionEndpoint",storageKey:null},f={alias:null,args:null,kind:"ScalarField",name:"subscriptionEndpoint",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"subscriptionProtocol",storageKey:null},T={alias:null,args:null,kind:"ScalarField",name:"useGet",storageKey:null},L={alias:null,args:null,kind:"ScalarField",name:"useTunnel",storageKey:null},A={alias:null,args:null,concreteType:"ApiHttpConnection",kind:"LinkedField",name:"httpConnection",plural:!1,selections:[{alias:null,args:null,concreteType:"ApiHttpAuthentication",kind:"LinkedField",name:"authentication",plural:!1,selections:p,storageKey:null},y,k,{alias:null,args:null,concreteType:"ApiHeader",kind:"LinkedField",name:"headers",plural:!0,selections:K,storageKey:null},h,S,f,b,T,L],storageKey:null},v=[i],I={alias:null,args:null,concreteType:"Api",kind:"LinkedField",name:"api",plural:!1,selections:v,storageKey:null},w={alias:null,args:null,kind:"ScalarField",name:"body",storageKey:null},C={alias:null,args:null,kind:"ScalarField",name:"variables",storageKey:null},D={alias:null,args:null,concreteType:"WorkspaceDocumentHttpConnection",kind:"LinkedField",name:"httpConnection",plural:!1,selections:[{alias:null,args:null,concreteType:"WorkspaceDocumentAuthentication",kind:"LinkedField",name:"authentication",plural:!1,selections:p,storageKey:null},y,k,{alias:null,args:null,concreteType:"WorkspaceDocumentHeader",kind:"LinkedField",name:"headers",plural:!0,selections:K,storageKey:null},h,S,f,b,T,L],storageKey:null},E={alias:"environmentVariables",args:null,concreteType:"EnvironmentVariable",kind:"LinkedField",name:"variables",plural:!0,selections:[n,i,r,F,{alias:null,args:null,kind:"ScalarField",name:"isSecret",storageKey:null}],storageKey:null},O=[{kind:"InlineFragment",selections:[n,i,r,s,t,u,o,d,A],type:"Api",abstractKey:null},{kind:"InlineFragment",selections:[n,I,i,r,t,u,o,d,w,C],type:"ApiDocument",abstractKey:null},{kind:"InlineFragment",selections:[n,i,r,t,u,o,d,w,C,D],type:"WorkspaceDocument",abstractKey:null},{kind:"InlineFragment",selections:[n,i,r,u,E],type:"Environment",abstractKey:null}],P={alias:null,args:null,kind:"ScalarField",name:"workspaceId",storageKey:null},V={alias:null,args:null,kind:"ScalarField",name:"message",storageKey:null},W=[V],_={alias:null,args:null,concreteType:"ValidationErrorProperty",kind:"LinkedField",name:"errors",plural:!0,selections:W,storageKey:null},M=[n,P],N=[n,{kind:"TypeDiscriminator",abstractKey:"__isWorkspaceChangeResult"},{kind:"InlineFragment",selections:[i,r,s,t,u,o,d,A],type:"Api",abstractKey:null},{kind:"InlineFragment",selections:[I,i,r,t,u,o,d,w,C],type:"ApiDocument",abstractKey:null},{kind:"InlineFragment",selections:[i,r,t,u,o,d,w,C,D],type:"WorkspaceDocument",abstractKey:null},{kind:"InlineFragment",selections:[i,r,u,E],type:"Environment",abstractKey:null},{kind:"InlineFragment",selections:v,type:"Node",abstractKey:"__isNode"}],Q=[P];return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"workspaceSynchronizationPushWorkspaceChangesMutation",selections:[{alias:null,args:l,concreteType:"PushWorkspaceChangesPayload",kind:"LinkedField",name:"pushWorkspaceChanges",plural:!1,selections:[{alias:null,args:null,concreteType:"WorkspaceChangePayload",kind:"LinkedField",name:"changes",plural:!0,selections:[n,a,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:O,storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"error",plural:!1,selections:[{kind:"InlineFragment",selections:[n,P,_,V],type:"ChangeValidationFailed",abstractKey:null},{kind:"InlineFragment",selections:[n,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"current",plural:!1,selections:O,storageKey:null}],type:"HasBeenChangedConflict",abstractKey:null},{kind:"InlineFragment",selections:[n,P,V],type:"HasBeenDeletedConflict",abstractKey:null},{kind:"InlineFragment",selections:[n,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"collidesWith",plural:!1,selections:O,storageKey:null},V],type:"IdentifierCollisionConflict",abstractKey:null},{kind:"InlineFragment",selections:M,type:"UnexpectedErrorOnChange",abstractKey:null},{kind:"InlineFragment",selections:M,type:"WorkspaceNotFoundForChange",abstractKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"errors",plural:!0,selections:[{kind:"InlineFragment",selections:[V,n],type:"Error",abstractKey:"__isError"}],storageKey:null}],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"workspaceSynchronizationPushWorkspaceChangesMutation",selections:[{alias:null,args:l,concreteType:"PushWorkspaceChangesPayload",kind:"LinkedField",name:"pushWorkspaceChanges",plural:!1,selections:[{alias:null,args:null,concreteType:"WorkspaceChangePayload",kind:"LinkedField",name:"changes",plural:!0,selections:[n,a,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:N,storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"error",plural:!1,selections:[n,{kind:"InlineFragment",selections:[P,_,V],type:"ChangeValidationFailed",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"current",plural:!1,selections:N,storageKey:null}],type:"HasBeenChangedConflict",abstractKey:null},{kind:"InlineFragment",selections:[P,V],type:"HasBeenDeletedConflict",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"collidesWith",plural:!1,selections:N,storageKey:null},V],type:"IdentifierCollisionConflict",abstractKey:null},{kind:"InlineFragment",selections:Q,type:"UnexpectedErrorOnChange",abstractKey:null},{kind:"InlineFragment",selections:Q,type:"WorkspaceNotFoundForChange",abstractKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"errors",plural:!0,selections:[n,{kind:"InlineFragment",selections:W,type:"Error",abstractKey:"__isError"}],storageKey:null}],storageKey:null}]},params:{id:"b15dadc21d7882648f8c10b4e6e10e36",metadata:{},name:"workspaceSynchronizationPushWorkspaceChangesMutation",operationKind:"mutation",text:null}}}();a.hash="5d7e602409fb697ccae769e39857211e";const i=a},39729:(e,l,n)=>{n.r(l),n.d(l,{default:()=>i});const a=function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"workspaceId"}],l=[{kind:"Variable",name:"workspaceId",variableName:"workspaceId"}],n={alias:null,args:null,kind:"ScalarField",name:"version",storageKey:null};return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"workspaceSynchronizationWorkspaceVersionQuery",selections:[{alias:null,args:l,concreteType:"Workspace",kind:"LinkedField",name:"workspaceById",plural:!1,selections:[n],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"workspaceSynchronizationWorkspaceVersionQuery",selections:[{alias:null,args:l,concreteType:"Workspace",kind:"LinkedField",name:"workspaceById",plural:!1,selections:[n,{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}]},params:{id:"5f2ef700cf16a625fdc9e4f35a4162e2",metadata:{},name:"workspaceSynchronizationWorkspaceVersionQuery",operationKind:"query",text:null}}}();a.hash="c1717ec5f2c013e8a0092684335fa4f8";const i=a},30492:(e,l,n)=>{function a(e){return null}n.d(l,{d:()=>a})},13798:(e,l,n)=>{n.d(l,{n:()=>r});var a=n(53358),i=n.n(a);function r(){let e=new(i());for(var l=arguments.length,n=new Array(l),a=0;a<l;a++)n[a]=arguments[a];return n.forEach((l=>e=e.update(l))),e.digest("hex")}},50379:(e,l,n)=>{n.d(l,{G:()=>t});var a=n(4473),i=n(68341),r=(n(75885),(0,i.A)("maxSize")),s=(0,i.A)("cleanupItem");class t extends Map{constructor(e){super(),Object.defineProperty(this,r,{writable:!0,value:10}),Object.defineProperty(this,s,{writable:!0,value:void 0}),null!==e&&void 0!==e&&e.maxSize&&e.maxSize>0&&((0,a.A)(this,r)[r]=e.maxSize),(0,a.A)(this,s)[s]=null===e||void 0===e?void 0:e.cleanupItem}get(e){if(!super.has(e))return;const l=super.get(e);return void 0!==l&&(super.delete(e),super.set(e,l)),l}set(e,l){if(this.size>=(0,a.A)(this,r)[r]){var n,i;const e=this.entries().next().value;this.delete(e[0]),null===(n=(i=(0,a.A)(this,s))[s])||void 0===n||n.call(i,e[1])}return super.set(e,l)}}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_chillicream_nitro=self.webpackChunk_chillicream_nitro||[]).push([[936],{64293:e=>{function t(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}e.exports=t,t.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-n:e+n}return 0|Math.min(e,this.max)},t.prototype.reset=function(){this.attempts=0},t.prototype.setMin=function(e){this.ms=e},t.prototype.setMax=function(e){this.max=e},t.prototype.setJitter=function(e){this.jitter=e}},75438:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function o(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,r,i,a){if("function"!==typeof r)throw new TypeError("The listener must be a function");var s=new o(r,i||e,a),c=n?n+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],s]:e._events[c].push(s):(e._events[c]=s,e._eventsCount++),e}function a(e,t){0===--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,o=[];if(0===this._eventsCount)return o;for(r in e=this._events)t.call(e,r)&&o.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(e)):o},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var o=0,i=r.length,a=new Array(i);o<i;o++)a[o]=r[o].fn;return a},s.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},s.prototype.emit=function(e,t,r,o,i,a){var s=n?n+e:e;if(!this._events[s])return!1;var c,p,u=this._events[s],l=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),l){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,r),!0;case 4:return u.fn.call(u.context,t,r,o),!0;case 5:return u.fn.call(u.context,t,r,o,i),!0;case 6:return u.fn.call(u.context,t,r,o,i,a),!0}for(p=1,c=new Array(l-1);p<l;p++)c[p-1]=arguments[p];u.fn.apply(u.context,c)}else{var f,d=u.length;for(p=0;p<d;p++)switch(u[p].once&&this.removeListener(e,u[p].fn,void 0,!0),l){case 1:u[p].fn.call(u[p].context);break;case 2:u[p].fn.call(u[p].context,t);break;case 3:u[p].fn.call(u[p].context,t,r);break;case 4:u[p].fn.call(u[p].context,t,r,o);break;default:if(!c)for(f=1,c=new Array(l-1);f<l;f++)c[f-1]=arguments[f];u[p].fn.apply(u[p].context,c)}}return!0},s.prototype.on=function(e,t,n){return i(this,e,t,n,!1)},s.prototype.once=function(e,t,n){return i(this,e,t,n,!0)},s.prototype.removeListener=function(e,t,r,o){var i=n?n+e:e;if(!this._events[i])return this;if(!t)return a(this,i),this;var s=this._events[i];if(s.fn)s.fn!==t||o&&!s.once||r&&s.context!==r||a(this,i);else{for(var c=0,p=[],u=s.length;c<u;c++)(s[c].fn!==t||o&&!s[c].once||r&&s[c].context!==r)&&p.push(s[c]);p.length?this._events[i]=1===p.length?p[0]:p:a(this,i)}return this},s.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&a(this,t)):(this._events=new r,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=n,s.EventEmitter=s,e.exports=s},62967:(e,t,n)=>{"use strict";n.d(t,{Qb:()=>r.Qb,qx:()=>r.qx,r5:()=>r.r5});n(49996);var r=n(24815);n(49358),n(94806)},28232:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});class r{constructor(e){var t=this;this._start=0,this._pos=0,this.getStartOfToken=()=>this._start,this.getCurrentPosition=()=>this._pos,this.eol=()=>this._sourceText.length===this._pos,this.sol=()=>0===this._pos,this.peek=()=>this._sourceText.charAt(this._pos)||null,this.next=()=>{const e=this._sourceText.charAt(this._pos);return this._pos++,e},this.eat=e=>{if(this._testNextCharacter(e))return this._start=this._pos,this._pos++,this._sourceText.charAt(this._pos-1)},this.eatWhile=e=>{let t=this._testNextCharacter(e),n=!1;for(t&&(n=t,this._start=this._pos);t;)this._pos++,t=this._testNextCharacter(e),n=!0;return n},this.eatSpace=()=>this.eatWhile(/[\s\u00a0]/),this.skipToEnd=()=>{this._pos=this._sourceText.length},this.skipTo=e=>{this._pos=e},this.match=function(e){let n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=null,o=null;if("string"===typeof e){o=new RegExp(e,arguments.length>2&&void 0!==arguments[2]&&arguments[2]?"i":"g").test(t._sourceText.slice(t._pos,t._pos+e.length)),r=e}else e instanceof RegExp&&(o=t._sourceText.slice(t._pos).match(e),r=null===o||void 0===o?void 0:o[0]);return!(null==o||!("string"===typeof e||o instanceof Array&&t._sourceText.startsWith(o[0],t._pos)))&&(n&&(t._start=t._pos,r&&r.length&&(t._pos+=r.length)),o)},this.backUp=e=>{this._pos-=e},this.column=()=>this._pos,this.indentation=()=>{const e=this._sourceText.match(/\s*/);let t=0;if(e&&0!==e.length){const n=e[0];let r=0;for(;n.length>r;)9===n.charCodeAt(r)?t+=2:t++,r++}return t},this.current=()=>this._sourceText.slice(this._start,this._pos),this._sourceText=e}_testNextCharacter(e){const t=this._sourceText.charAt(this._pos);let n=!1;return n="string"===typeof e?t===e:e instanceof RegExp?e.test(t):e(t),n}}},59968:(e,t,n)=>{"use strict";n.d(t,{Rq:()=>a,pi:()=>i,vM:()=>s});var r=n(27212),o=n(466);const i=e=>" "===e||"\t"===e||","===e||"\n"===e||"\r"===e||"\ufeff"===e||"\xa0"===e,a={Name:/^[_A-Za-z][_0-9A-Za-z]*/,Punctuation:/^(?:!|\$|\(|\)|\.\.\.|:|=|&|@|\[|]|\{|\||\})/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^(?:"""(?:\\"""|[^"]|"[^"]|""[^"])*(?:""")?|"(?:[^"\\]|\\(?:"|\/|\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*"?)/,Comment:/^#.*/},s={Document:[(0,r.p_)("Definition")],Definition(e){switch(e.value){case"{":return"ShortQuery";case"query":return"Query";case"mutation":return"Mutation";case"subscription":return"Subscription";case"fragment":return o.b.FRAGMENT_DEFINITION;case"schema":return"SchemaDef";case"scalar":return"ScalarDef";case"type":return"ObjectTypeDef";case"interface":return"InterfaceDef";case"union":return"UnionDef";case"enum":return"EnumDef";case"input":return"InputDef";case"extend":return"ExtendDef";case"directive":return"DirectiveDef"}},ShortQuery:["SelectionSet"],Query:[p("query"),(0,r.m7)(u("def")),(0,r.m7)("VariableDefinitions"),(0,r.p_)("Directive"),"SelectionSet"],Mutation:[p("mutation"),(0,r.m7)(u("def")),(0,r.m7)("VariableDefinitions"),(0,r.p_)("Directive"),"SelectionSet"],Subscription:[p("subscription"),(0,r.m7)(u("def")),(0,r.m7)("VariableDefinitions"),(0,r.p_)("Directive"),"SelectionSet"],VariableDefinitions:[(0,r.p)("("),(0,r.p_)("VariableDefinition"),(0,r.p)(")")],VariableDefinition:["Variable",(0,r.p)(":"),"Type",(0,r.m7)("DefaultValue")],Variable:[(0,r.p)("$","variable"),u("variable")],DefaultValue:[(0,r.p)("="),"Value"],SelectionSet:[(0,r.p)("{"),(0,r.p_)("Selection"),(0,r.p)("}")],Selection:(e,t)=>"..."===e.value?t.match(/[\s\u00a0,]*(on\b|@|{)/,!1)?"InlineFragment":"FragmentSpread":t.match(/[\s\u00a0,]*:/,!1)?"AliasedField":"Field",AliasedField:[u("property"),(0,r.p)(":"),u("qualifier"),(0,r.m7)("Arguments"),(0,r.p_)("Directive"),(0,r.m7)("SelectionSet")],Field:[u("property"),(0,r.m7)("Arguments"),(0,r.p_)("Directive"),(0,r.m7)("SelectionSet")],Arguments:[(0,r.p)("("),(0,r.p_)("Argument"),(0,r.p)(")")],Argument:[u("attribute"),(0,r.p)(":"),"Value"],FragmentSpread:[(0,r.p)("..."),u("def"),(0,r.p_)("Directive")],InlineFragment:[(0,r.p)("..."),(0,r.m7)("TypeCondition"),(0,r.p_)("Directive"),"SelectionSet"],FragmentDefinition:[p("fragment"),(0,r.m7)((0,r.FC)(u("def"),[p("on")])),"TypeCondition",(0,r.p_)("Directive"),"SelectionSet"],TypeCondition:[p("on"),"NamedType"],Value(e){switch(e.kind){case"Number":return"NumberValue";case"String":return"StringValue";case"Punctuation":switch(e.value){case"[":return"ListValue";case"{":return"ObjectValue";case"$":return"Variable";case"&":return"NamedType"}return null;case"Name":switch(e.value){case"true":case"false":return"BooleanValue"}return"null"===e.value?"NullValue":"EnumValue"}},NumberValue:[(0,r.t)("Number","number")],StringValue:[{style:"string",match:e=>"String"===e.kind,update(e,t){t.value.startsWith('"""')&&(e.inBlockstring=!t.value.slice(3).endsWith('"""'))}}],BooleanValue:[(0,r.t)("Name","builtin")],NullValue:[(0,r.t)("Name","keyword")],EnumValue:[u("string-2")],ListValue:[(0,r.p)("["),(0,r.p_)("Value"),(0,r.p)("]")],ObjectValue:[(0,r.p)("{"),(0,r.p_)("ObjectField"),(0,r.p)("}")],ObjectField:[u("attribute"),(0,r.p)(":"),"Value"],Type:e=>"["===e.value?"ListType":"NonNullType",ListType:[(0,r.p)("["),"Type",(0,r.p)("]"),(0,r.m7)((0,r.p)("!"))],NonNullType:["NamedType",(0,r.m7)((0,r.p)("!"))],NamedType:[(c="atom",{style:c,match:e=>"Name"===e.kind,update(e,t){var n;(null===(n=e.prevState)||void 0===n?void 0:n.prevState)&&(e.name=t.value,e.prevState.prevState.type=t.value)}})],Directive:[(0,r.p)("@","meta"),u("meta"),(0,r.m7)("Arguments")],DirectiveDef:[p("directive"),(0,r.p)("@","meta"),u("meta"),(0,r.m7)("ArgumentsDef"),p("on"),(0,r.p_)("DirectiveLocation",(0,r.p)("|"))],InterfaceDef:[p("interface"),u("atom"),(0,r.m7)("Implements"),(0,r.p_)("Directive"),(0,r.p)("{"),(0,r.p_)("FieldDef"),(0,r.p)("}")],Implements:[p("implements"),(0,r.p_)("NamedType",(0,r.p)("&"))],DirectiveLocation:[u("string-2")],SchemaDef:[p("schema"),(0,r.p_)("Directive"),(0,r.p)("{"),(0,r.p_)("OperationTypeDef"),(0,r.p)("}")],OperationTypeDef:[u("keyword"),(0,r.p)(":"),u("atom")],ScalarDef:[p("scalar"),u("atom"),(0,r.p_)("Directive")],ObjectTypeDef:[p("type"),u("atom"),(0,r.m7)("Implements"),(0,r.p_)("Directive"),(0,r.p)("{"),(0,r.p_)("FieldDef"),(0,r.p)("}")],FieldDef:[u("property"),(0,r.m7)("ArgumentsDef"),(0,r.p)(":"),"Type",(0,r.p_)("Directive")],ArgumentsDef:[(0,r.p)("("),(0,r.p_)("InputValueDef"),(0,r.p)(")")],InputValueDef:[u("attribute"),(0,r.p)(":"),"Type",(0,r.m7)("DefaultValue"),(0,r.p_)("Directive")],UnionDef:[p("union"),u("atom"),(0,r.p_)("Directive"),(0,r.p)("="),(0,r.p_)("UnionMember",(0,r.p)("|"))],UnionMember:["NamedType"],EnumDef:[p("enum"),u("atom"),(0,r.p_)("Directive"),(0,r.p)("{"),(0,r.p_)("EnumValueDef"),(0,r.p)("}")],EnumValueDef:[u("string-2"),(0,r.p_)("Directive")],InputDef:[p("input"),u("atom"),(0,r.p_)("Directive"),(0,r.p)("{"),(0,r.p_)("InputValueDef"),(0,r.p)("}")],ExtendDef:[p("extend"),"ExtensionDefinition"],ExtensionDefinition(e){switch(e.value){case"schema":return o.b.SCHEMA_EXTENSION;case"scalar":return o.b.SCALAR_TYPE_EXTENSION;case"type":return o.b.OBJECT_TYPE_EXTENSION;case"interface":return o.b.INTERFACE_TYPE_EXTENSION;case"union":return o.b.UNION_TYPE_EXTENSION;case"enum":return o.b.ENUM_TYPE_EXTENSION;case"input":return o.b.INPUT_OBJECT_TYPE_EXTENSION}},[o.b.SCHEMA_EXTENSION]:["SchemaDef"],[o.b.SCALAR_TYPE_EXTENSION]:["ScalarDef"],[o.b.OBJECT_TYPE_EXTENSION]:["ObjectTypeDef"],[o.b.INTERFACE_TYPE_EXTENSION]:["InterfaceDef"],[o.b.UNION_TYPE_EXTENSION]:["UnionDef"],[o.b.ENUM_TYPE_EXTENSION]:["EnumDef"],[o.b.INPUT_OBJECT_TYPE_EXTENSION]:["InputDef"]};var c;function p(e){return{style:"keyword",match:t=>"Name"===t.kind&&t.value===e}}function u(e){return{style:e,match:e=>"Name"===e.kind,update(e,t){e.name=t.value}}}},24815:(e,t,n)=>{"use strict";n.d(t,{Qb:()=>r.A,qx:()=>i.q,r5:()=>o.A});var r=n(28232),o=(n(59968),n(83759)),i=(n(80587),n(44323),n(5798))},58819:(e,t)=>{"use strict";t.nI=t.OL=void 0;t.OL=1e3;t.nI=3e4},69278:(e,t)=>{"use strict";var n=function(){function e(){throw new Error("Static Class")}return e.GQL_CONNECTION_INIT="connection_init",e.GQL_CONNECTION_ACK="connection_ack",e.GQL_CONNECTION_ERROR="connection_error",e.GQL_CONNECTION_KEEP_ALIVE="ka",e.GQL_CONNECTION_TERMINATE="connection_terminate",e.GQL_START="start",e.GQL_DATA="data",e.GQL_ERROR="error",e.GQL_COMPLETE="complete",e.GQL_STOP="stop",e.SUBSCRIPTION_START="subscription_start",e.SUBSCRIPTION_DATA="subscription_data",e.SUBSCRIPTION_SUCCESS="subscription_success",e.SUBSCRIPTION_FAIL="subscription_fail",e.SUBSCRIPTION_END="subscription_end",e.INIT="init",e.INIT_SUCCESS="init_success",e.INIT_FAIL="init_fail",e.KEEP_ALIVE="keepalive",e}();t.A=n},30325:(e,t)=>{"use strict";t.BS=void 0;t.BS="graphql-ws"},32691:(e,t)=>{"use strict";t.A=function(e){return null!==e&&"object"===typeof e}},87357:(e,t)=>{"use strict";t.A=function(e){return"string"===typeof e}},65292:(e,t,n)=>{"use strict";n.d(t,{A:()=>r}),e=n.hmd(e);const r=function(e){var t,n=e.Symbol;return"function"===typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}("undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:e)},34145:(e,t,n)=>{"use strict";function r(e){return null===e?"null":Array.isArray(e)?"array":typeof e}function o(e){return"object"===r(e)}function i(e,t){return e.length<124?e:t}n.d(t,{UU:()=>d});const a="graphql-transport-ws";var s,c;function p(e){if(!o(e))throw new Error("Message is expected to be an object, but got ".concat(r(e)));if(!e.type)throw new Error("Message is missing the 'type' property");if("string"!==typeof e.type)throw new Error("Message is expects the 'type' property to be a string, but got ".concat(r(e.type)));switch(e.type){case c.ConnectionInit:case c.ConnectionAck:case c.Ping:case c.Pong:if(null!=e.payload&&!o(e.payload))throw new Error('"'.concat(e.type,"\" message expects the 'payload' property to be an object or nullish or missing, but got \"").concat(e.payload,'"'));break;case c.Subscribe:if("string"!==typeof e.id)throw new Error('"'.concat(e.type,"\" message expects the 'id' property to be a string, but got ").concat(r(e.id)));if(!e.id)throw new Error('"'.concat(e.type,"\" message requires a non-empty 'id' property"));if(!o(e.payload))throw new Error('"'.concat(e.type,"\" message expects the 'payload' property to be an object, but got ").concat(r(e.payload)));if("string"!==typeof e.payload.query)throw new Error('"'.concat(e.type,"\" message payload expects the 'query' property to be a string, but got ").concat(r(e.payload.query)));if(null!=e.payload.variables&&!o(e.payload.variables))throw new Error('"'.concat(e.type,"\" message payload expects the 'variables' property to be a an object or nullish or missing, but got ").concat(r(e.payload.variables)));if(null!=e.payload.operationName&&"string"!==r(e.payload.operationName))throw new Error('"'.concat(e.type,"\" message payload expects the 'operationName' property to be a string or nullish or missing, but got ").concat(r(e.payload.operationName)));if(null!=e.payload.extensions&&!o(e.payload.extensions))throw new Error('"'.concat(e.type,"\" message payload expects the 'extensions' property to be a an object or nullish or missing, but got ").concat(r(e.payload.extensions)));break;case c.Next:if("string"!==typeof e.id)throw new Error('"'.concat(e.type,"\" message expects the 'id' property to be a string, but got ").concat(r(e.id)));if(!e.id)throw new Error('"'.concat(e.type,"\" message requires a non-empty 'id' property"));if(!o(e.payload))throw new Error('"'.concat(e.type,"\" message expects the 'payload' property to be an object, but got ").concat(r(e.payload)));break;case c.Error:if("string"!==typeof e.id)throw new Error('"'.concat(e.type,"\" message expects the 'id' property to be a string, but got ").concat(r(e.id)));if(!e.id)throw new Error('"'.concat(e.type,"\" message requires a non-empty 'id' property"));if(t=e.payload,!(Array.isArray(t)&&t.length>0&&t.every((e=>"message"in e))))throw new Error('"'.concat(e.type,"\" message expects the 'payload' property to be an array of GraphQL errors, but got ").concat(JSON.stringify(e.payload)));break;case c.Complete:if("string"!==typeof e.id)throw new Error('"'.concat(e.type,"\" message expects the 'id' property to be a string, but got ").concat(r(e.id)));if(!e.id)throw new Error('"'.concat(e.type,"\" message requires a non-empty 'id' property"));break;default:throw new Error("Invalid message 'type' property \"".concat(e.type,'"'))}var t;return e}function u(e,t){return p(e),JSON.stringify(e,t)}!function(e){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"}(s||(s={})),function(e){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"}(c||(c={}));var l=function(e){return this instanceof l?(this.v=e,this):new l(e)},f=function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){o[e]&&(r[e]=function(t){return new Promise((function(n,r){i.push([e,t,n,r])>1||s(e,t)}))})}function s(e,t){try{(n=o[e](t)).value instanceof l?Promise.resolve(n.value.v).then(c,p):u(i[0][2],n)}catch(r){u(i[0][3],r)}var n}function c(e){s("next",e)}function p(e){s("throw",e)}function u(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}};function d(e){const{url:t,connectionParams:n,lazy:r=!0,onNonLazyError:o=console.error,lazyCloseTimeout:d=0,keepAlive:y=0,disablePong:v,connectionAckWaitTimeout:_=0,retryAttempts:b=5,retryWait:g=async function(e){let t=1e3;for(let n=0;n<e;n++)t*=2;await new Promise((e=>setTimeout(e,t+Math.floor(2700*Math.random()+300))))},shouldRetry:E=m,isFatalConnectionProblem:w,on:S,webSocketImpl:T,generateID:N=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(e=>{const t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))},jsonMessageReplacer:x,jsonMessageReviver:I}=e;let C;if(T){if(!("function"===typeof(D=T)&&"constructor"in D&&"CLOSED"in D&&"CLOSING"in D&&"CONNECTING"in D&&"OPEN"in D))throw new Error("Invalid WebSocket implementation provided");C=T}else"undefined"!==typeof WebSocket?C=WebSocket:"undefined"!==typeof global?C=global.WebSocket||global.MozWebSocket:"undefined"!==typeof window&&(C=window.WebSocket||window.MozWebSocket);var D;if(!C)throw new Error("WebSocket implementation missing; on Node you can `import WebSocket from 'ws';` and pass `webSocketImpl: WebSocket` to `createClient`");const A=C,O=(()=>{const e=(()=>{const e={};return{on:(t,n)=>(e[t]=n,()=>{delete e[t]}),emit(t){var n;"id"in t&&(null===(n=e[t.id])||void 0===n||n.call(e,t))}}})(),t={connecting:(null===S||void 0===S?void 0:S.connecting)?[S.connecting]:[],opened:(null===S||void 0===S?void 0:S.opened)?[S.opened]:[],connected:(null===S||void 0===S?void 0:S.connected)?[S.connected]:[],ping:(null===S||void 0===S?void 0:S.ping)?[S.ping]:[],pong:(null===S||void 0===S?void 0:S.pong)?[S.pong]:[],message:(null===S||void 0===S?void 0:S.message)?[e.emit,S.message]:[e.emit],closed:(null===S||void 0===S?void 0:S.closed)?[S.closed]:[],error:(null===S||void 0===S?void 0:S.error)?[S.error]:[]};return{onMessage:e.on,on(e,n){const r=t[e];return r.push(n),()=>{r.splice(r.indexOf(n),1)}},emit(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];for(const i of[...t[e]])i(...r)}}})();function k(e){const t=[O.on("error",(n=>{t.forEach((e=>e())),e(n)})),O.on("closed",(n=>{t.forEach((e=>e())),e(n)}))]}let P,V,L=0,R=!1,M=0,j=!1;async function F(){clearTimeout(V);const[e,r]=await(null!==P&&void 0!==P?P:P=new Promise(((e,r)=>(async()=>{if(R){if(await g(M),!L)return P=void 0,r({code:1e3,reason:"All Subscriptions Gone"});M++}O.emit("connecting",R);const o=new A("function"===typeof t?await t():t,a);let l,f;function d(){isFinite(y)&&y>0&&(clearTimeout(f),f=setTimeout((()=>{o.readyState===A.OPEN&&(o.send(u({type:c.Ping})),O.emit("ping",!1,void 0))}),y))}k((e=>{P=void 0,clearTimeout(l),clearTimeout(f),r(e),e instanceof h&&(o.close(4499,"Terminated"),o.onerror=null,o.onclose=null)})),o.onerror=e=>O.emit("error",e),o.onclose=e=>O.emit("closed",e),o.onopen=async()=>{try{O.emit("opened",o);const e="function"===typeof n?await n():n;if(o.readyState!==A.OPEN)return;o.send(u(e?{type:c.ConnectionInit,payload:e}:{type:c.ConnectionInit},x)),isFinite(_)&&_>0&&(l=setTimeout((()=>{o.close(s.ConnectionAcknowledgementTimeout,"Connection acknowledgement timeout")}),_)),d()}catch(e){O.emit("error",e),o.close(s.InternalClientError,i(e instanceof Error?e.message:new Error(e).message,"Internal client error"))}};let m=!1;o.onmessage=t=>{let{data:n}=t;try{const t=function(e,t){return p("string"===typeof e?JSON.parse(e,t):e)}(n,I);if(O.emit("message",t),"ping"===t.type||"pong"===t.type)return O.emit(t.type,!0,t.payload),void("pong"===t.type?d():v||(o.send(u(t.payload?{type:c.Pong,payload:t.payload}:{type:c.Pong})),O.emit("pong",!1,t.payload)));if(m)return;if(t.type!==c.ConnectionAck)throw new Error("First message cannot be of type ".concat(t.type));clearTimeout(l),m=!0,O.emit("connected",o,t.payload,R),R=!1,M=0,e([o,new Promise(((e,t)=>k(t)))])}catch(r){o.onmessage=null,O.emit("error",r),o.close(s.BadResponse,i(r instanceof Error?r.message:new Error(r).message,"Bad response"))}}})())));e.readyState===A.CLOSING&&await r;let o=()=>{};const l=new Promise((e=>o=e));return[e,o,Promise.race([l.then((()=>{if(!L){const t=()=>e.close(1e3,"Normal Closure");isFinite(d)&&d>0?V=setTimeout((()=>{e.readyState===A.OPEN&&t()}),d):t()}})),r])]}function U(e){if(m(e)&&(t=e.code,![1e3,1001,1006,1005,1012,1013,1014].includes(t)&&t>=1e3&&t<=1999||[s.InternalServerError,s.InternalClientError,s.BadRequest,s.BadResponse,s.Unauthorized,s.SubprotocolNotAcceptable,s.SubscriberAlreadyExists,s.TooManyInitialisationRequests].includes(e.code)))throw e;var t;if(j)return!1;if(m(e)&&1e3===e.code)return L>0;if(!b||M>=b)throw e;if(!E(e))throw e;if(null===w||void 0===w?void 0:w(e))throw e;return R=!0}function q(e,t){const n=N(e);let r=!1,o=!1,i=()=>{L--,r=!0};return(async()=>{for(L++;;)try{const[a,s,p]=await F();if(r)return s();const l=O.onMessage(n,(e=>{switch(e.type){case c.Next:return void t.next(e.payload);case c.Error:return o=!0,r=!0,t.error(e.payload),void i();case c.Complete:return r=!0,void i()}}));return a.send(u({id:n,type:c.Subscribe,payload:e},x)),i=()=>{r||a.readyState!==A.OPEN||a.send(u({id:n,type:c.Complete},x)),L--,r=!0,s()},void await p.finally(l)}catch(a){if(!U(a))return}})().then((()=>{o||t.complete()})).catch((e=>{t.error(e)})),()=>{r||i()}}return r||(async()=>{for(L++;;)try{const[,,e]=await F();await e}catch(e){try{if(!U(e))return}catch(e){return null===o||void 0===o?void 0:o(e)}}})(),{on:O.on,subscribe:q,iterate(e){const t=[],n={done:!1,error:null,resolve:()=>{}},r=q(e,{next(e){t.push(e),n.resolve()},error(e){n.done=!0,n.error=e,n.resolve()},complete(){n.done=!0,n.resolve()}}),o=function(){return f(this,arguments,(function*(){for(;;){for(t.length||(yield l(new Promise((e=>n.resolve=e))));t.length;)yield yield l(t.shift());if(n.error)throw n.error;if(n.done)return yield l(void 0)}}))}();return o.throw=async e=>(n.done||(n.done=!0,n.error=e,n.resolve()),{done:!0,value:void 0}),o.return=async()=>(r(),{done:!0,value:void 0}),o},async dispose(){if(j=!0,P){const[e]=await P;e.close(1e3,"Normal Closure")}},terminate(){P&&O.emit("closed",new h)}}}class h extends Error{constructor(){super(...arguments),this.name="TerminatedCloseEvent",this.message="4499: Terminated",this.code=4499,this.reason="Terminated",this.wasClean=!1}}function m(e){return o(e)&&"code"in e&&"reason"in e}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_chillicream_nitro=self.webpackChunk_chillicream_nitro||[]).push([[938],{99850:(e,t,r)=>{"use strict";r.d(t,{EL:()=>o,SE:()=>l,j9:()=>i,ot:()=>c});r(62316),r(36022),r(75885);var n=r(28511),s=r(67942);r(3455),r(51944);const a="chillicream-nitro";function o(e,t){return c((r=>r.get(e,t)))}function i(e,t){return c((async r=>{await r.put(e,t)}))}async function c(e){const t=await(0,s.P2)(a);try{return await e(t)}finally{t.close()}}async function u(e,t,r,s,a){const o=await async function(e,t,r){const s=e.transaction(t,r),a={},o={};for(const n of t){const e=s.objectStore(n),t=f(n);a[t]=e,o[t]={};for(const r of e.indexNames)o[t][r]=e.index(r)}return{abort:e=>function(e,t){throw e.abort(),new Error(t)}(s,e),done:s.done.catch((e=>{if(!(0,n.zf)(e))throw e})),store:a,index:o}}(e,t,r);try{return a?await(0,n.bA)((()=>o.abort("transaction aborted")),(()=>s(o,e.version)),a):await s(o,e.version)}finally{await o.done}}function l(e,t,r,n){return c((s=>u(s,e,t,r,n)))}const d=new Map;function f(e){let t=d.get(e);return t||(t=e.split("-").reduce(((e,t)=>(t&&(""!==e?(e+=t[0].toUpperCase(),e+=t.substring(1)):e=t),e)),""),d.set(e,t)),t}},46114:(e,t,r)=>{"use strict";r(75885),r(99850),r(28511),r(37727),r(2622),r(65107),r(59943)},13939:(e,t,r)=>{"use strict";r(62316),r(36022),r(75885),r(99850),r(28511),r(37727),r(65107),r(59943)},37727:(e,t,r)=>{"use strict";r(75885),r(19518),r(28511),r(2622),r(65107),r(59943)},9835:(e,t,r)=>{"use strict";r.d(t,{V8:()=>s,Xb:()=>n,qW:()=>a});const n="sdl-schema",s="statistics",a="items"},19255:(e,t,r)=>{"use strict";r.d(t,{GU:()=>a,q:()=>s});var n=r(99850);async function s(e){let{sub:t,tenant:r,issuer:s}=e;return(0,n.SE)(["session"],"readonly",(e=>e.index.session.key.get([t,r,s])))}async function a(e){return await(0,n.j9)("session",e),e}},54700:(e,t,r)=>{"use strict";r(75885);var n=r(84983),s=(r(28511),r(9416));s.Hw,s.X,s.wv,s.JZ},19518:(e,t,r)=>{"use strict";r(36022),r(75885);var n=r(23845);r(66094),r(99850),r(28511),r(54700),r(52396),r(59943);const s=[0,n.T2,n.To,n.To,n.MA,n.fI,n.R1,n.kf,n.CZ,n.BN];s.length},54161:(e,t,r)=>{"use strict";r(75885),r(99850)},11081:(e,t,r)=>{"use strict";var n=r(4537),s=(r(78238),r(20709));r(62316),r(93967),r(54913),r(75885);var a=r(23845),o=r(28511),i=r(20278),c=r(41192);new s.Environment({network:s.Network.create(((e,t,r)=>s.Observable.from((0,n.L)("/graphql")).mergeMap((r=>s.Observable.create((n=>s.Observable.from(new Promise(((s,i)=>{(async function(r,n){try{const{uri:s,headers:i}=n;i.set(a.VX,"application/json");const u=await fetch(s,{body:JSON.stringify(e.id?{id:e.id,variables:t}:{query:e.text,variables:t}),headers:i,method:"POST"}),l=await(0,c.z)(u);if((0,o.Td)(l))for await(const e of l){if(!e.json){r.error(new Error("Failed to parse part as json."));break}if("data"in e.body&&r.next(e.body),"incremental"in e.body)for(const t of e.body.incremental)if("data"in t)r.next({...t,hasNext:e.body.hasNext});else if(t.items){const n=t.path.slice(0,-1);let s=t.path.at(-1);for(const a of t.items)r.next({...t,path:n.concat(s++),data:a,hasNext:e.body.hasNext})}else r.next({...t,data:t.items,hasNext:e.body.hasNext})}else r.next(await l.json());r.complete()}catch(s){s instanceof Error?r.error(s,!0):r.error(new Error("Unknown error"),!0)}})(n,r).then(s,i)}))).subscribe({})))))),((e,t)=>s.Observable.from((0,n.L)("/graphql")).map((e=>{let{uri:t,headers:r}=e;const n={};return r.forEach(((e,t)=>{n[t]=e})),(0,i.UU)({url:t,headers:n})})).mergeMap((r=>s.Observable.create((n=>{var s,a;const o=r.subscribe({id:null!==(s=e.id)&&void 0!==s?s:void 0,query:null!==(a=e.text)&&void 0!==a?a:"",variables:t},{next:e=>{var t;let{data:r,errors:s,extensions:a}=e;return n.next({data:null!==r&&void 0!==r?r:void 0,errors:null!==(t=null===s||void 0===s?void 0:s.map((e=>{var t;return{message:e.message,locations:null===(t=e.locations)||void 0===t?void 0:t.map((e=>{let{line:t,column:r}=e;return{line:t,column:r}}))}})))&&void 0!==t?t:[],extensions:a})},complete:n.complete,error:e=>{e instanceof Error?n.error(e,!0):n.error(new Error("Unknown error"),!0)}});return{closed:n.closed,unsubscribe:o}})))))),store:new s.Store(new s.RecordSource)});r(77122)},77122:(e,t,r)=>{"use strict";r.d(t,{ZH:()=>i,jc:()=>c});r(62316),r(75885),r(6324),r(40231),r(95666),r(77845);var n=r(23845),s=r(66094),a=r(28511),o=r(78238);async function i(e){const t=await(0,s.K6y)();if(!t)return null;let r=await(0,s.qaW)(t);if(!r)return null;if((0,a.aE)(r)&&(r=await async function(e,t){return(0,o.T)("refresh-session",r);async function r(r){const o=t?(0,a.M_)(t,r):r;let i=await(0,s.qaW)(e)||e;if(!(0,a.aE)(i)||i.requiresSignIn)return i;const c=new Headers,u=new URLSearchParams;c.append(n.VX,"application/x-www-form-urlencoded"),u.append("client_id","3c9f56bd-0e2c-4358-9bf5-ff3a0efa9bf5"),u.append("grant_type","refresh_token"),u.append("refresh_token",i.refreshToken);try{const t=await fetch("".concat(i.issuer,"/connect/token"),{method:"POST",headers:c,body:u,signal:o});if(t.ok){const e=await t.json();if(l=e,(0,a.Hf)(l)&&"access_token"in l)return(0,s.GUQ)({...i,requiresSignIn:!1,idToken:e.id_token,accessToken:e.access_token,refreshToken:e.refresh_token,expiresAt:(0,a.tB)()+e.expires_in*n.OY})}else if(400===t.status&&(i=await(0,s.qaW)(e)||e,(0,a.aE)(i)))return(0,s.GUQ)({...i,requiresSignIn:!0,lastTriedToRefresh:(0,a.tB)()});return i}catch(d){console.error(d)}var l;return i=await(0,s.qaW)(e)||e,(0,a.aE)(i)?(0,s.GUQ)({...i,lastTriedToRefresh:(0,a.tB)()}):i}}(r,e),(0,a.aE)(r)))throw new c;return r}class c extends Error{constructor(){super("User session has been expired")}}},49117:(e,t,r)=>{"use strict";r(11081)},32531:(e,t,r)=>{"use strict";r.d(t,{a:()=>a});var n=r(23845),s=r(85096);function a(e){return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.iW;return e.expiresAt-(0,s.tB)()-t}(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.iW)<1}},20709:(e,t,r)=>{e.exports=r(82685)}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_chillicream_nitro=self.webpackChunk_chillicream_nitro||[]).push([[940],{85890:(e,t,i)=>{i.d(t,{YR:()=>r,sP:()=>o});i(93967),i(36022),i(54913),i(75885);var n=i(96243),s=i(13295);const o=Object.freeze({});function r(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n.hd;const r=new Map;for(const s of Object.values(n.xs))r.set(s,c(t,s));let a,h,l,u=Array.isArray(e),d=[e],m=-1,p=[],v=e;const y=[],f=[];do{m++;const e=m===d.length,n=e&&0!==p.length;if(e){if(h=0===f.length?void 0:y[y.length-1],v=l,l=f.pop(),n)if(u){v=v.slice();let e=0;for(const[t,i]of p){const n=t-e;null===i?(v.splice(n,1),e++):v[n]=i}}else{v=Object.defineProperties({},Object.getOwnPropertyDescriptors(v));for(const[e,t]of p)v[e]=t}m=a.index,d=a.keys,p=a.edits,u=a.inArray,a=a.prev}else if(null!=l){if(h=u?m:d[m],v=l[h],null===v||void 0===v)continue;y.push(h)}let c;if(!Array.isArray(v)){var g,T;const i=e?null===(g=r.get(v.kind))||void 0===g?void 0:g.leave:null===(T=r.get(v.kind))||void 0===T?void 0:T.enter;if(c=null===i||void 0===i?void 0:i.call(t,v,h,l,y,f),c===o)break;if(!1===c){if(!e){y.pop();continue}}else if(void 0!==c&&(p.push([h,c]),!e)){if(!(0,s.VJ)(c)){y.pop();continue}v=c}}var w;if(void 0===c&&n&&p.push([h,v]),e)y.pop();else a={inArray:u,index:m,keys:d,edits:p,prev:a},u=Array.isArray(v),d=u?v:null!==(w=i[v.kind])&&void 0!==w?w:[],m=-1,p=[],null!=l&&f.push(l),l=v}while(void 0!==a);return 0!==p.length?p.at(-1)[1]:e}function c(e,t){const i=e[t];return"object"===typeof i?i:"function"===typeof i?{enter:i,leave:void 0}:{enter:e.enter,leave:e.leave}}},1103:(e,t,i)=>{i.d(t,{D:()=>f});i(62316),i(36022),i(75885);var n=i(28511),s=i(64293),o=i.n(s),r=i(75438),c=i(70807),a=i(19740),h=i(58819),l=i(69278),u=i(30325),d=i(32691),m=i(87357),p=i(65292);const v="undefined"!==typeof i.g?i.g:"undefined"!==typeof window?window:{},y=v.WebSocket||v.MozWebSocket;class f{constructor(e,t,i,n){this.client=void 0,this.operations=void 0,this.url=void 0,this.nextOperationId=void 0,this.connectionParams=void 0,this.minWsTimeout=void 0,this.wsTimeout=void 0,this.unsentMessagesQueue=void 0,this.reconnect=void 0,this.reconnecting=void 0,this.reconnectionAttempts=void 0,this.backoff=void 0,this.connectionCallback=void 0,this.eventEmitter=void 0,this.lazy=void 0,this.inactivityTimeout=void 0,this.inactivityTimeoutId=void 0,this.closedByUser=void 0,this.wsImpl=void 0,this.wsProtocols=void 0,this.wasKeepAliveReceived=void 0,this.tryReconnectTimeoutId=void 0,this.checkConnectionIntervalId=void 0,this.maxConnectTimeoutId=void 0,this.middlewares=void 0,this.maxConnectTimeGenerator=void 0,this.wsOptionArguments=void 0,this.wsOnMessage=void 0;const{connectionCallback:s,connectionParams:c={},minTimeout:a=h.OL,timeout:l=h.nI,reconnect:d=!1,reconnectionAttempts:m=1/0,lazy:p=!1,inactivityTimeout:v=0,wsOptionArguments:f=[],onMessage:g}=t||{};if(this.wsOnMessage=g,this.wsImpl=i||y,!this.wsImpl)throw new Error("Unable to find native implementation, or alternative implementation for WebSocket!");this.wsProtocols=n||u.BS,this.connectionCallback=s,this.url=e,this.operations={},this.nextOperationId=0,this.minWsTimeout=a,this.wsTimeout=l,this.unsentMessagesQueue=[],this.reconnect=d,this.reconnecting=!1,this.reconnectionAttempts=m,this.lazy=!!p,this.inactivityTimeout=v,this.closedByUser=!1,this.backoff=new(o())({jitter:.5}),this.eventEmitter=new r.EventEmitter,this.middlewares=[],this.client=null,this.maxConnectTimeGenerator=this.createMaxConnectTimeGenerator(),this.connectionParams=this.getConnectionParams(c),this.wsOptionArguments=f,this.lazy||this.connect()}get status(){return null===this.client?this.wsImpl.CLOSED:this.client.readyState}close(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.clearInactivityTimeout(),null!==this.client&&(this.closedByUser=t,e&&(this.clearCheckConnectionInterval(),this.clearMaxConnectTimeout(),this.clearTryReconnectTimeout(),this.unsubscribeAll(),this.sendMessage(void 0,l.A.GQL_CONNECTION_TERMINATE,null)),this.client.close(),this.client.onopen=null,this.client.onclose=null,this.client.onerror=null,this.client.onmessage=null,this.client=null,this.eventEmitter.emit("disconnected"),e||this.tryReconnect())}request(e){const t=this.getObserver.bind(this),i=this.executeOperation.bind(this),n=this.unsubscribe.bind(this);let s=null;return this.clearInactivityTimeout(),{[p.A](){return this},subscribe(o,r,c){const a=t(o,r,c);return s=i(e,((e,t)=>{null===e&&null===t?a.complete&&a.complete():e?a.error&&a.error(e[0]):a.next&&a.next(t)})),{unsubscribe:()=>{s&&(n(s),s=null)}}}}}on(e,t,i){const n=this.eventEmitter.on(e,t,i);return()=>{n.off(e,t,i)}}onConnected(e,t){return this.on("connected",e,t)}onConnecting(e,t){return this.on("connecting",e,t)}onDisconnected(e,t){return this.on("disconnected",e,t)}onReconnected(e,t){return this.on("reconnected",e,t)}onReconnecting(e,t){return this.on("reconnecting",e,t)}onError(e,t){return this.on("error",e,t)}unsubscribeAll(){Object.keys(this.operations).forEach((e=>{this.unsubscribe(e)}))}applyMiddlewares(e){return new Promise(((t,i)=>{((n,s)=>{const o=r=>{if(r)i(r);else if(n.length>0){const t=n.shift();t&&t.applyMiddleware.apply(s,[e,o])}else t(e)};o()})([...this.middlewares],this)}))}use(e){return e.forEach((e=>{if(!(0,n.Tn)(e.applyMiddleware))throw new Error("Middleware must implement the applyMiddleware function.");this.middlewares.push(e)})),this}getConnectionParams(e){return()=>new Promise(((t,i)=>{if((0,n.Tn)(e))try{return t(e.call(null))}catch(s){return i(s)}t(e)}))}executeOperation(e,t){null===this.client&&this.connect();const i=this.generateOperationId();return this.operations[i]={options:e,handler:t},this.applyMiddlewares(e).then((e=>{this.checkOperationOptions(e,t),this.operations[i]&&(this.operations[i]={options:e,handler:t},this.sendMessage(i,l.A.GQL_START,e))})).catch((e=>{this.unsubscribe(i),t(this.formatErrors(e))})),i}getObserver(e,t,i){return(0,n.Tn)(e)?{next:t=>e(t),error:e=>t&&t(e),complete:()=>i&&i()}:e}createMaxConnectTimeGenerator(){const e=this.minWsTimeout,t=this.wsTimeout;return new(o())({min:e,max:t,factor:1.2})}clearCheckConnectionInterval(){this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnectionIntervalId=null)}clearMaxConnectTimeout(){this.maxConnectTimeoutId&&(clearTimeout(this.maxConnectTimeoutId),this.maxConnectTimeoutId=null)}clearTryReconnectTimeout(){this.tryReconnectTimeoutId&&(clearTimeout(this.tryReconnectTimeoutId),this.tryReconnectTimeoutId=null)}clearInactivityTimeout(){this.inactivityTimeoutId&&(clearTimeout(this.inactivityTimeoutId),this.inactivityTimeoutId=null)}setInactivityTimeout(){this.inactivityTimeout>0&&0===Object.keys(this.operations).length&&(this.inactivityTimeoutId=setTimeout((()=>{0===Object.keys(this.operations).length&&this.close()}),this.inactivityTimeout))}checkOperationOptions(e,t){const{query:i,variables:n,operationName:s}=e;if(!i)throw new Error("Must provide a query.");if(!t)throw new Error("Must provide an handler.");if(!(0,m.A)(i)&&!(0,a.A)(i,s)||s&&!(0,m.A)(s)||n&&!(0,d.A)(n))throw new Error("Incorrect option types. query must be a string or a document,`operationName` must be a string, and `variables` must be an object.")}buildMessage(e,t,i){return{id:e,type:t,payload:i&&i.query?{...i,query:"string"===typeof i.query?i.query:(0,c.y)(i.query)}:i}}formatErrors(e){return Array.isArray(e)?e:e&&e.errors?this.formatErrors(e.errors):e&&e.message?[e]:[{name:"FormattedError",message:"Unknown error",originalError:e}]}sendMessage(e,t,i){this.sendMessageRaw(this.buildMessage(e,t,i))}sendMessageRaw(e){switch(this.status){case this.wsImpl.OPEN:let i=JSON.stringify(e);try{JSON.parse(i)}catch(t){this.eventEmitter.emit("error",new Error("Message must be JSON-serializable. Got: ".concat(e)))}this.client.send(i);break;case this.wsImpl.CONNECTING:this.unsentMessagesQueue.push(e);break;default:this.reconnecting||this.eventEmitter.emit("error",new Error("A message was not sent because socket is not connected, is closing or is already closed. Message was: "+JSON.stringify(e)))}}generateOperationId(){return String(++this.nextOperationId)}tryReconnect(){if(!this.reconnect||this.backoff.attempts>=this.reconnectionAttempts)return;this.reconnecting||(Object.keys(this.operations).forEach((e=>{this.unsentMessagesQueue.push(this.buildMessage(e,l.A.GQL_START,this.operations[e].options))})),this.reconnecting=!0),this.clearTryReconnectTimeout();const e=this.backoff.duration();this.tryReconnectTimeoutId=setTimeout((()=>{this.connect()}),e)}flushUnsentMessagesQueue(){this.unsentMessagesQueue.forEach((e=>{this.sendMessageRaw(e)})),this.unsentMessagesQueue=[]}checkConnection(){this.wasKeepAliveReceived?this.wasKeepAliveReceived=!1:this.reconnecting||this.close(!1,!0)}checkMaxConnectTimeout(){this.clearMaxConnectTimeout(),this.maxConnectTimeoutId=setTimeout((()=>{this.status!==this.wsImpl.OPEN&&(this.reconnecting=!0,this.close(!1,!0))}),this.maxConnectTimeGenerator.duration())}connect(){this.client=new this.wsImpl(this.url,this.wsProtocols,...this.wsOptionArguments),this.checkMaxConnectTimeout(),this.client.onopen=async()=>{if(this.status===this.wsImpl.OPEN){this.clearMaxConnectTimeout(),this.closedByUser=!1,this.eventEmitter.emit(this.reconnecting?"reconnecting":"connecting");try{const e=await this.connectionParams();this.sendMessage(void 0,l.A.GQL_CONNECTION_INIT,e),this.flushUnsentMessagesQueue()}catch(e){this.sendMessage(void 0,l.A.GQL_CONNECTION_ERROR,e),this.flushUnsentMessagesQueue()}}},this.client.onclose=()=>{this.closedByUser||this.close(!1,!1)},this.client.onerror=e=>{this.eventEmitter.emit("error",e)},this.client.onmessage=e=>{var t;let{data:i}=e;null===(t=this.wsOnMessage)||void 0===t||t.call(this,i),this.processReceivedData(i)}}processReceivedData(e){let t,i;try{t=JSON.parse(e),i=t.id}catch(n){throw new Error("Message must be JSON-parseable. Got: ".concat(e))}if(-1===[l.A.GQL_DATA,l.A.GQL_COMPLETE,l.A.GQL_ERROR].indexOf(t.type)||this.operations[i])switch(t.type){case l.A.GQL_CONNECTION_ERROR:this.connectionCallback&&this.connectionCallback(t.payload);break;case l.A.GQL_CONNECTION_ACK:this.eventEmitter.emit(this.reconnecting?"reconnected":"connected",t.payload),this.reconnecting=!1,this.backoff.reset(),this.maxConnectTimeGenerator.reset(),this.connectionCallback&&this.connectionCallback();break;case l.A.GQL_COMPLETE:const e=this.operations[i].handler;delete this.operations[i],e.call(this,null,null);break;case l.A.GQL_ERROR:this.operations[i].handler(this.formatErrors(t.payload),null),delete this.operations[i];break;case l.A.GQL_DATA:const n=t.payload.errors?{...t.payload,errors:this.formatErrors(t.payload.errors)}:t.payload;this.operations[i].handler(null,n);break;case l.A.GQL_CONNECTION_KEEP_ALIVE:const s="undefined"===typeof this.wasKeepAliveReceived;this.wasKeepAliveReceived=!0,s&&this.checkConnection(),this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnection()),this.checkConnectionIntervalId=setInterval(this.checkConnection.bind(this),this.wsTimeout);break;default:throw new Error("Invalid message type!")}else this.unsubscribe(i)}unsubscribe(e){this.operations[e]&&(delete this.operations[e],this.setInactivityTimeout(),this.sendMessage(e,l.A.GQL_STOP,void 0))}}},75468:(e,t,i)=>{i.d(t,{c:()=>n});i(5084);function n(e){return e.replace(/\/(?=\?)|\/(?=#)|\/$/,"")}},53768:(e,t,i)=>{i.d(t,{Hf:()=>s,Td:()=>n,Tn:()=>o});const n=e=>o(Object(e)[Symbol.asyncIterator]);function s(e){return null!==e&&"object"===typeof e&&!Array.isArray(e)}function o(e){return"function"===typeof e}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_chillicream_nitro=self.webpackChunk_chillicream_nitro||[]).push([[996],{23845:(e,t,i)=>{"use strict";i.d(t,{mF:()=>E,ag:()=>u,hl:()=>c,wL:()=>N.wL,To:()=>N.To,fc:()=>N.fc,VX:()=>f,c7:()=>_,CZ:()=>N.CZ,MA:()=>N.MA,iW:()=>N.iW,OY:()=>N.OY,R1:()=>N.R1,T2:()=>N.T2,BN:()=>N.BN,fI:()=>N.fI,kf:()=>N.kf});var n,r,a=i(8330);const p=a.QC,c=a.rE,u=null!==(n="Q2xpZW50Cmc5MTE3YmNmZWM4Zjk0YWExYmZkOWIxZWUzOTY0YmQwOQ==")?n:"",o=(a.rE,new RegExp("^https?:\\/\\/.*?\\.(bananacakepop\\.com|chillicream\\.com|chillicream\\.cloud)","i")),l=null!==(r=null===o||void 0===o?void 0:o.test(self.origin))&&void 0!==r&&r,m=navigator.userAgent.indexOf("Electron")>=0,s=l?"cloud":m?"app":"middleware",E="".concat(p,"/").concat(c," (").concat(s,")");(function(){if(navigator.userAgent.indexOf("Win")>=0)return"Windows";if(navigator.userAgent.indexOf("Mac")>=0)return"macOS";if(navigator.userAgent.indexOf("X11")>=0||navigator.userAgent.indexOf("Linux")>=0)return"Linux"})(),function(){const e=navigator.userAgent.toLowerCase();e.includes("mac os")||e.includes("ipad")}();const f="Content-Type",_=/^https?:\/\//i;var N=i(18370)},69529:(e,t,i)=>{"use strict";i(67466),i(97353),i(26845)},13295:(e,t,i)=>{"use strict";i.d(t,{N5:()=>r,c:()=>a});var n=i(96243);function r(e){return p(e,n.xs.FIELD)}function a(e){return p(e,n.xs.DIRECTIVE)}function p(e,t){return!!e&&"object"===typeof e&&"kind"in e&&e.kind===t&&!("isConst"in e)}},96243:(e,t,i)=>{"use strict";i.d(t,{xs:()=>n});let n=function(e){return e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLES_DEFINITION="VariablesDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT_DICT="ArgumentDict",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.NUMBER="NumberValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e}({})},67466:(e,t,i)=>{"use strict";i(96243),i(13295),i(36022),i(75885);var n=i(62967),r=i(92398);i(30628);n.qx,r.ParseRules;i(54596),i(72790),i(85890)},30628:(e,t,i)=>{"use strict";i(62316),i(96243)},85890:(e,t,i)=>{"use strict";i(93967),i(36022),i(54913),i(75885),i(96243),i(13295);Object.freeze({})},29899:(e,t,i)=>{"use strict";i(36022),i(75885)},53768:(e,t,i)=>{"use strict";i.d(t,{Hf:()=>r,Td:()=>n});const n=e=>function(e){return"function"===typeof e}(Object(e)[Symbol.asyncIterator]);function r(e){return null!==e&&"object"===typeof e&&!Array.isArray(e)}},62967:(e,t,i)=>{"use strict";i.d(t,{qx:()=>n.qx});i(49996);var n=i(24815);i(49358),i(94806)},59968:(e,t,i)=>{"use strict";var n=i(27212),r=i(466);(0,n.p_)("Definition"),p("query"),(0,n.m7)(c("def")),(0,n.m7)("VariableDefinitions"),(0,n.p_)("Directive"),p("mutation"),(0,n.m7)(c("def")),(0,n.m7)("VariableDefinitions"),(0,n.p_)("Directive"),p("subscription"),(0,n.m7)(c("def")),(0,n.m7)("VariableDefinitions"),(0,n.p_)("Directive"),(0,n.p)("("),(0,n.p_)("VariableDefinition"),(0,n.p)(")"),(0,n.p)(":"),(0,n.m7)("DefaultValue"),(0,n.p)("$","variable"),c("variable"),(0,n.p)("="),(0,n.p)("{"),(0,n.p_)("Selection"),(0,n.p)("}"),c("property"),(0,n.p)(":"),c("qualifier"),(0,n.m7)("Arguments"),(0,n.p_)("Directive"),(0,n.m7)("SelectionSet"),c("property"),(0,n.m7)("Arguments"),(0,n.p_)("Directive"),(0,n.m7)("SelectionSet"),(0,n.p)("("),(0,n.p_)("Argument"),(0,n.p)(")"),c("attribute"),(0,n.p)(":"),(0,n.p)("..."),c("def"),(0,n.p_)("Directive"),(0,n.p)("..."),(0,n.m7)("TypeCondition"),(0,n.p_)("Directive"),p("fragment"),(0,n.m7)((0,n.FC)(c("def"),[p("on")])),(0,n.p_)("Directive"),p("on"),(0,n.t)("Number","number"),(0,n.t)("Name","builtin"),(0,n.t)("Name","keyword"),c("string-2"),(0,n.p)("["),(0,n.p_)("Value"),(0,n.p)("]"),(0,n.p)("{"),(0,n.p_)("ObjectField"),(0,n.p)("}"),c("attribute"),(0,n.p)(":"),(0,n.p)("["),(0,n.p)("]"),(0,n.m7)((0,n.p)("!")),(0,n.m7)((0,n.p)("!")),a="atom",(0,n.p)("@","meta"),c("meta"),(0,n.m7)("Arguments"),p("directive"),(0,n.p)("@","meta"),c("meta"),(0,n.m7)("ArgumentsDef"),p("on"),(0,n.p_)("DirectiveLocation",(0,n.p)("|")),p("interface"),c("atom"),(0,n.m7)("Implements"),(0,n.p_)("Directive"),(0,n.p)("{"),(0,n.p_)("FieldDef"),(0,n.p)("}"),p("implements"),(0,n.p_)("NamedType",(0,n.p)("&")),c("string-2"),p("schema"),(0,n.p_)("Directive"),(0,n.p)("{"),(0,n.p_)("OperationTypeDef"),(0,n.p)("}"),c("keyword"),(0,n.p)(":"),c("atom"),p("scalar"),c("atom"),(0,n.p_)("Directive"),p("type"),c("atom"),(0,n.m7)("Implements"),(0,n.p_)("Directive"),(0,n.p)("{"),(0,n.p_)("FieldDef"),(0,n.p)("}"),c("property"),(0,n.m7)("ArgumentsDef"),(0,n.p)(":"),(0,n.p_)("Directive"),(0,n.p)("("),(0,n.p_)("InputValueDef"),(0,n.p)(")"),c("attribute"),(0,n.p)(":"),(0,n.m7)("DefaultValue"),(0,n.p_)("Directive"),p("union"),c("atom"),(0,n.p_)("Directive"),(0,n.p)("="),(0,n.p_)("UnionMember",(0,n.p)("|")),p("enum"),c("atom"),(0,n.p_)("Directive"),(0,n.p)("{"),(0,n.p_)("EnumValueDef"),(0,n.p)("}"),c("string-2"),(0,n.p_)("Directive"),p("input"),c("atom"),(0,n.p_)("Directive"),(0,n.p)("{"),(0,n.p_)("InputValueDef"),(0,n.p)("}"),p("extend"),r.b.SCHEMA_EXTENSION,r.b.SCALAR_TYPE_EXTENSION,r.b.OBJECT_TYPE_EXTENSION,r.b.INTERFACE_TYPE_EXTENSION,r.b.UNION_TYPE_EXTENSION,r.b.ENUM_TYPE_EXTENSION,r.b.INPUT_OBJECT_TYPE_EXTENSION;var a;function p(e){return{style:"keyword",match:t=>"Name"===t.kind&&t.value===e}}function c(e){return{style:e,match:e=>"Name"===e.kind,update(e,t){e.name=t.value}}}},24815:(e,t,i)=>{"use strict";i.d(t,{qx:()=>n.q});i(59968),i(83759),i(80587),i(44323);var n=i(5798)},83759:(e,t,i)=>{"use strict";i(59968)},5355:e=>{var t="undefined"!==typeof requestIdleCallback;e.exports=t?requestIdleCallback:function(e){return setTimeout((function(){var t=Date.now();e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})}),1)},e.exports.cancelIdleCallback=t?cancelIdleCallback:clearTimeout}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(()=>{var e={23845:(e,n,t)=>{"use strict";t.d(n,{mF:()=>f,ag:()=>c,hl:()=>a,wL:()=>g.wL,To:()=>g.To,fc:()=>g.fc,HO:()=>E,qB:()=>v,VX:()=>m,QB:()=>h,c7:()=>y,vZ:()=>I,_w:()=>u,CZ:()=>g.CZ,MA:()=>g.MA,iW:()=>g.iW,OY:()=>g.OY,R1:()=>g.R1,T2:()=>g.T2,BN:()=>g.BN,fI:()=>g.fI,kf:()=>g.kf});var i,s,o=t(8330);const r=o.QC,a=o.rE,c=null!==(i="Q2xpZW50Cmc5MTE3YmNmZWM4Zjk0YWExYmZkOWIxZWUzOTY0YmQwOQ==")?i:"",l=(o.rE,new RegExp("^https?:\\/\\/.*?\\.(bananacakepop\\.com|chillicream\\.com|chillicream\\.cloud)","i")),d=null!==(s=null===l||void 0===l?void 0:l.test(self.origin))&&void 0!==s&&s,u=navigator.userAgent.indexOf("Electron")>=0,p=d?"cloud":u?"app":"middleware",f="".concat(r,"/").concat(a," (").concat(p,")");(function(){if(navigator.userAgent.indexOf("Win")>=0)return"Windows";if(navigator.userAgent.indexOf("Mac")>=0)return"macOS";if(navigator.userAgent.indexOf("X11")>=0||navigator.userAgent.indexOf("Linux")>=0)return"Linux"})(),function(){const e=navigator.userAgent.toLowerCase();e.includes("mac os")||e.includes("ipad")}();const v="Authorization",m="Content-Type",h="User-Agent",y=/^https?:\/\//i,I=/{{\s*([a-z0-9_\-|.:+#$!?;,]+)\s*}}/gi,E=/graphql-query-plan/i;var g=t(18370)},66094:(e,n,t)=>{"use strict";t.d(n,{ppT:()=>y.pp,jIU:()=>y.jI,hPE:()=>y.hP,PhU:()=>y.Ph,Gkb:()=>y.Gk,OYB:()=>m,_um:()=>s._u,OfI:()=>s.Of,K6y:()=>i.K6,TES:()=>s.TE,FH2:()=>s.FH,Ac:()=>s.Ac,SWZ:()=>p,BID:()=>f,qaG:()=>v,Sjm:()=>s.Sj,snc:()=>s.sn,WGI:()=>s.WG,qaW:()=>h.q,PHK:()=>s.PH,lKN:()=>s.lK,x_1:()=>o.x,GUQ:()=>h.GU,mkZ:()=>u,qhv:()=>s.qh,LDz:()=>o.L});var i=t(3455),s=t(52396),o=t(37551),r=(t(75885),t(99850)),a=t(30628),c=t(28511),l=t(9835),d=t(71475);function u(e,n){return(0,r.SE)(["schema","schema-attachment"],"readwrite",(async t=>{const i=(0,a.Yi)(n),s={endpoint:e,updatedAt:(0,c.tB)(),hash:m(e,n),indexed:!1,...i};return await Promise.all([t.store.schema.put(s),t.store.schemaAttachment.put({endpoint:e,kind:l.Xb,value:n}),t.store.schemaAttachment.delete([e,l.qW]),t.store.schemaAttachment.delete([e,l.V8]),t.done]),s}))}function p(e){const n=(0,c.c9)(e);return(0,r.EL)("schema",n)}async function f(e){const n=(0,c.c9)(e),t=await(0,r.EL)("schema-attachment",[n,l.qW]);return(0,d.bF)(t)?t.value:void 0}async function v(e){const n=(0,c.c9)(e),t=await(0,r.EL)("schema-attachment",[n,l.V8]);return(0,d.Cw)(t)?t.value:void 0}function m(e,n){return(0,c.n1)(JSON.stringify(["graphql-schema-entity",e,n]))}var h=t(21244),y=(t(85233),t(9416));t(54700),t(57731),t(95616),t(54161),t(19518)},2622:(e,n,t)=>{"use strict";t.d(n,{FH:()=>u,Of:()=>r,Sj:()=>a,WG:()=>p,sn:()=>c});t(75885);var i=t(99850),s=t(65107),o=t(59943);async function r(e,n){return(0,i.SE)(["attachment","item"],"readonly",(async n=>{const t=await n.store.item.get(e);return(0,o.QH)(t)||(0,o.MT)(t)||(0,o.vA)(t)?l(n,t):n.abort("Item does not exist or is not of type API nor Document.")}),n)}async function a(e,n,t){return(0,i.SE)(["attachment","item","workspace"],"readonly",(async t=>{const i=await t.store.item.get(e);if(!((0,o.QH)(i)||(0,o.MT)(i)||(0,o.vA)(i)))return t.abort("Item does not exist or is not of type API nor Document.");if(!n){const e=await l(t,i);return null===e||void 0===e?void 0:e.http}const[s,r]=await Promise.all([l(t,i),d(t,n)]);var a;return s&&r?null!==(a=(0,o.PH)(s,(0,o.CO)(r.variables)))&&void 0!==a?a:void 0:null===s||void 0===s?void 0:s.http}),t)}async function c(e,n){return(0,i.SE)(["attachment","item","workspace"],"readonly",(async n=>{const t=await n.store.item.get(e);if(!((0,o.QH)(t)||(0,o.MT)(t)||(0,o.vA)(t)))return n.abort("Item does not exist or is not of type API nor Document.");let i=null;if(t.workspaceId){var s,r;const e=await n.store.workspace.get(t.workspaceId);i=null!==(s=null===e||void 0===e||null===(r=e.appState)||void 0===r?void 0:r.activeEnvironmentId)&&void 0!==s?s:null}if(!i){const e=await l(n,t);return null===e||void 0===e?void 0:e.http}const[a,c]=await Promise.all([l(n,t),d(n,i)]);var u;return a&&c?null!==(u=(0,o.PH)(a,(0,o.CO)(c.variables)))&&void 0!==u?u:void 0:null===a||void 0===a?void 0:a.http}),n)}async function l(e,n){const t=await e.store.attachment.get([(0,o.Zm)(n)?n.apiId:n.id,s.iQ]);if((0,o.ZO)(t))return t}async function d(e,n){const t=await e.store.attachment.get([n,s.t_]);if((0,o.as)(t))return t}async function u(e,n){return(0,i.SE)(["attachment","item"],"readonly",(n=>Promise.all(e.map((async e=>{const t=await n.store.item.get(e);return(0,o.Gs)(t)?await n.store.attachment.get([e,s.gV]):n.abort("Item does not exist or is not of type API nor Document.")})))),n)}async function p(e){var n,t;return(0,o.CO)(e&&null!==(n=null===(t=await async function(e){return(0,i.ot)((async n=>{const t=await n.get("attachment",[e,s.t_]);if((0,o.as)(t))return t}))}(e))||void 0===t?void 0:t.variables)&&void 0!==n?n:[])}},52396:(e,n,t)=>{"use strict";t.d(n,{_u:()=>c,Of:()=>i.Of,TE:()=>a,FH:()=>i.FH,Ac:()=>l,Sj:()=>i.Sj,sn:()=>i.sn,WG:()=>i.WG,PH:()=>r.PH,lK:()=>r.lK,qh:()=>p.q});t(46114),t(22197),t(13939),t(43351);var i=t(2622),s=(t(62316),t(36022),t(45155),t(49997),t(57928),t(2813),t(32990),t(37669),t(35033),t(75885),t(99850)),o=(t(28511),t(65107)),r=t(59943);function a(e,n){return(0,s.SE)(["attachment","item"],"readonly",(async n=>{const[t,i]=await Promise.all([n.store.item.get(e),n.store.attachment.get([e,o.tx])]);if((0,r.vA)(t)&&(0,r.Q7)(i))return(0,r.Ls)(t,i)}),n)}function c(e){return(0,s.SE)(["item"],"readonly",(n=>d(n,e)))}function l(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),i=1;i<n;i++)t[i-1]=arguments[i];return(0,s.SE)(["item"],"readonly",(n=>d(n,e,(e=>t.includes(e)))))}async function d(e,n,t){const i=[],s={};for await(const l of e.index.item.kind.iterate([n,o.Er])){const n=l.value;if((0,r.Gs)(n)){var a,c;n.parentId&&!s[n.parentId]&&(s[n.parentId]=await u(e,n.path).then((e=>{var n;return null!==(n=null===e||void 0===e?void 0:e.join("/"))&&void 0!==n?n:""})));const o="".concat(n.parentId&&null!==(a=s[n.parentId])&&void 0!==a&&a.length?"".concat(s[n.parentId],"/"):"").concat(n.name);(null===(c=null===t||void 0===t?void 0:t(o))||void 0===c||c)&&i.push({id:n.id,workspaceId:n.workspaceId,name:o,size:n.size})}}return i}async function u(e,n){return Promise.all(n.slice(0,-1).map((async n=>{const t=await e.store.item.get(n);if(!t)throw new Error("Parent does not exist");return t.name})))}t(82545),t(19340),t(37532),t(94120),t(43744);var p=t(5250);t(2091)},65107:(e,n,t)=>{"use strict";t.d(n,{$R:()=>a,AL:()=>m,Er:()=>h,Jz:()=>l,Uj:()=>f,gV:()=>c,hN:()=>u,iQ:()=>i,mv:()=>d,sd:()=>o,sm:()=>v,t_:()=>r,tx:()=>s,wA:()=>p});const i="connection-settings",s="document-content",o="origin-document-content",r="variable-collection",a="origin-variable-collection",c="file-content",l="variable-json-schema",d="api",u="new-api",p="api-document",f="document",v="historical-document",m="new-document",h="file"},59943:(e,n,t)=>{"use strict";t.d(n,{CO:()=>T,Cz:()=>h,Gs:()=>u,Ls:()=>m,MT:()=>a,PH:()=>y,Q7:()=>f,QH:()=>r,ZO:()=>p,Zm:()=>l,as:()=>v,lK:()=>g,vA:()=>c});t(76523),t(5084),t(75885);var i=t(23845),s=(t(99850),t(54700),t(28511)),o=t(65107);function r(e){return(null===e||void 0===e?void 0:e.kind)===o.mv}function a(e){return(null===e||void 0===e?void 0:e.kind)===o.hN}function c(e){return l(e)||d(e)||function(e){return(null===e||void 0===e?void 0:e.kind)===o.sm}(e)||function(e){return(null===e||void 0===e?void 0:e.kind)===o.AL}(e)}function l(e){return(null===e||void 0===e?void 0:e.kind)===o.wA}function d(e){return(null===e||void 0===e?void 0:e.kind)===o.Uj}function u(e){return(null===e||void 0===e?void 0:e.kind)===o.Er}function p(e){return(null===e||void 0===e?void 0:e.kind)===o.iQ}function f(e){return(null===e||void 0===e?void 0:e.kind)===o.tx||(null===e||void 0===e?void 0:e.kind)===o.sd}function v(e){return(null===e||void 0===e?void 0:e.kind)===o.t_||(null===e||void 0===e?void 0:e.kind)===o.$R}function m(e,n){const{itemId:t,kind:i,workspaceId:s,...o}=n;return{...e,...o}}function h(e){const n=(0,s.n1)(JSON.stringify(e.schema));return{...e,hash:n}}function y(e,n){const t=null===e||void 0===e?void 0:e.http;return t?{...t,authentication:I(t.authentication,n),endpoint:g(t.endpoint,n),sdlEndpoint:t.sdlEndpoint?g(t.sdlEndpoint,n):t.sdlEndpoint,sseSubscriptionEndpoint:t.sseSubscriptionEndpoint?g(t.sseSubscriptionEndpoint,n):t.sseSubscriptionEndpoint,subscriptionEndpoint:t.subscriptionEndpoint?g(t.subscriptionEndpoint,n):t.subscriptionEndpoint,headers:t.headers?t.headers.map((e=>({...e,name:g(e.name,n),value:g(e.value,n)}))):t.headers}:null}function I(e,n){if(e)return e?{...e,basicOptions:e.basicOptions?{password:g(e.basicOptions.password,n),username:g(e.basicOptions.username,n)}:void 0,bearerOptions:e.bearerOptions?{prefix:e.bearerOptions.prefix?g(e.bearerOptions.token,n):void 0,token:g(e.bearerOptions.token,n)}:void 0,oAuth2Options:E(e.oAuth2Options,n),headerValue:e.headerValue?g(e.headerValue,n):void 0}:void 0}function E(e,n){return e?{...e,accessTokenUrl:g(e.accessTokenUrl,n),audience:g(e.audience,n),authorizationUrl:g(e.authorizationUrl,n),clientId:g(e.clientId,n),clientSecret:g(e.clientSecret,n),origin:g(e.origin,n),password:g(e.password,n),prefix:g(e.prefix,n),redirectUrl:g(e.redirectUrl,n),resource:g(e.resource,n),scope:g(e.scope,n),state:g(e.state,n),username:g(e.username,n),sessionId:e.sessionId?g(e.sessionId,n):void 0}:void 0}function g(e,n){let t=e;const s=e.matchAll(i.vZ);for(const i of s){var o;t=t.replace(i[0],null!==(o=n.get(i[1]))&&void 0!==o?o:i[0])}return t}function T(e){const n=new Map;for(const{name:t,value:i,enabled:s}of e)s&&n.set(t,i);return n}},5250:(e,n,t)=>{"use strict";t.d(n,{q:()=>r});var i=t(99850),s=t(65107),o=t(59943);async function r(e,n,t){return(0,i.SE)(["attachment","item"],"readwrite",(async t=>{let i=await t.store.item.get(e);if(!(0,o.vA)(i))return t.abort("Item does not exist or is not of type Document.");const r=(0,o.Cz)({itemId:e,workspaceId:i.workspaceId,kind:s.Jz,schema:n});return await t.store.attachment.put(r),r}),t)}},71475:(e,n,t)=>{"use strict";t.d(n,{Cw:()=>o,bF:()=>s});var i=t(9835);function s(e){return!!e&&e.kind===i.qW}function o(e){return!!e&&e.kind===i.V8}},9416:(e,n,t)=>{"use strict";t.d(n,{Gk:()=>d,Hw:()=>i,JZ:()=>o,Ph:()=>u,X:()=>r,hP:()=>l,jI:()=>c,pp:()=>a,wv:()=>s});const i="no-auth",s="bearer",o="oauth2",r="basic",a="graphql-ws",c="auto",l=c,d="graphql-transport-ws",u="graphql-sse"},69529:(e,n,t)=>{"use strict";t.d(n,{FG:()=>i.FG,S5:()=>i.S5,YR:()=>i.YR,g$:()=>i.g$,mv:()=>s.m,sP:()=>i.sP,tB:()=>i.tB,xs:()=>i.xs});var i=t(67466),s=(t(97353),t(26845))},13295:(e,n,t)=>{"use strict";t.d(n,{N5:()=>r,VJ:()=>s,c:()=>a,tB:()=>o});var i=t(96243);function s(e){return!!e&&"object"===typeof e&&"kind"in e&&Object.values(i.xs).includes(e.kind)}function o(e){return c(e,i.xs.OPERATION_DEFINITION)}function r(e){return c(e,i.xs.FIELD)}function a(e){return c(e,i.xs.DIRECTIVE)}function c(e,n){return!!e&&"object"===typeof e&&"kind"in e&&e.kind===n&&!("isConst"in e)}},96243:(e,n,t)=>{"use strict";t.d(n,{S5:()=>r,Yp:()=>s,hd:()=>o,xs:()=>i});let i=function(e){return e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLES_DEFINITION="VariablesDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT_DICT="ArgumentDict",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.NUMBER="NumberValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e}({}),s=function(e){return e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.QUESTION_MARK="?",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.BOOLEAN="Boolean",e.NUMBER="Number",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment",e.KEYWORD="Keyword",e.INVALID="Invalid",e}({});const o={Name:[],Document:["definitions"],OperationDefinition:["name","variablesDefinition","directives","selectionSet"],VariablesDefinition:["variableDefinitions"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","argumentDict","directives","selectionSet"],ArgumentDict:["arguments"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","typeCondition","directives","selectionSet"],NumberValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","argumentDict"],NamedType:["name"],ListType:["type"],NonNullType:["type"]};let r=function(e){return e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription",e}({})},67466:(e,n,t)=>{"use strict";t.d(n,{xs:()=>i.xs,sP:()=>B.sP,S5:()=>i.S5,g$:()=>a.g$,Id:()=>a.Id,tB:()=>s.tB,FG:()=>d,YR:()=>B.YR});var i=t(96243),s=t(13295),o=(t(36022),t(75885),t(62967)),r=t(92398),a=t(30628);const c={...o.qx,DEFAULT:"DefaultValue",NUMBER:"NumberValue"},l={...r.ParseRules,Definition:e=>{switch(e.value){case"{":return"ShortQuery";case"query":return"Query";case"mutation":return"Mutation";case"subscription":return"Subscription";case"fragment":return"FragmentDefinition"}}};function d(e){const n=(0,o.r5)({eatWhitespace:e=>e.eatWhile(r.isIgnored),lexRules:r.LexRules,parseRules:l,editorConfig:{}}),t=e.split(/\n/).map(((e,n,t)=>{let{length:i}=t;return new o.Qb(e+(i>n+1?"\n":""))})),s=n.startState(),d=P("document",i.Yp.SOF,0,1,1,1,0,0),C=[d],B=[{kind:i.xs.DOCUMENT,location:[0,0],definitions:[],tokens:C}];let Y=d,U=0,j=1,V=1;for(let o=0;o<t.length;o++){const e=t[o];for(V=o+1;!e.eol();){j=e.column()+1;const t=e.getCurrentPosition(),o=n.token(e,s),r=s.kind,a=e.current();if(r&&"comment"!==o&&"ws"!==o&&(Y=P(o,a,C.length,V,j,e.column()+1,U+t,U+e.getCurrentPosition()),C.push(Y),Y.kind!==i.Yp.INVALID))switch(r){case c.DOCUMENT:E(B,Y),I(B,Y);break;case c.QUERY:case c.MUTATION:case c.SUBSCRIPTION:y(B,Y),E(B,Y),I(B,Y);break;case c.FRAGMENT_DEFINITION:v(B,Y),I(B,Y);break;case c.INLINE_FRAGMENT:h(B,Y),I(B,Y);break;case c.FRAGMENT_SPREAD:m(B,Y);break;case c.FIELD:f(B,Y),k(B,Y),I(B,Y);break;case c.ALIASED_FIELD:u(B,Y),k(B,Y),I(B,Y);break;case c.SELECTION_SET:y(B,Y),I(B,Y);break;case c.VARIABLE_DEFINITIONS:w(B,Y),E(B,Y);break;case c.VARIABLE_DEFINITION:x(B,Y),g(B,Y);break;case c.DEFAULT:b(B,Y);break;case c.VARIABLE:T(B,Y);break;case c.DIRECTIVE:p(B,Y);break;case c.LIST_TYPE:x(B,Y),N(B,Y);break;case c.NAMED_TYPE:A(B,Y);break;case c.ARGUMENTS:w(B,Y),O(B,Y),k(B,Y);break;case c.ARGUMENT:S(B,Y);break;case c.LIST:case c.OBJECT:w(B,Y),O(B,Y);break;case c.OBJECT_FIELD:R(B,Y);break;case c.BOOLEAN:_(B,Y);break;case c.ENUM:M(B,Y);break;case c.NULL:D(B,Y);break;case c.NUMBER:L(B,Y);break;case c.STRING:F(B,Y)}}U+=e.getCurrentPosition(),j=e.column()+1}const Q=(0,a.Am)(B,i.xs.DOCUMENT),G=P("document",i.Yp.EOF,C.length,V,j,j,U,U);return C.push(G),Q.location[1]=G.index,Q}function u(e,n){switch(n.kind){case i.Yp.NAME:{let t=(0,a.j1)(e,i.xs.SELECTION_SET,i.xs.FIELD);function s(t){const s={kind:i.xs.FIELD,location:[n.index,n.index],alias:(0,a.Oj)(n)};t.selections.push(s),e.push(s)}(0,a.M8)(e,n),t.kind===i.xs.SELECTION_SET?s(t):t.alias?t.name=(0,a.Oj)(n):(t=(0,a.I)(e,i.xs.SELECTION_SET),s(t))}break;case i.Yp.COLON:(0,a.M8)(e,n)}}function p(e,n){switch(n.kind){case i.Yp.AT:{const t=(0,a.I)(e,i.xs.OPERATION_DEFINITION,i.xs.VARIABLE_DEFINITION,i.xs.FRAGMENT_DEFINITION,i.xs.FIELD,i.xs.FRAGMENT_SPREAD,i.xs.INLINE_FRAGMENT);if((0,a.M8)(e,n),t.kind===i.xs.VARIABLE_DEFINITION){const s={kind:i.xs.DIRECTIVE,location:[n.index,n.index],isConst:!0};t.directives?t.directives.push(s):t.directives=[s],e.push(s)}else{const s={kind:i.xs.DIRECTIVE,location:[n.index,n.index]};t.directives?t.directives.push(s):t.directives=[s],e.push(s)}}break;case i.Yp.NAME:(0,a.M8)(e,n),(0,a.j1)(e,i.xs.DIRECTIVE).name=(0,a.Oj)(n)}}function f(e,n){if(n.kind===i.Yp.NAME){const t=(0,a.I)(e,i.xs.SELECTION_SET);(0,a.M8)(e,n);const s={kind:i.xs.FIELD,location:[n.index,n.index],name:(0,a.Oj)(n)};t.selections.push(s),e.push(s)}}function v(e,n){switch(n.kind){case i.Yp.KEYWORD:if((0,a.M8)(e,n),"fragment"===n.value){const t=(0,a.j1)(e,i.xs.DOCUMENT),s={kind:i.xs.FRAGMENT_DEFINITION,location:[n.index,n.index]};t.definitions.push(s),e.push(s)}break;case i.Yp.NAME:(0,a.M8)(e,n),(0,a.j1)(e,i.xs.FRAGMENT_DEFINITION).name=(0,a.Oj)(n)}}function m(e,n){switch(n.kind){case i.Yp.SPREAD:{const t=(0,a.I)(e,i.xs.SELECTION_SET);(0,a.M8)(e,n);const s={kind:i.xs.FRAGMENT_SPREAD,location:[n.index,n.index]};t.selections.push(s),e.push(s)}break;case i.Yp.NAME:(0,a.M8)(e,n),(0,a.j1)(e,i.xs.FRAGMENT_SPREAD).name=(0,a.Oj)(n)}}function h(e,n){switch(n.kind){case i.Yp.SPREAD:{const t=(0,a.I)(e,i.xs.SELECTION_SET);(0,a.M8)(e,n);const s={kind:i.xs.INLINE_FRAGMENT,location:[n.index,n.index]};t.selections.push(s),e.push(s)}break;case i.Yp.KEYWORD:(0,a.M8)(e,n)}}function y(e,n){switch(n.kind){case i.Yp.BRACE_L:if(1===e.length){const t=(0,a.j1)(e,i.xs.DOCUMENT),s={kind:i.xs.OPERATION_DEFINITION,operationType:i.S5.QUERY,location:[n.index,n.index]};(0,a.M8)(e,n),t.definitions.push(s),e.push(s)}break;case i.Yp.KEYWORD:{const t=(0,a.j1)(e,i.xs.DOCUMENT);(0,a.M8)(e,n);const s={kind:i.xs.OPERATION_DEFINITION,operationType:n.value,location:[n.index,n.index]};t.definitions.push(s),e.push(s)}break;case i.Yp.NAME:(0,a.M8)(e,n),(0,a.j1)(e,i.xs.OPERATION_DEFINITION).name=(0,a.Oj)(n)}}function I(e,n){switch(n.kind){case i.Yp.BRACE_L:{const t={kind:i.xs.SELECTION_SET,location:[n.index,n.index],selections:[],closed:!1};let s=(0,a.I)(e,i.xs.OPERATION_DEFINITION,i.xs.FRAGMENT_DEFINITION,i.xs.INLINE_FRAGMENT,i.xs.FIELD);(0,a.M8)(e,n),s.selectionSet=t,e.push(t)}break;case i.Yp.BRACE_R:{const t=(0,a.Am)(e,i.xs.SELECTION_SET,i.xs.FRAGMENT_SPREAD,i.xs.INLINE_FRAGMENT,i.xs.FIELD);if((0,a.M8)(e,n),t.kind===i.xs.SELECTION_SET)e.splice(-1,1),(0,a.Nm)(t,n),t.closed=!0;else{const[,n]=e.splice(-2,2);n.closed=!0}}}}function E(e,n){switch(n.kind){case i.Yp.PAREN_L:{const t={kind:i.xs.VARIABLES_DEFINITION,location:[n.index,n.index],variableDefinitions:[],closed:!1},s=(0,a.j1)(e,i.xs.OPERATION_DEFINITION);(0,a.M8)(e,n),s.variablesDefinition=t,e.push(t)}break;case i.Yp.PAREN_R:{const t=(0,a.Am)(e,i.xs.VARIABLES_DEFINITION);(0,a.M8)(e,n),(0,a.Nm)(t,n),t.closed=!0}}}function g(e,n){n.kind===i.Yp.COLON&&(0,a.M8)(e,n)}function T(e,n){var t;switch(n.kind){case i.Yp.DOLLAR:{const t=(0,a.I)(e,i.xs.VARIABLES_DEFINITION,i.xs.ARGUMENT,i.xs.OBJECT_FIELD);switch((0,a.M8)(e,n),t.kind){case i.xs.VARIABLES_DEFINITION:{const s={kind:i.xs.VARIABLE_DEFINITION,location:[n.index,n.index],variable:{kind:i.xs.VARIABLE,location:[n.index,n.index]}};t.variableDefinitions.push(s),e.push(s)}break;case i.xs.ARGUMENT:case i.xs.OBJECT_FIELD:{const e={kind:i.xs.VARIABLE,location:[n.index,n.index]};t.value=e}}}break;case i.Yp.NAME:{const s=(0,a.j1)(e,i.xs.VARIABLE_DEFINITION,i.xs.ARGUMENT,i.xs.OBJECT_FIELD);switch((0,a.M8)(e,n),s.kind){case i.xs.VARIABLE_DEFINITION:(0,a.Nm)(s.variable,n),s.variable.name=(0,a.Oj)(n);break;case i.xs.ARGUMENT:case i.xs.OBJECT_FIELD:(null===(t=s.value)||void 0===t?void 0:t.kind)===i.xs.VARIABLE&&((0,a.Nm)(s.value,n),s.value.name=(0,a.Oj)(n))}}}}function b(e,n){n.kind===i.Yp.EQUALS&&(0,a.M8)(e,n)}function N(e,n){switch(n.kind){case i.Yp.BRACKET_L:{const t=(0,a.j1)(e,i.xs.VARIABLE_DEFINITION,i.xs.LIST_TYPE);switch((0,a.M8)(e,n),t.kind){case i.xs.VARIABLE_DEFINITION:{const s={kind:i.xs.LIST_TYPE,location:[n.index,n.index],closed:!1};t.type=s,e.push(s)}break;case i.xs.LIST_TYPE:{const s={kind:i.xs.LIST_TYPE,location:[n.index,n.index],closed:!1};t.type=s,e.push(s)}}}break;case i.Yp.BRACKET_R:{const t=(0,a.j1)(e,i.xs.LIST_TYPE,i.xs.NON_NULL_TYPE,i.xs.NAMED_TYPE);switch((0,a.M8)(e,n),t.kind){case i.xs.LIST_TYPE:t.closed=!0;break;case i.xs.NON_NULL_TYPE:case i.xs.NAMED_TYPE:(0,a.j1)(e,i.xs.LIST_TYPE).closed=!0}}}}function x(e,n){if(n.kind===i.Yp.BANG){const t=(0,a.Am)(e,i.xs.LIST_TYPE,i.xs.NAMED_TYPE),s={kind:i.xs.NON_NULL_TYPE,location:[t.location[0],n.index],type:t};(0,a.M8)(e,n),(0,a.j1)(e,i.xs.VARIABLE_DEFINITION,i.xs.LIST_TYPE).type=s}}function A(e,n){if(n.kind===i.Yp.NAME){const t=(0,a.j1)(e,i.xs.FRAGMENT_DEFINITION,i.xs.INLINE_FRAGMENT,i.xs.VARIABLE_DEFINITION,i.xs.LIST_TYPE),s={kind:i.xs.NAMED_TYPE,location:[n.index,n.index],name:(0,a.Oj)(n)};t.kind===i.xs.FRAGMENT_DEFINITION||t.kind===i.xs.INLINE_FRAGMENT?t.typeCondition=s:(t.type=s,e.push(s))}}function k(e,n){switch(n.kind){case i.Yp.PAREN_L:{const t=(0,a.j1)(e,i.xs.FIELD,i.xs.DIRECTIVE);if(t.kind===i.xs.DIRECTIVE&&"isConst"in t){const s={kind:i.xs.ARGUMENT_DICT,location:[n.index,n.index],isConst:!0,arguments:[],closed:!1};t.argumentDict=s,e.push(s)}else{const s={kind:i.xs.ARGUMENT_DICT,location:[n.index,n.index],arguments:[],closed:!1};t.argumentDict=s,e.push(s)}}break;case i.Yp.PAREN_R:{const t=(0,a.Am)(e,i.xs.ARGUMENT_DICT);(0,a.M8)(e,n),(0,a.Nm)(t,n),t.closed=!0}}}function S(e,n){switch(n.kind){case i.Yp.NAME:{const t=(0,a.I)(e,i.xs.ARGUMENT_DICT);if((0,a.M8)(e,n),"isConst"in t){const s={kind:i.xs.ARGUMENT,location:[n.index,n.index],isConst:!0,name:(0,a.Oj)(n)};t.arguments.push(s),e.push(s)}else{const s={kind:i.xs.ARGUMENT,location:[n.index,n.index],name:(0,a.Oj)(n)};t.arguments.push(s),e.push(s)}}break;case i.Yp.COLON:(0,a.M8)(e,n)}}function w(e,n){switch(n.kind){case i.Yp.BRACKET_L:{const t=(0,a.j1)(e,i.xs.VARIABLE_DEFINITION,i.xs.ARGUMENT,i.xs.OBJECT_FIELD);if((0,a.M8)(e,n),t.kind===i.xs.VARIABLE_DEFINITION){const s={kind:i.xs.LIST,location:[n.index,n.index],isConst:!0,values:[],closed:!1};t.defaultValue=s,e.push(s)}else{const s={kind:i.xs.LIST,location:[n.index,n.index],values:[],closed:!1};t.value=s,e.push(s)}}break;case i.Yp.BRACKET_R:(0,a.M8)(e,n),(0,a.Am)(e,i.xs.LIST).closed=!0}}function O(e,n){switch(n.kind){case i.Yp.BRACE_L:{const t=(0,a.j1)(e,i.xs.VARIABLE_DEFINITION,i.xs.ARGUMENT,i.xs.LIST,i.xs.OBJECT_FIELD);switch((0,a.M8)(e,n),t.kind){case i.xs.VARIABLE_DEFINITION:{const s={kind:i.xs.OBJECT,location:[n.index,n.index],isConst:!0,fields:[],closed:!1};t.defaultValue=s,e.push(s)}break;case i.xs.LIST:if("isConst"in t){const s={kind:i.xs.OBJECT,location:[n.index,n.index],isConst:!0,fields:[],closed:!1};t.values.push(s),e.push(s)}else{const s={kind:i.xs.OBJECT,location:[n.index,n.index],fields:[],closed:!1};t.values.push(s),e.push(s)}break;default:if("isConst"in t){const s={kind:i.xs.OBJECT,location:[n.index,n.index],isConst:!0,fields:[],closed:!1};t.value=s,e.push(s)}else{const s={kind:i.xs.OBJECT,location:[n.index,n.index],fields:[],closed:!1};t.value=s,e.push(s)}}break}case i.Yp.BRACE_R:{const t=(0,a.Am)(e,i.xs.OBJECT);(0,a.M8)(e,n),(0,a.Nm)(t,n),t.closed=!0}}}function R(e,n){switch(n.kind){case i.Yp.NAME:{const t=(0,a.j1)(e,i.xs.OBJECT);(0,a.M8)(e,n);const s={kind:i.xs.OBJECT_FIELD,location:[n.index,n.index],name:(0,a.Oj)(n)};t.fields.push(s),e.push(s)}break;case i.Yp.COLON:(0,a.M8)(e,n)}}function _(e,n){n.kind===i.Yp.BOOLEAN&&C(e,n,{kind:i.xs.BOOLEAN,location:[n.index,n.index],value:Boolean(n.value)})}function M(e,n){var t;n.kind===i.Yp.NAME&&C(e,n,{kind:i.xs.ENUM,location:[n.index,n.index],value:null!==(t=n.value)&&void 0!==t?t:""})}function D(e,n){n.kind===i.Yp.KEYWORD&&C(e,n,{kind:i.xs.NULL,location:[n.index,n.index]})}function L(e,n){var t;n.kind===i.Yp.NUMBER&&C(e,n,{kind:i.xs.NUMBER,location:[n.index,n.index],value:null!==(t=n.value)&&void 0!==t?t:"0"})}function F(e,n){if(n.kind===i.Yp.STRING){var t;const s=(0,a.j1)(e,i.xs.ARGUMENT,i.xs.LIST,i.xs.OBJECT_FIELD,i.xs.STRING);let o=null!==(t=n.value)&&void 0!==t?t:"";const r=s.kind===i.xs.STRING,c=/^""".*?"""$/gi.test(o),l=!r&&/^"""/gi.test(o),d=r&&/"""$/gi.test(o),u=!r&&!l,p=u&&/^".*?"$/gi.test(o)||c||d;if(u?o=p?o.slice(1,-1):o.slice(1):c?o=o.slice(0,-3):(l&&(o=o.slice(3)),d&&(o=o.slice(0,-3))),(0,a.M8)(e,n),r)s.value+="\n"+o,s.closed=p,p&&e.splice(-1,1);else{const t={kind:i.xs.STRING,location:[n.index,n.index],value:o,closed:p,block:l};switch(s.kind){case i.xs.VARIABLE_DEFINITION:s.defaultValue=t;break;case i.xs.LIST:s.values.push(t);break;default:s.value=t}l&&!p&&e.push(t)}}}function C(e,n,t){const s=(0,a.j1)(e,i.xs.VARIABLE_DEFINITION,i.xs.ARGUMENT,i.xs.LIST,i.xs.OBJECT_FIELD);switch((0,a.M8)(e,n),s.kind){case i.xs.VARIABLE_DEFINITION:s.defaultValue=t;break;case i.xs.LIST:s.values.push(t);break;default:s.value=t}}function P(e,n,t,s,o,r,c,l){switch(e){case"document":switch(n){case i.Yp.SOF:case i.Yp.EOF:return(0,a.Ey)(n,t,s,o,r,c,l);default:return(0,a.Ey)(i.Yp.INVALID,t,s,o,r,c,l)}case"punctuation":switch(n){case i.Yp.BANG:case i.Yp.BRACE_L:case i.Yp.BRACE_R:case i.Yp.BRACKET_L:case i.Yp.BRACKET_R:case i.Yp.COLON:case i.Yp.EQUALS:case i.Yp.PAREN_L:case i.Yp.PAREN_R:case i.Yp.SPREAD:return(0,a.Ey)(n,t,s,o,r,c,l);default:return(0,a.Ey)(i.Yp.INVALID,t,s,o,r,c,l)}case"attribute":case"atom":case"def":case"property":case"qualifier":case"string-2":return(0,a.zI)(i.Yp.NAME,n,t,s,o,r,c,l);case"builtin":return(0,a.zI)(i.Yp.BOOLEAN,n,t,s,o,r,c,l);case"keyword":return(0,a.zI)(i.Yp.KEYWORD,n,t,s,o,r,c,l);case"number":return(0,a.zI)(i.Yp.NUMBER,n,t,s,o,r,c,l);case"string":return(0,a.zI)(i.Yp.STRING,n,t,s,o,r,c,l);case"meta":case"variable":switch(n){case i.Yp.AT:case i.Yp.DOLLAR:return(0,a.Ey)(n,t,s,o,r,c,l);default:return(0,a.zI)(i.Yp.NAME,n,t,s,o,r,c,l)}default:return(0,a.Ey)(i.Yp.INVALID,t,s,o,r,c,l)}}t(54596),t(72790);var B=t(85890)},30628:(e,n,t)=>{"use strict";t.d(n,{Am:()=>d,Ey:()=>o,I:()=>l,Id:()=>f,M8:()=>u,Nm:()=>p,Oj:()=>s,Yi:()=>v,g$:()=>a,j1:()=>c,zI:()=>r});t(62316);var i=t(96243);function s(e){var n;return{kind:i.xs.NAME,location:[e.index,e.index],value:null!==(n=e.value)&&void 0!==n?n:""}}function o(e,n,t,i,s,o,r){return{kind:e,index:n,start:{line:t,column:i,position:o},end:{line:t,column:s,position:r}}}function r(e,n,t,i,s,o,r,a){return{kind:e,index:t,start:{line:i,column:s,position:r},end:{line:i,column:o,position:a},value:n}}function a(e,n){const t=e[n[0]],i=e[n[1]];return{start:t.start.position,startToken:t,end:i.end.position,endToken:i}}function c(e){let n,t=e.length-1;for(var i=arguments.length,s=new Array(i>1?i-1:0),o=1;o<i;o++)s[o-1]=arguments[o];for(;t>=0&&(n=e[t--]);){var r;if(s.includes(null===(r=n)||void 0===r?void 0:r.kind))return n}throw new Error('Ancestor for kind "'.concat(s,'" not found!'))}function l(e){let n;for(var t=arguments.length,i=new Array(t>1?t-1:0),s=1;s<t;s++)i[s-1]=arguments[s];for(;e.length>0&&(n=e[e.length-1]);){var o;if(i.includes(null===(o=n)||void 0===o?void 0:o.kind))return n;e.splice(-1,1)}throw new Error('Ancestor for kind "'.concat(i,'" not found!'))}function d(e){let n;for(var t=arguments.length,i=new Array(t>1?t-1:0),s=1;s<t;s++)i[s-1]=arguments[s];for(;e.length>0&&(n=e[e.length-1]);){var o;if(e.splice(-1,1),i.includes(null===(o=n)||void 0===o?void 0:o.kind))return n}throw new Error('Ancestor for kind "'.concat(i,'" not found!'))}function u(e,n){for(let t=0;t<e.length;t++)p(e[t],n)}function p(e,n){e.location[1]=n.index}function f(e,n){let t,s,o=!1,r=!0;return e.kind===i.xs.NON_NULL_TYPE?(r=!1,e.type.kind===i.xs.LIST_TYPE?(t=e.type.type,o=!0):t=e.type):e.kind===i.xs.LIST_TYPE?(t=e.type,o=!0):t=e,t?(s=t.kind===i.xs.LIST_TYPE||t.kind===i.xs.NON_NULL_TYPE?f(t,n):n(t.name.value),s&&{kind:"value-type",isList:o,isOptional:r,type:s}):null}function v(e){var n;const t=null===(n=e.match(/schema[\n\r\s]*{([^}]*)}/))||void 0===n?void 0:n[0];let i=null,s=null,o=null;const r=/scalar Upload[\n\r\s]*{/.test(e);if(t){const e=t.match(/query\s*:\s*(\w+)/);e&&(i=e[1]);const n=t.match(/mutation\s*:\s*(\w+)/);n&&(s=n[1]);const r=t.match(/subscription\s*:\s*(\w+)/);r&&(o=r[1])}else/type Query[\n\r\s]*{/.test(e)&&(i="Query"),/type Mutation[\n\r\s]*{/.test(e)&&(s="Mutation"),/type Subscription[\n\r\s]*{/.test(e)&&(o="Subscription");return{queryTypeName:i,mutationTypeName:s,subscriptionTypeName:o,hasUploadType:r}}},97353:(e,n,t)=>{"use strict";t.d(n,{CM:()=>i,IK:()=>c,TL:()=>d,Q8:()=>u});let i=function(e){return e.SCHEMA_FIELD="__schema",e.TYPENAME_FIELD="__typename",e.TYPE_FIELD="__type",e.TYPE_FIELDS_FIELD="fields",e.TYPE_INTERFACES_FIELD="interfaces",e.TYPE_POSSIBLE_TYPES_FIELD="possibleTypes",e.TYPE_INPUT_FIELDS_FIELD="inputFields",e}({});const s=":",o=".",r="(",a=")";function c(e,n,t){const i=e+o+n;return t?l(i,t):i}function l(e,n){return e+r+n+s+a}function d(e){let n="field"===e.kind?e.valueType:e;for(;"value-type"===n.kind;)n=n.type;return n}function u(e){return!!e&&("type"===e.kind||"query-type"===e.kind||"mutation-type"===e.kind||"subscription-type"===e.kind)}},77317:(e,n,t)=>{"use strict";function i(e,n){const t=e.directiveIsRepeatable?"\n isRepeatable":"",i=e.directiveLocations?"\n locations":"\n onField\n onFragment\n onOperation",s=e.inputValueDeprecation?{includeDeprecated:"(includeDeprecated: true)",isDeprecated:"\n isDeprecated",deprecationReason:"\n deprecationReason"}:{includeDeprecated:"",isDeprecated:"",deprecationReason:""},o=function(e){let n="";const t=e+1;for(let i=1;i<e;i++){const e=new Array(t-i).join(" ");n="\n".concat(e,"ofType {\n").concat(e," kind\n").concat(e," name").concat(n,"\n").concat(e,"}")}return n}((null===n||void 0===n?void 0:n.typeDepth)||6),r=e.oneOf?"\n oneOf":"",a=e.specifiedByUrl?"\n specifiedByURL":"",c=e.subscription?"\n subscriptionType {\n name\n }":"";return"query IntrospectionQuery {\n __schema {\n queryType {\n name\n }\n mutationType {\n name\n }".concat(c,"\n types {\n ...FullType\n }\n directives {\n name\n description").concat(t,"\n args").concat(s.includeDeprecated," {\n ...InputValue\n }").concat(i,"\n }\n }\n}\n\nfragment FullType on __Type {\n kind\n name\n description").concat(a).concat(r,"\n fields(includeDeprecated: true) {\n name\n description\n args").concat(s.includeDeprecated," {\n ...InputValue\n }\n type {\n ...TypeRef\n }\n isDeprecated\n deprecationReason\n }\n inputFields").concat(s.includeDeprecated," {\n ...InputValue\n }\n interfaces {\n ...TypeRef\n }\n enumValues(includeDeprecated: true) {\n name\n description\n isDeprecated\n deprecationReason\n }\n possibleTypes {\n ...TypeRef\n }\n}\n\nfragment InputValue on __InputValue {\n name\n description\n type {\n ...TypeRef\n }\n defaultValue").concat(s.isDeprecated).concat(s.deprecationReason,"\n}\n\nfragment TypeRef on __Type {\n kind\n name").concat(o,"\n}")}t.d(n,{I:()=>i})},26845:(e,n,t)=>{"use strict";t.d(n,{m:()=>h});t(75885);var i=t(67466),s=t(4473),o=t(68341),r=(t(36022),(0,o.A)("documentAST")),a=(0,o.A)("fragments"),c=(0,o.A)("fragmentSpreads"),l=(0,o.A)("error");class d{constructor(e){Object.defineProperty(this,r,{writable:!0,value:void 0}),Object.defineProperty(this,a,{writable:!0,value:void 0}),Object.defineProperty(this,c,{writable:!0,value:void 0}),Object.defineProperty(this,l,{writable:!0,value:void 0}),(0,s.A)(this,r)[r]=e}get documentAST(){return(0,s.A)(this,r)[r]}get error(){return(0,s.A)(this,l)[l]}set error(e){(0,s.A)(this,l)[l]=e}get hasError(){return!!(0,s.A)(this,l)[l]}getFragment(e){if(!(0,s.A)(this,a)[a]){(0,s.A)(this,a)[a]=new Map;for(const e of(0,s.A)(this,r)[r].definitions){var n;e.kind===i.xs.FRAGMENT_DEFINITION&&null!==(n=e.name)&&void 0!==n&&n.value&&(0,s.A)(this,a)[a].set(e.name.value,e)}}return(0,s.A)(this,a)[a].get(e)}getFragmentSpreads(e){(0,s.A)(this,c)[c]||((0,s.A)(this,c)[c]=new Map);let n=(0,s.A)(this,c)[c].get(e);if(void 0===n){n=[];const t=[e];let o;for(;o=t.pop();)for(const e of o.selections)e.kind===i.xs.FRAGMENT_SPREAD?n.push(e):e.selectionSet&&t.push(e.selectionSet);(0,s.A)(this,c)[c].set(e,n)}return n}}var u=t(97353);const p=2,f=[u.CM.TYPE_FIELDS_FIELD,u.CM.TYPE_INTERFACES_FIELD,u.CM.TYPE_POSSIBLE_TYPES_FIELD,u.CM.TYPE_INPUT_FIELDS_FIELD];function v(e,n){const t=(null===n||void 0===n?void 0:n.maxNestedListDepth)||p;return{Field(n){if(n.name&&(n.name.value===u.CM.SCHEMA_FIELD||n.name.value===u.CM.TYPE_FIELD)&&s(n))return e.error="Maximum introspection depth exceeded",i.sP}};function s(n){var o;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Object.create(null),a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(n.kind===i.xs.FRAGMENT_SPREAD){var c,l;const t=null!==(c=null===(l=n.name)||void 0===l?void 0:l.value)&&void 0!==c?c:"";if(!0===r[t])return!1;const i=e.getFragment(t);if(!i)return!1;try{return r[t]=!0,s(i,r,a)}finally{r[t]=void 0}}if(n.kind===i.xs.FIELD&&n.name&&f.includes(n.name.value)&&++a>t)return!0;if("selectionSet"in n&&null!==(o=n.selectionSet)&&void 0!==o&&o.selections)for(const e of n.selectionSet.selections)if(s(e,r,a))return!0;return!1}}t(45155),t(49997),t(57928),t(2813),t(32990),t(37669),t(35033);function m(e){const n=new Set,t=[],s=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition:e=>!!o(e)&&i.sP};function o(i){var r;const a=null===(r=i.name)||void 0===r?void 0:r.value;if(!a||!i.selectionSet||n.has(a))return!1;n.add(a);const c=e.getFragmentSpreads(i.selectionSet);if(null===c||void 0===c||!c.length)return!1;s[a]=t.length;for(const n of c){var l;const i=null===(l=n.name)||void 0===l?void 0:l.value;if(!i)continue;const r=s[i];if(t.push(n),void 0!==r){const n=t.slice(r).slice(0,-1).map((e=>{var n,t;return'"'.concat(null!==(n=null===(t=e.name)||void 0===t?void 0:t.value)&&void 0!==n?n:"",'"')})).join(", ");return e.error='Cannot spread fragment "'.concat(i,'" within itself')+(""!==n?" via ".concat(n,"."):"."),!0}{const n=e.getFragment(i);if(n&&o(n))return!0}t.pop()}return s[a]=void 0,!1}}function h(e){const n=[m,v],t=new d(e);for(const s of n)if((0,i.YR)(e,s(t)),t.error)return{success:!1,errorMessage:t.error};return{success:!0}}},15793:(e,n,t)=>{"use strict";t.d(n,{$b:()=>i,AO:()=>u,Ai:()=>o,NK:()=>m,Rx:()=>v,YQ:()=>a,im:()=>s,nH:()=>l,py:()=>p,yJ:()=>d,yY:()=>f,yi:()=>c,z5:()=>r});let i=function(e){return e[e.error=0]="error",e[e.warning=1]="warning",e[e.info=2]="info",e}({});const s="http-request",o="http-response",r="http-response-body-chunk",a="http-response-cancelled",c="http-response-failed",l="http-response-finished",d="scope-begin",u="scope-end",p="subscription-request-started",f="subscription-request-protocol",v="subscription-request-message",m="subscription-request-stopped"},51604:(e,n,t)=>{"use strict";var i=t(40409),s=t(47924),o=t(66094),r=t(77740),a=t(56242),c=t(90126);function l(e,n){let{id:t,payload:{documentId:i},type:l}=e;const d=new AbortController;(0,s.UT)({id:t,cancel:()=>d.abort(),execute:async()=>{const e=await(0,o.TES)(i,d.signal);let s={documentId:i,operations:[]};if(!e)return void n.sendMessage(new c.Q(l,s,t));const u=await(0,o.snc)(i,d.signal);if(!u)return void n.sendMessage(new c.Q(l,s,t));const p=(0,r.bF)(n,e);if(!p)return void n.sendMessage(new c.Q(l,{documentId:i,operations:[]},t));const f=(0,r.Bg)(p),v=await(0,a.bN)(u.sdlEndpoint||u.endpoint);let m;if(v){var h;const n=e.workspaceId?await(0,o._um)(e.workspaceId):void 0,t=(0,r.DM)(p,(e=>v.getType(e)),(e=>v.getFields(e)),n);m=null===(h=await(0,o.qhv)(i,t))||void 0===h?void 0:h.hash}n.sendMessage(new c.Q(l,{documentId:i,operations:f,variableJsonSchemaHash:m},t))}})}function d(e,n){let{id:t,payload:{documentId:i},type:a}=e;const l=new AbortController;(0,s.UT)({id:t,cancel:()=>l.abort(),execute:async()=>{const e=await(0,o.TES)(i,l.signal),s=(0,r.bF)(n,e);if(!s)return void n.sendMessage(new c.Q(a,{documentId:i,operations:[]},t));const d=(0,r.Bg)(s);n.sendMessage(new c.Q(a,{documentId:i,operations:d},t))}})}var u=t(28511);function p(e,n){let{id:t,payload:{documentId:i}}=e;(0,s.UT)({id:t,cancel:u.lQ,execute:async()=>{const e=await(0,o.TES)(i);let s={documentId:i};if(e&&e.workspaceId){const t=await(0,o.snc)(i);if(t){const c=(0,r.bF)(n,e),l=await(0,a.bN)(t.sdlEndpoint||t.endpoint);if(c&&l){const n=await(0,o._um)(e.workspaceId),t=(0,r.DM)(c,(e=>l.getType(e)),(e=>l.getFields(e)),n),a=await(0,o.qhv)(i,t);s={documentId:i,variableJsonSchemaHash:null===a||void 0===a?void 0:a.hash}}}}n.sendMessage(new c.Q("variable-json-schema-updated",s,t))}})}t(62316),t(5084),t(75885);var f=t(23845),v=t(69529),m=t(20278),h=t(34145),y=t(1103);const I="Invalid Schema Endpoint for more info double click on the failed Result.",E="Invalid HTTP Header for more info double click on the failed Result.";function g(e,n){let{payload:{documentId:t,workspaceId:i,environmentId:a,operationIndex:c=0}}=e;const l=new AbortController;(0,s.UT)({id:t,cancel:()=>l.abort(),execute:async()=>{var e;const s=await(0,o.TES)(t,l.signal);if(!s)return;const[d,p]=await Promise.all([(0,o.OfI)(t,l.signal),(0,o.WGI)(a)]),f=(0,o.PHK)(d,p);if(!f)return;let m;l.signal.addEventListener("abort",(function e(){var n;null===(n=m)||void 0===n||n.cancel(),l.signal.removeEventListener("abort",e)}));const h=(0,u.sX)(),y=(0,r.bF)(n,s,!0),I=(0,r.P6)(f),g=(0,r.rx)(n,s,a,c,p);if(!y||!g&&null!==(e=s.variables)&&void 0!==e&&e.length){if((0,r.Hn)(I)){const e=v.S5.QUERY;return(0,r.Dt)(n,t,{id:h,operationType:e,operationStatus:"failed",started:(0,u.tB)(),isMultipart:!1,parsedBody:{errors:[{message:E}]}}),(0,r.Ix)(n,t,h,e),void(0,r.Hc)(n,t,I,T(e),h)}m=b(n,i,h,s,v.S5.QUERY,void 0,c,g,f,I)}else{const[e,o]=(0,r.eu)(y,c),a=(0,v.mv)(y);if(a.success||(console.warn(a.errorMessage),(0,r.R4)(n,a.errorMessage,t)),(0,r.Hn)(I)){const i=e===v.S5.SUBSCRIPTION?{id:h,operationName:o,operationType:e,operationStatus:"failed",started:(0,u.tB)(),payload:{errors:[{message:E}]}}:{id:h,operationName:o,operationType:e,operationStatus:"failed",started:(0,u.tB)(),isMultipart:!1,parsedBody:{errors:[{message:E}]}};return(0,r.Dt)(n,t,i),(0,r.Ix)(n,t,h,e),void(0,r.Hc)(n,t,I,T(e,o),h)}const l=!0,[d,p]=a.success&&l?(0,r.I1)(y,s.body,c)(s,g):[s,g];if(e===v.S5.SUBSCRIPTION)m=N(n,i,h,d,e,o,c,p,f,I);else{var x;const t=a.success&&(f.endpoint.length||null!==(x=f.sdlEndpoint)&&void 0!==x&&x.length)?await(0,r.Q0)(i,y,f,o,p):void 0;m=b(n,i,h,d,e,o,c,p,f,I,t,l)}}l.signal.aborted||await m.execute()}})}function T(e,n){const t=n?'"'.concat(n,'" '):"",i=function(e){switch(e){case v.S5.MUTATION:return"Mutation";case v.S5.SUBSCRIPTION:return"Subscription";default:return"Query"}}(e);return"".concat(i," operation ").concat(t)}const b=function(e,n,t,i,s,o,a,c,l,d,p){let f=arguments.length>11&&void 0!==arguments[11]&&arguments[11];if(s===v.S5.SUBSCRIPTION)throw new Error("Subscription type is not allowed!");const m=new AbortController,{id:h,body:y}=i,E=()=>{(0,r.o8)(e,h,t,s)};return{cancel:async()=>m.abort(),execute:()=>new Promise((async i=>{if(null!==l&&void 0!==l&&l.endpoint.length){var v;const I=(0,u.tB)();(0,r.Ym)(e,h,t,s);const g={headers:null!==d&&void 0!==d?d:new Headers,uri:l.endpoint,useGET:l.useGet,includeCookies:l.includeCookies};let T=!1;const b=await(0,r.RK)(g,{operationName:f?void 0:o,query:y,variables:c,files:p},{onComplete:e=>{T||E(),i()},onError:(n,i)=>{T=!0,n instanceof r.S1?(0,r.Mv)(e,h,t,s):((0,r.f5)(e,h,t,{payload:n,success:!1,received:(0,u.tB)(),index:i}),(0,r.Ix)(e,h,t,s))},onNext:(n,i)=>{(0,r.f5)(e,h,t,{payload:n.content,success:!0,received:(0,u.tB)(),index:i})}},(0,r.Dx)(e,h,t,void 0,o),m.signal),{parsedBody:N,error:x}=b,A="ClientAbortError"===(null===x||void 0===x?void 0:x.name)?"cancelled":x||null!==N&&void 0!==N&&null!==(v=N.errors)&&void 0!==v&&v.length?"failed":"succeeded";switch(n&&(0,r.R7)(e,h,(0,u.lm)(),n,A,s,o,a),(0,r.Dt)(e,h,{id:t,operationName:o,operationStatus:A,operationType:s,started:I,...b}),A){case"cancelled":(0,r.Mv)(e,h,t,s),i();break;case"failed":(0,r.Ix)(e,h,t,s),i();break;default:b.isMultipart||(E(),i())}}else(0,r.Dt)(e,h,{id:t,operationName:o,operationType:s,operationStatus:"failed",started:(0,u.tB)(),isMultipart:!1,parsedBody:{errors:[{message:I}]}}),(0,r.Ix)(e,h,t,s),(0,r.vl)(e,h,T(s,o),t),i()}))}},N=(e,n,t,i,s,a,c,l,d,p)=>{if(s!==v.S5.SUBSCRIPTION)throw new Error("Only the Subscription type is allowed here!");const f=new AbortController,{id:m,body:h}=i;return{cancel:async()=>f.abort(),execute:async()=>{let i=!1;const v=function(e){if(e)return e.sseSubscriptionEndpoint||e.endpoint;return""}(d),y=function(e){if(e)return e.subscriptionEndpoint||e.endpoint.replace(/^http/i,"ws");return""}(d);if(v.length||y.length)return new Promise((async I=>{var E;const g=(0,u.lm)(),T=p?Object.fromEntries(p.entries()):{},b=null!==(E=d.subscriptionProtocol)&&void 0!==E?E:o.hPE,N=e=>e===o.PhU?v:y;(0,r.Ym)(e,m,t,s),(0,r.pm)(e,m,t,(0,u.tB)(),N(b),b,T);const A=o=>{if(i)return;i=!0;const l=function(e){if("type"in e)return["closed"===e.type&&"code"in e?{message:"Subscription closed",extensions:{code:e.code,reason:e.reason,wasClean:e.wasClean}}:{message:"Unknown subscription error"}];if((0,u.Rr)(e))return e.every((e=>"message"in e))?e.map((e=>{let{message:n}=e;return{message:n}})):e.length<=1?[{message:"Unknown subscription error"}]:[{message:"".concat(e.length," unknown subscription errors")}];return["message"in e?{message:e.message}:e]}(o);(0,r.VS)(e,m,t,(0,u.tB)(),"failed",l),(0,r.Dt)(e,m,{id:t,operationName:a,operationType:s,operationStatus:"failed",started:(0,u.tB)(),payload:{errors:l}}),n&&(0,r.R7)(e,m,g,n,"failed",s,a,c),(0,r.Ix)(e,m,t,s),I()},S=x[b](N,T,{onConnected:i=>{i?A(i):((0,r.Dt)(e,m,{id:t,operationName:a,operationType:s,operationStatus:"succeeded",started:(0,u.tB)()}),n&&(0,r.R7)(e,m,g,n,"succeeded",s,a,c))}});try{function O(){S.close(),(0,r.Mv)(e,m,t,s),(0,r.VS)(e,m,t,(0,u.tB)(),"closed"),f.signal.removeEventListener("abort",O),I()}const R=await S.execute({query:h,operationName:a,variables:l},(n=>(0,r.id)(e,m,t,(0,u.tB)(),"string"===typeof n?n:JSON.stringify(n))));S instanceof k&&S.protocol&&(0,r.xN)(e,m,t,S.protocol);let _=0;R.subscribe({next:n=>{var i;(0,r.VT)(e,m,t,{payload:n,received:(0,u.tB)(),success:!(null!==n&&void 0!==n&&null!==(i=n.errors)&&void 0!==i&&i.length),index:_++})},error:A,complete:()=>{(0,r.o8)(e,m,t,s),(0,r.VS)(e,m,t,(0,u.tB)(),"completed"),I()}}),f.signal.aborted?O():f.signal.addEventListener("abort",O)}catch(w){A(w)}}));(0,r.Dt)(e,m,{id:t,operationName:a,operationType:s,operationStatus:"failed",started:(0,u.tB)(),payload:{errors:[{message:I}]}}),(0,r.Ix)(e,m,t,s),(0,r.vl)(e,m,T(s,a),t)}}};const x={[o.jIU]:(e,n,t)=>new k(e,n,t),[o.Gkb]:(e,n,t)=>new w(e,n,t),[o.ppT]:(e,n,t)=>new S(e,n,t),[o.PhU]:(e,n,t)=>new O(e,n,t)};class A{constructor(e,n,t){this.resolveSubscriptionUrl=e,this.connectionParams=n,this.extraOptions=t}}class k extends A{constructor(){super(...arguments),this.provider=void 0,this.subscriptionProtocol=void 0}async execute(e,n){const t=this;if(!this.provider){const[e,n]=await new Promise((e=>{const n=t.resolveSubscriptionUrl(o.jIU);if(!n.length)return void e([new O(t.resolveSubscriptionUrl,t.connectionParams,t.extraOptions),o.PhU]);const i=new WebSocket(n,[o.Gkb,o.ppT]);i.onopen=function(){if(i.protocol===o.ppT)e([new S(t.resolveSubscriptionUrl,t.connectionParams,t.extraOptions),o.ppT]);else e([new w(t.resolveSubscriptionUrl,t.connectionParams,t.extraOptions),o.Gkb]);i.close()},i.onerror=function(n){e([new O(t.resolveSubscriptionUrl,t.connectionParams,t.extraOptions),o.PhU]),i.close()}}));this.provider=e,this.subscriptionProtocol=n}return this.provider.execute(e,n)}get protocol(){return this.subscriptionProtocol}close(){var e;null===(e=this.provider)||void 0===e||e.close()}}class S extends A{constructor(){super(...arguments),this.closeFunc=void 0,this.observable=void 0}createClient(e){var n;const t=new y.D(this.resolveSubscriptionUrl(o.ppT),{lazy:!1,reconnect:!1,connectionParams:this.connectionParams,connectionCallback:null===(n=this.extraOptions)||void 0===n?void 0:n.onConnected,onMessage:e});return this.closeFunc=()=>{t.close(!0)},t}execute(e,n){return this.observable||(this.observable=R((t=>{const i=this.createClient(n);return i.onError((e=>t.error(e))),i.request(e).subscribe(t).unsubscribe}))),Promise.resolve(this.observable)}close(){var e;null===(e=this.closeFunc)||void 0===e||e.call(this)}}class w extends A{constructor(){super(...arguments),this.closeFunc=void 0,this.observable=void 0}createClient(e){let n,t;const i=(0,h.UU)({url:this.resolveSubscriptionUrl(o.Gkb),lazy:!0,retryAttempts:0,keepAlive:f.iW,connectionParams:this.connectionParams,on:{connected:e=>{var t,i,s,o;e instanceof WebSocket?(n=e,null===(t=this.extraOptions)||void 0===t||null===(i=t.onConnected)||void 0===i||i.call(t)):null===(s=this.extraOptions)||void 0===s||null===(o=s.onConnected)||void 0===o||o.call(s,{message:"Unknown socket"})},error:e=>{var n,t;null===(n=this.extraOptions)||void 0===n||null===(t=n.onConnected)||void 0===t||t.call(n,e)},ping:e=>{e||(t=self.setTimeout((()=>{var e;(null===(e=n)||void 0===e?void 0:e.readyState)===WebSocket.OPEN&&n.close(4408,"Request Timeout")}),f.fc))},pong:e=>{e&&self.clearTimeout(t)},message:e}});return this.close=()=>{i.dispose()},i}execute(e,n){return this.observable||(this.observable=R((t=>this.createClient(n).subscribe(e,{next:function(){return t.next(...arguments)},error:e=>t.error(e),complete:()=>t.complete()})))),Promise.resolve(this.observable)}close(){var e;null===(e=this.closeFunc)||void 0===e||e.call(this)}}class O extends A{constructor(){super(...arguments),this.closeFunc=void 0,this.observable=void 0}createClient(e){var n,t;const i=(0,m.UU)({url:this.resolveSubscriptionUrl(o.PhU),retryAttempts:0,headers:{...this.connectionParams,"content-type":"application/json"},onMessage:e});return null===(n=this.extraOptions)||void 0===n||null===(t=n.onConnected)||void 0===t||t.call(n),this.close=()=>{i.dispose()},i}execute(e,n){return this.observable||(this.observable=R((t=>this.createClient(n).subscribe(e,{next:function(){return t.next(...arguments)},error:e=>t.error(e),complete:()=>t.complete()})))),Promise.resolve(this.observable)}close(){var e;null===(e=this.closeFunc)||void 0===e||e.call(this)}}function R(e){return{subscribe:e}}const _={endpoint:"",exists:!1,hash:"",indexed:!1,hasMutationType:!1,hasSubscriptionType:!1,hasUploadType:!1};function M(e,n){let{id:t,type:i,payload:{documentId:a,environmentId:l}}=e;const d=new AbortController;(0,s.UT)({id:t,cancel:()=>d.abort(),execute:async()=>{var e;const s=await(0,o.Sjm)(a,l,d.signal);if((null===s||void 0===s||!s.endpoint.length)&&(null===s||void 0===s||null===(e=s.sdlEndpoint)||void 0===e||!e.length))return void n.sendMessage(new c.Q(i,_,t));const u=(0,r.P6)(s,(e=>{let{name:n}=e;return!f.HO.test(n)}));if((0,r.Hn)(u))return n.sendMessage(new c.Q(i,_,t)),void(0,r.Hc)(n,a,u,"Introspection Query");const p=await async function(e){const n=await(0,r._w)(e);if(n)return{endpoint:n.endpoint,exists:!0,updatedAt:n.updatedAt,hash:n.hash,indexed:n.indexed,hasMutationType:!!n.mutationTypeName,hasSubscriptionType:!!n.subscriptionTypeName,hasUploadType:n.hasUploadType};return}(s);n.sendMessage(new c.Q(i,null!==p&&void 0!==p?p:_,t))}})}t(45155),t(49997),t(57928),t(2813),t(32990),t(37669),t(35033);var D=t(80122),L=t(48517);const F=new Set;function C(e,n){let{id:t,type:i,payload:{documentId:a,environmentId:l}}=e;const d=new AbortController;(0,s.UT)({id:t,cancel:()=>d.abort(),execute:async()=>{if(F.has(a))throw new r.zX("The schema fetch task cannot be executed concurrently on the same document","MULTIPLE_SCHEMA_FETCHES_DETECTED");try{var e;F.add(a);const s=await(0,o.Sjm)(a,l,d.signal);if((null===s||void 0===s||!s.endpoint.length)&&(null===s||void 0===s||null===(e=s.sdlEndpoint)||void 0===e||!e.length))return void n.sendMessage(new c.Q(i,_,t));const p=(0,r.P6)(s,(e=>{let{name:n}=e;return!f.HO.test(n)}));if((0,r.Hn)(p))return n.sendMessage(new c.Q(i,_,t)),void(0,r.Hc)(n,a,p,"Introspection Query");const v={headers:p,uri:s.endpoint,useGET:s.useGet,includeCookies:s.includeCookies},m=s.sdlEndpoint?await async function(e,n,t,i){const s=await(0,r.DA)(e,n,t.uri,t,i);if("string"===typeof s){const e=await(0,r.gP)(t.uri,s);return{endpoint:e.endpoint,exists:!0,hash:e.hash,indexed:e.indexed,hasMutationType:!!e.mutationTypeName,hasSubscriptionType:!!e.subscriptionTypeName,hasUploadType:e.hasUploadType}}throw new r.zX("Loading schema failed.","SCHEMA_FETCHING_FAILED")}(n,a,{...v,uri:s.sdlEndpoint,useGET:!0},d.signal):await async function(e,n,t,i){const s=(0,u.ax)(),o=t.useGET?"GET":"POST";(0,r.EE)(e,n,s,(0,u.tB)(),"Introspection",{uri:t.uri,kind:"introspection",method:o});let a;try{const o=await(0,r.rI)(t,((t,i)=>(0,r.Dx)(e,n,t,s,i)),i);if(o instanceof D.V4){const e=await(0,r.gP)(t.uri,(0,L.rK)(o));return{endpoint:e.endpoint,exists:!0,updatedAt:e.updatedAt,hash:e.hash,indexed:e.indexed,hasMutationType:!!e.mutationTypeName,hasSubscriptionType:!!e.subscriptionTypeName,hasUploadType:e.hasUploadType}}a={itemId:n,scopeId:s}}finally{(0,r.CV)(e,n,s,(0,u.tB)())}throw new r.zX("Loading schema failed.","SCHEMA_FETCHING_FAILED",a)}(n,a,v,d.signal);n.sendMessage(new c.Q(i,m,t))}finally{F.delete(a)}}})}function P(e,n){let{id:t,payload:{schemaEndpoint:i,typeName:o,options:r},type:l}=e;(0,s.UT)({id:t,cancel:u.lQ,execute:async()=>{var e;const s=null===(e=await(0,a.bN)(i))||void 0===e?void 0:e.getFields(o,r);n.sendMessage(new c.Q(l,s,t))}})}function B(e,n){let{id:t,payload:{schemaEndpoint:i,category:o,filter:a},type:l}=e;(0,s.UT)({id:t,cancel:u.lQ,execute:async()=>{const e=await(0,r.IJ)(i,o,a);n.sendMessage(new c.Q(l,e,t))}})}function Y(e,n){let{id:t,payload:{schemaEndpoint:i,filter:o},type:a}=e;(0,s.UT)({id:t,cancel:u.lQ,execute:async()=>{const e=await(0,r.RU)(i,o);n.sendMessage(new c.Q(a,e,t))}})}function U(e,n){let{id:t,payload:{schemaEndpoint:i,filter:o},type:a}=e;(0,s.UT)({id:t,cancel:u.lQ,execute:async()=>{const e=await(0,r.me)(i,o);n.sendMessage(new c.Q(a,e,t))}})}function j(e,n){let{id:t,payload:{schemaEndpoint:i,typeName:o},type:r}=e;(0,s.UT)({id:t,cancel:u.lQ,execute:async()=>{var e,s;const l=null!==(e=null===(s=await(0,a.bN)(i))||void 0===s?void 0:s.getType(o))&&void 0!==e?e:void 0;n.sendMessage(new c.Q(r,l,t))}})}function V(e,n){let{id:t,payload:{schemaEndpoint:i,filter:o},type:r}=e;(0,s.UT)({id:t,cancel:u.lQ,execute:async()=>{var e;const s=null===(e=await(0,a.bN)(i))||void 0===e?void 0:e.getTypes(o);n.sendMessage(new c.Q(r,s,t))}})}class Q extends i.H{registerMessageReceiveHandlers(){this.registerReceiveMessageHandler("fetch-schema",C),this.registerReceiveMessageHandler("get-cached-schema",M),this.registerReceiveMessageHandler("fetch-fields",P),this.registerReceiveMessageHandler("fetch-items-by-category",B),this.registerReceiveMessageHandler("fetch-schema-reference",Y),this.registerReceiveMessageHandler("fetch-schema-root-types",U),this.registerReceiveMessageHandler("fetch-type",j),this.registerReceiveMessageHandler("fetch-types",V),this.registerReceiveMessageHandler("analyze-document",l),this.registerReceiveMessageHandler("analyze-document-operations",d),this.registerReceiveMessageHandler("cancel-request",(e=>(0,s.yX)(e.payload.documentId))),this.registerReceiveMessageHandler("files-updated",p),this.registerReceiveMessageHandler("execute-operation",g)}}new Q},53543:(e,n,t)=>{"use strict";t.d(n,{Bg:()=>a,I1:()=>l,bF:()=>r,eu:()=>c});t(36022),t(5084),t(75885);var i=t(69529),s=t(29232);let o;function r(e,n,t){var r;if(n)return o&&o.id===n.id&&o.hash===n.hash||(o=function(e,n,t,o,r){if(t.trim().length>0)try{return{id:n,hash:o,document:(0,i.FG)(t)}}catch(a){return void(r&&(0,s.R4)(e,"The Document couldn't be parsed. Please go to the Operations Editor and fix syntax issues.",n,{...a}))}return}(e,n.id,n.body,n.hash,t)),null===(r=o)||void 0===r?void 0:r.document;o=void 0}function a(e){const n=[];return e&&e.definitions.forEach((t=>{var s;(0,i.tB)(t)&&n.push({name:null===(s=t.name)||void 0===s?void 0:s.value,type:t.operationType,location:(0,i.g$)(e.tokens,t.location)})})),n}function c(e,n){var t,s;const o=e.definitions.filter(i.tB)[null!==n&&void 0!==n?n:0];return[null!==(t=null===o||void 0===o?void 0:o.operationType)&&void 0!==t?t:i.S5.QUERY,null===o||void 0===o||null===(s=o.name)||void 0===s?void 0:s.value]}function l(e,n,t){let s=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const{tokens:o}=e,r=[],a=[],c=n=>{r.push(n),(0,i.YR)(n,{VariableDefinition(e){(0,i.YR)(e,{Variable(e){var n,t;a.push(null!==(n=null===(t=e.name)||void 0===t?void 0:t.value)&&void 0!==n?n:"")}})},FragmentSpread(n){var t,s;const o=null!==(t=null===(s=n.name)||void 0===s?void 0:s.value)&&void 0!==t?t:"";(0,i.YR)(e,{FragmentDefinition(e){var n;if((null===(n=e.name)||void 0===n?void 0:n.value)===o)return c(e),i.sP}})}})};let l=0;function d(){let t=s?"":n.split("\n").map((e=>" ".repeat(e.length))).join("\n");const a=e=>{const{start:r,end:a}=(0,i.g$)(o,e.location);t=s?t.concat(t?"\n\n":"",n.substring(r,a)):t.substring(0,r).concat(n.substring(r,a),t.substring(a))};return(0,i.YR)({kind:i.xs.DOCUMENT,definitions:r,location:e.location,tokens:[]},{FragmentDefinition:{enter:a},OperationDefinition:{enter:a}}),t=t.replace(/[ \t]+$/gm,""),t}(0,i.YR)(e,{OperationDefinition(e){if(l===t)return c(e),i.sP;l+=1}});const u=e=>({...e,body:d()}),p=e=>{if(e&&a.length){const n=Object.entries(e).filter((e=>{let[n]=e;return a.includes(n)}));if(n.length)return Object.fromEntries(n)}};return(e,n)=>[u(e),p(n)]}},67889:(e,n,t)=>{"use strict";t.d(n,{DA:()=>E,Dx:()=>C,Hn:()=>T,P6:()=>b,RK:()=>I,rI:()=>g});t(62316),t(93967),t(36022),t(86737),t(54913),t(75885);var i=t(23845),s=t(66094),o=t(77317),r=t(28511),a=t(70807),c=t(79661),l=t(41192),d=t(5355),u=t.n(d),p=t(84165),f=t(29232);const v=(0,a.y)({kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"IntrospectionQuery"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__type"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"StringValue",value:"__Directive",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fields"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:104,source:{body:'query IntrospectionQuery {\n __type(name: "__Directive") {\n name\n fields {\n name\n }\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}}}}),m=(0,a.y)({kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"IntrospectionQuery"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__type"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"StringValue",value:"__InputValue",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"fields"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:96,source:{body:'query IntrospectionQuery {\n __type(name: "__InputValue") {\n fields {\n name\n }\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}}}}),h=(0,a.y)({kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"IntrospectionQuery"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__type"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"StringValue",value:"__Schema",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fields"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:101,source:{body:'query IntrospectionQuery {\n __type(name: "__Schema") {\n name\n fields {\n name\n }\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}}}}),y=(0,a.y)({kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"IntrospectionQuery"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__type"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"StringValue",value:"__Type",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fields"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:99,source:{body:'query IntrospectionQuery {\n __type(name: "__Type") {\n name\n fields {\n name\n }\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}}}});function I(e,n,t,i,s){return S(e,n,t,i,s).then((async e=>{let{response:n}=e;const{isMultipart:t,responseOrError:i}=n;if(!(i instanceof Response))return{isMultipart:t,error:i};if(t)return{isMultipart:t,parsedBody:{}};const{operationResult:s,error:o}=await _(i,!1);return o?{isMultipart:t,error:o}:{isMultipart:t,parsedBody:s}}))}async function E(e,n,t,s,o){const a=C(e,n,(0,r.r_)(),void 0,"SDL Schema Fetch"),c=s.includeCookies?"include":"same-origin",l=new Headers(s.headers),d={cache:"no-cache",credentials:c,headers:l,method:"GET",referrerPolicy:i._w?"no-referrer":"strict-origin-when-cross-origin",signal:o};s.disableCors&&(d.mode="no-cors"),l.append("User-Agent",navigator.userAgent),null===a||void 0===a||a.requestInterceptor(t,"GET",l);const u=await fetch(t,d).then((e=>{var n;return null!==(n=null===a||void 0===a?void 0:a.responseInterceptor(e))&&void 0!==n?n:e})).catch(R).then((e=>{var n;return null!==(n=null===a||void 0===a?void 0:a.responseErrorInterceptor(e))&&void 0!==n?n:e}));return u instanceof Response?await u.text():u}async function g(e,n,t){const[i,s,a,l]=await Promise.all([A(e,n,t),N(e,n,t),x(e,n,t),k(e,n,t)]);if("name"in i)return i;if(i.error)return i.error;if("name"in s)return s;if(s.error)return s.error;if("name"in a)return a;if(a.error)return a.error;if("name"in l)return l;if(l.error)return l.error;const d=function(e){let{schema:n,directive:t,inputValue:i,type:s}=e;return{directiveIsRepeatable:t.fields.some((e=>"isRepeatable"===e.name)),directiveLocations:t.fields.some((e=>"locations"===e.name)),inputValueDeprecation:i.fields.some((e=>"isDeprecated"===e.name)),oneOf:s.fields.some((e=>"oneOf"===e.name)),specifiedByUrl:s.fields.some((e=>"specifiedByURL"===e.name)),subscription:n.fields.some((e=>"subscriptionType"===e.name))}}({schema:i.operationResult.data.__type,directive:s.operationResult.data.__type,inputValue:a.operationResult.data.__type,type:l.operationResult.data.__type}),u=await async function(e,n,t,i){const s=(0,o.I)(n),a=await S(e,{query:s,operationName:"IntrospectionQuery"},void 0,t((0,r.r_)(),"Introspection"),i),{responseOrError:c}=a.response;if(!(c instanceof Response))return c;const l=await _(c,!0);if(l.error)return l.error;return l.operationResult.data}(e,d,n,t);return"__schema"in u?(0,c.D)(u):u}function T(e){return"kind"in e}function b(e,n){var t;const s=null===(t=e.authentication)||void 0===t?void 0:t.headerValue,o=new Headers;if(o.append(i.QB,navigator.userAgent),s&&o.set(i.qB,s),!e.headers)return o;for(const a of e.headers){if(!a.enabled||n&&!n(a)||a.name===i.QB)continue;const{name:e,value:t}=a;if(!e.length)return{kind:"empty-name",name:e};if(!(0,r.D_)(e))return{kind:"invalid-name",name:e};e===i.qB&&s||o.append(e,t)}return o}async function N(e,n,t){const{response:{responseOrError:i}}=await S(e,{query:v,operationName:"IntrospectionQuery"},void 0,n((0,r.r_)(),"Detect Directive Capabilities"),t);return i instanceof Response?_(i,!0):i}async function x(e,n,t){const{response:{responseOrError:i}}=await S(e,{query:m,operationName:"IntrospectionQuery"},void 0,n((0,r.r_)(),"Detect InputValue Capabilities"),t);return i instanceof Response?_(i,!0):i}async function A(e,n,t){const{response:{responseOrError:i}}=await S(e,{query:h,operationName:"IntrospectionQuery"},void 0,n((0,r.r_)(),"Detect Schema Capabilities"),t);return i instanceof Response?_(i,!0):i}async function k(e,n,t){const{response:{responseOrError:i}}=await S(e,{query:y,operationName:"IntrospectionQuery"},void 0,n((0,r.r_)(),"Detect Type Capabilities"),t);return i instanceof Response?_(i,!0):i}async function S(e,n,t,o,a){const c=e.includeCookies?"include":"same-origin",{extensions:d,operationName:f,query:v,variables:m,files:h}=n,y={cache:"no-cache",credentials:c,referrerPolicy:i._w?"no-referrer":"strict-origin-when-cross-origin"},I=new Headers(e.headers);let E,g,T;if(e.disableCors&&(y.mode="no-cors"),e.useGET){const t="GET";g={...y,method:t,headers:I},T=function(e,n){let{query:t,operationName:i,variables:s,extensions:o}=n;const r=[],a=(e,n)=>{r.push("".concat(e,"=").concat(encodeURIComponent(n)))};t&&a("query",t);i&&a("operationName",i);s&&a("variables",JSON.stringify(s));o&&a("extensions",JSON.stringify(o));let c="",l=e;const d=e.indexOf("#");-1!==d&&(c=e.substr(d),l=e.substr(0,d));const u=-1===l.indexOf("?")?"?":"&";return l+u+r.join("&")+c}(e.uri,n),null===o||void 0===o||o.requestInterceptor(T,t,I),E=async e=>w(T,t,e,U(I),g.credentials,g.referrerPolicy)}else{const n={extensions:d,operationName:f,query:v,variables:m};let t;if(m&&null!==h&&void 0!==h&&h.length){const e=(0,r.Go)(m),i=new FormData,o=h.flatMap((e=>{let{variableName:n,fieldPath:t,fileOrFiles:i}=e;return Array.isArray(i)?i.map(((e,i)=>({variableName:n,fieldPath:t,file:e,index:i}))):[{variableName:n,fieldPath:t,file:i}]}));o.forEach((n=>{let{variableName:t,fieldPath:i,index:s}=n;if(null!==i&&void 0!==i&&i.length){let n=e[t];const r=i.length-1;for(var o=0;o<i.length;o++)o===r?void 0===s?n[i[o]]=null:n[i[o]][s]=null:n=n[i[o]]}else void 0===s?e[t]=null:e[t][s]=null})),n.variables=e,i.append("operations",JSON.stringify(n));const a=o.reduce(((e,n,t)=>{let{variableName:i,fieldPath:s,index:o}=n;return{...e,[t]:["variables.".concat(i).concat(null!==s&&void 0!==s&&s.length?"."+(null===s||void 0===s?void 0:s.join(".")):"").concat(void 0===o?"":"."+o)]}}),{});i.append("map",JSON.stringify(a));const c=(await(0,s.FH2)((0,r.dM)(o.map((e=>{let{file:{id:n}}=e;return n}))))).reduce(((e,n)=>({...e,[n.itemId]:n.content})),{});o.forEach(((e,n)=>{let{file:{id:t}}=e;i.append("".concat(n),c[t])})),t=i}else I.append(i.VX,"application/json"),t=JSON.stringify(n);const a="POST";g={...y,method:a,headers:I,body:t},T=e.uri,null===o||void 0===o||o.requestInterceptor(T,a,I,t),E=async e=>w(T,a,e,U(I),g.credentials,g.referrerPolicy,n)}return await fetch(T,{...g,signal:a}).then((e=>{var n;return null!==(n=null===o||void 0===o?void 0:o.responseInterceptor(e))&&void 0!==n?n:e})).catch(R).then((e=>{var n;return null!==(n=null===o||void 0===o?void 0:o.responseErrorInterceptor(e))&&void 0!==n?n:e})).then((e=>async function(e,n){let t=!1;if(e instanceof Response&&e.ok&&!e.bodyUsed&&e.headers&&n){const i=await(0,l.z)(e);if((0,r.Td)(i)){const s=async()=>{let t=0;try{for await(const e of i){if(!e.json){const i=M(new Error("The multipart body could not be converted into JSON."),e.body);n.onError(i,t);break}if("data"in e.body&&n.onNext({content:e.body,headers:e.headers},t++),"incremental"in e.body)for(const i of e.body.incremental)if("data"in i)n.onNext({content:{...i,hasNext:e.body.hasNext},headers:e.headers},t++);else if(i.items){const s=i.path.slice(0,-1);let o=i.path.at(-1);for(const r of i.items)n.onNext({content:{...i,path:s.concat(o++),data:r,hasNext:e.body.hasNext},headers:e.headers},t++)}else n.onNext({content:{...i,data:i.items,hasNext:e.body.hasNext},headers:e.headers},t++)}}catch(s){(0,r.zf)(s)?n.onError(new p.S1,t):n.onError(F(e,s,""),t)}n.onComplete(t)};t=!0,u()(s)}}return{isMultipart:t,responseOrError:e}}(e,t))).then((e=>E(e)))}function w(e,n,t,i,s,o,r){return{request:{uri:e,cache:"no-cache",credentials:s,headers:i,method:n,referrerPolicy:o,body:r},response:t}}const O="Server Not Reachable";function R(e){return(0,r.zf)(e)?new p.S1:e instanceof TypeError?L(O,e.message):L(O)}function _(e,n){return e.text().then((t=>{try{const i=JSON.parse(t);if("object"===typeof i&&(n&&i.data||!n&&(i.data||i.errors)))return{operationResult:i,contentLength:t.length};return{error:D(e,t,"Response not successful: Received status code ".concat(e.status)),contentLength:t.length}}catch(i){return{error:F(e,i,t),contentLength:t.length}}}))}function M(e,n){return{...e,name:p.u0,body:n}}function D(e,n,t){let{status:i,statusText:s}=e;return{message:t,name:p.je,statusCode:i,statusText:s,bodyText:n}}function L(e,n){return{message:e,name:p.sf,statusText:n}}function F(e,n,t){let{status:i,statusText:s}=e;return{...n,name:p.xl,statusCode:i,statusText:s,bodyText:t}}function C(e,n,t,i,s){return{requestInterceptor:P(e,n,t,i,s),responseInterceptor:B(e,n,t,i),responseErrorInterceptor:Y(e,n,t,i)}}function P(e,n,t,i,s){return(o,a,c,l,d,u)=>{const p=(0,r.tB)(),v=U(c),m=function(e){if(!e||"string"===typeof e)return e;const n={};for(const[t,i]of e.entries()){const e=i.valueOf();n[t]="string"===typeof e?e:"File Data omitted"}return JSON.stringify(n,void 0,2)}(l);(0,f.Gy)(e,n,t,i,p,o,a,v,m,d,u,s)}}function B(e,n,t,i){return s=>{const o=(0,r.tB)(),{status:a,statusText:c}=s,l=U(s.headers);(0,f.C0)(e,n,t,i,o,a,c,l);const d=s.clone();return new Promise((async o=>{let a=0;try{var c;const o=null===(c=d.body)||void 0===c?void 0:c.getReader();if(o)try{const c=new TextDecoder;let l,d=0;for(;!(l=await o.read()).done;){const s=(0,r.tB)(),o=c.decode(l.value);a+=o.length,(0,f.NS)(e,n,t,i,s,o,d++)}s.status>299?(0,f.Fw)(e,n,t,i,(0,r.tB)(),D(s,"",""),a):(0,f.wm)(e,n,t,i,(0,r.tB)(),a)}finally{await o.cancel()}}catch(l){l instanceof p.S1?(0,f.L4)(e,n,t,i,(0,r.tB)(),l,a):(0,f.Fw)(e,n,t,i,(0,r.tB)(),D(s,"",""),a)}finally{o()}})),s}}function Y(e,n,t,i){return s=>{if(s instanceof Response)return s;const o=(0,r.tB)();return s instanceof p.S1?((0,f.L4)(e,n,t,i,o,s,0),s):((0,f.Fw)(e,n,t,i,o,s,0),s)}}function U(e){let n={};return e.forEach(((e,t)=>{n=n[t]?Array.isArray(n[t])?{...n,[t]:[...n[t],e]}:{...n,[t]:[n[t],e]}:{...n,[t]:e}})),n}},25119:(e,n,t)=>{"use strict";t.d(n,{Q:()=>c});t(36022),t(75885);var i=t(66094),s=t(67466),o=t(97353),r=t(28511),a=t(56242);function c(e,n,t,o,r){return(0,a.bN)(t.sdlEndpoint||t.endpoint).then((a=>!t.useGet&&n&&a&&e?async function(e,n,t,i,o){let r=[];try{for(const f of e.definitions){var a;if(f.kind===s.xs.OPERATION_DEFINITION&&(null===(a=f.name)||void 0===a?void 0:a.value)===n){var c;if(null===(c=f.variablesDefinition)||void 0===c||!c.variableDefinitions.length)return r;for(const e of f.variablesDefinition.variableDefinitions){var d,u;const n=p(e.type),s=i.getType(n),a=null!==(d=null===(u=e.variable.name)||void 0===u?void 0:u.value)&&void 0!==d?d:"",c=await l(a,null===t||void 0===t?void 0:t[a],s,o,i);c.length&&(r=[...r,...c])}}}}catch(f){console.error(f)}return r}(n,o,r,a,(function(){for(var n=arguments.length,t=new Array(n),s=0;s<n;s++)t[s]=arguments[s];return(0,i.Ac)(e,...t)})):Promise.resolve(void 0)))}async function l(e,n,t,i,s){if(!n)return[];if("object"===typeof n){const o=[],a=[[[],n]];let c;for(;void 0!==(c=a.shift());){const[n,l]=c;if(l)if((0,r.Rr)(l))for(let e=0;e<l.length;e++)a.push([[...n,e],l[e]]);else if("object"!==typeof l||Array.isArray(l)){if(("string"===typeof l||(0,r.Bo)(l))&&u(t,s,n)){const t=await d(l,n,i);t&&o.push({variableName:e,fieldPath:n,fileOrFiles:t})}}else for(const e of Object.keys(l))a.push([[...n,e],l[e]])}return o}if(("string"===typeof n||(0,r.Bo)(n))&&u(t,s)){const t=await d(n,void 0,i);if(t)return[{variableName:e,fileOrFiles:t}]}return[]}function d(e,n,t){if(!e)return Promise.resolve(void 0);if(null!==n&&void 0!==n&&n.length&&"object"===typeof e&&!Array.isArray(e)){let i=0,s=e;for(;i<n.length&&void 0!==s&&"object"===typeof s&&!Array.isArray(s);){s=s[n[i++]]}if("string"===typeof s)return t(s).then((e=>null===e||void 0===e?void 0:e[0]));if((0,r.Bo)(s))return t(...s)}else{if("string"===typeof e)return t(e).then((e=>null===e||void 0===e?void 0:e[0]));if((0,r.Bo)(e))return t(...e)}return Promise.resolve(void 0)}function u(e,n,t){if(!e)return!1;if(null!==t&&void 0!==t&&t.length&&"input-object"===e.typeKind){const i=t.filter((e=>"string"===typeof e));let s,r=(0,o.TL)(e);for(const e of i){const t=(0,o.IK)(r.name,e);if(!(s=n.getField(t)))return!1;r=(0,o.TL)(s.valueType)}return"scalar"===r.typeKind&&"Upload"===r.name}return"scalar"===e.typeKind&&"Upload"===e.name}function p(e){if(!e)return"UnknownType";let n=e;for(;n.kind!==s.xs.NAMED_TYPE;){if(!n.type)return"UnknownType";n=n.type}return n.name.value}},84165:(e,n,t)=>{"use strict";t.d(n,{S1:()=>i,je:()=>o,sf:()=>r,u0:()=>s,xl:()=>a});t(62316);class i extends Error{constructor(){super("Request has been cancelled by the user."),this.name="ClientAbortError"}serialize(){return{name:this.name,message:this.message}}}const s="MultipartError",o="ServerError",r="ServerNetworkError",a="ServerParseError"},77740:(e,n,t)=>{"use strict";t.d(n,{Bg:()=>i.Bg,CN:()=>a.CN,CV:()=>a.CV,DA:()=>s.DA,DM:()=>l.D,Dt:()=>a.Dt,Dx:()=>s.Dx,EE:()=>a.EE,Hc:()=>a.Hc,Hn:()=>s.Hn,I1:()=>i.I1,IJ:()=>c.IJ,Ix:()=>a.Ix,Mv:()=>a.Mv,P6:()=>s.P6,Q0:()=>o.Q,R4:()=>a.R4,R7:()=>a.R7,RK:()=>s.RK,RU:()=>c.RU,S1:()=>r.S1,VS:()=>a.me,VT:()=>a.VT,Ym:()=>a.Ym,_w:()=>c._w,bF:()=>i.bF,cN:()=>a.cN,eu:()=>i.eu,f5:()=>a.f5,gP:()=>c.gP,id:()=>a.id,me:()=>c.me,o8:()=>a.o8,pm:()=>a.IJ,rI:()=>s.rI,rx:()=>l.r,vl:()=>a.vl,xN:()=>a.xN,zX:()=>a.zX});t(49117);var i=t(53543),s=t(67889),o=t(25119),r=t(84165),a=t(29232),c=t(57745),l=t(14881)},29232:(e,n,t)=>{"use strict";t.d(n,{C0:()=>k,CN:()=>Y,CV:()=>L,Dt:()=>m,EE:()=>D,Fw:()=>O,Gy:()=>A,Hc:()=>M,IJ:()=>F,Ix:()=>u,L4:()=>w,Mv:()=>d,NS:()=>S,R4:()=>x,R7:()=>T,SA:()=>G,VT:()=>y,Ym:()=>p,cN:()=>V,f5:()=>E,id:()=>P,me:()=>B,n4:()=>N,o8:()=>f,vl:()=>_,wm:()=>R,xN:()=>C,yX:()=>U,zX:()=>Q});t(62316);var i=t(15793),s=t(90126);const o="cancelled",r="failed",a="started",c="succeeded",l="operation-request-status";function d(e,n,t,i){e.sendMessage(new s.Q(l,{documentId:n,requestId:t,kind:o,operationType:i}))}function u(e,n,t,i){e.sendMessage(new s.Q(l,{documentId:n,requestId:t,kind:r,operationType:i}))}function p(e,n,t,i){e.sendMessage(new s.Q(l,{documentId:n,requestId:t,kind:a,operationType:i}))}function f(e,n,t,i){e.sendMessage(new s.Q(l,{documentId:n,requestId:t,kind:c,operationType:i}))}const v="operation-result";function m(e,n,t){e.sendMessage(new s.Q(v,{documentId:n,result:t}))}const h="operation-result-event";function y(e,n,t,i){e.sendMessage(new s.Q(h,{documentId:n,resultId:t,event:i}))}const I="operation-result-patch";function E(e,n,t,i){e.sendMessage(new s.Q(I,{documentId:n,resultId:t,patch:i}))}const g="history-entry";function T(e,n,t,i,o,r,a,c){e.sendMessage(new s.Q(g,{documentId:n,historyId:t,workspaceId:i,operationStatus:o,operationType:r,operationName:a,operationIndex:c}))}const b="log-entry";function N(e,n,t,o){e.sendMessage(new s.Q(b,{kind:"basic",itemId:t,level:i.$b.error,message:n,details:o}))}function x(e,n,t,o){e.sendMessage(new s.Q(b,{kind:"basic",itemId:t,level:i.$b.warning,message:n,details:o}))}function A(e,n,t,o,r,a,c,l,d,u,p,f){e.sendMessage(new s.Q(b,{kind:i.im,itemId:n,requestId:t,scopeId:o,level:i.$b.info,started:r,requestUri:a,method:c,headers:l,body:d,cache:"no-cache",credentials:u,referrerPolicy:p,name:f}))}function k(e,n,t,o,r,a,c,l){e.sendMessage(new s.Q(b,{kind:i.Ai,itemId:n,requestId:t,scopeId:o,level:i.$b.info,received:r,headers:l,statusCode:a,statusText:c}))}function S(e,n,t,o,r,a,c){e.sendMessage(new s.Q(b,{kind:i.z5,itemId:n,requestId:t,scopeId:o,level:i.$b.info,received:r,chunk:a,chunkIndex:c}))}function w(e,n,t,o,r,a,c){e.sendMessage(new s.Q(b,{kind:i.YQ,itemId:n,requestId:t,scopeId:o,level:i.$b.info,stopped:r,contentLength:c,error:a.serialize()}))}function O(e,n,t,o,r,a,c){e.sendMessage(new s.Q(b,{kind:i.yi,itemId:n,requestId:t,scopeId:o,level:i.$b.info,stopped:r,contentLength:c,error:a}))}function R(e,n,t,o,r,a){e.sendMessage(new s.Q(b,{kind:i.nH,itemId:n,requestId:t,scopeId:o,level:i.$b.info,stopped:r,contentLength:a}))}function _(e,n,t,o){e.sendMessage(new s.Q(b,{kind:"basic",itemId:n,requestId:o,level:i.$b.warning,message:"".concat(t," failed due to an invalid endpoint."),details:"An invalid Schema Endpoint is not allowed. Please make sure that the Schema Endpoint is configured properly."}))}function M(e,n,t,o,r){const a="empty-name"===t.kind?"An empty Header Name is not allowed. One reason for that could be an Environment Variable that interpolates to an empty string. Please make sure that the HTTP Headers and Environment Variables are configured properly. Also make sure that you've switched to the correct Environment.":'Invalid characters in Header Name detected: "'.concat(t.name,"\". One reason for that could be an Environment Variable that isn't configured yet. Please make sure that the HTTP Headers and Environment Variables are configured properly. Also make sure that you've switched to the correct Environment.");e.sendMessage(new s.Q(b,{kind:"basic",itemId:n,requestId:r,level:i.$b.error,message:"".concat(o," failed due to an invalid HTTP header name."),details:a}))}function D(e,n,t,o,r,a){e.sendMessage(new s.Q(b,{kind:i.yJ,itemId:n,scopeId:t,level:i.$b.info,started:o,name:r,details:a}))}function L(e,n,t,o){e.sendMessage(new s.Q(b,{kind:i.AO,itemId:n,scopeId:t,level:i.$b.info,stopped:o}))}function F(e,n,t,o,r,a,c){e.sendMessage(new s.Q(b,{kind:i.py,itemId:n,requestId:t,level:i.$b.info,started:o,requestUri:r,protocol:a,connectionParams:c}))}function C(e,n,t,o){e.sendMessage(new s.Q(b,{kind:i.yY,itemId:n,requestId:t,level:i.$b.info,protocol:o}))}function P(e,n,t,o,r){e.sendMessage(new s.Q(b,{kind:i.Rx,itemId:n,requestId:t,level:i.$b.info,received:o,data:r}))}function B(e,n,t,o,r,a){e.sendMessage(new s.Q(b,{kind:i.NK,itemId:n,requestId:t,level:i.$b.info,stopped:o,reason:r,error:a}))}const Y="cancel-task";function U(e,n){e.sendMessage(new s.Q(Y,{taskId:n}))}const j="task-failed";function V(e,n,t,i,o){e.sendMessage(new s.Q(j,{errorMessage:t,kind:i,details:o},n))}class Q extends Error{constructor(e,n,t){super(e),this.kind=n,this.details=t}}function G(e){return e.type===j}},56242:(e,n,t)=>{"use strict";t.d(n,{Xu:()=>h,bN:()=>m});var i=t(4473),s=t(68341),o=(t(36022),t(75885),t(66094)),r=t(97353),a=t(28511),c=(0,s.A)("schemaCache");var l=(0,s.A)("directives"),d=(0,s.A)("fields"),u=(0,s.A)("types"),p=(0,s.A)("introspectionFields");class f{constructor(e){Object.defineProperty(this,l,{writable:!0,value:void 0}),Object.defineProperty(this,d,{writable:!0,value:void 0}),Object.defineProperty(this,u,{writable:!0,value:void 0}),Object.defineProperty(this,p,{writable:!0,value:void 0}),(0,i.A)(this,l)[l]=new Map(e.directives),(0,i.A)(this,d)[d]=new Map(e.fields),(0,i.A)(this,u)[u]=new Map(e.types),(0,i.A)(this,p)[p]=new Map(e.fields)}getDirectives(e){const n=[];if(null!==e&&void 0!==e&&e.length){const t=e.toLocaleLowerCase();(0,i.A)(this,l)[l].forEach((e=>{e.name.toLocaleLowerCase().includes(t)&&n.push(e)}))}else(0,i.A)(this,l)[l].forEach((e=>{n.push(e)}));return n.sort(a.Am)}getField(e){var n;return null!==(n=(0,i.A)(this,d)[d].get(e))&&void 0!==n?n:null}getFields(e,n){var t;const s=e+".",o=[];if(null!==n&&void 0!==n&&n.includeIntrospectionFields&&this.addIntrospectionFields(e,o),null!==n&&void 0!==n&&null!==(t=n.filter)&&void 0!==t&&t.length){const e=n.filter.toLocaleLowerCase();(0,i.A)(this,d)[d].forEach((n=>{n.coordinate.startsWith(s)&&n.name.toLocaleLowerCase().includes(e)&&o.push(n)}))}else(0,i.A)(this,d)[d].forEach((e=>{e.coordinate.startsWith(s)&&o.push(e)}));return o.sort(a.Am)}getType(e){var n;return null!==(n=(0,i.A)(this,u)[u].get(e))&&void 0!==n?n:null}getTypes(e){const n=[];if(null!==e&&void 0!==e&&e.length){const t=e.toLocaleLowerCase();(0,i.A)(this,u)[u].forEach((e=>{e.name.toLocaleLowerCase().includes(t)&&n.push(e)}))}else(0,i.A)(this,u)[u].forEach((e=>{n.push(e)}));return n.sort(a.Am)}getTypesByTypeKind(e,n){const t=[];if(null!==n&&void 0!==n&&n.length){const s=n.toLocaleLowerCase();(0,i.A)(this,u)[u].forEach((n=>{n.typeKind===e&&n.name.toLocaleLowerCase().includes(s)&&t.push(n)}))}else(0,i.A)(this,u)[u].forEach((n=>{n.typeKind===e&&t.push(n)}));return t.sort(a.Am)}dispose(){(0,i.A)(this,l)[l].clear(),(0,i.A)(this,d)[d].clear(),(0,i.A)(this,u)[u].clear()}addIntrospectionFields(e,n){const t=(0,i.A)(this,u)[u].get(e),s="query-type"===(null===t||void 0===t?void 0:t.kind),o="subscription-type"===(null===t||void 0===t?void 0:t.kind);if(s){const e=this.getIntrospectionSchemaField(t.name);e&&n.push(e);const i=this.getIntrospectionTypeField(t.name);i&&n.push(i)}if(!o&&t){const e=this.getIntrospectionTypenameField(t.name);e&&n.push(e)}}getIntrospectionSchemaField(e){const n=r.CM.SCHEMA_FIELD;let t=(0,i.A)(this,p)[p].get(n);if(!t){const s=(0,i.A)(this,u)[u].get("__Schema");s&&(t={kind:"field",name:n,coordinate:(0,r.IK)(e,n),valueType:{kind:"value-type",isList:!1,isOptional:!1,type:s}},(0,i.A)(this,p)[p].set(n,t))}return t}getIntrospectionTypeField(e){const n=r.CM.TYPE_FIELD;let t=(0,i.A)(this,p)[p].get(n);if(!t){const s=(0,i.A)(this,u)[u].get("__Type"),o=(0,i.A)(this,u)[u].get("String");s&&o&&(t={kind:"field",name:n,coordinate:(0,r.IK)(e,n),valueType:{kind:"value-type",isList:!1,isOptional:!0,type:s},arguments:[{kind:"argument",name:"name",coordinate:(0,r.IK)(e,n,"name"),type:{kind:"value-type",isList:!1,isOptional:!1,type:o}}]},(0,i.A)(this,p)[p].set(n,t))}return t}getIntrospectionTypenameField(e){const n=r.CM.TYPENAME_FIELD;let t=(0,i.A)(this,p)[p].get(n);if(t)t={...t,coordinate:(0,r.IK)(e,r.CM.TYPE_FIELD)};else{const s=(0,i.A)(this,u)[u].get("String");s&&(t={kind:"field",name:n,coordinate:(0,r.IK)(e,n),valueType:{kind:"value-type",isList:!1,isOptional:!1,type:s}},(0,i.A)(this,p)[p].set(n,t))}return t}}const v=new class{constructor(){Object.defineProperty(this,c,{writable:!0,value:new a.Gc})}get(e){var n;return null!==(n=(0,i.A)(this,c)[c].get(e))&&void 0!==n?n:null}set(e,n){var t;const s=new f(n);return null===(t=(0,i.A)(this,c)[c].get(e))||void 0===t||t.dispose(),(0,i.A)(this,c)[c].set(e,s),s}remove(e){var n;null===(n=(0,i.A)(this,c)[c].get(e))||void 0===n||n.dispose(),(0,i.A)(this,c)[c].delete(e)}};async function m(e){const n=(0,a.c9)(e),t=v.get(n);if(t)return t;const i=await(0,o.BID)(n);return i?v.set(n,i):null}function h(e){v.remove((0,a.c9)(e))}},57745:(e,n,t)=>{"use strict";t.d(n,{IJ:()=>l,RU:()=>u,_w:()=>a,gP:()=>c,me:()=>d});t(36022),t(75885);var i=t(66094),s=t(97353),o=t(28511),r=t(56242);function a(e){return(0,i.SWZ)(e.sdlEndpoint||e.endpoint)}async function c(e,n){const t=await(0,i.SWZ)(e),s=(0,o.c9)(e),a=(0,i.OYB)(s,n);if(!t||t.hash!==a){const e=await(0,i.mkZ)(s,n);return(0,r.Xu)(s),e}return t}async function l(e,n,t){const i=await(0,r.bN)(e);return i?n?"directive"===n?null!==(s=i.getDirectives(t))&&void 0!==s?s:[]:i.getTypesByTypeKind(n,t):i.getTypes(t):[];var s}async function d(e,n){const t=await p(e);return 0===t.length?void 0:null!==n&&void 0!==n&&n.length?t.filter((e=>{let{name:t}=e;return!(null!==n&&void 0!==n&&n.length)||t.toLocaleLowerCase().includes(n.toLocaleLowerCase())})):t}async function u(e,n){var t,s;const o=await(0,i.qaG)(e);if(!o)return;const a=await p(e),c=a[0];return{activeRootType:c,activeRootTypeFields:c&&null!==(t=null===(s=await(0,r.bN)(e))||void 0===s?void 0:s.getFields(c.coordinate))&&void 0!==t?t:[],filteredItems:null!==n&&void 0!==n&&n.length?await l(e,void 0,n):void 0,rootTypes:a,statistics:o}}async function p(e){const[n,t]=await Promise.all([(0,r.bN)(e),(0,i.SWZ)(e)]);return n&&t?[t.queryTypeName?n.getType(t.queryTypeName):void 0,t.mutationTypeName?n.getType(t.mutationTypeName):void 0,t.subscriptionTypeName?n.getType(t.subscriptionTypeName):void 0].filter(s.Q8):[]}},14881:(e,n,t)=>{"use strict";t.d(n,{D:()=>a,r:()=>r});t(36022),t(86737),t(75885);var i=t(66094),s=t(67466),o=t(29232);function r(e,n,t,s,r,a){var c;if(n)return null===(c=function(e,n,t,i,s,r,a){if(null!==s&&void 0!==s&&s.length)try{return{id:n,environmentId:t,operationIndex:i,hash:r,variables:JSON.parse(s)}}catch(c){return void(a&&(0,o.n4)(e,"GraphQL Variables couldn't be parsed. Please go to the variable editor and fix syntax issues.",n,{...c}))}return{id:n,environmentId:t,operationIndex:i,hash:r}}(e,n.id,t,s,n.variables?(0,i.lKN)(n.variables,r):n.variables,n.hash,a))||void 0===c?void 0:c.variables}function a(e,n,t,i){const o=function(e,n){const t=[],i=e.definitions.filter(s.tB).filter((e=>{var n;return!(null===(n=e.variablesDefinition)||void 0===n||!n.variableDefinitions.length)})).flatMap((e=>e.variablesDefinition.variableDefinitions));for(const a of i){let e=(0,s.Id)(a.type,n);var o,r;if(e)t.push({name:null!==(o=null===(r=a.variable.name)||void 0===r?void 0:r.value)&&void 0!==o?o:"",type:e})}return t}(e,n),r=[],a={},l={};for(const{name:s,type:d}of o)"value-type"!==d.kind||d.isOptional||r.push(s),a[s]=c(l,d,t,i);return{$schema:"http://json-schema.org/draft-07/schema#",type:"object",required:r,properties:a,definitions:l,additionalProperties:!1}}function c(e,n,t,i){let s,o,r=n;if("value-type"===r.kind){const e={};let n=e,t=!1,i=!0;for(;"value-type"===r.kind;){i=r.isOptional,t=r.isList,r=r.type;const e="value-type"===r.kind;if(i){const i={};n.oneOf=[{type:"null"},t?{type:"array",items:e?i:{anyOf:[{type:"null"},i]}}:i],n=i}else if(t){const t={};n.type="array",n.items=e?t:{anyOf:[{type:"null"},t]},n=t}}s=n,o=e}else s={},o={oneOf:[{type:"null"},s]};const a=r;return function(e,n,t,i){"enum"===n.typeKind?function(e,n){var t;if(e[n.name])return;e[n.name]={enum:null===(t=n.enumValues)||void 0===t?void 0:t.map((e=>{let{name:n}=e;return n}))}}(e,n):"input-object"===n.typeKind?function(e,n,t,i){if(e[n.name])return;const s=[],o={};e[n.name]={type:"object",additionalProperties:!1};for(const r of t(n.name))r.valueType.isOptional||s.push(r.name),o[r.name]=c(e,r.valueType,t,i);e[n.name]={...e[n.name],required:s,properties:o}}(e,n,t,i):function(e,n,t){var i;if(e[n.name])return;switch(n.name){case"Boolean":e[n.name]={type:"boolean"};break;case"Decimal":case"Float":e[n.name]={type:"number"};break;case"Int":case"Short":e[n.name]={type:"integer"};break;case"ID":e[n.name]={oneOf:[{type:"integer"},{type:"string"}]};break;case"Upload":e[n.name]={enum:null!==(i=null===t||void 0===t?void 0:t.map((e=>{let{name:n}=e;return n})))&&void 0!==i?i:[]};break;default:e[n.name]={type:"string"}}}(e,n,i)}(e,a,t,i),s.$ref="#/definitions/".concat(a.name),o}},29899:(e,n,t)=>{"use strict";t.d(n,{Bo:()=>o,Rr:()=>s,dM:()=>i});t(36022),t(75885);function i(e){return e.filter(((e,n,t)=>t.indexOf(e)===n))}function s(e){return"string"!==typeof e&&Array.isArray(e)&&e.every((e=>"object"===typeof e&&!Array.isArray(e)))}function o(e){return"string"!==typeof e&&Array.isArray(e)&&e.every((e=>"string"===typeof e))}},13798:(e,n,t)=>{"use strict";t.d(n,{n:()=>o});var i=t(53358),s=t.n(i);function o(){let e=new(s());for(var n=arguments.length,t=new Array(n),i=0;i<n;i++)t[i]=arguments[i];return t.forEach((n=>e=e.update(n))),e.digest("hex")}},56275:(e,n,t)=>{"use strict";t.d(n,{G:()=>s});var i=t(53768);function s(e){if((0,i.Tn)(e))return e;const n=Array.isArray(e)?[]:{};for(const t in e){const i=e[t];Array.isArray(i)?n[t]=s(i):null===i||"object"!==typeof i||i instanceof Boolean||i instanceof Date||i instanceof Number||i instanceof RegExp||i instanceof String||i instanceof Symbol?n[t]=i:n[t]=s(i)}return n}},28511:(e,n,t)=>{"use strict";t.d(n,{eC:()=>i.eC,Gc:()=>g.G,Tp:()=>m.Tp,y1:()=>i.y1,bA:()=>i.bA,lm:()=>u,n1:()=>a.n,sX:()=>d,r_:()=>p,ax:()=>f,Go:()=>h.G,cb:()=>b.c,dM:()=>s.dM,WG:()=>o.W,c9:()=>y.c,zf:()=>i.zf,Td:()=>x.Td,Hf:()=>x.Hf,Tn:()=>x.Tn,D_:()=>I.D_,Rr:()=>s.Rr,aE:()=>N.a,Bo:()=>s.Bo,Mn:()=>i.Mn,mv:()=>E.m,M_:()=>i.M_,lQ:()=>T.l,tB:()=>v.tB,Am:()=>r.A});var i=t(82175),s=t(29899),o=t(34818),r=(t(17112),t(7615),t(5198),t(27362)),a=t(13798),c=t(32089);const l="|";function d(e){return e&&e.length>0?"".concat(e).concat(l).concat((0,c.Ak)()):(0,c.Ak)()}function u(){return d("doc")}function p(){return d("req")}function f(){return d("scope")}var v=t(85096),m=t(79968),h=t(56275),y=(t(10866),t(17957),t(63291),t(75468)),I=t(35061),E=t(46765),g=t(50379),T=(t(20433),t(20405)),b=(t(39876),t(72307),t(81370),t(6687),t(12777),t(4048),t(44812)),N=(t(99689),t(32531)),x=t(53768)},35061:(e,n,t)=>{"use strict";t.d(n,{D_:()=>s});const i=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/;function s(e){return i.test(e)}},50379:(e,n,t)=>{"use strict";t.d(n,{G:()=>a});var i=t(4473),s=t(68341),o=(t(75885),(0,s.A)("maxSize")),r=(0,s.A)("cleanupItem");class a extends Map{constructor(e){super(),Object.defineProperty(this,o,{writable:!0,value:10}),Object.defineProperty(this,r,{writable:!0,value:void 0}),null!==e&&void 0!==e&&e.maxSize&&e.maxSize>0&&((0,i.A)(this,o)[o]=e.maxSize),(0,i.A)(this,r)[r]=null===e||void 0===e?void 0:e.cleanupItem}get(e){if(!super.has(e))return;const n=super.get(e);return void 0!==n&&(super.delete(e),super.set(e,n)),n}set(e,n){if(this.size>=(0,i.A)(this,o)[o]){var t,s;const e=this.entries().next().value;this.delete(e[0]),null===(t=(s=(0,i.A)(this,r))[r])||void 0===t||t.call(s,e[1])}return super.set(e,n)}}},20405:(e,n,t)=>{"use strict";function i(){}t.d(n,{l:()=>i})},83759:(e,n,t)=>{"use strict";t.d(n,{A:()=>o});var i=t(59968),s=t(466);function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{eatWhitespace:e=>e.eatWhile(i.pi),lexRules:i.Rq,parseRules:i.vM,editorConfig:{}};return{startState(){const n={level:0,step:0,name:null,kind:null,type:null,rule:null,needsSeparator:!1,prevState:null};return c(e.parseRules,n,s.b.DOCUMENT),n},token:(n,t)=>function(e,n,t){var i;if(n.inBlockstring)return e.match(/.*"""/)?(n.inBlockstring=!1,"string"):(e.skipToEnd(),"string");const{lexRules:s,parseRules:o,eatWhitespace:u,editorConfig:f}=t;n.rule&&0===n.rule.length?l(n):n.needsAdvance&&(n.needsAdvance=!1,d(n,!0));if(e.sol()){const t=(null===f||void 0===f?void 0:f.tabSize)||2;n.indentLevel=Math.floor(e.indentation()/t)}if(u(e))return"ws";const v=function(e,n){const t=Object.keys(e);for(let i=0;i<t.length;i++){const s=n.match(e[t[i]]);if(s&&s instanceof Array)return{kind:t[i],value:s[0]}}}(s,e);if(!v){return e.match(/\S+/)||e.match(/\s/),c(a,n,"Invalid"),"invalidchar"}if("Comment"===v.kind)return c(a,n,"Comment"),"comment";const m=r({},n);if("Punctuation"===v.kind)if(/^[{([]/.test(v.value))void 0!==n.indentLevel&&(n.levels=(n.levels||[]).concat(n.indentLevel+1));else if(/^[})\]]/.test(v.value)){const e=n.levels=(n.levels||[]).slice(0,-1);n.indentLevel&&e.length>0&&e.at(-1)<n.indentLevel&&(n.indentLevel=e.at(-1))}for(;n.rule;){let t="function"===typeof n.rule?0===n.step?n.rule(v,e):null:n.rule[n.step];if(n.needsSeparator&&(t=null===t||void 0===t?void 0:t.separator),t){if(t.ofRule&&(t=t.ofRule),"string"===typeof t){c(o,n,t);continue}if(null===(i=t.match)||void 0===i?void 0:i.call(t,v))return t.update&&t.update(n,v),"Punctuation"===v.kind?d(n,!0):n.needsAdvance=!0,t.style}p(n)}return r(n,m),c(a,n,"Invalid"),"invalidchar"}(n,t,e)}}function r(e,n){const t=Object.keys(n);for(let i=0;i<t.length;i++)e[t[i]]=n[t[i]];return e}const a={Invalid:[],Comment:[]};function c(e,n,t){if(!e[t])throw new TypeError("Unknown rule: "+t);n.prevState=Object.assign({},n),n.kind=t,n.name=null,n.type=null,n.rule=e[t],n.step=0,n.needsSeparator=!1}function l(e){e.prevState&&(e.kind=e.prevState.kind,e.name=e.prevState.name,e.type=e.prevState.type,e.rule=e.prevState.rule,e.step=e.prevState.step,e.needsSeparator=e.prevState.needsSeparator,e.prevState=e.prevState.prevState)}function d(e,n){var t;if(u(e)&&e.rule){const t=e.rule[e.step];if(t.separator){const{separator:n}=t;if(e.needsSeparator=!e.needsSeparator,!e.needsSeparator&&n.ofRule)return}if(n)return}for(e.needsSeparator=!1,e.step++;e.rule&&!(Array.isArray(e.rule)&&e.step<e.rule.length);)l(e),e.rule&&(u(e)?(null===(t=e.rule)||void 0===t?void 0:t[e.step].separator)&&(e.needsSeparator=!e.needsSeparator):(e.needsSeparator=!1,e.step++))}function u(e){const n=Array.isArray(e.rule)&&"string"!==typeof e.rule[e.step]&&e.rule[e.step];return n&&n.isList}function p(e){for(;e.rule&&(!Array.isArray(e.rule)||!e.rule[e.step].ofRule);)l(e);e.rule&&d(e,!1)}},5355:e=>{var n="undefined"!==typeof requestIdleCallback;e.exports=n?requestIdleCallback:function(e){return setTimeout((function(){var n=Date.now();e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-n))}})}),1)},e.exports.cancelIdleCallback=n?cancelIdleCallback:clearTimeout}},n={};function t(i){var s=n[i];if(void 0!==s)return s.exports;var o=n[i]={id:i,loaded:!1,exports:{}};return e[i].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}t.m=e,t.x=()=>{var e=t.O(void 0,[461,110,86,936,788,918,938,940],(()=>t(51604)));return e=t.O(e)},(()=>{var e=[];t.O=(n,i,s,o)=>{if(!i){var r=1/0;for(d=0;d<e.length;d++){i=e[d][0],s=e[d][1],o=e[d][2];for(var a=!0,c=0;c<i.length;c++)(!1&o||r>=o)&&Object.keys(t.O).every((e=>t.O[e](i[c])))?i.splice(c--,1):(a=!1,o<r&&(r=o));if(a){e.splice(d--,1);var l=s();void 0!==l&&(n=l)}}return n}o=o||0;for(var d=e.length;d>0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[i,s,o]}})(),t.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},t.d=(e,n)=>{for(var i in n)t.o(n,i)&&!t.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:n[i]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce(((n,i)=>(t.f[i](e,n),n)),[])),t.u=e=>86===e?"static/js/86.e31a339b.chunk.js":918===e?"static/js/918.a846b7ba.chunk.js":938===e?"static/js/938.576aa13e.chunk.js":"static/js/"+(461===e?"polyfills":e)+"."+{110:"0e366505",461:"0bb6438e",788:"3e19c8d7",936:"e8fa296c",940:"68e1b478"}[e]+".js",t.miniCssF=e=>{},t.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),t.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),t.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.j=17,(()=>{var e;t.g.importScripts&&(e=t.g.location+"");var n=t.g.document;if(!e&&n&&(n.currentScript&&(e=n.currentScript.src),!e)){var i=n.getElementsByTagName("script");if(i.length)for(var s=i.length-1;s>-1&&(!e||!/^http(s?):/.test(e));)e=i[s--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),t.p=e+"../../"})(),(()=>{var e={17:1,264:1};t.f.i=(n,i)=>{e[n]||importScripts(t.p+t.u(n))};var n=self.webpackChunk_chillicream_nitro=self.webpackChunk_chillicream_nitro||[],i=n.push.bind(n);n.push=n=>{var s=n[0],o=n[1],r=n[2];for(var a in o)t.o(o,a)&&(t.m[a]=o[a]);for(r&&r(t);s.length;)e[s.pop()]=1;i(n)}})(),(()=>{var e=t.x;t.x=()=>Promise.all([461,110,86,936,788,918,938,940].map(t.e,t)).then(e)})();t.x()})();
|