1import{n as e,o as t,t as n}from"./jsx-runtime-Bt-cYkS5.js";import{A as r,B as i,E as a,F as o,G as s,L as c,M as l,R as u,U as d,j as f,t as p}from"./useAppStore-CWDKvs0t.js";import{a as m}from"./i18n-aawGNpFa.js";import{t as h}from"./fingerprint-pattern-CBNV2aHX.js";import{i as g}from"./AccountMenu-tbWfF5-D.js";import{t as _}from"./download-CMlCmGZh.js";import{t as v}from"./external-link-2Ie6c9M0.js";import{n as y,t as b}from"./CopyButton-dkNZkdzR.js";import{t as x}from"./lock-CUyoQ_BG.js";import{t as ee}from"./AppShell-sd2mnWAE.js";import{n as S,r as C}from"./esm-tnZK2K_f.js";import{t as w} ...
CriticalCritical Secret
Package contains a critical-looking secret pattern.
out/assets/index.lazy-DIVWkli0.jsView on unpkg · L1 CriticalSecret Pattern
RSA private key in out/assets/index.lazy-DIVWkli0.js
out/assets/index.lazy-DIVWkli0.jsView on unpkg · L1 2`)}\n-----END PRIVATE KEY-----`},_e=e=>{let t=new Uint8Array([48,5,6,3,43,101,112]),n=new Uint8Array([3,33,0,...e]),r=t.length+n.length,i=new Uint8Array(2+r);i[0]=48,i[1]=r;let a=2;return i.set(t,a),a+=t.length,i.set(n,a),`-----BEGIN PUBLIC KEY-----\n${L(i).match(/.{1,64}/g)?.join(`
3`)}\n-----END PUBLIC KEY-----`},R=[`wallet`,`pem`,`export`,`EA`];function ve(){let e=window.location.hash.replace(`#`,``);return R.includes(e)?e:`wallet`}function ye(){let{t:e}=m(),t=p(e=>e.addToast),n=a(e=>e.setUserIdentity),[s,u]=(0,k.useState)(`wallet`),[d,h]=(0,k.useState)(``),[_,v]=(0,k.useState)(``),[b,S]=(0,k.useState)(!1),[C,T]=(0,k.useState)(null),[E,D]=(0,k.useState)(null),[te,oe]=(0,k.useState)(``),[se,O]=(0,k.useState)(``),[ce,le]=(0,k.useState)(``),[j,ue]=(0,k.useState)(``),[M,N]=(0,k.useState)([]),[P,F]=(0,k.useState)(0),[I,L]=(0,k.useState)(!0),[R,ye]=(0,k.useState)(!0),[z,be]=( ...
Long lines were clipped for display.