examples.waku.org/relay-angular-chat/main.4bc6d4996ff8dc3f.js

1 line
1008 KiB
JavaScript
Raw Normal View History

2022-12-12 04:59:35 +00:00
var N$=Object.defineProperty,M$=(q,V,x)=>V in q?N$(q,V,{enumerable:!0,configurable:!0,writable:!0,value:x}):q[V]=x,nf=(q,V,x)=>(M$(q,"symbol"!=typeof V?V+"":V,x),x),z2=(q,V,x)=>{if(!V.has(q))throw TypeError("Cannot "+x)},ta=(q,V,x)=>(z2(q,V,"read from private field"),x?x.call(q):V.get(q)),up=(q,V,x)=>{if(V.has(q))throw TypeError("Cannot add the same private member more than once");V instanceof WeakSet?V.add(q):V.set(q,x)},bo=(q,V,x,y)=>(z2(q,V,"write to private field"),y?y.call(q,x):V.set(q,x),x),nb=(q,V,x,y)=>({set _(u){bo(q,V,u,x)},get _(){return ta(q,V,y)}});(self.webpackChunkrelay_angular_chat=self.webpackChunkrelay_angular_chat||[]).push([[179],{1882:(q,V,x)=>{var Ks,ka,La,y={};x.r(y),x.d(y,{identity:()=>X4});var u={};x.r(u),x.d(u,{base2:()=>J4});var g={};x.r(g),x.d(g,{base8:()=>e6});var w={};x.r(w),x.d(w,{base10:()=>t6});var m={};x.r(m),x.d(m,{base16:()=>n6,base16upper:()=>r6});var h={};x.r(h),x.d(h,{base32:()=>ao,base32hex:()=>a6,base32hexpad:()=>u6,base32hexpadupper:()=>l6,base32hexupper:()=>c6,base32pad:()=>s6,base32padupper:()=>o6,base32upper:()=>i6,base32z:()=>f6});var c={};x.r(c),x.d(c,{base36:()=>d6,base36upper:()=>h6});var f={};x.r(f),x.d(f,{base58btc:()=>oi,base58flickr:()=>p6});var d={};x.r(d),x.d(d,{base64:()=>$d,base64pad:()=>g6,base64url:()=>y6,base64urlpad:()=>m6});var b={};x.r(b),x.d(b,{base256emoji:()=>_6});var I={};x.r(I),x.d(I,{sha256:()=>pi,sha512:()=>$6});var E={};x.r(E),x.d(E,{identity:()=>Mc});var v={};x.r(v),x.d(v,{code:()=>z6,decode:()=>q6,encode:()=>W6,name:()=>G6});var p={};x.r(p),x.d(p,{code:()=>X6,decode:()=>e5,encode:()=>J6,name:()=>Z6});var D={};x.r(D),x.d(D,{RsaPrivateKey:()=>eh,RsaPublicKey:()=>G0,fromJwk:()=>j5,generateKeyPair:()=>G5,unmarshalRsaPrivateKey:()=>K5,unmarshalRsaPublicKey:()=>$5});var A={};x.r(A),x.d(A,{Ed25519PrivateKey:()=>Sl,Ed25519PublicKey:()=>dm,generateKeyPair:()=>mF,generateKeyPairFromSeed:()=>vF,unmarshalEd25519PrivateKey:()=>gF,unmarshalEd25519PublicKey:()=>yF});var P={};function S(n){return"function"==typeof n}function T(n){const t=n(r=>{Error.call(r),r.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}x.r(P),x.d(P,{Secp256k1PrivateKey:()=>vm,Secp256k1PublicKey:()=>mm,generateKeyPair:()=>TF,unmarshalSecp256k1PrivateKey:()=>CF,unmarshalSecp256k1PublicKey:()=>DF});const M=T(n=>function(t){n(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((r,i)=>`${i+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function k(n,e){if(n){const t=n.indexOf(e);0<=t&&n.splice(t,1)}}class F{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const s of t)s.remove(this);else t.remove(this);const{initialTeardown:r}=this;if(S(r))try{r()}catch(s){e=s instanceof M?s.errors:[s]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const s of i)try{O(s)}catch(o){e=e??[],o instanceof M?e=[...e,...o.errors]:e.push(o)}}if(e)throw new M(e)}}add(e){var t;if(e&&e!==this)if(this.closed)O(e);else{if(e instanceof F){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(e)}}_hasParent(e){const{_parentage:t}=this;return t===e||Array.isArray(t)&&t.includes(e)}_addParent(e){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e}_removeParent(e){const{_parentage:t}=this;t===e?this._parentage=null:Array.isArray(t)&&k(t,e)}remove(e){const{_finalizers:t}=this;t&&k(t,e),e instanceof F&&e._removeParent(this)}}F.EMPTY=(()=>{const n=new F;return n.closed=!0,n})();const j=F.EMPTY;function C(n){return n instanceof F||n&&"closed"in n&&S(n.remove)&&S(n.add)&&S(n.unsubscribe)}function O(n){S(n)?n():n.unsubscribe()}const H={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},L={setTimeout(n,e,...t){const{delegate:r}=L;return r?.setTimeout?r.