// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-3.0-or-later // @source: https://gitlab.com/soapbox-pub/ditto/-/tree/f0a3877c var e=`wss://relay.ditto.pub/`,t=[`wss://relay.ditto.pub/`,`wss://relay.dreamith.to/`],n=`wss://divine.video/`,r=`wss://relay.zapstore.dev/`,i=`wss://relay.ngit.dev/`;function a(e){return e.toLowerCase().replace(/\/+$/,``)}var o={relays:[{url:`wss://relay.ditto.pub/`,read:!0,write:!0},{url:`wss://relay.dreamith.to/`,read:!0,write:!0},{url:`wss://relay.primal.net/`,read:!1,write:!0},{url:`wss://relay.damus.io/`,read:!1,write:!0}],updatedAt:0};function s(e,t,n){let r=new Set,i=[],s=[];t&&s.push(...o.relays),n&&s.push(...e.relays);for(let e of s){let t=a(e.url);r.has(t)||(r.add(t),i.push(e))}return{relays:i,updatedAt:e.updatedAt}}export{i as a,n as i,e as n,r as o,t as r,s,o as t}; // @license-end