"use strict";var i=function(n,e,a,t){if(a==="a"&&!t)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?n!==e||!t:!e.has(n))throw new TypeError("Cannot read private member from an object whose class did not declare it");return a==="m"?t:a==="a"?t.call(n):t?t.value:e.get(n)},r=function(n,e,a,t,s){if(t==="m")throw new TypeError("Private method is not writable");if(t==="a"&&!s)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?n!==e||!s:!e.has(n))throw new TypeError("Cannot write private member to an object whose class did not declare it");return t==="a"?s.call(n,a):s?s.value=a:e.set(n,a),a},l,o,d,u,c,f;class h{get address(){return i(this,l,"f")}get publicKey(){return i(this,o,"f").slice()}get chains(){return i(this,d,"f").slice()}get features(){return i(this,u,"f").slice()}get label(){return i(this,c,"f")}get icon(){return i(this,f,"f")}constructor(e){l.set(this,void 0),o.set(this,void 0),d.set(this,void 0),u.set(this,void 0),c.set(this,void 0),f.set(this,void 0),new.target===h&&Object.freeze(this),r(this,l,e.address,"f"),r(this,o,e.publicKey.slice(),"f"),r(this,d,e.chains.slice(),"f"),r(this,u,e.features.slice(),"f"),r(this,c,e.label,"f"),r(this,f,e.icon,"f")}}l=new WeakMap,o=new WeakMap,d=new WeakMap,u=new WeakMap,c=new WeakMap,f=new WeakMap;function w(n,e){if(n===e)return!0;const a=n.length;if(a!==e.length)return!1;for(let t=0;t<a;t++)if(n[t]!==e[t])return!1;return!0}exports.ReadonlyWalletAccount=h;exports.arraysEqual=w;
