altair-static 4.5.3 → 4.6.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/build/dist/471.js CHANGED
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkaltair=self.webpackChunkaltair||[]).push([[471],{95471:(F,y,u)=>{u.r(y),u.d(y,{DocUtils:()=>O});var I=u(15861),E=u(30121),b=u(70708),A=u(51316),M=u(62762);class O{constructor(e){this.searchIndex=[],e&&this.updateSchema(e)}updateSchema(e){this.schema=(0,b.I)(e)}generateSearchIndex(){if(!this.schema)return[];let e=[];(0,A.Z)(this.schema).forEach(t=>{e=[...e,...this.getTypeIndices(t,!0,e)]});const r=this.schema.getTypeMap();return Object.keys(r).forEach(t=>{/^__/.test(t)||(e=[...e,...this.getTypeIndices(r[t],!1,e)])}),this.searchIndex=e,e}getFieldsIndices(e,i,r,t){let s=[];return Object.keys(e).forEach(n=>{const a=e[n],c={search:a.name,name:a.name,description:a.description?a.description:"",args:a.args?a.args.map(h=>({name:h.name,description:h.description})):[],cat:"field",type:i.name,isQuery:r,highlight:"field"};s=[...s,c],a.args&&a.args.length&&a.args.forEach(h=>{s=[...s,{...c,search:h.name,highlight:"argument"}]}),a.type&&(s=[...s,...this.getTypeIndices(a.type,!1,[...t,...s]).filter(h=>!!h)])}),s}getTypeIndices(e,i,r){let t=null;if(!e.name)return[];if(r.some(n=>n.name===e.name&&"type"===n.cat))return[];e.getFields&&(t=e.getFields());const s=[{search:e.name,name:e.name,cat:"type",description:e.description?e.description:"",isRoot:i,highlight:"type"}];return t?[...s,...this.getFieldsIndices(t,e,i,[...r,...s]).filter(n=>!!n)]:s}searchDocs(e){return this.searchIndex.length?new E.Z(this.searchIndex,{keys:["search"],threshold:.4}).search(e).map(r=>r.item):[]}generateQuery(e,i,r){let t="",s=!1;if(!this.schema)return;switch(i){case this.schema.getQueryType()&&this.schema.getQueryType().name:t+="query";break;case this.schema.getMutationType()&&this.schema.getMutationType().name:t+="mutation";break;case this.schema.getSubscriptionType()&&this.schema.getSubscriptionType().name:t+="subscription";break;default:t+=`fragment _____ on ${i}`,s=!0}const n=this.generateFieldData(e,i,[],1,r);if(!n)return;t+=`{\n${n.query}\n}`;const a={...n.meta};return a.hasArgs=s||a.hasArgs,{query:t,meta:a}}generateQueryV2(e,i,r){var t=this;return(0,I.Z)(function*(){if(!t.schema)return;const s=yield(0,M.Ku)(t.schema,e,i,{maxDepth:r.addQueryDepthLimit,tabSize:r.tabSize});return{query:s.generated,meta:s.metas.find(n=>n.hasArgs)||{}}})()}cleanName(e){return e.replace(/[\[\]!]/g,"")}generateFieldData(e,i,r,t,s={}){if(!(e&&i&&r&&this.schema))return{query:"",meta:{}};const n=s.tabSize||2,a=this.schema.getType(i),c=a&&a.getFields()[e];if(!c)return{query:"",meta:{}};const h={hasArgs:!1};let d=" ".repeat(t*n)+c.name;c.args&&c.args.length&&(h.hasArgs=!0,d+=`(${c.args.reduce((o,l)=>o+", "+l.name+": ______","").substring(2)})`);const m=this.cleanName(c.type.inspect()),f=this.schema.getType(m);if(r.filter(g=>g.type===m).length)return{query:"",meta:{}};if(t>=(s.addQueryDepthLimit||0))return{query:"",meta:{}};const p=f&&f.getFields&&f.getFields();let _="";return p&&(_=Object.keys(p).reduce((g,o)=>{if(r.filter(T=>T.name===o&&T.type===m).length)return"";const l=this.generateFieldData(o,m,[...r,{name:e,type:m}],t+1,s);if(!l)return g;const D=l.query;return h.hasArgs=h.hasArgs||l.meta.hasArgs||!1,D?g+"\n"+D:g},"").substring(1)),_&&(d+=`{\n${_}\n`,d+=" ".repeat(t*n)+"}"),{query:d,meta:h}}}}}]);
1
+ "use strict";(self.webpackChunkaltair=self.webpackChunkaltair||[]).push([[471],{95471:(F,y,u)=>{u.r(y),u.d(y,{DocUtils:()=>O});var I=u(15861),E=u(50855),b=u(32833),A=u(51316),M=u(62762);class O{constructor(e){this.searchIndex=[],e&&this.updateSchema(e)}updateSchema(e){this.schema=(0,b.I)(e)}generateSearchIndex(){if(!this.schema)return[];let e=[];(0,A.Z)(this.schema).forEach(t=>{e=[...e,...this.getTypeIndices(t,!0,e)]});const r=this.schema.getTypeMap();return Object.keys(r).forEach(t=>{/^__/.test(t)||(e=[...e,...this.getTypeIndices(r[t],!1,e)])}),this.searchIndex=e,e}getFieldsIndices(e,i,r,t){let s=[];return Object.keys(e).forEach(n=>{const a=e[n],c={search:a.name,name:a.name,description:a.description?a.description:"",args:a.args?a.args.map(h=>({name:h.name,description:h.description})):[],cat:"field",type:i.name,isQuery:r,highlight:"field"};s=[...s,c],a.args&&a.args.length&&a.args.forEach(h=>{s=[...s,{...c,search:h.name,highlight:"argument"}]}),a.type&&(s=[...s,...this.getTypeIndices(a.type,!1,[...t,...s]).filter(h=>!!h)])}),s}getTypeIndices(e,i,r){let t=null;if(!e.name)return[];if(r.some(n=>n.name===e.name&&"type"===n.cat))return[];e.getFields&&(t=e.getFields());const s=[{search:e.name,name:e.name,cat:"type",description:e.description?e.description:"",isRoot:i,highlight:"type"}];return t?[...s,...this.getFieldsIndices(t,e,i,[...r,...s]).filter(n=>!!n)]:s}searchDocs(e){return this.searchIndex.length?new E.Z(this.searchIndex,{keys:["search"],threshold:.4}).search(e).map(r=>r.item):[]}generateQuery(e,i,r){let t="",s=!1;if(!this.schema)return;switch(i){case this.schema.getQueryType()&&this.schema.getQueryType().name:t+="query";break;case this.schema.getMutationType()&&this.schema.getMutationType().name:t+="mutation";break;case this.schema.getSubscriptionType()&&this.schema.getSubscriptionType().name:t+="subscription";break;default:t+=`fragment _____ on ${i}`,s=!0}const n=this.generateFieldData(e,i,[],1,r);if(!n)return;t+=`{\n${n.query}\n}`;const a={...n.meta};return a.hasArgs=s||a.hasArgs,{query:t,meta:a}}generateQueryV2(e,i,r){var t=this;return(0,I.Z)(function*(){if(!t.schema)return;const s=yield(0,M.Ku)(t.schema,e,i,{maxDepth:r.addQueryDepthLimit,tabSize:r.tabSize});return{query:s.generated,meta:s.metas.find(n=>n.hasArgs)||{}}})()}cleanName(e){return e.replace(/[\[\]!]/g,"")}generateFieldData(e,i,r,t,s={}){if(!(e&&i&&r&&this.schema))return{query:"",meta:{}};const n=s.tabSize||2,a=this.schema.getType(i),c=a&&a.getFields()[e];if(!c)return{query:"",meta:{}};const h={hasArgs:!1};let d=" ".repeat(t*n)+c.name;c.args&&c.args.length&&(h.hasArgs=!0,d+=`(${c.args.reduce((o,l)=>o+", "+l.name+": ______","").substring(2)})`);const m=this.cleanName(c.type.inspect()),f=this.schema.getType(m);if(r.filter(g=>g.type===m).length)return{query:"",meta:{}};if(t>=(s.addQueryDepthLimit||0))return{query:"",meta:{}};const p=f&&f.getFields&&f.getFields();let _="";return p&&(_=Object.keys(p).reduce((g,o)=>{if(r.filter(T=>T.name===o&&T.type===m).length)return"";const l=this.generateFieldData(o,m,[...r,{name:e,type:m}],t+1,s);if(!l)return g;const D=l.query;return h.hasArgs=h.hasArgs||l.meta.hasArgs||!1,D?g+"\n"+D:g},"").substring(1)),_&&(d+=`{\n${_}\n`,d+=" ".repeat(t*n)+"}"),{query:d,meta:h}}}}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunkaltair=self.webpackChunkaltair||[]).push([[480],{7319:function(w,L,u){var d;w.exports=(d=u(27096),u(15047),u(29603),u(19362),u(56305),function(){var e=d,b=e.lib.BlockCipher,k=e.algo,v=[],g=[],r=[],n=[],h=[],t=[],i=[],a=[],f=[],x=[];!function(){for(var l=[],s=0;s<256;s++)l[s]=s<128?s<<1:s<<1^283;var B=0,H=0;for(s=0;s<256;s++){var C=H^H<<1^H<<2^H<<3^H<<4;v[B]=C=C>>>8^255&C^99,g[C]=B;var P,y=l[B],W=l[y],m=l[W];r[B]=(P=257*l[C]^16843008*C)<<24|P>>>8,n[B]=P<<16|P>>>16,h[B]=P<<8|P>>>24,t[B]=P,i[C]=(P=16843009*m^65537*W^257*y^16843008*B)<<24|P>>>8,a[C]=P<<16|P>>>16,f[C]=P<<8|P>>>24,x[C]=P,B?(B=y^l[l[l[m^y]]],H^=l[l[H]]):B=H=1}}();var o=[0,1,2,4,8,16,32,64,128,27,54],c=k.AES=b.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var l=this._keyPriorReset=this._key,s=l.words,B=l.sigBytes/4,C=4*((this._nRounds=B+6)+1),y=this._keySchedule=[],W=0;W<C;W++)if(W<B)y[W]=s[W];else{var m=y[W-1];W%B?B>6&&W%B==4&&(m=v[m>>>24]<<24|v[m>>>16&255]<<16|v[m>>>8&255]<<8|v[255&m]):(m=v[(m=m<<8|m>>>24)>>>24]<<24|v[m>>>16&255]<<16|v[m>>>8&255]<<8|v[255&m],m^=o[W/B|0]<<24),y[W]=y[W-B]^m}for(var P=this._invKeySchedule=[],T=0;T<C;T++)W=C-T,m=T%4?y[W]:y[W-4],P[T]=T<4||W<=4?m:i[v[m>>>24]]^a[v[m>>>16&255]]^f[v[m>>>8&255]]^x[v[255&m]]}},encryptBlock:function(l,s){this._doCryptBlock(l,s,this._keySchedule,r,n,h,t,v)},decryptBlock:function(l,s){var B=l[s+1];l[s+1]=l[s+3],l[s+3]=B,this._doCryptBlock(l,s,this._invKeySchedule,i,a,f,x,g),B=l[s+1],l[s+1]=l[s+3],l[s+3]=B},_doCryptBlock:function(l,s,B,H,C,y,W,m){for(var P=this._nRounds,T=l[s]^B[0],S=l[s+1]^B[1],F=l[s+2]^B[2],K=l[s+3]^B[3],R=4,X=1;X<P;X++){var U=H[T>>>24]^C[S>>>16&255]^y[F>>>8&255]^W[255&K]^B[R++],N=H[S>>>24]^C[F>>>16&255]^y[K>>>8&255]^W[255&T]^B[R++],O=H[F>>>24]^C[K>>>16&255]^y[T>>>8&255]^W[255&S]^B[R++],A=H[K>>>24]^C[T>>>16&255]^y[S>>>8&255]^W[255&F]^B[R++];T=U,S=N,F=O,K=A}U=(m[T>>>24]<<24|m[S>>>16&255]<<16|m[F>>>8&255]<<8|m[255&K])^B[R++],N=(m[S>>>24]<<24|m[F>>>16&255]<<16|m[K>>>8&255]<<8|m[255&T])^B[R++],O=(m[F>>>24]<<24|m[K>>>16&255]<<16|m[T>>>8&255]<<8|m[255&S])^B[R++],A=(m[K>>>24]<<24|m[T>>>16&255]<<16|m[S>>>8&255]<<8|m[255&F])^B[R++],l[s]=U,l[s+1]=N,l[s+2]=O,l[s+3]=A},keySize:8});e.AES=b._createHelper(c)}(),d.AES)},56305:function(w,L,u){var p,b,k,v,g,r,h,i,a,x,o,c,s,H,y,W,P,T,d;w.exports=(d=u(27096),u(19362),void(d.lib.Cipher||(p=d,b=p.lib,k=b.Base,v=b.WordArray,g=b.BufferedBlockAlgorithm,r=p.enc,h=r.Base64,i=p.algo.EvpKDF,a=b.Cipher=g.extend({cfg:k.extend(),createEncryptor:function(S,F){return this.create(this._ENC_XFORM_MODE,S,F)},createDecryptor:function(S,F){return this.create(this._DEC_XFORM_MODE,S,F)},init:function(S,F,K){this.cfg=this.cfg.extend(K),this._xformMode=S,this._key=F,this.reset()},reset:function(){g.reset.call(this),this._doReset()},process:function(S){return this._append(S),this._process()},finalize:function(S){return S&&this._append(S),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function S(F){return"string"==typeof F?T:W}return function(F){return{encrypt:function(K,R,X){return S(R).encrypt(F,K,R,X)},decrypt:function(K,R,X){return S(R).decrypt(F,K,R,X)}}}}()}),b.StreamCipher=a.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),x=p.mode={},o=b.BlockCipherMode=k.extend({createEncryptor:function(S,F){return this.Encryptor.create(S,F)},createDecryptor:function(S,F){return this.Decryptor.create(S,F)},init:function(S,F){this._cipher=S,this._iv=F}}),c=x.CBC=function(){var S=o.extend();function F(K,R,X){var U=this._iv;if(U){var N=U;this._iv=undefined}else N=this._prevBlock;for(var O=0;O<X;O++)K[R+O]^=N[O]}return S.Encryptor=S.extend({processBlock:function(K,R){var X=this._cipher,U=X.blockSize;F.call(this,K,R,U),X.encryptBlock(K,R),this._prevBlock=K.slice(R,R+U)}}),S.Decryptor=S.extend({processBlock:function(K,R){var X=this._cipher,U=X.blockSize,N=K.slice(R,R+U);X.decryptBlock(K,R),F.call(this,K,R,U),this._prevBlock=N}}),S}(),s=(p.pad={}).Pkcs7={pad:function(S,F){for(var K=4*F,R=K-S.sigBytes%K,X=R<<24|R<<16|R<<8|R,U=[],N=0;N<R;N+=4)U.push(X);var O=v.create(U,R);S.concat(O)},unpad:function(S){S.sigBytes-=255&S.words[S.sigBytes-1>>>2]}},b.BlockCipher=a.extend({cfg:a.cfg.extend({mode:c,padding:s}),reset:function(){a.reset.call(this);var S=this.cfg,F=S.iv,K=S.mode;if(this._xformMode==this._ENC_XFORM_MODE)var R=K.createEncryptor;else R=K.createDecryptor,this._minBufferSize=1;this._mode&&this._mode.__creator==R?this._mode.init(this,F&&F.words):(this._mode=R.call(K,this,F&&F.words),this._mode.__creator=R)},_doProcessBlock:function(S,F){this._mode.processBlock(S,F)},_doFinalize:function(){var S=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){S.pad(this._data,this.blockSize);var F=this._process(!0)}else F=this._process(!0),S.unpad(F);return F},blockSize:4}),H=b.CipherParams=k.extend({init:function(S){this.mixIn(S)},toString:function(S){return(S||this.formatter).stringify(this)}}),y=(p.format={}).OpenSSL={stringify:function(S){var F=S.ciphertext,K=S.salt;if(K)var R=v.create([1398893684,1701076831]).concat(K).concat(F);else R=F;return R.toString(h)},parse:function(S){var F=h.parse(S),K=F.words;if(1398893684==K[0]&&1701076831==K[1]){var R=v.create(K.slice(2,4));K.splice(0,4),F.sigBytes-=16}return H.create({ciphertext:F,salt:R})}},W=b.SerializableCipher=k.extend({cfg:k.extend({format:y}),encrypt:function(S,F,K,R){R=this.cfg.extend(R);var X=S.createEncryptor(K,R),U=X.finalize(F),N=X.cfg;return H.create({ciphertext:U,key:K,iv:N.iv,algorithm:S,mode:N.mode,padding:N.padding,blockSize:S.blockSize,formatter:R.format})},decrypt:function(S,F,K,R){return R=this.cfg.extend(R),F=this._parse(F,R.format),S.createDecryptor(K,R).finalize(F.ciphertext)},_parse:function(S,F){return"string"==typeof S?F.parse(S,this):S}}),P=(p.kdf={}).OpenSSL={execute:function(S,F,K,R){R||(R=v.random(8));var X=i.create({keySize:F+K}).compute(S,R),U=v.create(X.words.slice(F),4*K);return X.sigBytes=4*F,H.create({key:X,iv:U,salt:R})}},T=b.PasswordBasedCipher=W.extend({cfg:W.cfg.extend({kdf:P}),encrypt:function(S,F,K,R){var X=(R=this.cfg.extend(R)).kdf.execute(K,S.keySize,S.ivSize);R.iv=X.iv;var U=W.encrypt.call(this,S,F,X.key,R);return U.mixIn(X),U},decrypt:function(S,F,K,R){R=this.cfg.extend(R),F=this._parse(F,R.format);var X=R.kdf.execute(K,S.keySize,S.ivSize,F.salt);return R.iv=X.iv,W.decrypt.call(this,S,F,X.key,R)}}))))},27096:function(w,L){var d,p,b,k,v,g,r,n,h,t,i,f,u;w.exports=(u=u||(d=Math,p=Object.create||function(){function x(){}return function(o){var c;return x.prototype=o,c=new x,x.prototype=null,c}}(),k=(b={}).lib={},v=k.Base={extend:function(x){var o=p(this);return x&&o.mixIn(x),(!o.hasOwnProperty("init")||this.init===o.init)&&(o.init=function(){o.$super.init.apply(this,arguments)}),o.init.prototype=o,o.$super=this,o},create:function(){var x=this.extend();return x.init.apply(x,arguments),x},init:function(){},mixIn:function(x){for(var o in x)x.hasOwnProperty(o)&&(this[o]=x[o]);x.hasOwnProperty("toString")&&(this.toString=x.toString)},clone:function(){return this.init.prototype.extend(this)}},g=k.WordArray=v.extend({init:function(x,o){x=this.words=x||[],this.sigBytes=null!=o?o:4*x.length},toString:function(x){return(x||n).stringify(this)},concat:function(x){var o=this.words,c=x.words,l=this.sigBytes,s=x.sigBytes;if(this.clamp(),l%4)for(var B=0;B<s;B++)o[l+B>>>2]|=(c[B>>>2]>>>24-B%4*8&255)<<24-(l+B)%4*8;else for(B=0;B<s;B+=4)o[l+B>>>2]=c[B>>>2];return this.sigBytes+=s,this},clamp:function(){var x=this.words,o=this.sigBytes;x[o>>>2]&=4294967295<<32-o%4*8,x.length=d.ceil(o/4)},clone:function(){var x=v.clone.call(this);return x.words=this.words.slice(0),x},random:function(x){for(var s,o=[],c=function(C){var y=987654321,W=4294967295;return function(){var m=((y=36969*(65535&y)+(y>>16)&W)<<16)+(C=18e3*(65535&C)+(C>>16)&W)&W;return m/=4294967296,(m+=.5)*(d.random()>.5?1:-1)}},l=0;l<x;l+=4){var B=c(4294967296*(s||d.random()));s=987654071*B(),o.push(4294967296*B()|0)}return new g.init(o,x)}}),r=b.enc={},n=r.Hex={stringify:function(x){for(var o=x.words,c=x.sigBytes,l=[],s=0;s<c;s++){var B=o[s>>>2]>>>24-s%4*8&255;l.push((B>>>4).toString(16)),l.push((15&B).toString(16))}return l.join("")},parse:function(x){for(var o=x.length,c=[],l=0;l<o;l+=2)c[l>>>3]|=parseInt(x.substr(l,2),16)<<24-l%8*4;return new g.init(c,o/2)}},h=r.Latin1={stringify:function(x){for(var o=x.words,c=x.sigBytes,l=[],s=0;s<c;s++)l.push(String.fromCharCode(o[s>>>2]>>>24-s%4*8&255));return l.join("")},parse:function(x){for(var o=x.length,c=[],l=0;l<o;l++)c[l>>>2]|=(255&x.charCodeAt(l))<<24-l%4*8;return new g.init(c,o)}},t=r.Utf8={stringify:function(x){try{return decodeURIComponent(escape(h.stringify(x)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(x){return h.parse(unescape(encodeURIComponent(x)))}},i=k.BufferedBlockAlgorithm=v.extend({reset:function(){this._data=new g.init,this._nDataBytes=0},_append:function(x){"string"==typeof x&&(x=t.parse(x)),this._data.concat(x),this._nDataBytes+=x.sigBytes},_process:function(x){var o=this._data,c=o.words,l=o.sigBytes,s=this.blockSize,H=l/(4*s),C=(H=x?d.ceil(H):d.max((0|H)-this._minBufferSize,0))*s,y=d.min(4*C,l);if(C){for(var W=0;W<C;W+=s)this._doProcessBlock(c,W);var m=c.splice(0,C);o.sigBytes-=y}return new g.init(m,y)},clone:function(){var x=v.clone.call(this);return x._data=this._data.clone(),x},_minBufferSize:0}),k.Hasher=i.extend({cfg:v.extend(),init:function(x){this.cfg=this.cfg.extend(x),this.reset()},reset:function(){i.reset.call(this),this._doReset()},update:function(x){return this._append(x),this._process(),this},finalize:function(x){return x&&this._append(x),this._doFinalize()},blockSize:16,_createHelper:function(x){return function(o,c){return new x.init(c).finalize(o)}},_createHmacHelper:function(x){return function(o,c){return new f.HMAC.init(x,c).finalize(o)}}}),f=b.algo={},b),u)},15047:function(w,L,u){var d,b;w.exports=(d=u(27096),b=d.lib.WordArray,d.enc.Base64={stringify:function(r){var n=r.words,h=r.sigBytes,t=this._map;r.clamp();for(var i=[],a=0;a<h;a+=3)for(var c=(n[a>>>2]>>>24-a%4*8&255)<<16|(n[a+1>>>2]>>>24-(a+1)%4*8&255)<<8|n[a+2>>>2]>>>24-(a+2)%4*8&255,l=0;l<4&&a+.75*l<h;l++)i.push(t.charAt(c>>>6*(3-l)&63));var s=t.charAt(64);if(s)for(;i.length%4;)i.push(s);return i.join("")},parse:function(r){var n=r.length,h=this._map,t=this._reverseMap;if(!t){t=this._reverseMap=[];for(var i=0;i<h.length;i++)t[h.charCodeAt(i)]=i}var a=h.charAt(64);if(a){var f=r.indexOf(a);-1!==f&&(n=f)}return function g(r,n,h){for(var t=[],i=0,a=0;a<n;a++)if(a%4){var f=h[r.charCodeAt(a-1)]<<a%4*2,x=h[r.charCodeAt(a)]>>>6-a%4*2;t[i>>>2]|=(f|x)<<24-i%4*8,i++}return b.create(t,i)}(r,n,t)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},d.enc.Base64)},91769:function(w,L,u){var d;w.exports=(d=u(27096),function(){var b=d.lib.WordArray,k=d.enc;function g(r){return r<<8&4278255360|r>>>8&16711935}k.Utf16=k.Utf16BE={stringify:function(r){for(var n=r.words,h=r.sigBytes,t=[],i=0;i<h;i+=2)t.push(String.fromCharCode(n[i>>>2]>>>16-i%4*8&65535));return t.join("")},parse:function(r){for(var n=r.length,h=[],t=0;t<n;t++)h[t>>>1]|=r.charCodeAt(t)<<16-t%2*16;return b.create(h,2*n)}},k.Utf16LE={stringify:function(r){for(var n=r.words,h=r.sigBytes,t=[],i=0;i<h;i+=2){var a=g(n[i>>>2]>>>16-i%4*8&65535);t.push(String.fromCharCode(a))}return t.join("")},parse:function(r){for(var n=r.length,h=[],t=0;t<n;t++)h[t>>>1]|=g(r.charCodeAt(t)<<16-t%2*16);return b.create(h,2*n)}}}(),d.enc.Utf16)},19362:function(w,L,u){var e,p,b,k,v,r,d;w.exports=(d=u(27096),u(52405),u(5166),k=(p=(e=d).lib).WordArray,r=(v=e.algo).EvpKDF=(b=p.Base).extend({cfg:b.extend({keySize:4,hasher:v.MD5,iterations:1}),init:function(n){this.cfg=this.cfg.extend(n)},compute:function(n,h){for(var t=this.cfg,i=t.hasher.create(),a=k.create(),f=a.words,x=t.keySize,o=t.iterations;f.length<x;){c&&i.update(c);var c=i.update(n).finalize(h);i.reset();for(var l=1;l<o;l++)c=i.finalize(c),i.reset();a.concat(c)}return a.sigBytes=4*x,a}}),e.EvpKDF=function(n,h,t){return r.create(t).compute(n,h)},d.EvpKDF)},35514:function(w,L,u){var d,k,g;w.exports=(d=u(27096),u(56305),k=d.lib.CipherParams,g=d.enc.Hex,d.format.Hex={stringify:function(h){return h.ciphertext.toString(g)},parse:function(h){var t=g.parse(h);return k.create({ciphertext:t})}},d.format.Hex)},5166:function(w,L,u){var d,v;w.exports=(d=u(27096),v=d.enc.Utf8,void(d.algo.HMAC=d.lib.Base.extend({init:function(n,h){n=this._hasher=new n.init,"string"==typeof h&&(h=v.parse(h));var t=n.blockSize,i=4*t;h.sigBytes>i&&(h=n.finalize(h)),h.clamp();for(var a=this._oKey=h.clone(),f=this._iKey=h.clone(),x=a.words,o=f.words,c=0;c<t;c++)x[c]^=1549556828,o[c]^=909522486;a.sigBytes=f.sigBytes=i,this.reset()},reset:function(){var n=this._hasher;n.reset(),n.update(this._iKey)},update:function(n){return this._hasher.update(n),this},finalize:function(n){var h=this._hasher,t=h.finalize(n);return h.reset(),h.finalize(this._oKey.clone().concat(t))}})))},84480:function(w,L,u){var d;w.exports=(d=u(27096),u(81520),u(32861),u(91769),u(15047),u(29603),u(52405),u(6924),u(98475),u(95033),u(61178),u(9395),u(48403),u(5166),u(69152),u(19362),u(56305),u(53888),u(76408),u(17335),u(44044),u(90209),u(40785),u(48792),u(41860),u(88713),u(14375),u(35514),u(7319),u(78178),u(69939),u(63544),u(16653),d)},32861:function(w,L,u){var d;w.exports=(d=u(27096),function(){if("function"==typeof ArrayBuffer){var b=d.lib.WordArray,k=b.init,v=b.init=function(g){if(g instanceof ArrayBuffer&&(g=new Uint8Array(g)),(g instanceof Int8Array||typeof Uint8ClampedArray<"u"&&g instanceof Uint8ClampedArray||g instanceof Int16Array||g instanceof Uint16Array||g instanceof Int32Array||g instanceof Uint32Array||g instanceof Float32Array||g instanceof Float64Array)&&(g=new Uint8Array(g.buffer,g.byteOffset,g.byteLength)),g instanceof Uint8Array){for(var r=g.byteLength,n=[],h=0;h<r;h++)n[h>>>2]|=g[h]<<24-h%4*8;k.call(this,n,r)}else k.apply(this,arguments)};v.prototype=b}}(),d.lib.WordArray)},29603:function(w,L,u){var d;w.exports=(d=u(27096),function(e){var p=d,b=p.lib,k=b.WordArray,v=b.Hasher,g=p.algo,r=[];!function(){for(var f=0;f<64;f++)r[f]=4294967296*e.abs(e.sin(f+1))|0}();var n=g.MD5=v.extend({_doReset:function(){this._hash=new k.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(f,x){for(var o=0;o<16;o++){var c=x+o,l=f[c];f[c]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}var s=this._hash.words,B=f[x+0],H=f[x+1],C=f[x+2],y=f[x+3],W=f[x+4],m=f[x+5],P=f[x+6],T=f[x+7],S=f[x+8],F=f[x+9],K=f[x+10],R=f[x+11],X=f[x+12],U=f[x+13],N=f[x+14],O=f[x+15],A=s[0],D=s[1],E=s[2],z=s[3];A=h(A,D,E,z,B,7,r[0]),z=h(z,A,D,E,H,12,r[1]),E=h(E,z,A,D,C,17,r[2]),D=h(D,E,z,A,y,22,r[3]),A=h(A,D,E,z,W,7,r[4]),z=h(z,A,D,E,m,12,r[5]),E=h(E,z,A,D,P,17,r[6]),D=h(D,E,z,A,T,22,r[7]),A=h(A,D,E,z,S,7,r[8]),z=h(z,A,D,E,F,12,r[9]),E=h(E,z,A,D,K,17,r[10]),D=h(D,E,z,A,R,22,r[11]),A=h(A,D,E,z,X,7,r[12]),z=h(z,A,D,E,U,12,r[13]),E=h(E,z,A,D,N,17,r[14]),A=t(A,D=h(D,E,z,A,O,22,r[15]),E,z,H,5,r[16]),z=t(z,A,D,E,P,9,r[17]),E=t(E,z,A,D,R,14,r[18]),D=t(D,E,z,A,B,20,r[19]),A=t(A,D,E,z,m,5,r[20]),z=t(z,A,D,E,K,9,r[21]),E=t(E,z,A,D,O,14,r[22]),D=t(D,E,z,A,W,20,r[23]),A=t(A,D,E,z,F,5,r[24]),z=t(z,A,D,E,N,9,r[25]),E=t(E,z,A,D,y,14,r[26]),D=t(D,E,z,A,S,20,r[27]),A=t(A,D,E,z,U,5,r[28]),z=t(z,A,D,E,C,9,r[29]),E=t(E,z,A,D,T,14,r[30]),A=i(A,D=t(D,E,z,A,X,20,r[31]),E,z,m,4,r[32]),z=i(z,A,D,E,S,11,r[33]),E=i(E,z,A,D,R,16,r[34]),D=i(D,E,z,A,N,23,r[35]),A=i(A,D,E,z,H,4,r[36]),z=i(z,A,D,E,W,11,r[37]),E=i(E,z,A,D,T,16,r[38]),D=i(D,E,z,A,K,23,r[39]),A=i(A,D,E,z,U,4,r[40]),z=i(z,A,D,E,B,11,r[41]),E=i(E,z,A,D,y,16,r[42]),D=i(D,E,z,A,P,23,r[43]),A=i(A,D,E,z,F,4,r[44]),z=i(z,A,D,E,X,11,r[45]),E=i(E,z,A,D,O,16,r[46]),A=a(A,D=i(D,E,z,A,C,23,r[47]),E,z,B,6,r[48]),z=a(z,A,D,E,T,10,r[49]),E=a(E,z,A,D,N,15,r[50]),D=a(D,E,z,A,m,21,r[51]),A=a(A,D,E,z,X,6,r[52]),z=a(z,A,D,E,y,10,r[53]),E=a(E,z,A,D,K,15,r[54]),D=a(D,E,z,A,H,21,r[55]),A=a(A,D,E,z,S,6,r[56]),z=a(z,A,D,E,O,10,r[57]),E=a(E,z,A,D,P,15,r[58]),D=a(D,E,z,A,U,21,r[59]),A=a(A,D,E,z,W,6,r[60]),z=a(z,A,D,E,R,10,r[61]),E=a(E,z,A,D,C,15,r[62]),D=a(D,E,z,A,F,21,r[63]),s[0]=s[0]+A|0,s[1]=s[1]+D|0,s[2]=s[2]+E|0,s[3]=s[3]+z|0},_doFinalize:function(){var f=this._data,x=f.words,o=8*this._nDataBytes,c=8*f.sigBytes;x[c>>>5]|=128<<24-c%32;var l=e.floor(o/4294967296),s=o;x[15+(c+64>>>9<<4)]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8),x[14+(c+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),f.sigBytes=4*(x.length+1),this._process();for(var B=this._hash,H=B.words,C=0;C<4;C++){var y=H[C];H[C]=16711935&(y<<8|y>>>24)|4278255360&(y<<24|y>>>8)}return B},clone:function(){var f=v.clone.call(this);return f._hash=this._hash.clone(),f}});function h(f,x,o,c,l,s,B){var H=f+(x&o|~x&c)+l+B;return(H<<s|H>>>32-s)+x}function t(f,x,o,c,l,s,B){var H=f+(x&c|o&~c)+l+B;return(H<<s|H>>>32-s)+x}function i(f,x,o,c,l,s,B){var H=f+(x^o^c)+l+B;return(H<<s|H>>>32-s)+x}function a(f,x,o,c,l,s,B){var H=f+(o^(x|~c))+l+B;return(H<<s|H>>>32-s)+x}p.MD5=v._createHelper(n),p.HmacMD5=v._createHmacHelper(n)}(Math),d.MD5)},53888:function(w,L,u){var d;w.exports=(d=u(27096),u(56305),d.mode.CFB=function(){var e=d.lib.BlockCipherMode.extend();function p(b,k,v,g){var r=this._iv;if(r){var n=r.slice(0);this._iv=void 0}else n=this._prevBlock;g.encryptBlock(n,0);for(var h=0;h<v;h++)b[k+h]^=n[h]}return e.Encryptor=e.extend({processBlock:function(b,k){var v=this._cipher,g=v.blockSize;p.call(this,b,k,g,v),this._prevBlock=b.slice(k,k+g)}}),e.Decryptor=e.extend({processBlock:function(b,k){var v=this._cipher,g=v.blockSize,r=b.slice(k,k+g);p.call(this,b,k,g,v),this._prevBlock=r}}),e}(),d.mode.CFB)},17335:function(w,L,u){var d;w.exports=(d=u(27096),u(56305),d.mode.CTRGladman=function(){var e=d.lib.BlockCipherMode.extend();function p(v){if(255==(v>>24&255)){var g=v>>16&255,r=v>>8&255,n=255&v;255===g?(g=0,255===r?(r=0,255===n?n=0:++n):++r):++g,v=0,v+=g<<16,v+=r<<8,v+=n}else v+=1<<24;return v}var k=e.Encryptor=e.extend({processBlock:function(v,g){var r=this._cipher,n=r.blockSize,h=this._iv,t=this._counter;h&&(t=this._counter=h.slice(0),this._iv=void 0),function b(v){return 0===(v[0]=p(v[0]))&&(v[1]=p(v[1])),v}(t);var i=t.slice(0);r.encryptBlock(i,0);for(var a=0;a<n;a++)v[g+a]^=i[a]}});return e.Decryptor=k,e}(),d.mode.CTRGladman)},76408:function(w,L,u){var e,p,d;w.exports=(d=u(27096),u(56305),d.mode.CTR=(p=(e=d.lib.BlockCipherMode.extend()).Encryptor=e.extend({processBlock:function(b,k){var v=this._cipher,g=v.blockSize,r=this._iv,n=this._counter;r&&(n=this._counter=r.slice(0),this._iv=void 0);var h=n.slice(0);v.encryptBlock(h,0),n[g-1]=n[g-1]+1|0;for(var t=0;t<g;t++)b[k+t]^=h[t]}}),e.Decryptor=p,e),d.mode.CTR)},90209:function(w,L,u){var e,d;w.exports=(d=u(27096),u(56305),d.mode.ECB=((e=d.lib.BlockCipherMode.extend()).Encryptor=e.extend({processBlock:function(p,b){this._cipher.encryptBlock(p,b)}}),e.Decryptor=e.extend({processBlock:function(p,b){this._cipher.decryptBlock(p,b)}}),e),d.mode.ECB)},44044:function(w,L,u){var e,p,d;w.exports=(d=u(27096),u(56305),d.mode.OFB=(p=(e=d.lib.BlockCipherMode.extend()).Encryptor=e.extend({processBlock:function(b,k){var v=this._cipher,g=v.blockSize,r=this._iv,n=this._keystream;r&&(n=this._keystream=r.slice(0),this._iv=void 0),v.encryptBlock(n,0);for(var h=0;h<g;h++)b[k+h]^=n[h]}}),e.Decryptor=p,e),d.mode.OFB)},40785:function(w,L,u){var d;w.exports=(d=u(27096),u(56305),d.pad.AnsiX923={pad:function(e,p){var b=e.sigBytes,k=4*p,v=k-b%k,g=b+v-1;e.clamp(),e.words[g>>>2]|=v<<24-g%4*8,e.sigBytes+=v},unpad:function(e){e.sigBytes-=255&e.words[e.sigBytes-1>>>2]}},d.pad.Ansix923)},48792:function(w,L,u){var d;w.exports=(d=u(27096),u(56305),d.pad.Iso10126={pad:function(e,p){var b=4*p,k=b-e.sigBytes%b;e.concat(d.lib.WordArray.random(k-1)).concat(d.lib.WordArray.create([k<<24],1))},unpad:function(e){e.sigBytes-=255&e.words[e.sigBytes-1>>>2]}},d.pad.Iso10126)},41860:function(w,L,u){var d;w.exports=(d=u(27096),u(56305),d.pad.Iso97971={pad:function(e,p){e.concat(d.lib.WordArray.create([2147483648],1)),d.pad.ZeroPadding.pad(e,p)},unpad:function(e){d.pad.ZeroPadding.unpad(e),e.sigBytes--}},d.pad.Iso97971)},14375:function(w,L,u){var d;w.exports=(d=u(27096),u(56305),d.pad.NoPadding={pad:function(){},unpad:function(){}},d.pad.NoPadding)},88713:function(w,L,u){var d;w.exports=(d=u(27096),u(56305),d.pad.ZeroPadding={pad:function(e,p){var b=4*p;e.clamp(),e.sigBytes+=b-(e.sigBytes%b||b)},unpad:function(e){for(var p=e.words,b=e.sigBytes-1;!(p[b>>>2]>>>24-b%4*8&255);)b--;e.sigBytes=b+1}},d.pad.ZeroPadding)},69152:function(w,L,u){var e,p,b,k,v,r,n,d;w.exports=(d=u(27096),u(52405),u(5166),k=(p=(e=d).lib).WordArray,r=(v=e.algo).HMAC,n=v.PBKDF2=(b=p.Base).extend({cfg:b.extend({keySize:4,hasher:v.SHA1,iterations:1}),init:function(h){this.cfg=this.cfg.extend(h)},compute:function(h,t){for(var i=this.cfg,a=r.create(i.hasher,h),f=k.create(),x=k.create([1]),o=f.words,c=x.words,l=i.keySize,s=i.iterations;o.length<l;){var B=a.update(t).finalize(x);a.reset();for(var H=B.words,C=H.length,y=B,W=1;W<s;W++){y=a.finalize(y),a.reset();for(var m=y.words,P=0;P<C;P++)H[P]^=m[P]}f.concat(B),c[0]++}return f.sigBytes=4*l,f}}),e.PBKDF2=function(h,t,i){return n.create(i).compute(h,t)},d.PBKDF2)},16653:function(w,L,u){var d;w.exports=(d=u(27096),u(15047),u(29603),u(19362),u(56305),function(){var e=d,b=e.lib.StreamCipher,v=[],g=[],r=[],n=e.algo.RabbitLegacy=b.extend({_doReset:function(){var t=this._key.words,i=this.cfg.iv,a=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],f=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];this._b=0;for(var x=0;x<4;x++)h.call(this);for(x=0;x<8;x++)f[x]^=a[x+4&7];if(i){var o=i.words,c=o[0],l=o[1],s=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),B=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8),H=s>>>16|4294901760&B,C=B<<16|65535&s;for(f[0]^=s,f[1]^=H,f[2]^=B,f[3]^=C,f[4]^=s,f[5]^=H,f[6]^=B,f[7]^=C,x=0;x<4;x++)h.call(this)}},_doProcessBlock:function(t,i){var a=this._X;h.call(this),v[0]=a[0]^a[5]>>>16^a[3]<<16,v[1]=a[2]^a[7]>>>16^a[5]<<16,v[2]=a[4]^a[1]>>>16^a[7]<<16,v[3]=a[6]^a[3]>>>16^a[1]<<16;for(var f=0;f<4;f++)v[f]=16711935&(v[f]<<8|v[f]>>>24)|4278255360&(v[f]<<24|v[f]>>>8),t[i+f]^=v[f]},blockSize:4,ivSize:2});function h(){for(var t=this._X,i=this._C,a=0;a<8;a++)g[a]=i[a];for(i[0]=i[0]+1295307597+this._b|0,i[1]=i[1]+3545052371+(i[0]>>>0<g[0]>>>0?1:0)|0,i[2]=i[2]+886263092+(i[1]>>>0<g[1]>>>0?1:0)|0,i[3]=i[3]+1295307597+(i[2]>>>0<g[2]>>>0?1:0)|0,i[4]=i[4]+3545052371+(i[3]>>>0<g[3]>>>0?1:0)|0,i[5]=i[5]+886263092+(i[4]>>>0<g[4]>>>0?1:0)|0,i[6]=i[6]+1295307597+(i[5]>>>0<g[5]>>>0?1:0)|0,i[7]=i[7]+3545052371+(i[6]>>>0<g[6]>>>0?1:0)|0,this._b=i[7]>>>0<g[7]>>>0?1:0,a=0;a<8;a++){var f=t[a]+i[a],x=65535&f,o=f>>>16;r[a]=((x*x>>>17)+x*o>>>15)+o*o^((4294901760&f)*f|0)+((65535&f)*f|0)}t[0]=r[0]+(r[7]<<16|r[7]>>>16)+(r[6]<<16|r[6]>>>16)|0,t[1]=r[1]+(r[0]<<8|r[0]>>>24)+r[7]|0,t[2]=r[2]+(r[1]<<16|r[1]>>>16)+(r[0]<<16|r[0]>>>16)|0,t[3]=r[3]+(r[2]<<8|r[2]>>>24)+r[1]|0,t[4]=r[4]+(r[3]<<16|r[3]>>>16)+(r[2]<<16|r[2]>>>16)|0,t[5]=r[5]+(r[4]<<8|r[4]>>>24)+r[3]|0,t[6]=r[6]+(r[5]<<16|r[5]>>>16)+(r[4]<<16|r[4]>>>16)|0,t[7]=r[7]+(r[6]<<8|r[6]>>>24)+r[5]|0}e.RabbitLegacy=b._createHelper(n)}(),d.RabbitLegacy)},63544:function(w,L,u){var d;w.exports=(d=u(27096),u(15047),u(29603),u(19362),u(56305),function(){var e=d,b=e.lib.StreamCipher,v=[],g=[],r=[],n=e.algo.Rabbit=b.extend({_doReset:function(){for(var t=this._key.words,i=this.cfg.iv,a=0;a<4;a++)t[a]=16711935&(t[a]<<8|t[a]>>>24)|4278255360&(t[a]<<24|t[a]>>>8);var f=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],x=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];for(this._b=0,a=0;a<4;a++)h.call(this);for(a=0;a<8;a++)x[a]^=f[a+4&7];if(i){var o=i.words,c=o[0],l=o[1],s=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),B=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8),H=s>>>16|4294901760&B,C=B<<16|65535&s;for(x[0]^=s,x[1]^=H,x[2]^=B,x[3]^=C,x[4]^=s,x[5]^=H,x[6]^=B,x[7]^=C,a=0;a<4;a++)h.call(this)}},_doProcessBlock:function(t,i){var a=this._X;h.call(this),v[0]=a[0]^a[5]>>>16^a[3]<<16,v[1]=a[2]^a[7]>>>16^a[5]<<16,v[2]=a[4]^a[1]>>>16^a[7]<<16,v[3]=a[6]^a[3]>>>16^a[1]<<16;for(var f=0;f<4;f++)v[f]=16711935&(v[f]<<8|v[f]>>>24)|4278255360&(v[f]<<24|v[f]>>>8),t[i+f]^=v[f]},blockSize:4,ivSize:2});function h(){for(var t=this._X,i=this._C,a=0;a<8;a++)g[a]=i[a];for(i[0]=i[0]+1295307597+this._b|0,i[1]=i[1]+3545052371+(i[0]>>>0<g[0]>>>0?1:0)|0,i[2]=i[2]+886263092+(i[1]>>>0<g[1]>>>0?1:0)|0,i[3]=i[3]+1295307597+(i[2]>>>0<g[2]>>>0?1:0)|0,i[4]=i[4]+3545052371+(i[3]>>>0<g[3]>>>0?1:0)|0,i[5]=i[5]+886263092+(i[4]>>>0<g[4]>>>0?1:0)|0,i[6]=i[6]+1295307597+(i[5]>>>0<g[5]>>>0?1:0)|0,i[7]=i[7]+3545052371+(i[6]>>>0<g[6]>>>0?1:0)|0,this._b=i[7]>>>0<g[7]>>>0?1:0,a=0;a<8;a++){var f=t[a]+i[a],x=65535&f,o=f>>>16;r[a]=((x*x>>>17)+x*o>>>15)+o*o^((4294901760&f)*f|0)+((65535&f)*f|0)}t[0]=r[0]+(r[7]<<16|r[7]>>>16)+(r[6]<<16|r[6]>>>16)|0,t[1]=r[1]+(r[0]<<8|r[0]>>>24)+r[7]|0,t[2]=r[2]+(r[1]<<16|r[1]>>>16)+(r[0]<<16|r[0]>>>16)|0,t[3]=r[3]+(r[2]<<8|r[2]>>>24)+r[1]|0,t[4]=r[4]+(r[3]<<16|r[3]>>>16)+(r[2]<<16|r[2]>>>16)|0,t[5]=r[5]+(r[4]<<8|r[4]>>>24)+r[3]|0,t[6]=r[6]+(r[5]<<16|r[5]>>>16)+(r[4]<<16|r[4]>>>16)|0,t[7]=r[7]+(r[6]<<8|r[6]>>>24)+r[5]|0}e.Rabbit=b._createHelper(n)}(),d.Rabbit)},69939:function(w,L,u){var d;w.exports=(d=u(27096),u(15047),u(29603),u(19362),u(56305),function(){var e=d,b=e.lib.StreamCipher,k=e.algo,v=k.RC4=b.extend({_doReset:function(){for(var n=this._key,h=n.words,t=n.sigBytes,i=this._S=[],a=0;a<256;a++)i[a]=a;a=0;for(var f=0;a<256;a++){var x=a%t,c=i[a];i[a]=i[f=(f+i[a]+(h[x>>>2]>>>24-x%4*8&255))%256],i[f]=c}this._i=this._j=0},_doProcessBlock:function(n,h){n[h]^=g.call(this)},keySize:8,ivSize:0});function g(){for(var n=this._S,h=this._i,t=this._j,i=0,a=0;a<4;a++){var f=n[h=(h+1)%256];n[h]=n[t=(t+n[h])%256],n[t]=f,i|=n[(n[h]+n[t])%256]<<24-8*a}return this._i=h,this._j=t,i}e.RC4=b._createHelper(v);var r=k.RC4Drop=v.extend({cfg:v.cfg.extend({drop:192}),_doReset:function(){v._doReset.call(this);for(var n=this.cfg.drop;n>0;n--)g.call(this)}});e.RC4Drop=b._createHelper(r)}(),d.RC4)},48403:function(w,L,u){var d;w.exports=(d=u(27096),function(e){var p=d,b=p.lib,k=b.WordArray,v=b.Hasher,g=p.algo,r=k.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),n=k.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),h=k.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),t=k.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),i=k.create([0,1518500249,1859775393,2400959708,2840853838]),a=k.create([1352829926,1548603684,1836072691,2053994217,0]),f=g.RIPEMD160=v.extend({_doReset:function(){this._hash=k.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(H,C){for(var y=0;y<16;y++){var W=C+y,m=H[W];H[W]=16711935&(m<<8|m>>>24)|4278255360&(m<<24|m>>>8)}var U,N,O,A,D,E,z,Z,G,_,I,P=this._hash.words,T=i.words,S=a.words,F=r.words,K=n.words,R=h.words,X=t.words;for(E=U=P[0],z=N=P[1],Z=O=P[2],G=A=P[3],_=D=P[4],y=0;y<80;y+=1)I=U+H[C+F[y]]|0,I+=y<16?x(N,O,A)+T[0]:y<32?o(N,O,A)+T[1]:y<48?c(N,O,A)+T[2]:y<64?l(N,O,A)+T[3]:s(N,O,A)+T[4],I=(I=B(I|=0,R[y]))+D|0,U=D,D=A,A=B(O,10),O=N,N=I,I=E+H[C+K[y]]|0,I+=y<16?s(z,Z,G)+S[0]:y<32?l(z,Z,G)+S[1]:y<48?c(z,Z,G)+S[2]:y<64?o(z,Z,G)+S[3]:x(z,Z,G)+S[4],I=(I=B(I|=0,X[y]))+_|0,E=_,_=G,G=B(Z,10),Z=z,z=I;I=P[1]+O+G|0,P[1]=P[2]+A+_|0,P[2]=P[3]+D+E|0,P[3]=P[4]+U+z|0,P[4]=P[0]+N+Z|0,P[0]=I},_doFinalize:function(){var H=this._data,C=H.words,y=8*this._nDataBytes,W=8*H.sigBytes;C[W>>>5]|=128<<24-W%32,C[14+(W+64>>>9<<4)]=16711935&(y<<8|y>>>24)|4278255360&(y<<24|y>>>8),H.sigBytes=4*(C.length+1),this._process();for(var m=this._hash,P=m.words,T=0;T<5;T++){var S=P[T];P[T]=16711935&(S<<8|S>>>24)|4278255360&(S<<24|S>>>8)}return m},clone:function(){var H=v.clone.call(this);return H._hash=this._hash.clone(),H}});function x(H,C,y){return H^C^y}function o(H,C,y){return H&C|~H&y}function c(H,C,y){return(H|~C)^y}function l(H,C,y){return H&y|C&~y}function s(H,C,y){return H^(C|~y)}function B(H,C){return H<<C|H>>>32-C}p.RIPEMD160=v._createHelper(f),p.HmacRIPEMD160=v._createHmacHelper(f)}(Math),d.RIPEMD160)},52405:function(w,L,u){var e,p,b,k,g,r,d;w.exports=(d=u(27096),b=(p=(e=d).lib).WordArray,g=[],r=e.algo.SHA1=(k=p.Hasher).extend({_doReset:function(){this._hash=new b.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(n,h){for(var t=this._hash.words,i=t[0],a=t[1],f=t[2],x=t[3],o=t[4],c=0;c<80;c++){if(c<16)g[c]=0|n[h+c];else{var l=g[c-3]^g[c-8]^g[c-14]^g[c-16];g[c]=l<<1|l>>>31}var s=(i<<5|i>>>27)+o+g[c];s+=c<20?1518500249+(a&f|~a&x):c<40?1859775393+(a^f^x):c<60?(a&f|a&x|f&x)-1894007588:(a^f^x)-899497514,o=x,x=f,f=a<<30|a>>>2,a=i,i=s}t[0]=t[0]+i|0,t[1]=t[1]+a|0,t[2]=t[2]+f|0,t[3]=t[3]+x|0,t[4]=t[4]+o|0},_doFinalize:function(){var n=this._data,h=n.words,t=8*this._nDataBytes,i=8*n.sigBytes;return h[i>>>5]|=128<<24-i%32,h[14+(i+64>>>9<<4)]=Math.floor(t/4294967296),h[15+(i+64>>>9<<4)]=t,n.sigBytes=4*h.length,this._process(),this._hash},clone:function(){var n=k.clone.call(this);return n._hash=this._hash.clone(),n}}),e.SHA1=k._createHelper(r),e.HmacSHA1=k._createHmacHelper(r),d.SHA1)},98475:function(w,L,u){var e,b,k,v,g,d;w.exports=(d=u(27096),u(6924),b=(e=d).lib.WordArray,g=(k=e.algo).SHA224=(v=k.SHA256).extend({_doReset:function(){this._hash=new b.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var r=v._doFinalize.call(this);return r.sigBytes-=4,r}}),e.SHA224=v._createHelper(g),e.HmacSHA224=v._createHmacHelper(g),d.SHA224)},6924:function(w,L,u){var d;w.exports=(d=u(27096),function(e){var p=d,b=p.lib,k=b.WordArray,v=b.Hasher,g=p.algo,r=[],n=[];!function(){function i(o){for(var c=e.sqrt(o),l=2;l<=c;l++)if(!(o%l))return!1;return!0}function a(o){return 4294967296*(o-(0|o))|0}for(var f=2,x=0;x<64;)i(f)&&(x<8&&(r[x]=a(e.pow(f,.5))),n[x]=a(e.pow(f,1/3)),x++),f++}();var h=[],t=g.SHA256=v.extend({_doReset:function(){this._hash=new k.init(r.slice(0))},_doProcessBlock:function(i,a){for(var f=this._hash.words,x=f[0],o=f[1],c=f[2],l=f[3],s=f[4],B=f[5],H=f[6],C=f[7],y=0;y<64;y++){if(y<16)h[y]=0|i[a+y];else{var W=h[y-15],P=h[y-2];h[y]=((W<<25|W>>>7)^(W<<14|W>>>18)^W>>>3)+h[y-7]+((P<<15|P>>>17)^(P<<13|P>>>19)^P>>>10)+h[y-16]}var F=x&o^x&c^o&c,X=C+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&B^~s&H)+n[y]+h[y];C=H,H=B,B=s,s=l+X|0,l=c,c=o,o=x,x=X+(((x<<30|x>>>2)^(x<<19|x>>>13)^(x<<10|x>>>22))+F)|0}f[0]=f[0]+x|0,f[1]=f[1]+o|0,f[2]=f[2]+c|0,f[3]=f[3]+l|0,f[4]=f[4]+s|0,f[5]=f[5]+B|0,f[6]=f[6]+H|0,f[7]=f[7]+C|0},_doFinalize:function(){var i=this._data,a=i.words,f=8*this._nDataBytes,x=8*i.sigBytes;return a[x>>>5]|=128<<24-x%32,a[14+(x+64>>>9<<4)]=e.floor(f/4294967296),a[15+(x+64>>>9<<4)]=f,i.sigBytes=4*a.length,this._process(),this._hash},clone:function(){var i=v.clone.call(this);return i._hash=this._hash.clone(),i}});p.SHA256=v._createHelper(t),p.HmacSHA256=v._createHmacHelper(t)}(Math),d.SHA256)},9395:function(w,L,u){var d;w.exports=(d=u(27096),u(81520),function(e){var p=d,b=p.lib,k=b.WordArray,v=b.Hasher,r=p.x64.Word,n=p.algo,h=[],t=[],i=[];!function(){for(var x=1,o=0,c=0;c<24;c++){h[x+5*o]=(c+1)*(c+2)/2%64;var s=(2*x+3*o)%5;x=o%5,o=s}for(x=0;x<5;x++)for(o=0;o<5;o++)t[x+5*o]=o+(2*x+3*o)%5*5;for(var B=1,H=0;H<24;H++){for(var C=0,y=0,W=0;W<7;W++){if(1&B){var m=(1<<W)-1;m<32?y^=1<<m:C^=1<<m-32}128&B?B=B<<1^113:B<<=1}i[H]=r.create(C,y)}}();var a=[];!function(){for(var x=0;x<25;x++)a[x]=r.create()}();var f=n.SHA3=v.extend({cfg:v.cfg.extend({outputLength:512}),_doReset:function(){for(var x=this._state=[],o=0;o<25;o++)x[o]=new r.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(x,o){for(var c=this._state,l=this.blockSize/2,s=0;s<l;s++){var B=x[o+2*s],H=x[o+2*s+1];B=16711935&(B<<8|B>>>24)|4278255360&(B<<24|B>>>8),(C=c[s]).high^=H=16711935&(H<<8|H>>>24)|4278255360&(H<<24|H>>>8),C.low^=B}for(var y=0;y<24;y++){for(var W=0;W<5;W++){for(var m=0,P=0,T=0;T<5;T++)m^=(C=c[W+5*T]).high,P^=C.low;var S=a[W];S.high=m,S.low=P}for(W=0;W<5;W++){var F=a[(W+4)%5],K=a[(W+1)%5],R=K.high,X=K.low;for(m=F.high^(R<<1|X>>>31),P=F.low^(X<<1|R>>>31),T=0;T<5;T++)(C=c[W+5*T]).high^=m,C.low^=P}for(var U=1;U<25;U++){var N=(C=c[U]).high,O=C.low,A=h[U];A<32?(m=N<<A|O>>>32-A,P=O<<A|N>>>32-A):(m=O<<A-32|N>>>64-A,P=N<<A-32|O>>>64-A);var D=a[t[U]];D.high=m,D.low=P}var E=a[0],z=c[0];for(E.high=z.high,E.low=z.low,W=0;W<5;W++)for(T=0;T<5;T++){var Z=a[U=W+5*T],G=a[(W+1)%5+5*T],_=a[(W+2)%5+5*T];(C=c[U]).high=Z.high^~G.high&_.high,C.low=Z.low^~G.low&_.low}var C,I=i[y];(C=c[0]).high^=I.high,C.low^=I.low}},_doFinalize:function(){var x=this._data,o=x.words,l=8*x.sigBytes,s=32*this.blockSize;o[l>>>5]|=1<<24-l%32,o[(e.ceil((l+1)/s)*s>>>5)-1]|=128,x.sigBytes=4*o.length,this._process();for(var B=this._state,H=this.cfg.outputLength/8,C=H/8,y=[],W=0;W<C;W++){var m=B[W],P=m.high,T=m.low;P=16711935&(P<<8|P>>>24)|4278255360&(P<<24|P>>>8),y.push(T=16711935&(T<<8|T>>>24)|4278255360&(T<<24|T>>>8)),y.push(P)}return new k.init(y,H)},clone:function(){for(var x=v.clone.call(this),o=x._state=this._state.slice(0),c=0;c<25;c++)o[c]=o[c].clone();return x}});p.SHA3=v._createHelper(f),p.HmacSHA3=v._createHmacHelper(f)}(Math),d.SHA3)},61178:function(w,L,u){var e,p,b,k,v,g,r,d;w.exports=(d=u(27096),u(81520),u(95033),b=(p=(e=d).x64).Word,k=p.WordArray,r=(v=e.algo).SHA384=(g=v.SHA512).extend({_doReset:function(){this._hash=new k.init([new b.init(3418070365,3238371032),new b.init(1654270250,914150663),new b.init(2438529370,812702999),new b.init(355462360,4144912697),new b.init(1731405415,4290775857),new b.init(2394180231,1750603025),new b.init(3675008525,1694076839),new b.init(1203062813,3204075428)])},_doFinalize:function(){var n=g._doFinalize.call(this);return n.sigBytes-=16,n}}),e.SHA384=g._createHelper(r),e.HmacSHA384=g._createHmacHelper(r),d.SHA384)},95033:function(w,L,u){var d;w.exports=(d=u(27096),u(81520),function(){var e=d,b=e.lib.Hasher,k=e.x64,v=k.Word,g=k.WordArray,r=e.algo;function n(){return v.create.apply(v,arguments)}var h=[n(1116352408,3609767458),n(1899447441,602891725),n(3049323471,3964484399),n(3921009573,2173295548),n(961987163,4081628472),n(1508970993,3053834265),n(2453635748,2937671579),n(2870763221,3664609560),n(3624381080,2734883394),n(310598401,1164996542),n(607225278,1323610764),n(1426881987,3590304994),n(1925078388,4068182383),n(2162078206,991336113),n(2614888103,633803317),n(3248222580,3479774868),n(3835390401,2666613458),n(4022224774,944711139),n(264347078,2341262773),n(604807628,2007800933),n(770255983,1495990901),n(1249150122,1856431235),n(1555081692,3175218132),n(1996064986,2198950837),n(2554220882,3999719339),n(2821834349,766784016),n(2952996808,2566594879),n(3210313671,3203337956),n(3336571891,1034457026),n(3584528711,2466948901),n(113926993,3758326383),n(338241895,168717936),n(666307205,1188179964),n(773529912,1546045734),n(1294757372,1522805485),n(1396182291,2643833823),n(1695183700,2343527390),n(1986661051,1014477480),n(2177026350,1206759142),n(2456956037,344077627),n(2730485921,1290863460),n(2820302411,3158454273),n(3259730800,3505952657),n(3345764771,106217008),n(3516065817,3606008344),n(3600352804,1432725776),n(4094571909,1467031594),n(275423344,851169720),n(430227734,3100823752),n(506948616,1363258195),n(659060556,3750685593),n(883997877,3785050280),n(958139571,3318307427),n(1322822218,3812723403),n(1537002063,2003034995),n(1747873779,3602036899),n(1955562222,1575990012),n(2024104815,1125592928),n(2227730452,2716904306),n(2361852424,442776044),n(2428436474,593698344),n(2756734187,3733110249),n(3204031479,2999351573),n(3329325298,3815920427),n(3391569614,3928383900),n(3515267271,566280711),n(3940187606,3454069534),n(4118630271,4000239992),n(116418474,1914138554),n(174292421,2731055270),n(289380356,3203993006),n(460393269,320620315),n(685471733,587496836),n(852142971,1086792851),n(1017036298,365543100),n(1126000580,2618297676),n(1288033470,3409855158),n(1501505948,4234509866),n(1607167915,987167468),n(1816402316,1246189591)],t=[];!function(){for(var a=0;a<80;a++)t[a]=n()}();var i=r.SHA512=b.extend({_doReset:function(){this._hash=new g.init([new v.init(1779033703,4089235720),new v.init(3144134277,2227873595),new v.init(1013904242,4271175723),new v.init(2773480762,1595750129),new v.init(1359893119,2917565137),new v.init(2600822924,725511199),new v.init(528734635,4215389547),new v.init(1541459225,327033209)])},_doProcessBlock:function(a,f){for(var x=this._hash.words,o=x[0],c=x[1],l=x[2],s=x[3],B=x[4],H=x[5],C=x[6],y=x[7],W=o.high,m=o.low,P=c.high,T=c.low,S=l.high,F=l.low,K=s.high,R=s.low,X=B.high,U=B.low,N=H.high,O=H.low,A=C.high,D=C.low,E=y.high,z=y.low,Z=W,G=m,_=P,I=T,t0=S,q=F,h0=K,a0=R,Y=X,$=U,s0=N,e0=O,c0=A,n0=D,l0=E,i0=z,j=0;j<80;j++){var v0=t[j];if(j<16)var J=v0.high=0|a[f+2*j],V=v0.low=0|a[f+2*j+1];else{var d0=t[j-15],r0=d0.high,f0=d0.low,u0=(f0>>>1|r0<<31)^(f0>>>8|r0<<24)^(f0>>>7|r0<<25),p0=t[j-2],x0=p0.high,o0=p0.low,B0=(o0>>>19|x0<<13)^(o0<<3|x0>>>29)^(o0>>>6|x0<<26),g0=t[j-7],y0=t[j-16],b0=y0.low;v0.high=J=(J=(J=((r0>>>1|f0<<31)^(r0>>>8|f0<<24)^r0>>>7)+g0.high+((V=u0+g0.low)>>>0<u0>>>0?1:0))+((x0>>>19|o0<<13)^(x0<<3|o0>>>29)^x0>>>6)+((V+=B0)>>>0<B0>>>0?1:0))+y0.high+((V+=b0)>>>0<b0>>>0?1:0),v0.low=V}var Q,F0=Y&s0^~Y&c0,C0=$&e0^~$&n0,R0=Z&_^Z&t0^_&t0,H0=(G>>>28|Z<<4)^(G<<30|Z>>>2)^(G<<25|Z>>>7),A0=h[j],S0=A0.low,M=l0+((Y>>>14|$<<18)^(Y>>>18|$<<14)^(Y<<23|$>>>9))+((Q=i0+(($>>>14|Y<<18)^($>>>18|Y<<14)^($<<23|Y>>>9)))>>>0<i0>>>0?1:0),z0=H0+(G&I^G&q^I&q);l0=c0,i0=n0,c0=s0,n0=e0,s0=Y,e0=$,Y=h0+(M=(M=(M=M+F0+((Q+=C0)>>>0<C0>>>0?1:0))+A0.high+((Q+=S0)>>>0<S0>>>0?1:0))+J+((Q+=V)>>>0<V>>>0?1:0))+(($=a0+Q|0)>>>0<a0>>>0?1:0)|0,h0=t0,a0=q,t0=_,q=I,_=Z,I=G,Z=M+(((Z>>>28|G<<4)^(Z<<30|G>>>2)^(Z<<25|G>>>7))+R0+(z0>>>0<H0>>>0?1:0))+((G=Q+z0|0)>>>0<Q>>>0?1:0)|0}m=o.low=m+G,o.high=W+Z+(m>>>0<G>>>0?1:0),T=c.low=T+I,c.high=P+_+(T>>>0<I>>>0?1:0),F=l.low=F+q,l.high=S+t0+(F>>>0<q>>>0?1:0),R=s.low=R+a0,s.high=K+h0+(R>>>0<a0>>>0?1:0),U=B.low=U+$,B.high=X+Y+(U>>>0<$>>>0?1:0),O=H.low=O+e0,H.high=N+s0+(O>>>0<e0>>>0?1:0),D=C.low=D+n0,C.high=A+c0+(D>>>0<n0>>>0?1:0),z=y.low=z+i0,y.high=E+l0+(z>>>0<i0>>>0?1:0)},_doFinalize:function(){var a=this._data,f=a.words,x=8*this._nDataBytes,o=8*a.sigBytes;return f[o>>>5]|=128<<24-o%32,f[30+(o+128>>>10<<5)]=Math.floor(x/4294967296),f[31+(o+128>>>10<<5)]=x,a.sigBytes=4*f.length,this._process(),this._hash.toX32()},clone:function(){var a=b.clone.call(this);return a._hash=this._hash.clone(),a},blockSize:32});e.SHA512=b._createHelper(i),e.HmacSHA512=b._createHmacHelper(i)}(),d.SHA512)},78178:function(w,L,u){var d;w.exports=(d=u(27096),u(15047),u(29603),u(19362),u(56305),function(){var e=d,p=e.lib,b=p.WordArray,k=p.BlockCipher,v=e.algo,g=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],r=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],n=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],h=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],t=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],i=v.DES=k.extend({_doReset:function(){for(var c=this._key.words,l=[],s=0;s<56;s++){var B=g[s]-1;l[s]=c[B>>>5]>>>31-B%32&1}for(var H=this._subKeys=[],C=0;C<16;C++){var y=H[C]=[],W=n[C];for(s=0;s<24;s++)y[s/6|0]|=l[(r[s]-1+W)%28]<<31-s%6,y[4+(s/6|0)]|=l[28+(r[s+24]-1+W)%28]<<31-s%6;for(y[0]=y[0]<<1|y[0]>>>31,s=1;s<7;s++)y[s]=y[s]>>>4*(s-1)+3;y[7]=y[7]<<5|y[7]>>>27}var m=this._invSubKeys=[];for(s=0;s<16;s++)m[s]=H[15-s]},encryptBlock:function(o,c){this._doCryptBlock(o,c,this._subKeys)},decryptBlock:function(o,c){this._doCryptBlock(o,c,this._invSubKeys)},_doCryptBlock:function(o,c,l){this._lBlock=o[c],this._rBlock=o[c+1],a.call(this,4,252645135),a.call(this,16,65535),f.call(this,2,858993459),f.call(this,8,16711935),a.call(this,1,1431655765);for(var s=0;s<16;s++){for(var B=l[s],H=this._lBlock,C=this._rBlock,y=0,W=0;W<8;W++)y|=h[W][((C^B[W])&t[W])>>>0];this._lBlock=C,this._rBlock=H^y}var m=this._lBlock;this._lBlock=this._rBlock,this._rBlock=m,a.call(this,1,1431655765),f.call(this,8,16711935),f.call(this,2,858993459),a.call(this,16,65535),a.call(this,4,252645135),o[c]=this._lBlock,o[c+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function a(o,c){var l=(this._lBlock>>>o^this._rBlock)&c;this._rBlock^=l,this._lBlock^=l<<o}function f(o,c){var l=(this._rBlock>>>o^this._lBlock)&c;this._lBlock^=l,this._rBlock^=l<<o}e.DES=k._createHelper(i);var x=v.TripleDES=k.extend({_doReset:function(){var c=this._key.words;this._des1=i.createEncryptor(b.create(c.slice(0,2))),this._des2=i.createEncryptor(b.create(c.slice(2,4))),this._des3=i.createEncryptor(b.create(c.slice(4,6)))},encryptBlock:function(o,c){this._des1.encryptBlock(o,c),this._des2.decryptBlock(o,c),this._des3.encryptBlock(o,c)},decryptBlock:function(o,c){this._des3.decryptBlock(o,c),this._des2.encryptBlock(o,c),this._des1.decryptBlock(o,c)},keySize:6,ivSize:2,blockSize:2});e.TripleDES=k._createHelper(x)}(),d.TripleDES)},81520:function(w,L,u){var b,k,v,g,d;w.exports=(d=u(27096),k=(b=d.lib).Base,v=b.WordArray,(g=d.x64={}).Word=k.extend({init:function(h,t){this.high=h,this.low=t}}),g.WordArray=k.extend({init:function(h,t){h=this.words=h||[],this.sigBytes=null!=t?t:8*h.length},toX32:function(){for(var h=this.words,t=h.length,i=[],a=0;a<t;a++){var f=h[a];i.push(f.high),i.push(f.low)}return v.create(i,this.sigBytes)},clone:function(){for(var h=k.clone.call(this),t=h.words=this.words.slice(0),i=t.length,a=0;a<i;a++)t[a]=t[a].clone();return h}}),d)}}]);
package/build/dist/482.js CHANGED
@@ -1 +1 @@
1
- (self.webpackChunkaltair=self.webpackChunkaltair||[]).push([[482],{22482:(C,f,r)=>{"use strict";r.r(f),r.d(f,{WebsocketSubscriptionProvider:()=>y});var a=r(69972),g=r(48921),w=r(12418);class y extends a.q{createClient(){var s;this.client=new g.SubscriptionClient(this.subscriptionUrl,{reconnect:!0,connectionParams:this.connectionParams,connectionCallback:null===(s=this.extraOptions)||void 0===s?void 0:s.onConnected})}execute(s){if(this.createClient(),!this.client)throw new Error("Could not create subscription client!");return new w.y(u=>{const l=this.client.request({query:s.query,variables:s.variables,operationName:s.operationName}).subscribe({next:(...I)=>u.next(...I),error:(...I)=>u.error(...I),complete:()=>u.complete()});this.cleanup=l.unsubscribe})}close(){var s,u,l;null===(s=this.cleanup)||void 0===s||s.call(this),this.cleanup=void 0,null===(u=this.client)||void 0===u||u.unsubscribeAll(),null===(l=this.client)||void 0===l||l.close(),this.client=void 0}}},50586:C=>{function f(r){this.ms=(r=r||{}).min||100,this.max=r.max||1e4,this.factor=r.factor||2,this.jitter=r.jitter>0&&r.jitter<=1?r.jitter:0,this.attempts=0}C.exports=f,f.prototype.duration=function(){var r=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var a=Math.random(),g=Math.floor(a*this.jitter*r);r=0==(1&Math.floor(10*a))?r-g:r+g}return 0|Math.min(r,this.max)},f.prototype.reset=function(){this.attempts=0},f.prototype.setMin=function(r){this.ms=r},f.prototype.setMax=function(r){this.max=r},f.prototype.setJitter=function(r){this.jitter=r}},73817:C=>{"use strict";var f=Object.prototype.hasOwnProperty,r="~";function a(){}function g(d,s,u){this.fn=d,this.context=s,this.once=u||!1}function A(d,s,u,l,I){if("function"!=typeof u)throw new TypeError("The listener must be a function");var O=new g(u,l||d,I),b=r?r+s:s;return d._events[b]?d._events[b].fn?d._events[b]=[d._events[b],O]:d._events[b].push(O):(d._events[b]=O,d._eventsCount++),d}function w(d,s){0==--d._eventsCount?d._events=new a:delete d._events[s]}function y(){this._events=new a,this._eventsCount=0}Object.create&&(a.prototype=Object.create(null),(new a).__proto__||(r=!1)),y.prototype.eventNames=function(){var u,l,s=[];if(0===this._eventsCount)return s;for(l in u=this._events)f.call(u,l)&&s.push(r?l.slice(1):l);return Object.getOwnPropertySymbols?s.concat(Object.getOwnPropertySymbols(u)):s},y.prototype.listeners=function(s){var l=this._events[r?r+s:s];if(!l)return[];if(l.fn)return[l.fn];for(var I=0,O=l.length,b=new Array(O);I<O;I++)b[I]=l[I].fn;return b},y.prototype.listenerCount=function(s){var l=this._events[r?r+s:s];return l?l.fn?1:l.length:0},y.prototype.emit=function(s,u,l,I,O,b){var M=r?r+s:s;if(!this._events[M])return!1;var _,T,p=this._events[M],S=arguments.length;if(p.fn){switch(p.once&&this.removeListener(s,p.fn,void 0,!0),S){case 1:return p.fn.call(p.context),!0;case 2:return p.fn.call(p.context,u),!0;case 3:return p.fn.call(p.context,u,l),!0;case 4:return p.fn.call(p.context,u,l,I),!0;case 5:return p.fn.call(p.context,u,l,I,O),!0;case 6:return p.fn.call(p.context,u,l,I,O,b),!0}for(T=1,_=new Array(S-1);T<S;T++)_[T-1]=arguments[T];p.fn.apply(p.context,_)}else{var t,c=p.length;for(T=0;T<c;T++)switch(p[T].once&&this.removeListener(s,p[T].fn,void 0,!0),S){case 1:p[T].fn.call(p[T].context);break;case 2:p[T].fn.call(p[T].context,u);break;case 3:p[T].fn.call(p[T].context,u,l);break;case 4:p[T].fn.call(p[T].context,u,l,I);break;default:if(!_)for(t=1,_=new Array(S-1);t<S;t++)_[t-1]=arguments[t];p[T].fn.apply(p[T].context,_)}}return!0},y.prototype.on=function(s,u,l){return A(this,s,u,l,!1)},y.prototype.once=function(s,u,l){return A(this,s,u,l,!0)},y.prototype.removeListener=function(s,u,l,I){var O=r?r+s:s;if(!this._events[O])return this;if(!u)return w(this,O),this;var b=this._events[O];if(b.fn)b.fn===u&&(!I||b.once)&&(!l||b.context===l)&&w(this,O);else{for(var M=0,p=[],S=b.length;M<S;M++)(b[M].fn!==u||I&&!b[M].once||l&&b[M].context!==l)&&p.push(b[M]);p.length?this._events[O]=1===p.length?p[0]:p:w(this,O)}return this},y.prototype.removeAllListeners=function(s){var u;return s?this._events[u=r?r+s:s]&&w(this,u):(this._events=new a,this._eventsCount=0),this},y.prototype.off=y.prototype.removeListener,y.prototype.addListener=y.prototype.on,y.prefixed=r,y.EventEmitter=y,C.exports=y},48921:function(C,f,r){"use strict";var a=this&&this.__assign||function(){return a=Object.assign||function(c){for(var t,e=1,n=arguments.length;e<n;e++)for(var o in t=arguments[e])Object.prototype.hasOwnProperty.call(t,o)&&(c[o]=t[o]);return c},a.apply(this,arguments)},g=this&&this.__awaiter||function(c,t,e,n){return new(e||(e=Promise))(function(i,v){function E(m){try{h(n.next(m))}catch(R){v(R)}}function N(m){try{h(n.throw(m))}catch(R){v(R)}}function h(m){m.done?i(m.value):function o(i){return i instanceof e?i:new e(function(v){v(i)})}(m.value).then(E,N)}h((n=n.apply(c,t||[])).next())})},A=this&&this.__generator||function(c,t){var n,o,i,v,e={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return v={next:E(0),throw:E(1),return:E(2)},"function"==typeof Symbol&&(v[Symbol.iterator]=function(){return this}),v;function E(h){return function(m){return function N(h){if(n)throw new TypeError("Generator is already executing.");for(;e;)try{if(n=1,o&&(i=2&h[0]?o.return:h[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,h[1])).done)return i;switch(o=0,i&&(h=[2&h[0],i.value]),h[0]){case 0:case 1:i=h;break;case 4:return e.label++,{value:h[1],done:!1};case 5:e.label++,o=h[1],h=[0];continue;case 7:h=e.ops.pop(),e.trys.pop();continue;default:if(!(i=(i=e.trys).length>0&&i[i.length-1])&&(6===h[0]||2===h[0])){e=0;continue}if(3===h[0]&&(!i||h[1]>i[0]&&h[1]<i[3])){e.label=h[1];break}if(6===h[0]&&e.label<i[1]){e.label=i[1],i=h;break}if(i&&e.label<i[2]){e.label=i[2],e.ops.push(h);break}i[2]&&e.ops.pop(),e.trys.pop();continue}h=t.call(c,e)}catch(m){h=[6,m],o=0}finally{n=i=0}if(5&h[0])throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}([h,m])}}},w=this&&this.__spreadArrays||function(){for(var c=0,t=0,e=arguments.length;t<e;t++)c+=arguments[t].length;var n=Array(c),o=0;for(t=0;t<e;t++)for(var i=arguments[t],v=0,E=i.length;v<E;v++,o++)n[o]=i[v];return n};Object.defineProperty(f,"__esModule",{value:!0}),f.SubscriptionClient=void 0;var y=typeof global<"u"?global:typeof window<"u"?window:{},d=y.WebSocket||y.MozWebSocket,s=r(50586),u=r(73817),l=r(23273),I=r(13942),O=r(71352),b=r(69251),M=r(60433),p=r(28938),S=r(17987),_=r(56399),T=function(){function c(t,e,n,o){var i=e||{},v=i.connectionCallback,E=void 0===v?void 0:v,N=i.connectionParams,h=void 0===N?{}:N,m=i.minTimeout,R=void 0===m?S.MIN_WS_TIMEOUT:m,P=i.timeout,U=void 0===P?S.WS_TIMEOUT:P,L=i.reconnect,j=void 0!==L&&L,k=i.reconnectionAttempts,W=void 0===k?1/0:k,x=i.lazy,B=void 0!==x&&x,G=i.inactivityTimeout,D=void 0===G?0:G,Q=i.wsOptionArguments,K=void 0===Q?[]:Q;if(this.wsImpl=n||d,!this.wsImpl)throw new Error("Unable to find native implementation, or alternative implementation for WebSocket!");this.wsProtocols=o||p.GRAPHQL_WS,this.connectionCallback=E,this.url=t,this.operations={},this.nextOperationId=0,this.minWsTimeout=R,this.wsTimeout=U,this.unsentMessagesQueue=[],this.reconnect=j,this.reconnecting=!1,this.reconnectionAttempts=W,this.lazy=!!B,this.inactivityTimeout=D,this.closedByUser=!1,this.backoff=new s({jitter:.5}),this.eventEmitter=new u.EventEmitter,this.middlewares=[],this.client=null,this.maxConnectTimeGenerator=this.createMaxConnectTimeGenerator(),this.connectionParams=this.getConnectionParams(h),this.wsOptionArguments=K,this.lazy||this.connect()}return Object.defineProperty(c.prototype,"status",{get:function(){return null===this.client?this.wsImpl.CLOSED:this.client.readyState},enumerable:!1,configurable:!0}),c.prototype.close=function(t,e){void 0===t&&(t=!0),void 0===e&&(e=!0),this.clearInactivityTimeout(),null!==this.client&&(this.closedByUser=e,t&&(this.clearCheckConnectionInterval(),this.clearMaxConnectTimeout(),this.clearTryReconnectTimeout(),this.unsubscribeAll(),this.sendMessage(void 0,_.default.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"),t||this.tryReconnect())},c.prototype.request=function(t){var e,v,n=this.getObserver.bind(this),o=this.executeOperation.bind(this),i=this.unsubscribe.bind(this);return this.clearInactivityTimeout(),(e={})[M.default]=function(){return this},e.subscribe=function(E,N,h){var m=n(E,N,h);return v=o(t,function(R,P){null===R&&null===P?m.complete&&m.complete():R?m.error&&m.error(R[0]):m.next&&m.next(P)}),{unsubscribe:function(){v&&(i(v),v=null)}}},e},c.prototype.on=function(t,e,n){var o=this.eventEmitter.on(t,e,n);return function(){o.off(t,e,n)}},c.prototype.onConnected=function(t,e){return this.on("connected",t,e)},c.prototype.onConnecting=function(t,e){return this.on("connecting",t,e)},c.prototype.onDisconnected=function(t,e){return this.on("disconnected",t,e)},c.prototype.onReconnected=function(t,e){return this.on("reconnected",t,e)},c.prototype.onReconnecting=function(t,e){return this.on("reconnecting",t,e)},c.prototype.onError=function(t,e){return this.on("error",t,e)},c.prototype.unsubscribeAll=function(){var t=this;Object.keys(this.operations).forEach(function(e){t.unsubscribe(e)})},c.prototype.applyMiddlewares=function(t){var e=this;return new Promise(function(n,o){var v,E,N;v=w(e.middlewares),E=e,(N=function(h){if(h)o(h);else if(v.length>0){var m=v.shift();m&&m.applyMiddleware.apply(E,[t,N])}else n(t)})()})},c.prototype.use=function(t){var e=this;return t.map(function(n){if("function"!=typeof n.applyMiddleware)throw new Error("Middleware must implement the applyMiddleware function.");e.middlewares.push(n)}),this},c.prototype.getConnectionParams=function(t){return function(){return new Promise(function(e,n){if("function"==typeof t)try{return e(t.call(null))}catch(o){return n(o)}e(t)})}},c.prototype.executeOperation=function(t,e){var n=this;null===this.client&&this.connect();var o=this.generateOperationId();return this.operations[o]={options:t,handler:e},this.applyMiddlewares(t).then(function(i){n.checkOperationOptions(i,e),n.operations[o]&&(n.operations[o]={options:i,handler:e},n.sendMessage(o,_.default.GQL_START,i))}).catch(function(i){n.unsubscribe(o),e(n.formatErrors(i))}),o},c.prototype.getObserver=function(t,e,n){return"function"==typeof t?{next:function(o){return t(o)},error:function(o){return e&&e(o)},complete:function(){return n&&n()}}:t},c.prototype.createMaxConnectTimeGenerator=function(){return new s({min:this.minWsTimeout,max:this.wsTimeout,factor:1.2})},c.prototype.clearCheckConnectionInterval=function(){this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnectionIntervalId=null)},c.prototype.clearMaxConnectTimeout=function(){this.maxConnectTimeoutId&&(clearTimeout(this.maxConnectTimeoutId),this.maxConnectTimeoutId=null)},c.prototype.clearTryReconnectTimeout=function(){this.tryReconnectTimeoutId&&(clearTimeout(this.tryReconnectTimeoutId),this.tryReconnectTimeoutId=null)},c.prototype.clearInactivityTimeout=function(){this.inactivityTimeoutId&&(clearTimeout(this.inactivityTimeoutId),this.inactivityTimeoutId=null)},c.prototype.setInactivityTimeout=function(){var t=this;this.inactivityTimeout>0&&0===Object.keys(this.operations).length&&(this.inactivityTimeoutId=setTimeout(function(){0===Object.keys(t.operations).length&&t.close()},this.inactivityTimeout))},c.prototype.checkOperationOptions=function(t,e){var n=t.query,o=t.variables,i=t.operationName;if(!n)throw new Error("Must provide a query.");if(!e)throw new Error("Must provide an handler.");if(!l.default(n)&&!b.getOperationAST(n,i)||i&&!l.default(i)||o&&!I.default(o))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.")},c.prototype.buildMessage=function(t,e,n){return{id:t,type:e,payload:n&&n.query?a(a({},n),{query:"string"==typeof n.query?n.query:O.print(n.query)}):n}},c.prototype.formatErrors=function(t){return Array.isArray(t)?t:t&&t.errors?this.formatErrors(t.errors):t&&t.message?[t]:[{name:"FormatedError",message:"Unknown error",originalError:t}]},c.prototype.sendMessage=function(t,e,n){this.sendMessageRaw(this.buildMessage(t,e,n))},c.prototype.sendMessageRaw=function(t){switch(this.status){case this.wsImpl.OPEN:var e=JSON.stringify(t);try{JSON.parse(e)}catch{this.eventEmitter.emit("error",new Error("Message must be JSON-serializable. Got: "+t))}this.client.send(e);break;case this.wsImpl.CONNECTING:this.unsentMessagesQueue.push(t);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(t)))}},c.prototype.generateOperationId=function(){return String(++this.nextOperationId)},c.prototype.tryReconnect=function(){var t=this;if(this.reconnect&&!(this.backoff.attempts>=this.reconnectionAttempts)){this.reconnecting||(Object.keys(this.operations).forEach(function(n){t.unsentMessagesQueue.push(t.buildMessage(n,_.default.GQL_START,t.operations[n].options))}),this.reconnecting=!0),this.clearTryReconnectTimeout();var e=this.backoff.duration();this.tryReconnectTimeoutId=setTimeout(function(){t.connect()},e)}},c.prototype.flushUnsentMessagesQueue=function(){var t=this;this.unsentMessagesQueue.forEach(function(e){t.sendMessageRaw(e)}),this.unsentMessagesQueue=[]},c.prototype.checkConnection=function(){this.wasKeepAliveReceived?this.wasKeepAliveReceived=!1:this.reconnecting||this.close(!1,!0)},c.prototype.checkMaxConnectTimeout=function(){var t=this;this.clearMaxConnectTimeout(),this.maxConnectTimeoutId=setTimeout(function(){t.status!==t.wsImpl.OPEN&&(t.reconnecting=!0,t.close(!1,!0))},this.maxConnectTimeGenerator.duration())},c.prototype.connect=function(){var t,e=this;this.client=new((t=this.wsImpl).bind.apply(t,w([void 0,this.url,this.wsProtocols],this.wsOptionArguments))),this.checkMaxConnectTimeout(),this.client.onopen=function(){return g(e,void 0,void 0,function(){var n,o;return A(this,function(i){switch(i.label){case 0:if(this.status!==this.wsImpl.OPEN)return[3,4];this.clearMaxConnectTimeout(),this.closedByUser=!1,this.eventEmitter.emit(this.reconnecting?"reconnecting":"connecting"),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this.connectionParams()];case 2:return n=i.sent(),this.sendMessage(void 0,_.default.GQL_CONNECTION_INIT,n),this.flushUnsentMessagesQueue(),[3,4];case 3:return o=i.sent(),this.sendMessage(void 0,_.default.GQL_CONNECTION_ERROR,o),this.flushUnsentMessagesQueue(),[3,4];case 4:return[2]}})})},this.client.onclose=function(){e.closedByUser||e.close(!1,!1)},this.client.onerror=function(n){e.eventEmitter.emit("error",n)},this.client.onmessage=function(n){e.processReceivedData(n.data)}},c.prototype.processReceivedData=function(t){var e,n;try{n=(e=JSON.parse(t)).id}catch{throw new Error("Message must be JSON-parseable. Got: "+t)}if(-1===[_.default.GQL_DATA,_.default.GQL_COMPLETE,_.default.GQL_ERROR].indexOf(e.type)||this.operations[n])switch(e.type){case _.default.GQL_CONNECTION_ERROR:this.connectionCallback&&this.connectionCallback(e.payload);break;case _.default.GQL_CONNECTION_ACK:this.eventEmitter.emit(this.reconnecting?"reconnected":"connected",e.payload),this.reconnecting=!1,this.backoff.reset(),this.maxConnectTimeGenerator.reset(),this.connectionCallback&&this.connectionCallback();break;case _.default.GQL_COMPLETE:var o=this.operations[n].handler;delete this.operations[n],o.call(this,null,null);break;case _.default.GQL_ERROR:this.operations[n].handler(this.formatErrors(e.payload),null),delete this.operations[n];break;case _.default.GQL_DATA:var i=e.payload.errors?a(a({},e.payload),{errors:this.formatErrors(e.payload.errors)}):e.payload;this.operations[n].handler(null,i);break;case _.default.GQL_CONNECTION_KEEP_ALIVE:var v=typeof this.wasKeepAliveReceived>"u";this.wasKeepAliveReceived=!0,v&&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(n)},c.prototype.unsubscribe=function(t){this.operations[t]&&(delete this.operations[t],this.setInactivityTimeout(),this.sendMessage(t,_.default.GQL_STOP,void 0))},c}();f.SubscriptionClient=T},17987:(C,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.WS_TIMEOUT=f.MIN_WS_TIMEOUT=void 0,f.MIN_WS_TIMEOUT=1e3,f.WS_TIMEOUT=3e4},56399:(C,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0});var r=function(){function a(){throw new Error("Static Class")}return a.GQL_CONNECTION_INIT="connection_init",a.GQL_CONNECTION_ACK="connection_ack",a.GQL_CONNECTION_ERROR="connection_error",a.GQL_CONNECTION_KEEP_ALIVE="ka",a.GQL_CONNECTION_TERMINATE="connection_terminate",a.GQL_START="start",a.GQL_DATA="data",a.GQL_ERROR="error",a.GQL_COMPLETE="complete",a.GQL_STOP="stop",a.SUBSCRIPTION_START="subscription_start",a.SUBSCRIPTION_DATA="subscription_data",a.SUBSCRIPTION_SUCCESS="subscription_success",a.SUBSCRIPTION_FAIL="subscription_fail",a.SUBSCRIPTION_END="subscription_end",a.INIT="init",a.INIT_SUCCESS="init_success",a.INIT_FAIL="init_fail",a.KEEP_ALIVE="keepalive",a}();f.default=r},28938:(C,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.GRAPHQL_SUBSCRIPTIONS=f.GRAPHQL_WS=void 0,f.GRAPHQL_WS="graphql-ws",f.GRAPHQL_SUBSCRIPTIONS="graphql-subscriptions"},13942:(C,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=function r(a){return null!==a&&"object"==typeof a}},23273:(C,f)=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=function r(a){return"string"==typeof a}},60433:(C,f,r)=>{"use strict";r.r(f),r.d(f,{default:()=>w}),C=r.hmd(C);const w=function a(y){var d,s=y.Symbol;return"function"==typeof s?s.observable?d=s.observable:(d=s("observable"),s.observable=d):d="@@observable",d}(typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:C)}}]);
1
+ (self.webpackChunkaltair=self.webpackChunkaltair||[]).push([[482],{39607:C=>{function u(r){this.ms=(r=r||{}).min||100,this.max=r.max||1e4,this.factor=r.factor||2,this.jitter=r.jitter>0&&r.jitter<=1?r.jitter:0,this.attempts=0}C.exports=u,u.prototype.duration=function(){var r=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var o=Math.random(),O=Math.floor(o*this.jitter*r);r=0==(1&Math.floor(10*o))?r-O:r+O}return 0|Math.min(r,this.max)},u.prototype.reset=function(){this.attempts=0},u.prototype.setMin=function(r){this.ms=r},u.prototype.setMax=function(r){this.max=r},u.prototype.setJitter=function(r){this.jitter=r}},74956:C=>{"use strict";var u=Object.prototype.hasOwnProperty,r="~";function o(){}function O(d,a,l){this.fn=d,this.context=a,this.once=l||!1}function A(d,a,l,p,I){if("function"!=typeof l)throw new TypeError("The listener must be a function");var g=new O(l,p||d,I),b=r?r+a:a;return d._events[b]?d._events[b].fn?d._events[b]=[d._events[b],g]:d._events[b].push(g):(d._events[b]=g,d._eventsCount++),d}function w(d,a){0==--d._eventsCount?d._events=new o:delete d._events[a]}function y(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(r=!1)),y.prototype.eventNames=function(){var l,p,a=[];if(0===this._eventsCount)return a;for(p in l=this._events)u.call(l,p)&&a.push(r?p.slice(1):p);return Object.getOwnPropertySymbols?a.concat(Object.getOwnPropertySymbols(l)):a},y.prototype.listeners=function(a){var p=this._events[r?r+a:a];if(!p)return[];if(p.fn)return[p.fn];for(var I=0,g=p.length,b=new Array(g);I<g;I++)b[I]=p[I].fn;return b},y.prototype.listenerCount=function(a){var p=this._events[r?r+a:a];return p?p.fn?1:p.length:0},y.prototype.emit=function(a,l,p,I,g,b){var M=r?r+a:a;if(!this._events[M])return!1;var _,T,h=this._events[M],S=arguments.length;if(h.fn){switch(h.once&&this.removeListener(a,h.fn,void 0,!0),S){case 1:return h.fn.call(h.context),!0;case 2:return h.fn.call(h.context,l),!0;case 3:return h.fn.call(h.context,l,p),!0;case 4:return h.fn.call(h.context,l,p,I),!0;case 5:return h.fn.call(h.context,l,p,I,g),!0;case 6:return h.fn.call(h.context,l,p,I,g,b),!0}for(T=1,_=new Array(S-1);T<S;T++)_[T-1]=arguments[T];h.fn.apply(h.context,_)}else{var t,c=h.length;for(T=0;T<c;T++)switch(h[T].once&&this.removeListener(a,h[T].fn,void 0,!0),S){case 1:h[T].fn.call(h[T].context);break;case 2:h[T].fn.call(h[T].context,l);break;case 3:h[T].fn.call(h[T].context,l,p);break;case 4:h[T].fn.call(h[T].context,l,p,I);break;default:if(!_)for(t=1,_=new Array(S-1);t<S;t++)_[t-1]=arguments[t];h[T].fn.apply(h[T].context,_)}}return!0},y.prototype.on=function(a,l,p){return A(this,a,l,p,!1)},y.prototype.once=function(a,l,p){return A(this,a,l,p,!0)},y.prototype.removeListener=function(a,l,p,I){var g=r?r+a:a;if(!this._events[g])return this;if(!l)return w(this,g),this;var b=this._events[g];if(b.fn)b.fn===l&&(!I||b.once)&&(!p||b.context===p)&&w(this,g);else{for(var M=0,h=[],S=b.length;M<S;M++)(b[M].fn!==l||I&&!b[M].once||p&&b[M].context!==p)&&h.push(b[M]);h.length?this._events[g]=1===h.length?h[0]:h:w(this,g)}return this},y.prototype.removeAllListeners=function(a){var l;return a?this._events[l=r?r+a:a]&&w(this,l):(this._events=new o,this._eventsCount=0),this},y.prototype.off=y.prototype.removeListener,y.prototype.addListener=y.prototype.on,y.prefixed=r,y.EventEmitter=y,C.exports=y},59694:function(C,u,r){"use strict";var o=this&&this.__assign||function(){return o=Object.assign||function(c){for(var t,e=1,n=arguments.length;e<n;e++)for(var s in t=arguments[e])Object.prototype.hasOwnProperty.call(t,s)&&(c[s]=t[s]);return c},o.apply(this,arguments)},O=this&&this.__awaiter||function(c,t,e,n){return new(e||(e=Promise))(function(i,v){function E(m){try{f(n.next(m))}catch(R){v(R)}}function N(m){try{f(n.throw(m))}catch(R){v(R)}}function f(m){m.done?i(m.value):function s(i){return i instanceof e?i:new e(function(v){v(i)})}(m.value).then(E,N)}f((n=n.apply(c,t||[])).next())})},A=this&&this.__generator||function(c,t){var n,s,i,v,e={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return v={next:E(0),throw:E(1),return:E(2)},"function"==typeof Symbol&&(v[Symbol.iterator]=function(){return this}),v;function E(f){return function(m){return function N(f){if(n)throw new TypeError("Generator is already executing.");for(;e;)try{if(n=1,s&&(i=2&f[0]?s.return:f[0]?s.throw||((i=s.return)&&i.call(s),0):s.next)&&!(i=i.call(s,f[1])).done)return i;switch(s=0,i&&(f=[2&f[0],i.value]),f[0]){case 0:case 1:i=f;break;case 4:return e.label++,{value:f[1],done:!1};case 5:e.label++,s=f[1],f=[0];continue;case 7:f=e.ops.pop(),e.trys.pop();continue;default:if(!(i=(i=e.trys).length>0&&i[i.length-1])&&(6===f[0]||2===f[0])){e=0;continue}if(3===f[0]&&(!i||f[1]>i[0]&&f[1]<i[3])){e.label=f[1];break}if(6===f[0]&&e.label<i[1]){e.label=i[1],i=f;break}if(i&&e.label<i[2]){e.label=i[2],e.ops.push(f);break}i[2]&&e.ops.pop(),e.trys.pop();continue}f=t.call(c,e)}catch(m){f=[6,m],s=0}finally{n=i=0}if(5&f[0])throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}([f,m])}}},w=this&&this.__spreadArrays||function(){for(var c=0,t=0,e=arguments.length;t<e;t++)c+=arguments[t].length;var n=Array(c),s=0;for(t=0;t<e;t++)for(var i=arguments[t],v=0,E=i.length;v<E;v++,s++)n[s]=i[v];return n};Object.defineProperty(u,"__esModule",{value:!0}),u.SubscriptionClient=void 0;var y=typeof global<"u"?global:typeof window<"u"?window:{},d=y.WebSocket||y.MozWebSocket,a=r(39607),l=r(74956),p=r(53763),I=r(33600),g=r(8511),b=r(34655),M=r(24446),h=r(88571),S=r(58670),_=r(44510),T=function(){function c(t,e,n,s){var i=e||{},v=i.connectionCallback,E=void 0===v?void 0:v,N=i.connectionParams,f=void 0===N?{}:N,m=i.minTimeout,R=void 0===m?S.MIN_WS_TIMEOUT:m,P=i.timeout,U=void 0===P?S.WS_TIMEOUT:P,L=i.reconnect,j=void 0!==L&&L,k=i.reconnectionAttempts,W=void 0===k?1/0:k,x=i.lazy,B=void 0!==x&&x,G=i.inactivityTimeout,D=void 0===G?0:G,Q=i.wsOptionArguments,K=void 0===Q?[]:Q;if(this.wsImpl=n||d,!this.wsImpl)throw new Error("Unable to find native implementation, or alternative implementation for WebSocket!");this.wsProtocols=s||h.GRAPHQL_WS,this.connectionCallback=E,this.url=t,this.operations={},this.nextOperationId=0,this.minWsTimeout=R,this.wsTimeout=U,this.unsentMessagesQueue=[],this.reconnect=j,this.reconnecting=!1,this.reconnectionAttempts=W,this.lazy=!!B,this.inactivityTimeout=D,this.closedByUser=!1,this.backoff=new a({jitter:.5}),this.eventEmitter=new l.EventEmitter,this.middlewares=[],this.client=null,this.maxConnectTimeGenerator=this.createMaxConnectTimeGenerator(),this.connectionParams=this.getConnectionParams(f),this.wsOptionArguments=K,this.lazy||this.connect()}return Object.defineProperty(c.prototype,"status",{get:function(){return null===this.client?this.wsImpl.CLOSED:this.client.readyState},enumerable:!1,configurable:!0}),c.prototype.close=function(t,e){void 0===t&&(t=!0),void 0===e&&(e=!0),this.clearInactivityTimeout(),null!==this.client&&(this.closedByUser=e,t&&(this.clearCheckConnectionInterval(),this.clearMaxConnectTimeout(),this.clearTryReconnectTimeout(),this.unsubscribeAll(),this.sendMessage(void 0,_.default.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"),t||this.tryReconnect())},c.prototype.request=function(t){var e,v,n=this.getObserver.bind(this),s=this.executeOperation.bind(this),i=this.unsubscribe.bind(this);return this.clearInactivityTimeout(),(e={})[M.default]=function(){return this},e.subscribe=function(E,N,f){var m=n(E,N,f);return v=s(t,function(R,P){null===R&&null===P?m.complete&&m.complete():R?m.error&&m.error(R[0]):m.next&&m.next(P)}),{unsubscribe:function(){v&&(i(v),v=null)}}},e},c.prototype.on=function(t,e,n){var s=this.eventEmitter.on(t,e,n);return function(){s.off(t,e,n)}},c.prototype.onConnected=function(t,e){return this.on("connected",t,e)},c.prototype.onConnecting=function(t,e){return this.on("connecting",t,e)},c.prototype.onDisconnected=function(t,e){return this.on("disconnected",t,e)},c.prototype.onReconnected=function(t,e){return this.on("reconnected",t,e)},c.prototype.onReconnecting=function(t,e){return this.on("reconnecting",t,e)},c.prototype.onError=function(t,e){return this.on("error",t,e)},c.prototype.unsubscribeAll=function(){var t=this;Object.keys(this.operations).forEach(function(e){t.unsubscribe(e)})},c.prototype.applyMiddlewares=function(t){var e=this;return new Promise(function(n,s){var v,E,N;v=w(e.middlewares),E=e,(N=function(f){if(f)s(f);else if(v.length>0){var m=v.shift();m&&m.applyMiddleware.apply(E,[t,N])}else n(t)})()})},c.prototype.use=function(t){var e=this;return t.map(function(n){if("function"!=typeof n.applyMiddleware)throw new Error("Middleware must implement the applyMiddleware function.");e.middlewares.push(n)}),this},c.prototype.getConnectionParams=function(t){return function(){return new Promise(function(e,n){if("function"==typeof t)try{return e(t.call(null))}catch(s){return n(s)}e(t)})}},c.prototype.executeOperation=function(t,e){var n=this;null===this.client&&this.connect();var s=this.generateOperationId();return this.operations[s]={options:t,handler:e},this.applyMiddlewares(t).then(function(i){n.checkOperationOptions(i,e),n.operations[s]&&(n.operations[s]={options:i,handler:e},n.sendMessage(s,_.default.GQL_START,i))}).catch(function(i){n.unsubscribe(s),e(n.formatErrors(i))}),s},c.prototype.getObserver=function(t,e,n){return"function"==typeof t?{next:function(s){return t(s)},error:function(s){return e&&e(s)},complete:function(){return n&&n()}}:t},c.prototype.createMaxConnectTimeGenerator=function(){return new a({min:this.minWsTimeout,max:this.wsTimeout,factor:1.2})},c.prototype.clearCheckConnectionInterval=function(){this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnectionIntervalId=null)},c.prototype.clearMaxConnectTimeout=function(){this.maxConnectTimeoutId&&(clearTimeout(this.maxConnectTimeoutId),this.maxConnectTimeoutId=null)},c.prototype.clearTryReconnectTimeout=function(){this.tryReconnectTimeoutId&&(clearTimeout(this.tryReconnectTimeoutId),this.tryReconnectTimeoutId=null)},c.prototype.clearInactivityTimeout=function(){this.inactivityTimeoutId&&(clearTimeout(this.inactivityTimeoutId),this.inactivityTimeoutId=null)},c.prototype.setInactivityTimeout=function(){var t=this;this.inactivityTimeout>0&&0===Object.keys(this.operations).length&&(this.inactivityTimeoutId=setTimeout(function(){0===Object.keys(t.operations).length&&t.close()},this.inactivityTimeout))},c.prototype.checkOperationOptions=function(t,e){var n=t.query,s=t.variables,i=t.operationName;if(!n)throw new Error("Must provide a query.");if(!e)throw new Error("Must provide an handler.");if(!p.default(n)&&!b.getOperationAST(n,i)||i&&!p.default(i)||s&&!I.default(s))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.")},c.prototype.buildMessage=function(t,e,n){return{id:t,type:e,payload:n&&n.query?o(o({},n),{query:"string"==typeof n.query?n.query:g.print(n.query)}):n}},c.prototype.formatErrors=function(t){return Array.isArray(t)?t:t&&t.errors?this.formatErrors(t.errors):t&&t.message?[t]:[{name:"FormatedError",message:"Unknown error",originalError:t}]},c.prototype.sendMessage=function(t,e,n){this.sendMessageRaw(this.buildMessage(t,e,n))},c.prototype.sendMessageRaw=function(t){switch(this.status){case this.wsImpl.OPEN:var e=JSON.stringify(t);try{JSON.parse(e)}catch{this.eventEmitter.emit("error",new Error("Message must be JSON-serializable. Got: "+t))}this.client.send(e);break;case this.wsImpl.CONNECTING:this.unsentMessagesQueue.push(t);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(t)))}},c.prototype.generateOperationId=function(){return String(++this.nextOperationId)},c.prototype.tryReconnect=function(){var t=this;if(this.reconnect&&!(this.backoff.attempts>=this.reconnectionAttempts)){this.reconnecting||(Object.keys(this.operations).forEach(function(n){t.unsentMessagesQueue.push(t.buildMessage(n,_.default.GQL_START,t.operations[n].options))}),this.reconnecting=!0),this.clearTryReconnectTimeout();var e=this.backoff.duration();this.tryReconnectTimeoutId=setTimeout(function(){t.connect()},e)}},c.prototype.flushUnsentMessagesQueue=function(){var t=this;this.unsentMessagesQueue.forEach(function(e){t.sendMessageRaw(e)}),this.unsentMessagesQueue=[]},c.prototype.checkConnection=function(){this.wasKeepAliveReceived?this.wasKeepAliveReceived=!1:this.reconnecting||this.close(!1,!0)},c.prototype.checkMaxConnectTimeout=function(){var t=this;this.clearMaxConnectTimeout(),this.maxConnectTimeoutId=setTimeout(function(){t.status!==t.wsImpl.OPEN&&(t.reconnecting=!0,t.close(!1,!0))},this.maxConnectTimeGenerator.duration())},c.prototype.connect=function(){var t,e=this;this.client=new((t=this.wsImpl).bind.apply(t,w([void 0,this.url,this.wsProtocols],this.wsOptionArguments))),this.checkMaxConnectTimeout(),this.client.onopen=function(){return O(e,void 0,void 0,function(){var n,s;return A(this,function(i){switch(i.label){case 0:if(this.status!==this.wsImpl.OPEN)return[3,4];this.clearMaxConnectTimeout(),this.closedByUser=!1,this.eventEmitter.emit(this.reconnecting?"reconnecting":"connecting"),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this.connectionParams()];case 2:return n=i.sent(),this.sendMessage(void 0,_.default.GQL_CONNECTION_INIT,n),this.flushUnsentMessagesQueue(),[3,4];case 3:return s=i.sent(),this.sendMessage(void 0,_.default.GQL_CONNECTION_ERROR,s),this.flushUnsentMessagesQueue(),[3,4];case 4:return[2]}})})},this.client.onclose=function(){e.closedByUser||e.close(!1,!1)},this.client.onerror=function(n){e.eventEmitter.emit("error",n)},this.client.onmessage=function(n){e.processReceivedData(n.data)}},c.prototype.processReceivedData=function(t){var e,n;try{n=(e=JSON.parse(t)).id}catch{throw new Error("Message must be JSON-parseable. Got: "+t)}if(-1===[_.default.GQL_DATA,_.default.GQL_COMPLETE,_.default.GQL_ERROR].indexOf(e.type)||this.operations[n])switch(e.type){case _.default.GQL_CONNECTION_ERROR:this.connectionCallback&&this.connectionCallback(e.payload);break;case _.default.GQL_CONNECTION_ACK:this.eventEmitter.emit(this.reconnecting?"reconnected":"connected",e.payload),this.reconnecting=!1,this.backoff.reset(),this.maxConnectTimeGenerator.reset(),this.connectionCallback&&this.connectionCallback();break;case _.default.GQL_COMPLETE:var s=this.operations[n].handler;delete this.operations[n],s.call(this,null,null);break;case _.default.GQL_ERROR:this.operations[n].handler(this.formatErrors(e.payload),null),delete this.operations[n];break;case _.default.GQL_DATA:var i=e.payload.errors?o(o({},e.payload),{errors:this.formatErrors(e.payload.errors)}):e.payload;this.operations[n].handler(null,i);break;case _.default.GQL_CONNECTION_KEEP_ALIVE:var v=typeof this.wasKeepAliveReceived>"u";this.wasKeepAliveReceived=!0,v&&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(n)},c.prototype.unsubscribe=function(t){this.operations[t]&&(delete this.operations[t],this.setInactivityTimeout(),this.sendMessage(t,_.default.GQL_STOP,void 0))},c}();u.SubscriptionClient=T},58670:(C,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.WS_TIMEOUT=u.MIN_WS_TIMEOUT=void 0,u.MIN_WS_TIMEOUT=1e3,u.WS_TIMEOUT=3e4},44510:(C,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:!0});var r=function(){function o(){throw new Error("Static Class")}return o.GQL_CONNECTION_INIT="connection_init",o.GQL_CONNECTION_ACK="connection_ack",o.GQL_CONNECTION_ERROR="connection_error",o.GQL_CONNECTION_KEEP_ALIVE="ka",o.GQL_CONNECTION_TERMINATE="connection_terminate",o.GQL_START="start",o.GQL_DATA="data",o.GQL_ERROR="error",o.GQL_COMPLETE="complete",o.GQL_STOP="stop",o.SUBSCRIPTION_START="subscription_start",o.SUBSCRIPTION_DATA="subscription_data",o.SUBSCRIPTION_SUCCESS="subscription_success",o.SUBSCRIPTION_FAIL="subscription_fail",o.SUBSCRIPTION_END="subscription_end",o.INIT="init",o.INIT_SUCCESS="init_success",o.INIT_FAIL="init_fail",o.KEEP_ALIVE="keepalive",o}();u.default=r},88571:(C,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.GRAPHQL_SUBSCRIPTIONS=u.GRAPHQL_WS=void 0,u.GRAPHQL_WS="graphql-ws",u.GRAPHQL_SUBSCRIPTIONS="graphql-subscriptions"},33600:(C,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.default=function r(o){return null!==o&&"object"==typeof o}},53763:(C,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.default=function r(o){return"string"==typeof o}},24446:(C,u,r)=>{"use strict";r.r(u),r.d(u,{default:()=>w}),C=r.hmd(C);const w=function o(y){var d,a=y.Symbol;return"function"==typeof a?a.observable?d=a.observable:(d=a("observable"),a.observable=d):d="@@observable",d}(typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:C)},22482:(C,u,r)=>{"use strict";r.r(u),r.d(u,{WebsocketSubscriptionProvider:()=>y});var o=r(69972),O=r(59694),w=r(16922);class y extends o.q{createClient(){this.client=new O.SubscriptionClient(this.subscriptionUrl,{reconnect:!0,connectionParams:this.connectionParams,connectionCallback:this.extraOptions?.onConnected})}execute(a){if(this.createClient(),!this.client)throw new Error("Could not create subscription client!");return new w.y(l=>{const p=this.client.request({query:a.query,variables:a.variables,operationName:a.operationName}).subscribe({next:(...I)=>l.next(...I),error:(...I)=>l.error(...I),complete:()=>l.complete()});this.cleanup=p.unsubscribe})}close(){this.cleanup?.(),this.cleanup=void 0,this.client?.unsubscribeAll(),this.client?.close(),this.client=void 0}}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkaltair=self.webpackChunkaltair||[]).push([[657],{69972:(L,T,j)=>{j.d(T,{q:()=>v});class v{constructor(g,H,F){this.subscriptionUrl=g,this.connectionParams=H,this.extraOptions=F}}},12418:(L,T,j)=>{j.d(T,{y:()=>rt});var v=function(t,r){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o])})(t,r)};function x(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}v(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}function S(t){var r="function"==typeof Symbol&&Symbol.iterator,n=r&&t[r],e=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&e>=t.length&&(t=void 0),{value:t&&t[e++],done:!t}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function _(t,r){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var o,u,e=n.call(t),i=[];try{for(;(void 0===r||r-- >0)&&!(o=e.next()).done;)i.push(o.value)}catch(c){u={error:c}}finally{try{o&&!o.done&&(n=e.return)&&n.call(e)}finally{if(u)throw u.error}}return i}function w(t,r){for(var n=0,e=r.length,o=t.length;n<e;n++,o++)t[o]=r[n];return t}function y(t){return"function"==typeof t}var A=function J(t){var n=t(function(e){Error.call(e),e.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}(function(t){return function(n){t(this),this.message=n?n.length+" errors occurred during unsubscription:\n"+n.map(function(e,o){return o+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=n}});function C(t,r){if(t){var n=t.indexOf(r);0<=n&&t.splice(n,1)}}var I=function(){function t(r){this.initialTeardown=r,this.closed=!1,this._parentage=null,this._teardowns=null}return t.prototype.unsubscribe=function(){var r,n,e,o,i;if(!this.closed){this.closed=!0;var u=this._parentage;if(u)if(this._parentage=null,Array.isArray(u))try{for(var c=S(u),f=c.next();!f.done;f=c.next())f.value.remove(this)}catch(h){r={error:h}}finally{try{f&&!f.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}else u.remove(this);var l=this.initialTeardown;if(y(l))try{l()}catch(h){i=h instanceof A?h.errors:[h]}var d=this._teardowns;if(d){this._teardowns=null;try{for(var s=S(d),p=s.next();!p.done;p=s.next()){var m=p.value;try{Y(m)}catch(h){i=i??[],h instanceof A?i=w(w([],_(i)),_(h.errors)):i.push(h)}}}catch(h){e={error:h}}finally{try{p&&!p.done&&(o=s.return)&&o.call(s)}finally{if(e)throw e.error}}}if(i)throw new A(i)}},t.prototype.add=function(r){var n;if(r&&r!==this)if(this.closed)Y(r);else{if(r instanceof t){if(r.closed||r._hasParent(this))return;r._addParent(this)}(this._teardowns=null!==(n=this._teardowns)&&void 0!==n?n:[]).push(r)}},t.prototype._hasParent=function(r){var n=this._parentage;return n===r||Array.isArray(n)&&n.includes(r)},t.prototype._addParent=function(r){var n=this._parentage;this._parentage=Array.isArray(n)?(n.push(r),n):n?[n,r]:r},t.prototype._removeParent=function(r){var n=this._parentage;n===r?this._parentage=null:Array.isArray(n)&&C(n,r)},t.prototype.remove=function(r){var n=this._teardowns;n&&C(n,r),r instanceof t&&r._removeParent(this)},t.EMPTY=((r=new t).closed=!0,r),t;var r}();function N(t){return t instanceof I||t&&"closed"in t&&y(t.remove)&&y(t.add)&&y(t.unsubscribe)}function Y(t){y(t)?t():t.unsubscribe()}var P={setTimeout:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=P.delegate;return(n?.setTimeout||setTimeout).apply(void 0,w([],_(t)))},clearTimeout:function(t){return(P.delegate?.clearTimeout||clearTimeout)(t)},delegate:void 0};function K(t){P.setTimeout(function(){throw t})}function O(){}var Q=R("C",void 0,void 0);function R(t,r,n){return{kind:t,value:r,error:n}}var B=function(t){function r(n){var e=t.call(this)||this;return e.isStopped=!1,n?(e.destination=n,N(n)&&n.add(e)):e.destination=Z,e}return x(r,t),r.create=function(n,e,o){return new G(n,e,o)},r.prototype.next=function(n){this.isStopped?U(function X(t){return R("N",t,void 0)}(n),this):this._next(n)},r.prototype.error=function(n){this.isStopped?U(function W(t){return R("E",void 0,t)}(n),this):(this.isStopped=!0,this._error(n))},r.prototype.complete=function(){this.isStopped?U(Q,this):(this.isStopped=!0,this._complete())},r.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},r.prototype._next=function(n){this.destination.next(n)},r.prototype._error=function(n){try{this.destination.error(n)}finally{this.unsubscribe()}},r.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},r}(I),G=function(t){function r(n,e,o){var u,i=t.call(this)||this;if(y(n))u=n;else if(n){var c;e=n.error,o=n.complete,u=(u=n.next)?.bind(c=n),e=e?.bind(c),o=o?.bind(c)}return i.destination={next:u?D(u,i):O,error:D(e??q,i),complete:o?D(o,i):O},i}return x(r,t),r}(B);function D(t,r){return function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];try{t.apply(void 0,w([],_(n)))}catch(o){K(o)}}}function q(t){throw t}function U(t,r){var n=null;n&&P.setTimeout(function(){return n(t,r)})}var Z={closed:!0,next:O,error:q,complete:O},$="function"==typeof Symbol&&Symbol.observable||"@@observable";function tt(t){return t}function V(t){return 0===t.length?tt:1===t.length?t[0]:function(n){return t.reduce(function(e,o){return o(e)},n)}}var rt=function(){function t(r){r&&(this._subscribe=r)}return t.prototype.lift=function(r){var n=new t;return n.source=this,n.operator=r,n},t.prototype.subscribe=function(r,n,e){var o=function et(t){return t&&t instanceof B||function nt(t){return t&&y(t.next)&&y(t.error)&&y(t.complete)}(t)&&N(t)}(r)?r:new G(r,n,e),u=this.operator,c=this.source;return o.add(u?u.call(o,c):c?this._subscribe(o):this._trySubscribe(o)),o},t.prototype._deprecatedSyncErrorSubscribe=function(r){var n=r;n._syncErrorHack_isSubscribing=!0;var e=this.operator;if(e)r.add(e.call(r,this.source));else try{r.add(this._subscribe(r))}catch(i){n.__syncError=i}for(var o=n;o;){if("__syncError"in o)try{throw o.__syncError}finally{r.unsubscribe()}o=o.destination}n._syncErrorHack_isSubscribing=!1},t.prototype._trySubscribe=function(r){try{return this._subscribe(r)}catch(n){r.error(n)}},t.prototype.forEach=function(r,n){var e=this;return new(n=k(n))(function(o,i){var u;u=e.subscribe(function(c){try{r(c)}catch(f){i(f),u?.unsubscribe()}},i,o)})},t.prototype._subscribe=function(r){var n;return null===(n=this.source)||void 0===n?void 0:n.subscribe(r)},t.prototype[$]=function(){return this},t.prototype.pipe=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length?V(r)(this):this},t.prototype.toPromise=function(r){var n=this;return new(r=k(r))(function(e,o){var i;n.subscribe(function(u){return i=u},function(u){return o(u)},function(){return e(i)})})},t.create=function(r){return new t(r)},t}();function k(t){var r;return null!==(r=t??undefined)&&void 0!==r?r:Promise}}}]);
1
+ "use strict";(self.webpackChunkaltair=self.webpackChunkaltair||[]).push([[521],{69972:(L,T,j)=>{j.d(T,{q:()=>v});class v{constructor(g,H,F){this.subscriptionUrl=g,this.connectionParams=H,this.extraOptions=F}}},16922:(L,T,j)=>{j.d(T,{y:()=>rt});var v=function(t,r){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o])})(t,r)};function x(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}v(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}function S(t){var r="function"==typeof Symbol&&Symbol.iterator,n=r&&t[r],e=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&e>=t.length&&(t=void 0),{value:t&&t[e++],done:!t}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function _(t,r){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var o,u,e=n.call(t),i=[];try{for(;(void 0===r||r-- >0)&&!(o=e.next()).done;)i.push(o.value)}catch(c){u={error:c}}finally{try{o&&!o.done&&(n=e.return)&&n.call(e)}finally{if(u)throw u.error}}return i}function w(t,r){for(var n=0,e=r.length,o=t.length;n<e;n++,o++)t[o]=r[n];return t}function y(t){return"function"==typeof t}var A=function J(t){var n=t(function(e){Error.call(e),e.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}(function(t){return function(n){t(this),this.message=n?n.length+" errors occurred during unsubscription:\n"+n.map(function(e,o){return o+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=n}});function C(t,r){if(t){var n=t.indexOf(r);0<=n&&t.splice(n,1)}}var I=function(){function t(r){this.initialTeardown=r,this.closed=!1,this._parentage=null,this._teardowns=null}return t.prototype.unsubscribe=function(){var r,n,e,o,i;if(!this.closed){this.closed=!0;var u=this._parentage;if(u)if(this._parentage=null,Array.isArray(u))try{for(var c=S(u),f=c.next();!f.done;f=c.next())f.value.remove(this)}catch(h){r={error:h}}finally{try{f&&!f.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}else u.remove(this);var l=this.initialTeardown;if(y(l))try{l()}catch(h){i=h instanceof A?h.errors:[h]}var d=this._teardowns;if(d){this._teardowns=null;try{for(var s=S(d),p=s.next();!p.done;p=s.next()){var m=p.value;try{Y(m)}catch(h){i=i??[],h instanceof A?i=w(w([],_(i)),_(h.errors)):i.push(h)}}}catch(h){e={error:h}}finally{try{p&&!p.done&&(o=s.return)&&o.call(s)}finally{if(e)throw e.error}}}if(i)throw new A(i)}},t.prototype.add=function(r){var n;if(r&&r!==this)if(this.closed)Y(r);else{if(r instanceof t){if(r.closed||r._hasParent(this))return;r._addParent(this)}(this._teardowns=null!==(n=this._teardowns)&&void 0!==n?n:[]).push(r)}},t.prototype._hasParent=function(r){var n=this._parentage;return n===r||Array.isArray(n)&&n.includes(r)},t.prototype._addParent=function(r){var n=this._parentage;this._parentage=Array.isArray(n)?(n.push(r),n):n?[n,r]:r},t.prototype._removeParent=function(r){var n=this._parentage;n===r?this._parentage=null:Array.isArray(n)&&C(n,r)},t.prototype.remove=function(r){var n=this._teardowns;n&&C(n,r),r instanceof t&&r._removeParent(this)},t.EMPTY=((r=new t).closed=!0,r),t;var r}();function N(t){return t instanceof I||t&&"closed"in t&&y(t.remove)&&y(t.add)&&y(t.unsubscribe)}function Y(t){y(t)?t():t.unsubscribe()}var P={setTimeout:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=P.delegate;return(n?.setTimeout||setTimeout).apply(void 0,w([],_(t)))},clearTimeout:function(t){return(P.delegate?.clearTimeout||clearTimeout)(t)},delegate:void 0};function K(t){P.setTimeout(function(){throw t})}function O(){}var Q=R("C",void 0,void 0);function R(t,r,n){return{kind:t,value:r,error:n}}var B=function(t){function r(n){var e=t.call(this)||this;return e.isStopped=!1,n?(e.destination=n,N(n)&&n.add(e)):e.destination=Z,e}return x(r,t),r.create=function(n,e,o){return new G(n,e,o)},r.prototype.next=function(n){this.isStopped?U(function X(t){return R("N",t,void 0)}(n),this):this._next(n)},r.prototype.error=function(n){this.isStopped?U(function W(t){return R("E",void 0,t)}(n),this):(this.isStopped=!0,this._error(n))},r.prototype.complete=function(){this.isStopped?U(Q,this):(this.isStopped=!0,this._complete())},r.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},r.prototype._next=function(n){this.destination.next(n)},r.prototype._error=function(n){try{this.destination.error(n)}finally{this.unsubscribe()}},r.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},r}(I),G=function(t){function r(n,e,o){var u,i=t.call(this)||this;if(y(n))u=n;else if(n){var c;e=n.error,o=n.complete,u=(u=n.next)?.bind(c=n),e=e?.bind(c),o=o?.bind(c)}return i.destination={next:u?D(u,i):O,error:D(e??q,i),complete:o?D(o,i):O},i}return x(r,t),r}(B);function D(t,r){return function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];try{t.apply(void 0,w([],_(n)))}catch(o){K(o)}}}function q(t){throw t}function U(t,r){var n=null;n&&P.setTimeout(function(){return n(t,r)})}var Z={closed:!0,next:O,error:q,complete:O},$="function"==typeof Symbol&&Symbol.observable||"@@observable";function tt(t){return t}function V(t){return 0===t.length?tt:1===t.length?t[0]:function(n){return t.reduce(function(e,o){return o(e)},n)}}var rt=function(){function t(r){r&&(this._subscribe=r)}return t.prototype.lift=function(r){var n=new t;return n.source=this,n.operator=r,n},t.prototype.subscribe=function(r,n,e){var o=function et(t){return t&&t instanceof B||function nt(t){return t&&y(t.next)&&y(t.error)&&y(t.complete)}(t)&&N(t)}(r)?r:new G(r,n,e),u=this.operator,c=this.source;return o.add(u?u.call(o,c):c?this._subscribe(o):this._trySubscribe(o)),o},t.prototype._deprecatedSyncErrorSubscribe=function(r){var n=r;n._syncErrorHack_isSubscribing=!0;var e=this.operator;if(e)r.add(e.call(r,this.source));else try{r.add(this._subscribe(r))}catch(i){n.__syncError=i}for(var o=n;o;){if("__syncError"in o)try{throw o.__syncError}finally{r.unsubscribe()}o=o.destination}n._syncErrorHack_isSubscribing=!1},t.prototype._trySubscribe=function(r){try{return this._subscribe(r)}catch(n){r.error(n)}},t.prototype.forEach=function(r,n){var e=this;return new(n=k(n))(function(o,i){var u;u=e.subscribe(function(c){try{r(c)}catch(f){i(f),u?.unsubscribe()}},i,o)})},t.prototype._subscribe=function(r){var n;return null===(n=this.source)||void 0===n?void 0:n.subscribe(r)},t.prototype[$]=function(){return this},t.prototype.pipe=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length?V(r)(this):this},t.prototype.toPromise=function(r){var n=this;return new(r=k(r))(function(e,o){var i;n.subscribe(function(u){return i=u},function(u){return o(u)},function(){return e(i)})})},t.create=function(r){return new t(r)},t}();function k(t){var r;return null!==(r=t??undefined)&&void 0!==r?r:Promise}}}]);