@ghostlytools/sdk 1.8.1 → 1.10.0
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/dist/core.js +2 -593
- package/dist/core.js.map +1 -1
- package/dist/{fakes-Cyfc_vXC.js → fakes-BTB2ugB3.js} +2 -2
- package/dist/{fakes-Cyfc_vXC.js.map → fakes-BTB2ugB3.js.map} +1 -1
- package/dist/fakes.js +1 -1
- package/dist/index.js +2 -2
- package/dist/{keet-identity-key-uq3scTiE.js → keet-identity-key-a4pR0QSm.js} +2 -2
- package/dist/{keet-identity-key-uq3scTiE.js.map → keet-identity-key-a4pR0QSm.js.map} +1 -1
- package/dist/{src-DytzSJB6.js → src-BZy4lDju.js} +2045 -164
- package/dist/src-BZy4lDju.js.map +1 -0
- package/dist/testing.js +3 -3
- package/dist/types/core/src/appStatements.d.ts +7 -0
- package/dist/types/core/src/chatFiles.d.ts +4 -1
- package/dist/types/core/src/communityRendezvous.d.ts +5 -1
- package/dist/types/core/src/contactRecords.d.ts +31 -0
- package/dist/types/core/src/ghostlink.d.ts +38 -2
- package/dist/types/core/src/groupCommunity.d.ts +84 -9
- package/dist/types/core/src/groupFiles.d.ts +15 -0
- package/dist/types/core/src/groupMeta.d.ts +3 -2
- package/dist/types/core/src/groupSession.d.ts +96 -11
- package/dist/types/core/src/http.d.ts +13 -0
- package/dist/types/core/src/identityProofs.d.ts +7 -3
- package/dist/types/core/src/index.d.ts +1 -0
- package/dist/types/core/src/pairedAppRanges.d.ts +17 -9
- package/dist/types/core/src/pairedEdits.d.ts +4 -1
- package/dist/types/core/src/storeForward.d.ts +2 -1
- package/dist/types/core/src/text.d.ts +9 -0
- package/dist/types/core/src/turnRecord.d.ts +2 -2
- package/dist/types/core/src/videoMetadata.d.ts +33 -0
- package/dist/{verify-BC1Eu1lE.js → verify-Bcd7K4q-.js} +3 -3
- package/dist/verify-Bcd7K4q-.js.map +1 -0
- package/package.json +1 -1
- package/dist/src-DytzSJB6.js.map +0 -1
- package/dist/verify-BC1Eu1lE.js.map +0 -1
package/dist/core.js
CHANGED
|
@@ -1,595 +1,4 @@
|
|
|
1
|
-
import { $ as COMMUNITY_LIMITS, $C as decodeTxtPacket, $S as CHAT_RESERVE_MOST_SHARE, $_ as handoffBusyFrame, $a as LIVENESS_MISSED_PINGS, $b as exifOrientation, $c as decodeAppRangeData, $d as DHT_TEXT_BYTES, $f as validEditMessage, $g as sdpHasCandidates, $h as UNUSED_INVITE_READS_PER_MINUTE, $i as isSparkAddress, $l as DNS_LABEL, $m as openPair, $n as MessageRefusal, $o as mayBeHub, $p as STATUS_CARD_LIMITS, $r as DidError, $s as typingKindOf, $t as GROUP_EDIT_TEXT_BYTES, $u as emptyIdentityLedger, $v as ENROLL_GRANT, $x as deviceLinkSecret, $y as openRequest, A as readX401ProofResponseHeader, AC as traceLink, AS as firstDeviceSetSecret, A_ as HANDOFF_FILE_REQUEST, Aa as findBolt11, Ab as APP_PREFIXES, Ac as wakeFrame, Ad as verifyPeerProof, Af as voicePeaksOf, Ag as RTC_SIGNAL_FUTURE_MS, Ah as DIRECT_EVIDENCE_MS, Ai as jwkThumbprint, Al as PIN_CAPABILITY, Am as MEMBER_KEY, An as parseGroupMetaBody, Ao as GROUP_WANT_NO_FRAME, Ap as reactionIsNewer, Ar as parseAtprotoDidDocument, As as FILE_LIMITS, At as knockRecords, Au as DHT_TEXT_CAPABILITY, Av as readHandoffHave, Aw as isZ32Key, Ax as encodeGhostlyInvite, Ay as KNOCK_SLOTS, B as APP_STORE_KINDS, BC as withRequestOptions, BS as turnKeys, B_ as HANDOFF_RELEASE, Ba as BLOCKED_DIAL_WAIT_MS, Bb as isAppRef, Bc as vapidAuthorization, Bd as TRANSPORTS, Bf as EDIT_FRAME, Bg as answersOffer, Bh as FIRST_PUBLISH_MAX_MS, Bi as TEST_USDT_FAUCET_AMOUNT, Bl as sessionCapabilitiesFrame, Bm as signCommit, Bn as SSH_PUBLIC_KEY_MAX, Bo as GROUP_SIGNAL_FRAME, Bp as readReply, Br as parseAtprotoDidKey, Bs as TYPING_RATE_LIMIT, Bt as groupWakes, Bu as IDENTITY_FRAME_WINDOW_MS, Bv as SET_ACK, Bx as DEVICE_CAPABILITIES, By as REQUEST_TEXT_BYTES, C as buildX401TokenObject, CC as WAY_BACK_SHARE, CS as TURN_SEALED_BYTES, C_ as HANDOFF_BUSY, Ca as parseInvoiceCallback, Cb as isAppUrl, Cc as WakeLimiter, Cd as proofHash, Cf as isPlayableAudioType, Cg as decodeControl, Ch as DATA_SETTLE_MS, Ci as decodeDidDhtPacket, Cl as APP_RANGES_CAPABILITY, Cm as GROUP_ADMIN_OFF_ERROR, Cn as groupMetaPicture, Co as engineText, Cp as nextReactionNumber, Cr as ATPROTO_PROOF_SCOPE, Cs as MAX_PAIRED_CALL_SIGNAL, Ct as KNOCK_TTL_MS, Cu as CAPS_LABEL, Cv as openHandoffPiece, Cw as trimEndOf, Cx as INVITE_LINK_ORIGIN, Cy as newInbox, D as readX401ProofRequest, DC as readRelayBody, DS as TURN_VERSION, D_ as HANDOFF_DATA, Da as resolveLightningDestination, Db as sha256Paced, Dc as readWake, Dd as storageProofPath, Df as voiceFileName, Dg as wrapDataChannel, Dh as OFFER_HOST_GATHER_MS, Di as didDhtRecords, Dl as FILES_BINARY_CAPABILITY, Dm as LEGACY_GROUP_MEMBERS, Dn as keepPastGroupMeta, Do as GROUP_HAVE_FRAME, Dp as reactedFrame, Dr as checkAtprotoProofRecord, Ds as ChatFiles, Dt as entryParams, Du as CapsExchange, Dv as readHandoffData, Dw as fromBase64, Dx as createChatInvite, Dy as turnOff, E as isX401Protocol, EC as normalizeRelayUrl, ES as TURN_TTL, E_ as HANDOFF_CANCEL_REASONS, Ea as requestLnurlInvoice, Eb as readAppBundleAsync, Ec as parseWakeFrame, Ed as storageProofBody, Ef as voiceDownloadName, Eg as sendBody, Eh as GATHER_STALL_MS, Ei as didDhtKey, El as EDIT_CAPABILITY, Em as GROUP_VERSION_LARGE, En as groupName, Eo as GROUP_FILE_LIMITS, Ep as queueReaction, Er as atprotoProofRkey, Es as parsePairedCallFrame, Et as encodeGroupEntryLink, Eu as CAPS_REFRESH_MS, Ev as readHandoffCancel, Ew as concatBytes, Ex as OwnInviteError, Ey as takeRequest, F as appRevocationFor, FC as RelayBreaker, FS as sealTurnBody, F_ as HANDOFF_MANIFEST, Fa as isFederationId, Fb as appRevocationId, Fc as checkPushEndpoint, Fd as validRingKey, Ff as isVideoMime, Fg as parseRtcSignal, Fh as symmetricNat, Fi as EVM_TEST_CHAINS, Fl as SessionCapabilities, Fm as expectedRoster, Fn as verifyGroupMetaSignature, Fo as readGroupHave, Fp as PAIRED_REPLY_AUTHORS, Fr as decodeAtprotoCommit, Fs as sentWhole, Ft as GROUP_WAKE_GROUP_WINDOW_MS, Fu as parsePacketTransports, Fv as readHandoffTurnFrame, Fw as utf8Decode, Fx as inviteQrText, Fy as REQUEST_CLOCK_SKEW_MS, G as readAppStore, GC as createRelayPayload, GS as turnSequence, G_ as HANDOFF_WINDOW, Ga as DEMOTE_MS, Gb as readAppSignature, Gc as APP_RANGE_LIMITS, Gd as rankTransports, Gf as MAX_REMOVAL_NUMBER, Gg as contactRtcConfig, Gh as OFFER_LOOK_MS, Gi as assertWholeSats, Gl as HOLD_CAPABILITY, Gm as GROUP_PROFILE, Gn as sshFingerprint, Go as SIGNAL_HOLD_MS, Gp as BUTTON_STYLES, Gr as verifyAtprotoSignature, Gs as TYPING_TIMEOUT_MS, Gt as GROUP_READ_NOTE, Gu as IDENTITY_PROOF_CAPABILITY, Gv as setUpdateFrame, Gx as deviceEchoFrame, Gy as knockHolds, H as checkAppListing, HC as PKARR_FUTURE_SKEW_MS, HS as turnPacket, H_ as HANDOFF_TIMINGS, Ha as CROSSED_PROBE_MS, Hb as readAppRevocation, Hc as APP_RANGE_DATA_KIND, Hd as checkedDescriptors, Hf as EDIT_RECEIVE_LIMIT, Hg as callRtcConfig, Hh as LinkSession, Hi as WALLET_NETWORKS, Hl as PairedSession, Hm as verifyChain, Hn as parseSshPublicKey, Ho as SIGNALS_PER_MINUTE, Hp as wireReply, Hr as readAtprotoCid, Hs as TYPING_REFRESH_MS, Ht as parseGroupWakeFrame, Hu as IDENTITY_MAX_FRAME, Hv as encodeSetSlots, Hx as DEVICE_PING_FRAME, Hy as STAMP_BITS_MAX, I as appStoreDecision, IC as DiscoveryBudgetError, IS as signTurnBody, I_ as HANDOFF_OFFER, Ia as parseCashuRequestPayload, Ib as appSignedBytes, Ic as decryptPushPayload, Id as verifyRingAuthorization, If as parseVideoMeta, Ig as CALL_SIGNAL_FUTURE_MS, Ih as AWAITING_PEER_MS, Ii as ONCHAIN_PROVIDER, Il as TYPING_CAPABILITY, Im as parseGroupCommit, In as wrapGroupMeta, Io as readGroupWant, Ip as REPLY_ID, Ir as decodeDagCbor, Is as transferEnded, It as GROUP_WAKE_MEMBER_INTERVAL_MS, Iu as IDENTITY_CHALLENGE_WINDOW, Iv as readHandoffVerified, Iw as utf8Encode, Ix as ownInviteRefusal, Iy as REQUEST_LABEL, J as GROUP_TYPING_FRAME, JC as openRelayPayload, JS as turnVerifierMark, J_ as filePartName, Ja as FIRST_PAIRING_PACE_MS, Jb as signAppRevocation, Jc as appRangeChunk, Jd as transportOrder, Jf as dhtEditId, Jg as heardCallSignal, Jh as PRESENCE_WINDOW, Ji as parsePaymentAmount, Jl as HoldKeys, Jm as decryptText, Jn as verifySshSignature, Jo as groupSignalFrame, Jp as PR_CHECKS, Jr as DID_GHOSTLY_SERVICE, Js as parseTypingActivity, Jt as chainPieces, Ju as IDENTITY_STATEMENT_PREFIX, Jv as verifySetUpdate, Jx as deviceKeyZ32, Jy as knockSlotRecords, K as readAppStoreSteps, KC as measureRecords, KS as turnSignedMessage, K_ as NO_ATTEMPTS, Ka as DHT_PIN_GRACE_MS, Kb as setAppSignatureFastPath, Kc as AppRanges, Kd as relayUrl, Kf as REMOVED_TEXT, Kg as decompressSdp, Kh as OFFER_STEP_MAX, Ki as formatPaymentAmount, Kl as HOLD_DATED_BACK_MS, Km as confirmationMatches, Kn as sshKeyDigestHex, Ko as SIGNAL_PROVEN_MS, Kp as CRON_LINE, Kr as DID_DOCUMENT_MAX_BYTES, Ks as TypingReceiver, Kt as GroupSession, Ku as IDENTITY_PROVIDER_ID, Kv as setUpdateMessage, Kx as deviceEchoNonce, Ky as knockSlotIdentity, L as appUpdateDecision, LC as budgetRetryMs, LS as signTurnPacket, L_ as HANDOFF_PAKE, La as parseFedimintRequestPayload, Lb as checkAppRevokeStatement, Lc as encryptPushPayload, Ld as verifyRingEvidence, Lf as EDITED_FRAME, Lg as CALL_SIGNAL_MAX_AGE_MS, Lh as DEPARTED_READ_MS, Li as PaymentPreflightError, Ll as UPGRADE_CAPABILITY, Lm as rememberAlone, Ln as SSHSIG_MAX_ARMOR, Lo as readGroupWantNo, Lp as REPLY_LIMITS, Lr as encodeDagCbor, Ls as transferStalled, Lt as GROUP_WAKE_RECEIVE_LIMIT, Lu as IDENTITY_CHECK_UNAVAILABLE, Lv as sameDigest, Lx as pastedAgain, Ly as REQUEST_LIFETIME_MS, M as readX401ProofResultHeader, MC as BREAKER_BASE_MS, MS as openTurnValue, M_ as HANDOFF_HELLO, Ma as cashuRequestPayload, Mb as appFingerprint, Mc as wakeRequest, Md as ringAuthorization, Mf as VIDEO_LIMITS, Mg as buildDataSdp, Mh as DIRECT_PEERS, Mi as resolveDidDht, Ml as SERVICES_CAPABILITY, Mm as SAID_AGAIN, Mn as parseGroupMetaStatement, Mo as groupFileFallback, Mp as readReaction, Mr as AtprotoCid, Ms as decodeFileData, Mt as readKnocks, Mu as dialDescriptors, Mv as readHandoffManifest, Mw as toBase64, Mx as inviteLink, My as LINK_RECORD_LABEL, N as x401AnswerableRequests, NC as BREAKER_MAX_MS, NS as readTurnBody, N_ as HANDOFF_LATER_BYTES, Na as fedimintRequestPayload, Nb as appRef, Nc as PUSH_SERVICE_HOSTS, Nd as ringClaims, Nf as formatVideoDuration, Ng as extractRtcParams, Nh as DirectPathWatch, Ni as signDidDhtPacket, Nl as SESSION_CAPABILITIES_FRAME, Nm as commitHash, Nn as parseGroupMetaTag, No as isGroupMessageId, Np as validReactionNumber, Nr as AtprotoProofError, Ns as encodeFileData, Nt as GROUP_WAKE_FRAME, Nu as emptyCapsState, Nv as readHandoffPake, Nw as toBase64Url, Nx as inviteOwnership, Ny as MAX_SEEN, O as readX401ProofRequestHeader, OC as relayUrlProblem, OS as TurnRecordError, O_ as HANDOFF_DONE, Oa as BOLT11_PATTERN, Ob as yieldThread, Oc as readWakePayload, Od as validExternalKey, Of as voiceLevel, Og as DATA_CHANNEL_ID, Oh as REANSWERS, Oi as encodeDidDhtDeactivated, Ol as FILES_CAPABILITY, Om as MAX_GROUP_CHAIN, On as nextGroupMetaRevision, Oo as GROUP_VERSION_FILES, Op as reactionEmoji, Or as isAtprotoDid, Os as FILE_DATA_KIND, Ot as groupEntryUrl, Ou as CapsKeys, Ov as readHandoffDone, Ow as fromBase64Url, Ox as createLink, Oy as CONTACT_RECORD_TTL, P as addedAppPermissions, PC as BREAKER_THRESHOLD, PS as readTurnPacket, P_ as HANDOFF_LIST_PER_FRAME, Pa as findEndpoint, Pb as appRefPublisher, Pc as WebPushError, Pd as ringEvidence, Pf as isPlayableVideoType, Pg as offerIsFresh, Ph as directBlocked, Pi as ETHEREUM_USDT, Pl as STATUS_CARD_CAPABILITY, Pm as commitUntaggedHash, Pn as signGroupMeta, Po as readGroupFileMeta, Pp as wireReaction, Pr as atprotoCidFor, Ps as refusalText, Pt as GROUP_WAKE_GROUP_LIMIT, Pu as encodePacketTransports, Pv as readHandoffRelease, Pw as toZ32, Px as inviteQrSegments, Py as MAX_SLOT_KNOCKS, Q as sealGroupTyping, QC as decodeDnsAnswers, QS as CHAT_RESERVE, Q_ as handoffAttemptSucceeded, Qa as INVITE_TAKEN, Qb as IMAGE_LIMITS, Qc as appRangeGetFrame, Qd as DHT_MESSAGE_TTL, Qf as parseEditedFrame, Qg as pickCallCandidates, Qh as TRANSPORTS_GONE_MS, Qi as SPARK_PROVIDER, Ql as readManifest, Qm as newEpochSecret, Qn as BIP322_REVISION, Qo as NO_HUB_POLICY, Qp as RUN_RESULTS, Qr as DID_METHODS, Qs as typingFrame, Qt as GROUP_EDIT_FRAME, Qu as boundVerifiedIdentity, Qv as ENROLL_DONE, Qx as deviceLinkSealKey, Qy as mergeContactKnocks, R as checkAppBeforeRun, RC as heldBackError, RS as signTurnRelease, R_ as HANDOFF_PIECE_BYTES, Ra as ANSWERS_REFUSED_PAUSES, Rb as isAppHash, Rc as generateVapidKeys, Rd as RELAY_URL, Rf as EDIT_BUFFER_MAX, Rg as PAIRED_CALL_CANDIDATES, Rh as DHT_POLL_INTERVALS, Ri as SEPOLIA_TEST_USDT, Rl as WAKE_SESSION_CAPABILITY, Rm as rosterAdmin, Rn as SSHSIG_NAMESPACE, Ro as CARRIED_DEFER_MS, Rp as groupReplyAuthor, Rr as findInMst, Rs as TYPING_FRAME, Rt as GroupWakeLimiter, Ru as IDENTITY_CLOCK_SKEW, Rv as sealHandoffPiece, Rx as readInviteCode, Ry as REQUEST_NAME_UNITS, S as buildX401ResultArtifact, SC as WATCH_SHARE, SS as TURN_REV_LIMIT, S_ as HANDOFF_ATTEMPTS, Sa as invoiceCallbackUrl, Sb as isAppPath, Sc as WAKE_TTL_SECONDS, Sd as proofCapability, Sf as formatVoiceDuration, Sg as decodeChunk, Sh as CONNECT_TIMEOUT_MS, Si as DidDhtError, Sl as APPS_CAPABILITY, Sm as shownTime, Sn as groupMetaNewer, So as engineError, Sp as ReactionWindow, Sr as ATPROTO_PROOF_COLLECTION, Ss as validHead, St as GROUP_ENTRY_PROFILE, Su as CAPS_ISSUED_BACK_MS, Sv as newHandoffId, Sw as stripHidden, Sx as INVITE_HRP, Sy as inboxRecord, T as encodeX401Header, TC as currentRelays, TS as TURN_SLOTS, T_ as HANDOFF_CANCEL, Ta as parsePayParams, Tb as readAppBundle, Tc as newWakeToken, Td as storageProof, Tf as recordingMime, Tg as encodeControl, Th as GATHER_ATTEMPTS, Ti as didDhtFromPublicKey, Tl as CALLS_CAPABILITY, Tm as GROUP_MEMBER_CAP, Tn as groupMetaToHand, To as PairingTracker, Tp as parseReactionFrame, Tr as atprotoProofRecord, Ts as PairedCalls, Tt as decodeGroupEntryLink, Tu as CAPS_PUBLISH_SPACING_MS, Tv as readHandoffBusy, Tw as bytesEqual, Tx as INVITE_VERSION, Ty as settleRequest, U as checkAppStoreIndex, UC as PacketTooLargeError, US as turnPayloadSequence, U_ as HANDOFF_VERIFIED, Ua as CROSSED_WAIT_MS, Ub as readAppRevocationShape, Uc as APP_RANGE_ERRORS, Ud as irohDescriptor, Uf as EDIT_SEND_LIMIT, Ug as callSignalHeardAt, Uh as MAX_DHT_TEXT_BYTES, Ui as arkAddressPrefix, Ul as SESSION_FRAME_MAX, Um as verifyCommit, Un as parseSshSignature, Uo as SIGNAL_CARRIERS, Up as ACTIVE_TASK_STATUSES, Ur as unsignedCommitBytes, Us as TYPING_SEND_LIMIT, Ut as GROUP_LIMITS, Uu as IDENTITY_MAX_RECEIVED, Uv as readSetUpdate, Ux as ENROLL_CAPABILITY, Uy as STAMP_BITS_MIN, V as APP_STORE_LIMITS, VC as MAX_DNS_PACKET_BYTES, VS as turnName, V_ as HANDOFF_REQUEST, Va as CROSSED_FRESH_MS, Vb as isAppSignature, Vc as vapidKeysMatch, Vd as automaticTransport, Vf as EDIT_RATE_WINDOW_MS, Vg as buildSdpFromSignal, Vh as IDLE_THRESHOLD, Vi as USDT_PUBLIC_RPC, Vl as PAIRED_PROFILE, Vm as sortRoster, Vn as SshSigError, Vo as GROUP_VERSION_SIGNALS, Vp as replySnippet, Vr as parseAtprotoVerificationKey, Vs as TYPING_RATE_WINDOW_MS, Vt as mentionedMembers, Vu as IDENTITY_MAX_EVIDENCE, Vv as SET_UPDATE, Vx as DEVICE_ECHO_FRAME, Vy as STAMP_BITS_DEFAULT, W as readAppListing, WC as RELAY_PAYLOAD_MAX_BYTES, WS as turnReleaseMessage, W_ as HANDOFF_VERSION, Wa as DEMOTE_AFTER_FAILURES, Wb as readAppRevocations, Wc as APP_RANGE_FRAMES, Wd as irohRelayUrl, Wf as MAX_EDITS_PER_MESSAGE, Wg as compressSdp, Wh as OFFER_FAST_MS, Wi as assertTokenUnits, Wl as SESSION_RECEIVE_PENDING, Wm as verifyCommitSignature, Wn as sameSshKey, Wo as SIGNAL_FRESH_MS, Wp as BUTTON_ID, Wr as verifyAtprotoRecordProof, Ws as TYPING_STATUS_MAX, Wt as GROUP_REACTED_FRAME, Wu as IDENTITY_MAX_VALIDITY, Wv as setAckFrame, Wx as HANDOFF_CAPABILITY, Wy as contactDay, X as groupTypingEpoch, XC as readOwnRelayPayload, XS as BACKGROUND_WHILE_SIGNALING, X_ as handoffAttemptAllowed, Xa as HANDLED_WAIT_MS, Xb as verifyAppSignature, Xc as appRangeEndFrame, Xd as DHT_FILE_REFUSED, Xf as editedFrame, Xg as keepsToRelays, Xh as SIGNAL_OUT_READS, Xi as walletNetworkOf, Xl as isHoldUrl, Xm as encryptText, Xn as legacyMessageHash, Xo as GROUP_VERSION_HUBS, Xp as REMOVABLE_KINDS, Xr as DID_JWS_MAX_LENGTH, Xs as sanitizeTypingStatus, Xt as groupMessageId, Xu as IdentityCheckUnavailable, Xv as ENROLL_CANCEL, Xx as deviceLinkParams, Xy as makeStamp, Y as GroupTypingBoard, YC as parseRelayPayload, YS as BACKGROUND_REQUESTS_PER_MINUTE, Y_ as handoffAckFrame, Ya as GhostLink, Yb as verifyAppRevocation, Yc as appRangeDataFrame, Yd as ACTIVE_DHT_POLL_MS, Yf as editFrame, Yg as isGlobalIpv4Host, Yh as RELAY_POLL_INTERVALS, Yi as validatePaymentTarget, Yl as HoldRefusedError, Ym as edgeParams, Yn as isLegacySignature, Yo as readGroupSignal, Yp as PR_STATES, Yr as DID_JWS_ALGS, Ys as parseTypingFrame, Yt as frameBytes, Yu as IDENTITY_SUBJECT, Yv as DEVICE_KINDS, Yx as deviceLinkPairing, Yy as linkRecords, Z as openGroupTyping, ZC as signRelayPayload, ZS as BACKGROUND_WRITES_SHARE, Z_ as handoffAttemptFailed, Za as INVITER_DIAL_GRACE_MS, Zb as verifyAppStatementBytes, Zc as appRangeErrorFrame, Zd as DHT_FILE_TOO_LARGE, Zf as parseEditFrame, Zg as parseCallSignal, Zh as STALLED_LOOK_MS, Zi as SPARK_NETWORKS, Zl as newMailbox, Zm as epochKeys, Zn as verifyBitcoinMessage, Zo as MESH_HUBS, Zp as ROUTINE_STATES, Zr as DID_MAX_LENGTH, Zs as typingActivity, Zt as COMMUNITY_EDIT_FRAME, Zu as IdentityExchange, Zv as ENROLL_CANCEL_REASONS, Zx as deviceLinkRendezvousSeed, Zy as makeStampPaced, _ as X401_PROTOCOLS, _C as SIGNALING_ALLOWANCE_SHARE, _S as TURN_LABEL, __ as serviceIdFromName, _a as pubkyHomeserverOf, _b as assembleAppBundle, _c as WAKE_CALL_TTL_SECONDS, _d as STORAGE_ROOT, _f as VOICE_LIMITS, _g as CHUNK_FLAG_END, _h as ratchetRoot, _i as strictBase64Url, _l as chatAppId, _m as MESSAGE_CLOCK_SKEW_MS, _n as MAX_GROUP_PICTURE_LENGTH, _o as pairedMessageFrame, _p as GROUP_REACTION_FRAME, _r as u32, _s as rankHubs, _t as shortHash, _u as recordsFromWellKnown, _v as handoffStreamKey, _w as sanitizeAvatar, _x as deviceInviteJoinerKeyZ32, _y as MAX_WAITING, a as X401_DCQL_LIMITS, aC as GROUP_BURST_MS, aS as seedSigner, a_ as buildLinkRecords, aa as PUBKY_PROOF_MAX_BYTES, ab as stampHolds, ac as PIN_LIMITS, ad as newIdentityBinding, af as DHT_FILE_CAPABILITY, ag as unusedInviteWait, ah as MAX_SKIP, ai as didWebDocumentUrl, al as APP_FRAME, am as cardLine, an as validEditText, ao as PONG_WAIT_MS, ap as canonicalUrl, ar as BitcoinAddressError, as as COMMUNITY_TOPOLOGY, at as communityHasFrame, au as NIP05_PATH, av as handoffDoneFrame, aw as identityFromSeedB64, ax as canonicalJson, ay as enrollDoneFrame, b as buildX401ProofRequest, bC as SLOW_MS, bS as TURN_NAME_BYTES, b_ as viewerTag, ba as fetchLnurlJson, bb as findAppForbiddenKey, bc as WAKE_INTERVAL_MS, bd as isProofAdapter, bf as downsamplePeaks, bg as MAX_CHUNK_PAYLOAD_BYTES, bh as ratchetUnknownSession, bi as DID_DHT_TTL, bl as parseAppFrame, bm as heardTime, bn as groupMetaBody, bo as ENGINE_ERRORS, bp as REACTION_FRAME, br as ATPROTO_DECLARED_SCOPE, bs as readLobby, bt as verifyCommunityChainPaced, bu as validDomainRecord, bv as handoffVersions, bw as sanitizeDisplayText, bx as readDeviceInvite, by as clearMissed, c as readX401DcqlQuery, cC as GROUP_RATION_WINDOW_MS, cS as TURN_RAISE_READ_TIMEOUT_MS, c_ as parseLinkRecords, ca as isPubkyProofFolder, cb as APP_CLIENTS, cc as parsePinFrame, cd as signIdentityPresentation, cf as readDhtFile, cg as HttpHost, ch as RATCHET_HEADER_BYTES, ci as didWebFileUrl, cl as APP_RATE_WINDOW_MS, cm as cardUrl, cn as mentionsBytes, co as RACE_RELAYED_MS, cp as linksIn, cr as decodeAnyBitcoinAddress, cs as doorHubs, ct as communityUntaggedHash, cu as dnsProofName, cv as handoffFileRequestFrame, cw as verify, cx as CONTACT_LINK_BYTES, cy as enrollMessage, d as newX401HolderKey, dC as HEDGE_MS, dS as classifyTurnRead, d_ as MAX_SERVICES, da as pubkyProofCapability, db as APP_ICON_PATH, dc as pinIsNewer, dd as applyIdentityEvent, df as formatFileSize, dg as relativizeLocation, dh as RatchetBox, di as parseDid, dl as APP_VERSION_MAX, dm as removedCardText, dn as wireMentions, do as RTC_UNSTARTED_MS, dp as sanitizePreviewImage, dr as decodeWitness, ds as lobbyKeys, dt as encodeCommunityLink, du as encodeDnsQuery, dv as handoffManifestFrames, dw as generateEncryptionKey, dx as encodeContactLink, dy as readEnrollGrant, eC as CHAT_RESERVE_PER_CHAT, eS as devicePingFrame, e_ as signalHasVideo, ea as sparkAddressKind, eb as readKnockSlot, ec as COMMUNITY_PIN_FRAME, ed as identityPresentationBytes, ef as DHT_TEXT_REFUSED, eg as UNUSED_INVITE_UPKEEP_MS, eh as openSecret, ei as checkDidJws, el as encodeAppRangeData, em as TASK_STATUSES, en as carryMentions, eo as LIVENESS_PING_MS, ep as validEditNumber, er as bip322MessageHash, es as meshHubs, et as COMMUNITY_PROFILE, eu as DNS_TYPE, ev as handoffCancelFrame, ew as encodeTxtPacket, ex as imageSize, ey as ENROLL_HELLO, f as readX401SdJwtVc, fC as PREVIOUS_DEFAULT_RELAYS, fS as keptAtEqualSequence, f_ as SERVICES_VERSION, fa as pubkyProofFile, fb as APP_PERMISSIONS, fc as pinNumberHolds, fd as lastSharedWithMe, ff as safeBlobType, fg as resolveTargetUrl, fh as emptyRatchetState, fi as parseDidDocument, fl as AppSessions, fm as sameButtonText, fn as GROUP_META_PAST, fo as SWITCH_RETIRE_MS, fp as FORWARD_LIMITS, fr as encodeTx, fs as lobbyRecords, ft as leaveStands, fu as isPublicAddress, fv as handoffOfferFrame, fw as sealedLength, fx as readContactLink, fy as readEnrollHello, g as X401_LIMITS, gC as RelaysFailedError, gS as TURN_BODY_BYTES, g_ as isViewerTag, ga as homeserverWebEndpoint, gb as appViewOf, gc as WAKE_CALL_INTERVAL_MS, gd as STORAGE_LIFETIME, gf as RECORDING_TYPES, gg as webLocalFetch, gh as ratchetOpen, gi as staticDidDocument, gl as appOpenFrame, gm as usageLeft, gn as MAX_GROUP_NAME_LENGTH, go as pairedMessageFits, gp as COMMUNITY_REACTION_FRAME, gr as txHash, gs as pickHubs, gt as rosterHash, gu as recordsFromTxt, gv as handoffRetryAfter, gw as jpegSize, gx as createDeviceInvite, gy as MAX_MISSED, h as X401_HEADERS, hC as RelayTransport, hS as TOMBSTONE_TURN, h_ as isValidServiceId, ha as encodeSvcbPacket, hb as appDigest, hc as DEVICE_WAKE_TTL_SECONDS, hd as PeerProofs, hf as PLAYABLE_AUDIO, hg as viewerResponseHeaders, hh as ratchetOn, hi as signingKeys, hl as appDataFrame, hm as taskProgress, hn as MAX_GROUP_NAME_BYTES, ho as WAKE_LOST_MS, hp as readForwarded, hr as sha256d, hs as newerHead, ht as leftStatement, hu as parseDomainTxt, hv as handoffRequestFrame, hw as MAX_AVATAR_SIDE, hx as DEVICE_INVITE_OWN_DEVICE, hy as MAX_DONE, i as x401ApprovalDigest, iC as FRESH_READ_MS, iS as verifyDeviceTransports, i_ as RECORD_TTL, ia as isBitcoinAddress, ib as seenEntry, ic as PIN_FRAME, id as isIdentityBinding, if as peekDhtMailbox, ig as presenceSeenAt, ih as FOLLOW_MS, ii as didSignedMessages, il as APP_DATA_MAX_BYTES, im as cardEditNumber, in as parseCommunityEdit, io as PAIRING_RETRY_MS, ip as LINK_TRAILING, ir as verifyBip322, is as wireHubPolicy, it as communityGroupId, iu as DOMAIN_TXT_MAX_BYTES, iv as handoffDigest, iw as identityFromSeed, ix as readImageMeta, iy as enrollDigits, j as readX401ProofResult, jC as BREAKER_ALL_DOWN_PROBE_MS, jS as nextTurnPosition, j_ as HANDOFF_HAVE, ja as ENDPOINT, jb as APP_STATEMENT_LIMITS, jc as wakePayload, jd as RING_LIFETIME, jf as PLAYABLE_VIDEO, jg as RTC_SIGNAL_MAX_AGE_MS, jh as DIRECT_OWN_ATTEMPTS, ji as openDidDhtPayload, jl as REACTIONS_CAPABILITY, jm as OWN_FRAME_LIMIT, jn as parseGroupMetaFrame, jo as fetchesByItself, jp as readDhtReactions, jr as shortAtprotoDid, js as FileUplink, jt as mergeKnocks, ju as capsDescriptors, jv as readHandoffHello, jw as randomBytes, jx as encodeInviteCode, jy as KNOCK_SLOT_LABEL, k as readX401ProofResponse, kC as setLinkTraceSink, kS as encodeTurnFields, k_ as HANDOFF_FILE_MISSING, ka as decodeBolt11, kb as APP_NAME, kc as relayRequest, kd as verifyNostrProof, kf as voiceLevelsOf, kg as DATA_CHANNEL_LABEL, kh as STALLED_EVIDENCE_MS, ki as encodeDidDhtPacket, kl as KNOWN_SESSION_CAPABILITIES, km as MAX_GROUP_MEMBERS, kn as openGroupMeta, ko as GROUP_WANT_FRAME, kp as reactionFrame, kr as normalizeAtprotoHandle, ks as FILE_FRAMES, kt as knockIdentity, ku as CapsRefusedError, kv as readHandoffFileFrame, kw as fromZ32, kx as decodeInviteCode, ky as ContactRequestError, l as x401VpToken, lC as GROUP_SIGNALING_ALLOWANCE_SHARE, lS as TURN_SETTLE_MS, l_ as HTTP_SERVICE_PROTO, la as newPubkyProofFolder, lb as APP_CLIENT_NAME, lc as parsePinnedFrame, ld as verifyIdentityPresentation, lf as FileTransfers, lg as formatLocalTarget, lh as RATCHET_KEEP_MS, li as didWebHost, ll as APP_RESUME_GRACE_MS, lm as checkStatusCard, ln as mentionsMember, lo as REDESCRIBED_GRACE_MS, lp as parseLinkPreview, lr as decodeBitcoinAddress, ls as freshHubs, lt as decodeCommunityLink, lu as domainTxtRecord, lv as handoffHaveFrames, lw as decrypt, lx as CONTACT_LINK_VERSION, ly as enrollProofFrame, m as x401HolderJwk, mC as REQUESTS_PER_MINUTE, mS as TOMBSTONE_SEQUENCE, m_ as encodeServices, ma as decodeSvcbRecords, mb as APP_VIEWS, mc as readPin, md as PROOF_CAPABILITY, mf as sanitizeMime, mg as sanitizeResponseHeaders, mh as ratchetHeard, mi as parseDidSignaturePaste, ml as appDataBytes, mm as statusCardText, mn as MAX_GROUP_META_BODY, mo as WAKE_ANSWER_GRACE_MS, mp as forwardedMany, mr as hash160, ms as mergeLobby, mt as leaveStatement3, mu as normalizeDomain, mv as handoffReleaseFrame, mw as MAX_AVATAR_LENGTH, mx as DEVICE_INVITE_LIFETIME_S, my as FLOOD_PER_DAY, n as X401_RESPONSE_MODES, nC as DEFAULT_RELAYS, nS as signDeviceTransports, n_ as LABEL, na as sparkNetworkOf, nb as requestPlaintextBytes, nc as PINNED_FRAME, nd as identityStatement, nf as LIVE_POLL_MS, ng as WATCH_PEER_MS, nh as sealSecret, ni as didGhostlyServiceEntry, nl as parseAppRangeFrame, nm as appCardUrl, nn as communityMessageAuthor, no as PAIRED_FRAME_TOO_LARGE, np as LINK_MAX_CHARS, nr as bip322ToSpend, ns as parseHubPolicy, nt as GROUP_READ_NOTE_COMMUNITY, nu as DOMAIN_MAX_RECORDS, nv as handoffContextProof, nw as IDENTITY_MEMO_SIZE, nx as parseImageMeta, ny as enrollCancelFrame, o as matchX401Dcql, oC as GROUP_BURST_ONE_LINK, oS as webCryptoSigner, o_ as emptyLinkRecords, oa as PUBKY_PROOF_ROOT, ob as APP_BUNDLE_LIMITS, oc as mayPin, od as receivedIdentityStatus, of as dhtFileElements, og as GhostlyHttpError, oh as MAX_SKIPPED_KEYS, oi as didWebFile, ol as APP_PEER_OPEN_MAX, om as cardLinkHost, on as MENTION_EVERYONE, oo as RACE_ANSWERED_MS, op as linkEnd, or as ByteReader, os as beaconKeys, ot as communityMessageId, ou as WELL_KNOWN_PATH, ov as handoffEphemeral, ow as publicKeyFromZ32, ox as canonicalJsonBytes, oy as enrollGrantFrame, p as sameX401HolderJwk, pC as RELAY_REQUESTS_PER_MINUTE, pS as turnPutSummary, p_ as decodeServices, pa as pubkyProofPath, pb as APP_SCREENSHOTS_DIR, pc as pinnedFrame, pd as PROOF_ADAPTERS, pf as sanitizeFileName, pg as sanitizeRequestHeaders, ph as isRatcheted, pi as parseDidJws, pl as appCloseFrame, pm as statusCardBytes, pn as GROUP_META_PAST_CHARS, po as UNPROVEN_AUTH_MS, pp as forwardedAgain, pr as encodeWitness, ps as mergeBeacon, pt as leaveStatement, pu as nip05RootKey, pv as handoffPakeFrame, pw as tryDecrypt, px as DEVICE_INVITE_BYTES, py as verifyEnrollProof, q as signAppStore, qC as newerPacket, qS as turnStatedVerifier, q_ as filePartDigest, qa as EARLY_DIAL_JOIN_MS, qb as signAppObject, qc as appRangeCancelFrame, qd as relayedTransports, qf as RateWindow, qg as extractParamsFromSdp, qh as PRESENCE_HEARTBEAT, qi as isWalletNetwork, ql as HOLD_LIMITS, qm as confirmationTag, qn as sshSignCommand, qo as SIGNAL_REPLY_MS, qp as ITEM_STATES, qr as DID_FILE_MAX_BYTES, qs as TypingSender, qt as asWritten, qu as IDENTITY_REVOCATION_LABEL, qv as signTombstone, qx as deviceFrameCapability, qy as knockSlotOf, r as readX401OpenId4VpRequest, rC as DEPARTED_READS, rS as unsignedDeviceTransports, r_ as MAX_MSGS_PAYLOAD_B64, ra as BITCOIN_NETWORKS, rb as requestRecords, rc as PIN_CLOCK_SKEW_MS, rd as identityStatementText, rf as emptyDhtDeliveryState, rg as countUnusedInvite, rh as sha256Hex, ri as didJwsAlg, rl as readAppRangeFrame, rm as buttonLabelClash, rn as meshMessageRef, ro as PAIRING_ATTEMPT_MS, rp as LINK_PREVIEW_LIMITS, rr as decodeBase64, rs as pickMeshHubs, rt as communityCommitHash, ru as DOMAIN_METHODS, rv as handoffDataFrame, rw as createIdentity, rx as previewable, ry as enrollCancelReason, s as presentX401SdJwtVc, sC as GROUP_OVER_PACE_MS, sS as TURN_PUT_WINDOW_MS, s_ as isEmptyLinkPacket, sa as isPubkyKey, sb as APP_BUNDLE_MAGIC, sc as nextPinNumber, sd as revokesIdentity, sf as dhtFileId, sg as HttpClient, sh as RATCHET_CAPABILITY, si as didWebFileNames, sl as APP_RATE_LIMIT, sm as cardTimeUtc, sn as MENTION_LIMITS, so as RACE_DIRECT_MS, sp as linkStop, sr as compactSize, ss as beaconRecords, st as communityRoster, su as decodeDnsResponse, sv as handoffFileMissingFrame, sw as sign, sx as readCanonicalJson, sy as enrollHelloFrame, t as X401_REQUEST_LIMITS, tC as CHAT_WATCH_SHARE, tS as newDeviceSetSecret, t_ as waitForIceGathering, ta as sparkInvoiceDetails, tb as readLinkRecord, tc as GROUP_PIN_FRAME, td as identityRevocationValue, tf as DhtDelivery, tg as UNUSED_INVITE_WAIT_MAX_MS, th as sealPair, ti as checkDidSignature, tl as isServeId, tm as appCardId, tn as communityEditFrame, to as MAX_PAIRED_MESSAGE_FRAME, tp as validRemovalNumber, tr as bip322ToSign, ts as meshRendezvous, tt as CommunitySession, tu as DOMAIN_FILE_MAX_BYTES, tv as handoffContext, tw as readDnsName, tx as isImageMime, ty as ENROLL_PROOF, u as X401_CREDENTIAL_LIMITS, uC as HEDGE_MISSING_MS, uS as TURN_VISIBLE_MS, u_ as LEGACY_SERVICES, ua as normalizePubkyKey, ub as APP_FORBIDDEN_KEYS, uc as pinFrame, ud as IDENTITY_TIMELINE_MAX, uf as PREVIEWABLE_IMAGE, ug as parseLocalTarget, uh as RATCHET_OVERHEAD, ui as normalizeDid, ul as APP_SEND_LIMIT, um as readStatusCard, un as validMentions, uo as RESUME_WAIT_MS, up as previewImageSize, ur as decodeTx, us as hubRank, ut as derivedSecret, uu as domainWellKnownFile, uv as handoffHelloFrame, uw as encrypt, ux as createContactLink, uy as formatEnrollDigits, v as X401_SCHEME, vC as SIGNALING_WINDOW_MS, vS as TURN_LAST_SEQUENCE, v_ as servicesFromWire, va as LIGHTNING_DESTINATION_PATTERN, vb as buildAppBundle, vc as WAKE_CALL_WAIT_MS, vd as emptyProofLedger, vf as VOICE_METER, vg as CHUNK_KIND, vh as ratchetSeal, vi as DID_DHT_MAX_PAYLOAD, vl as isAppVersion, vm as arrivalKey, vn as encodeGroupMetaBody, vo as parsePaymentNetworks, vp as QUICK_REACTIONS, vr as u64, vs as readBeacon, vt as signCommunity, vu as recordsName, vv as handoffVerifiedFrame, vw as MAX_NICK_LENGTH, vx as deviceInviteJoinerParams, vy as NEW_PER_HOUR, w as decodeX401Header, wC as WRITE_FIRST_MS, wS as TURN_SIGNED_BYTES, w_ as HANDOFF_BUSY_REASONS, wa as parseLightningDestination, wb as pacer, wc as deviceWakeRequest, wd as proofStatement, wf as parseVoiceMeta, wg as encodeChunk, wh as DataLink, wi as didDhtDocument, wl as BUTTONS_CAPABILITY, wm as GROUP_ID, wn as groupMetaTag, wo as parseEngineError, wp as parseReactedFrame, wr as atprotoDidMethod, ws as PAIRED_CALL_FRAME, wt as MAX_KNOCKS, wu as CAPS_LIMITS, wv as readHandoffAck, ww as unwrapPasted, wx as INVITE_MAX_LENGTH, wy as planKnocks, x as buildX401ProofResult, xC as TURN_SOURCE_TIMEOUT_MS, xS as TURN_NO_ACTIVE, x_ as HANDOFF_ACK, xa as findLightningDestination, xb as isAppLicense, xc as WAKE_SUBJECT, xd as nostrProofTemplate, xf as fileMessageText, xg as PROTOCOL_VERSION, xh as ANSWER_REFUSED_REDIALS, xi as DID_DHT_VERSION, xl as readAppFrame, xm as receivedTimestamp, xn as groupMetaChange, xo as EngineError, xp as REACTION_LIMITS, xr as ATPROTO_FULL_SCOPE, xs as shouldBeHub, xt as verifyCommunityCommit, xu as wellKnownUrl, xv as isHandoffPartName, xw as sanitizeNick, xx as DEVICE_INVITE_VERSION, xy as endedRequests, y as X401_VERSION, yC as SLOW_DEMOTE_MS, yS as TURN_MAX, y_ as servicesToWire, ya as LNURL_LIMITS, yb as checkAppManifest, yc as WAKE_FRAME, yd as importedProof, yf as baseMime, yg as LIMITS, yh as ratchetSessionOf, yi as DID_DHT_PREFIX, yl as isChatAppId, ym as claimedTime, yn as groupDisplayName, yo as publishFailure, yp as REACTED_FRAME, yr as varBytes, ys as readBeaconHead, yt as verifyCommunityChain, yu as txtValue, yv as handoffVerifiedMessage, yw as hasVisible, yx as encodeDeviceInvite, yy as REOPEN_BELOW, z as planAppUpdate, zC as isDiscoveryBudgetError, zS as turnInstance, z_ as HANDOFF_PIECE_OVERHEAD, za as ANSWERS_REFUSED_PAUSE_MS, zb as isAppKey, zc as pushRequest, zd as RELAY_WITH_SECRETS, zf as EDIT_BUFFER_MS, zg as RTC_CONFIG, zh as EXPECT_PEER_MS, zi as SEPOLIA_TEST_USDT_FAUCET, zl as parseSessionCapabilities, zm as rosterHas, zn as SSH_KEY_TYPES, zo as CarriedTransport, zp as pairedReplyAuthor, zr as parseAtprotoCar, zs as TYPING_KINDS, zt as groupWakeFrame, zu as IDENTITY_FRAME_LIMIT, zv as sortParts, zx as DEVICES_CAPABILITY, zy as REQUEST_PACKET_BYTES } from "./src-DytzSJB6.js";
|
|
2
|
-
//#region ../core/src/pictureMetadata.ts
|
|
3
|
-
/**
|
|
4
|
-
* What a picture leaves with. A photo's file says more than its pixels: its Exif and XMP hold where it was taken, the
|
|
5
|
-
* device, the time, often a thumbnail of the uncropped original. The sender removes them before the file is stored and
|
|
6
|
-
* its digest computed, so what the contact (or anyone in a community) receives is the picture alone: JPEG, PNG, WebP
|
|
7
|
-
* and HEIF (HEIC, AVIF), without decoding or re-encoding a pixel.
|
|
8
|
-
*
|
|
9
|
-
* Fail-closed: a file that is one of these pictures, by its bytes or by its type, and whose metadata cannot be removed
|
|
10
|
-
* (truncated, malformed, a part this does not know) is refused with `NO_PICTURE_METADATA`, never sent as it was. Any
|
|
11
|
-
* other file goes as it is.
|
|
12
|
-
*/
|
|
13
|
-
var PICTURE_METADATA_LIMITS = {
|
|
14
|
-
/** The largest picture read whole to remove its metadata: past this it is refused. */
|
|
15
|
-
maxBytes: 268435456,
|
|
16
|
-
/** Bytes read first to tell a picture from another file. */
|
|
17
|
-
headBytes: 64
|
|
18
|
-
};
|
|
19
|
-
/** Why a picture is refused: its metadata could not be removed, so it does not go at all. */
|
|
20
|
-
var NO_PICTURE_METADATA = "This picture cannot be sent: Ghostly could not remove the details saved in it, like where it was taken";
|
|
21
|
-
/** The types of the pictures stripped here: a file of one of them whose bytes are not that picture is refused. */
|
|
22
|
-
var STRIPPED_TYPES = /* @__PURE__ */ new Set([
|
|
23
|
-
"image/jpeg",
|
|
24
|
-
"image/jpg",
|
|
25
|
-
"image/pjpeg",
|
|
26
|
-
"image/png",
|
|
27
|
-
"image/apng",
|
|
28
|
-
"image/webp",
|
|
29
|
-
"image/heic",
|
|
30
|
-
"image/heif",
|
|
31
|
-
"image/heic-sequence",
|
|
32
|
-
"image/heif-sequence",
|
|
33
|
-
"image/avif",
|
|
34
|
-
"image/gif",
|
|
35
|
-
"image/tiff",
|
|
36
|
-
"image/tiff-fx"
|
|
37
|
-
]);
|
|
38
|
-
/** HEIF brands (HEIC, AVIF, the generic `mif1`): an MP4 video's `ftyp` names none of them. */
|
|
39
|
-
var HEIF_BRANDS = /* @__PURE__ */ new Set([
|
|
40
|
-
"heic",
|
|
41
|
-
"heix",
|
|
42
|
-
"heim",
|
|
43
|
-
"heis",
|
|
44
|
-
"hevc",
|
|
45
|
-
"hevx",
|
|
46
|
-
"mif1",
|
|
47
|
-
"mif2",
|
|
48
|
-
"msf1",
|
|
49
|
-
"avif",
|
|
50
|
-
"avis"
|
|
51
|
-
]);
|
|
52
|
-
var u16be = (b, at) => b[at] << 8 | b[at + 1];
|
|
53
|
-
var u32be = (b, at) => (b[at] << 24 >>> 0) + (b[at + 1] << 16) + (b[at + 2] << 8) + b[at + 3];
|
|
54
|
-
var u32le = (b, at) => (b[at] | b[at + 1] << 8 | b[at + 2] << 16 | b[at + 3] << 24) >>> 0;
|
|
55
|
-
var text = (b, at, length) => String.fromCharCode(...b.subarray(at, at + length));
|
|
56
|
-
var starts = (b, at, prefix) => at + prefix.length <= b.length && text(b, at, prefix.length) === prefix;
|
|
57
|
-
/** A picture this strips, by its first bytes. */
|
|
58
|
-
function kindOf(b) {
|
|
59
|
-
if (b.length >= 3 && b[0] === 255 && b[1] === 216 && b[2] === 255) return "jpeg";
|
|
60
|
-
if (b.length >= 8 && b[0] === 137 && starts(b, 1, "PNG\r\n\n")) return "png";
|
|
61
|
-
if (b.length >= 12 && starts(b, 0, "RIFF") && starts(b, 8, "WEBP")) return "webp";
|
|
62
|
-
if (starts(b, 0, "GIF87a") || starts(b, 0, "GIF89a")) return "gif";
|
|
63
|
-
if (starts(b, 0, "II*\0") || starts(b, 0, "MM\0*") || starts(b, 0, "II+\0") || starts(b, 0, "MM\0+")) return "tiff";
|
|
64
|
-
if (b.length >= 16 && starts(b, 4, "ftyp")) {
|
|
65
|
-
const end = Math.min(b.length, u32be(b, 0));
|
|
66
|
-
for (let at = 8; at + 4 <= end; at += 4) if (at !== 12 && HEIF_BRANDS.has(text(b, at, 4))) return "heif";
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
/** Refuses the picture where its bytes are not what this expects. */
|
|
70
|
-
function check(ok) {
|
|
71
|
-
if (!ok) throw new Error(NO_PICTURE_METADATA);
|
|
72
|
-
}
|
|
73
|
-
/** SOFn markers: every frame type but DHT (C4), JPG (C8) and DAC (CC). */
|
|
74
|
-
var JPEG_FRAME = /* @__PURE__ */ new Set([
|
|
75
|
-
192,
|
|
76
|
-
193,
|
|
77
|
-
194,
|
|
78
|
-
195,
|
|
79
|
-
197,
|
|
80
|
-
198,
|
|
81
|
-
199,
|
|
82
|
-
201,
|
|
83
|
-
202,
|
|
84
|
-
203,
|
|
85
|
-
205,
|
|
86
|
-
206,
|
|
87
|
-
207
|
|
88
|
-
]);
|
|
89
|
-
function jpegKeeps(marker, b, payload) {
|
|
90
|
-
if (marker >= 192 && marker <= 207 || marker >= 218 && marker <= 223) return true;
|
|
91
|
-
if (marker === 224) return starts(b, payload, "JFIF\0");
|
|
92
|
-
if (marker === 226) return starts(b, payload, "ICC_PROFILE\0");
|
|
93
|
-
if (marker === 238) return starts(b, payload, "Adobe");
|
|
94
|
-
return false;
|
|
95
|
-
}
|
|
96
|
-
/** An APP1 Exif, big-endian, whose IFD0 holds `orientation` alone. */
|
|
97
|
-
var orientationOnly = (orientation) => Uint8Array.of(255, 225, 0, 34, 69, 120, 105, 102, 0, 0, 77, 77, 0, 42, 0, 0, 0, 8, 0, 1, 1, 18, 0, 3, 0, 0, 0, 1, 0, orientation, 0, 0, 0, 0, 0, 0);
|
|
98
|
-
function stripJpeg(b) {
|
|
99
|
-
const parts = [b.subarray(0, 2)];
|
|
100
|
-
let at = 2, framed = false, scanned = false, exif = false;
|
|
101
|
-
for (;;) {
|
|
102
|
-
check(at < b.length && b[at] === 255);
|
|
103
|
-
while (at < b.length && b[at] === 255) at++;
|
|
104
|
-
check(at < b.length);
|
|
105
|
-
const marker = b[at++];
|
|
106
|
-
if (marker === 217) {
|
|
107
|
-
check(framed && scanned);
|
|
108
|
-
parts.push(Uint8Array.of(255, 217));
|
|
109
|
-
return parts;
|
|
110
|
-
}
|
|
111
|
-
if (marker === 1 || marker >= 208 && marker <= 215) {
|
|
112
|
-
parts.push(Uint8Array.of(255, marker));
|
|
113
|
-
continue;
|
|
114
|
-
}
|
|
115
|
-
check(marker !== 0 && marker !== 216 && at + 2 <= b.length);
|
|
116
|
-
const length = u16be(b, at);
|
|
117
|
-
check(length >= 2 && at + length <= b.length);
|
|
118
|
-
if (jpegKeeps(marker, b, at + 2)) {
|
|
119
|
-
parts.push(Uint8Array.of(255, marker), b.subarray(at, at + length));
|
|
120
|
-
if (JPEG_FRAME.has(marker)) framed = true;
|
|
121
|
-
} else if (marker === 225 && !scanned && !exif && starts(b, at + 2, "Exif\0\0")) {
|
|
122
|
-
exif = true;
|
|
123
|
-
const orientation = exifOrientation(b, at + 8, at + length);
|
|
124
|
-
if (orientation >= 2) parts.push(orientationOnly(orientation));
|
|
125
|
-
}
|
|
126
|
-
at += length;
|
|
127
|
-
if (marker !== 218) continue;
|
|
128
|
-
check(framed);
|
|
129
|
-
scanned = true;
|
|
130
|
-
let end = at;
|
|
131
|
-
for (;;) {
|
|
132
|
-
end = b.indexOf(255, end);
|
|
133
|
-
check(end >= 0);
|
|
134
|
-
let next = end + 1;
|
|
135
|
-
while (next < b.length && b[next] === 255) next++;
|
|
136
|
-
check(next < b.length);
|
|
137
|
-
if (b[next] !== 0 && !(b[next] >= 208 && b[next] <= 215)) break;
|
|
138
|
-
end = next + 1;
|
|
139
|
-
}
|
|
140
|
-
parts.push(b.subarray(at, end));
|
|
141
|
-
at = end;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
var PNG_CRITICAL = /* @__PURE__ */ new Set([
|
|
145
|
-
"IHDR",
|
|
146
|
-
"PLTE",
|
|
147
|
-
"IDAT",
|
|
148
|
-
"IEND"
|
|
149
|
-
]);
|
|
150
|
-
var PNG_DRAWS = /* @__PURE__ */ new Set([
|
|
151
|
-
"tRNS",
|
|
152
|
-
"gAMA",
|
|
153
|
-
"cHRM",
|
|
154
|
-
"sRGB",
|
|
155
|
-
"iCCP",
|
|
156
|
-
"sBIT",
|
|
157
|
-
"bKGD",
|
|
158
|
-
"pHYs",
|
|
159
|
-
"cICP",
|
|
160
|
-
"mDCV",
|
|
161
|
-
"cLLI",
|
|
162
|
-
"acTL",
|
|
163
|
-
"fcTL",
|
|
164
|
-
"fdAT"
|
|
165
|
-
]);
|
|
166
|
-
function stripPng(b) {
|
|
167
|
-
const parts = [b.subarray(0, 8)];
|
|
168
|
-
let at = 8;
|
|
169
|
-
for (;;) {
|
|
170
|
-
check(at + 12 <= b.length);
|
|
171
|
-
const length = u32be(b, at), type = text(b, at + 4, 4);
|
|
172
|
-
check(at + 12 + length <= b.length && (at > 8 || type === "IHDR"));
|
|
173
|
-
const critical = (b[at + 4] & 32) === 0;
|
|
174
|
-
check(!critical || PNG_CRITICAL.has(type));
|
|
175
|
-
if (critical || PNG_DRAWS.has(type)) parts.push(b.subarray(at, at + 12 + length));
|
|
176
|
-
at += 12 + length;
|
|
177
|
-
if (type === "IEND") return parts;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
var WEBP_KEEPS = /* @__PURE__ */ new Set([
|
|
181
|
-
"VP8 ",
|
|
182
|
-
"VP8L",
|
|
183
|
-
"VP8X",
|
|
184
|
-
"ALPH",
|
|
185
|
-
"ANIM",
|
|
186
|
-
"ANMF",
|
|
187
|
-
"ICCP"
|
|
188
|
-
]);
|
|
189
|
-
function stripWebp(b) {
|
|
190
|
-
check(b.length >= 20);
|
|
191
|
-
const riffEnd = 8 + u32le(b, 4);
|
|
192
|
-
check(riffEnd <= b.length && riffEnd % 2 === 0);
|
|
193
|
-
const parts = [];
|
|
194
|
-
let at = 12, size = 4, drawn = false;
|
|
195
|
-
while (at < riffEnd) {
|
|
196
|
-
check(at + 8 <= riffEnd);
|
|
197
|
-
const type = text(b, at, 4), length = u32le(b, at + 4), end = at + 8 + length + (length & 1);
|
|
198
|
-
check(end <= riffEnd && (at > 12 || type === "VP8 " || type === "VP8L" || type === "VP8X"));
|
|
199
|
-
if (WEBP_KEEPS.has(type)) {
|
|
200
|
-
let chunk = b.subarray(at, end);
|
|
201
|
-
if (type === "VP8X") {
|
|
202
|
-
check(length >= 10);
|
|
203
|
-
chunk = chunk.slice();
|
|
204
|
-
chunk[8] = chunk[8] & -13;
|
|
205
|
-
}
|
|
206
|
-
if (type === "VP8 " || type === "VP8L" || type === "ANMF") drawn = true;
|
|
207
|
-
parts.push(chunk);
|
|
208
|
-
size += chunk.length;
|
|
209
|
-
}
|
|
210
|
-
at = end;
|
|
211
|
-
}
|
|
212
|
-
check(drawn);
|
|
213
|
-
const header = /* @__PURE__ */ new Uint8Array(12);
|
|
214
|
-
header.set(b.subarray(0, 12));
|
|
215
|
-
new DataView(header.buffer).setUint32(4, size, true);
|
|
216
|
-
return [header, ...parts];
|
|
217
|
-
}
|
|
218
|
-
var HEIF_TOP = /* @__PURE__ */ new Set([
|
|
219
|
-
"ftyp",
|
|
220
|
-
"meta",
|
|
221
|
-
"mdat",
|
|
222
|
-
"free",
|
|
223
|
-
"skip"
|
|
224
|
-
]);
|
|
225
|
-
var HEIF_META = /* @__PURE__ */ new Set([
|
|
226
|
-
"hdlr",
|
|
227
|
-
"dinf",
|
|
228
|
-
"pitm",
|
|
229
|
-
"iloc",
|
|
230
|
-
"iinf",
|
|
231
|
-
"iref",
|
|
232
|
-
"iprp",
|
|
233
|
-
"idat",
|
|
234
|
-
"grpl",
|
|
235
|
-
"free",
|
|
236
|
-
"skip"
|
|
237
|
-
]);
|
|
238
|
-
/** Items that hold metadata: Exif, and XMP (or any other document) as a MIME item. */
|
|
239
|
-
var HEIF_METADATA_ITEMS = /* @__PURE__ */ new Set([
|
|
240
|
-
"Exif",
|
|
241
|
-
"mime",
|
|
242
|
-
"uri "
|
|
243
|
-
]);
|
|
244
|
-
function boxes(b, start, end) {
|
|
245
|
-
const found = [];
|
|
246
|
-
for (let at = start; at < end;) {
|
|
247
|
-
check(at + 8 <= end);
|
|
248
|
-
let size = u32be(b, at), body = at + 8;
|
|
249
|
-
const type = text(b, at + 4, 4);
|
|
250
|
-
if (size === 1) {
|
|
251
|
-
check(at + 16 <= end);
|
|
252
|
-
size = u32be(b, at + 8) * 2 ** 32 + u32be(b, at + 12);
|
|
253
|
-
body = at + 16;
|
|
254
|
-
} else if (size === 0) size = end - at;
|
|
255
|
-
if (type === "uuid") body += 16;
|
|
256
|
-
check(size >= body - at && at + size <= end);
|
|
257
|
-
found.push({
|
|
258
|
-
type,
|
|
259
|
-
start: at,
|
|
260
|
-
body,
|
|
261
|
-
end: at + size
|
|
262
|
-
});
|
|
263
|
-
at += size;
|
|
264
|
-
}
|
|
265
|
-
return found;
|
|
266
|
-
}
|
|
267
|
-
function stripHeif(b) {
|
|
268
|
-
const top = boxes(b, 0, b.length);
|
|
269
|
-
check(top[0]?.type === "ftyp" && top.every((box) => HEIF_TOP.has(box.type)));
|
|
270
|
-
const metas = top.filter((box) => box.type === "meta");
|
|
271
|
-
check(metas.length === 1);
|
|
272
|
-
const meta = metas[0];
|
|
273
|
-
const children = boxes(b, meta.body + 4, meta.end);
|
|
274
|
-
check(children.every((box) => HEIF_META.has(box.type)));
|
|
275
|
-
const one = (type) => {
|
|
276
|
-
const of = children.filter((box) => box.type === type);
|
|
277
|
-
check(of.length <= 1);
|
|
278
|
-
return of[0];
|
|
279
|
-
};
|
|
280
|
-
const iinf = one("iinf"), iloc = one("iloc"), idat = one("idat");
|
|
281
|
-
check(!!iinf && !!iloc);
|
|
282
|
-
const metadata = /* @__PURE__ */ new Set();
|
|
283
|
-
const infeVersion = b[iinf.body];
|
|
284
|
-
const entries = boxes(b, iinf.body + 4 + (infeVersion === 0 ? 2 : 4), iinf.end);
|
|
285
|
-
for (const infe of entries) {
|
|
286
|
-
check(infe.type === "infe" && infe.body + 4 <= infe.end);
|
|
287
|
-
const version = b[infe.body];
|
|
288
|
-
check(version === 2 || version === 3);
|
|
289
|
-
let at = infe.body + 4;
|
|
290
|
-
const id = version === 2 ? u16be(b, at) : u32be(b, at);
|
|
291
|
-
at += version === 2 ? 2 : 4;
|
|
292
|
-
check(at + 6 <= infe.end);
|
|
293
|
-
if (HEIF_METADATA_ITEMS.has(text(b, at + 2, 4))) metadata.add(id);
|
|
294
|
-
}
|
|
295
|
-
const out = b.slice();
|
|
296
|
-
const version = b[iloc.body];
|
|
297
|
-
check(version <= 2);
|
|
298
|
-
let at = iloc.body + 4;
|
|
299
|
-
/** The next field of `size` bytes (0, 2, 4 or 8), big-endian. */
|
|
300
|
-
const read = (size) => {
|
|
301
|
-
check(at + size <= iloc.end);
|
|
302
|
-
const value = size === 0 ? 0 : size === 2 ? u16be(b, at) : size === 4 ? u32be(b, at) : size === 8 ? u32be(b, at) * 2 ** 32 + u32be(b, at + 4) : NaN;
|
|
303
|
-
check(Number.isSafeInteger(value));
|
|
304
|
-
at += size;
|
|
305
|
-
return value;
|
|
306
|
-
};
|
|
307
|
-
const read2 = () => read(2);
|
|
308
|
-
check(at + 2 <= iloc.end);
|
|
309
|
-
const offsetSize = b[at] >> 4, lengthSize = b[at] & 15, baseSize = b[at + 1] >> 4, indexSize = version > 0 ? b[at + 1] & 15 : 0;
|
|
310
|
-
check([
|
|
311
|
-
offsetSize,
|
|
312
|
-
lengthSize,
|
|
313
|
-
baseSize,
|
|
314
|
-
indexSize
|
|
315
|
-
].every((size) => size === 0 || size === 4 || size === 8));
|
|
316
|
-
at += 2;
|
|
317
|
-
const count = read(version < 2 ? 2 : 4);
|
|
318
|
-
for (let i = 0; i < count; i++) {
|
|
319
|
-
const id = version < 2 ? read2() : read(4);
|
|
320
|
-
const method = version > 0 ? read2() & 15 : 0;
|
|
321
|
-
const reference = read2();
|
|
322
|
-
const base = read(baseSize);
|
|
323
|
-
const extents = read2();
|
|
324
|
-
for (let e = 0; e < extents; e++) {
|
|
325
|
-
if (indexSize) read(indexSize);
|
|
326
|
-
const offset = read(offsetSize), length = read(lengthSize);
|
|
327
|
-
if (!metadata.has(id)) continue;
|
|
328
|
-
check(reference === 0 && length > 0 && (method === 0 || method === 1 && !!idat));
|
|
329
|
-
const start = (method === 1 ? idat.body : 0) + base + offset, limit = method === 1 ? idat.end : b.length;
|
|
330
|
-
check(start + length <= limit);
|
|
331
|
-
out.fill(0, start, start + length);
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
return [out];
|
|
335
|
-
}
|
|
336
|
-
var GIF_APPS_KEPT = /* @__PURE__ */ new Set([
|
|
337
|
-
"NETSCAPE2.0",
|
|
338
|
-
"ANIMEXTS1.0",
|
|
339
|
-
"ICCRGBG1012"
|
|
340
|
-
]);
|
|
341
|
-
function stripGif(b) {
|
|
342
|
-
check(b.length >= 13);
|
|
343
|
-
/** A colour table's bytes, from the flags that say it is there and its size. */
|
|
344
|
-
const table = (flags) => flags & 128 ? 3 << (flags & 7) + 1 : 0;
|
|
345
|
-
/** The end of the data sub-blocks at `at`, past their empty block. */
|
|
346
|
-
const blocks = (at) => {
|
|
347
|
-
for (;;) {
|
|
348
|
-
check(at < b.length);
|
|
349
|
-
const length = b[at];
|
|
350
|
-
at += 1 + length;
|
|
351
|
-
if (!length) return at;
|
|
352
|
-
}
|
|
353
|
-
};
|
|
354
|
-
let at = 13 + table(b[10]), framed = false;
|
|
355
|
-
check(at <= b.length);
|
|
356
|
-
const parts = [b.subarray(0, at)];
|
|
357
|
-
for (;;) {
|
|
358
|
-
check(at < b.length);
|
|
359
|
-
const introducer = b[at];
|
|
360
|
-
if (introducer === 59) {
|
|
361
|
-
check(framed);
|
|
362
|
-
parts.push(Uint8Array.of(59));
|
|
363
|
-
return parts;
|
|
364
|
-
}
|
|
365
|
-
if (introducer === 44) {
|
|
366
|
-
check(at + 10 <= b.length);
|
|
367
|
-
const data = at + 10 + table(b[at + 9]);
|
|
368
|
-
check(data < b.length);
|
|
369
|
-
const end = blocks(data + 1);
|
|
370
|
-
parts.push(b.subarray(at, end));
|
|
371
|
-
framed = true;
|
|
372
|
-
at = end;
|
|
373
|
-
continue;
|
|
374
|
-
}
|
|
375
|
-
check(introducer === 33 && at + 2 < b.length);
|
|
376
|
-
const label = b[at + 1], end = blocks(at + 2);
|
|
377
|
-
const app = label === 255 && b[at + 2] === 11 && GIF_APPS_KEPT.has(text(b, at + 3, 11));
|
|
378
|
-
if (label === 249 || label === 1 || app) parts.push(b.subarray(at, end));
|
|
379
|
-
else check(label === 254 || label === 255);
|
|
380
|
-
at = end;
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
var TIFF_DRAWS = /* @__PURE__ */ new Set([
|
|
384
|
-
254,
|
|
385
|
-
255,
|
|
386
|
-
256,
|
|
387
|
-
257,
|
|
388
|
-
258,
|
|
389
|
-
259,
|
|
390
|
-
262,
|
|
391
|
-
263,
|
|
392
|
-
264,
|
|
393
|
-
265,
|
|
394
|
-
266,
|
|
395
|
-
273,
|
|
396
|
-
274,
|
|
397
|
-
277,
|
|
398
|
-
278,
|
|
399
|
-
279,
|
|
400
|
-
280,
|
|
401
|
-
281,
|
|
402
|
-
282,
|
|
403
|
-
283,
|
|
404
|
-
284,
|
|
405
|
-
286,
|
|
406
|
-
287,
|
|
407
|
-
290,
|
|
408
|
-
291,
|
|
409
|
-
292,
|
|
410
|
-
293,
|
|
411
|
-
296,
|
|
412
|
-
297,
|
|
413
|
-
301,
|
|
414
|
-
317,
|
|
415
|
-
318,
|
|
416
|
-
319,
|
|
417
|
-
320,
|
|
418
|
-
321,
|
|
419
|
-
322,
|
|
420
|
-
323,
|
|
421
|
-
324,
|
|
422
|
-
325,
|
|
423
|
-
332,
|
|
424
|
-
334,
|
|
425
|
-
336,
|
|
426
|
-
338,
|
|
427
|
-
339,
|
|
428
|
-
340,
|
|
429
|
-
341,
|
|
430
|
-
529,
|
|
431
|
-
530,
|
|
432
|
-
531,
|
|
433
|
-
532,
|
|
434
|
-
34675
|
|
435
|
-
]);
|
|
436
|
-
/** Text and documents about the picture: DocumentName to HostComputer, InkNames, XMP, Copyright, IPTC, Photoshop, Windows' XP tags, PrintIM. */
|
|
437
|
-
var TIFF_METADATA = /* @__PURE__ */ new Set([
|
|
438
|
-
269,
|
|
439
|
-
270,
|
|
440
|
-
271,
|
|
441
|
-
272,
|
|
442
|
-
285,
|
|
443
|
-
305,
|
|
444
|
-
306,
|
|
445
|
-
315,
|
|
446
|
-
316,
|
|
447
|
-
333,
|
|
448
|
-
700,
|
|
449
|
-
33432,
|
|
450
|
-
33723,
|
|
451
|
-
34377,
|
|
452
|
-
18246,
|
|
453
|
-
18249,
|
|
454
|
-
40091,
|
|
455
|
-
40092,
|
|
456
|
-
40093,
|
|
457
|
-
40094,
|
|
458
|
-
40095,
|
|
459
|
-
50341
|
|
460
|
-
]);
|
|
461
|
-
/** The IFDs of Exif, GPS and interoperability, emptied whole. */
|
|
462
|
-
var TIFF_METADATA_IFDS = /* @__PURE__ */ new Set([
|
|
463
|
-
34665,
|
|
464
|
-
34853,
|
|
465
|
-
40965
|
|
466
|
-
]);
|
|
467
|
-
/** Compression without JPEG: none, CCITT, LZW, Deflate, PackBits. */
|
|
468
|
-
var TIFF_COMPRESSION = /* @__PURE__ */ new Set([
|
|
469
|
-
1,
|
|
470
|
-
2,
|
|
471
|
-
3,
|
|
472
|
-
4,
|
|
473
|
-
5,
|
|
474
|
-
8,
|
|
475
|
-
32773,
|
|
476
|
-
32946
|
|
477
|
-
]);
|
|
478
|
-
/** Bytes per value of each field type. */
|
|
479
|
-
var TIFF_TYPE_BYTES = [
|
|
480
|
-
0,
|
|
481
|
-
1,
|
|
482
|
-
1,
|
|
483
|
-
2,
|
|
484
|
-
4,
|
|
485
|
-
8,
|
|
486
|
-
1,
|
|
487
|
-
1,
|
|
488
|
-
2,
|
|
489
|
-
4,
|
|
490
|
-
8,
|
|
491
|
-
4,
|
|
492
|
-
8,
|
|
493
|
-
4
|
|
494
|
-
];
|
|
495
|
-
function stripTiff(b) {
|
|
496
|
-
const little = b[0] === 73;
|
|
497
|
-
const u16 = (at) => {
|
|
498
|
-
check(at + 2 <= b.length);
|
|
499
|
-
return little ? b[at] | b[at + 1] << 8 : u16be(b, at);
|
|
500
|
-
};
|
|
501
|
-
const u32 = (at) => {
|
|
502
|
-
check(at + 4 <= b.length);
|
|
503
|
-
return little ? u32le(b, at) : u32be(b, at);
|
|
504
|
-
};
|
|
505
|
-
check(b.length >= 8 && u16(2) === 42);
|
|
506
|
-
const out = b.slice(), seen = /* @__PURE__ */ new Set();
|
|
507
|
-
/** An IFD's entries: tag, type, the value's first byte (in the entry or where it points) and its bytes. */
|
|
508
|
-
const entries = (ifd) => {
|
|
509
|
-
check(ifd >= 8 && !seen.has(ifd) && seen.size < 1024);
|
|
510
|
-
seen.add(ifd);
|
|
511
|
-
const count = u16(ifd), next = ifd + 2 + count * 12;
|
|
512
|
-
u32(next);
|
|
513
|
-
return {
|
|
514
|
-
next,
|
|
515
|
-
list: Array.from({ length: count }, (_, i) => {
|
|
516
|
-
const at = ifd + 2 + i * 12, tag = u16(at), type = u16(at + 2);
|
|
517
|
-
check(type >= 1 && type < TIFF_TYPE_BYTES.length);
|
|
518
|
-
const bytes = TIFF_TYPE_BYTES[type] * u32(at + 4);
|
|
519
|
-
const value = bytes <= 4 ? at + 8 : u32(at + 8);
|
|
520
|
-
check(Number.isSafeInteger(bytes) && value + bytes <= b.length);
|
|
521
|
-
return {
|
|
522
|
-
at,
|
|
523
|
-
tag,
|
|
524
|
-
type,
|
|
525
|
-
value,
|
|
526
|
-
bytes
|
|
527
|
-
};
|
|
528
|
-
})
|
|
529
|
-
};
|
|
530
|
-
};
|
|
531
|
-
/** An Exif, GPS or interoperability IFD: every value zeroed, then the IFD itself, so it holds no entry. */
|
|
532
|
-
const empty = (ifd) => {
|
|
533
|
-
const { next, list } = entries(ifd);
|
|
534
|
-
for (const entry of list) {
|
|
535
|
-
check(entry.tag !== 37500);
|
|
536
|
-
if (TIFF_METADATA_IFDS.has(entry.tag)) empty(u32(entry.value));
|
|
537
|
-
out.fill(0, entry.value, entry.value + entry.bytes);
|
|
538
|
-
}
|
|
539
|
-
out.fill(0, ifd, next + 4);
|
|
540
|
-
};
|
|
541
|
-
for (let ifd = u32(4); ifd;) {
|
|
542
|
-
const { next, list } = entries(ifd);
|
|
543
|
-
for (const { tag, value, bytes } of list) {
|
|
544
|
-
if (tag === 259) check(TIFF_COMPRESSION.has(u16(value)));
|
|
545
|
-
if (TIFF_METADATA_IFDS.has(tag)) empty(u32(value));
|
|
546
|
-
else if (TIFF_METADATA.has(tag)) out.fill(0, value, value + bytes);
|
|
547
|
-
else check(TIFF_DRAWS.has(tag));
|
|
548
|
-
}
|
|
549
|
-
ifd = u32(next);
|
|
550
|
-
}
|
|
551
|
-
return [out];
|
|
552
|
-
}
|
|
553
|
-
var STRIP = {
|
|
554
|
-
jpeg: stripJpeg,
|
|
555
|
-
png: stripPng,
|
|
556
|
-
webp: stripWebp,
|
|
557
|
-
heif: stripHeif,
|
|
558
|
-
gif: stripGif,
|
|
559
|
-
tiff: stripTiff
|
|
560
|
-
};
|
|
561
|
-
/**
|
|
562
|
-
* A picture's bytes without its metadata, as parts to put in a Blob; undefined when the file is not a picture this
|
|
563
|
-
* strips (by its bytes and its type), so it goes as it is. Throws `NO_PICTURE_METADATA` when it is one but its
|
|
564
|
-
* metadata cannot be removed.
|
|
565
|
-
*/
|
|
566
|
-
function stripPictureMetadata(bytes, mime) {
|
|
567
|
-
const kind = kindOf(bytes);
|
|
568
|
-
if (!kind) {
|
|
569
|
-
if (STRIPPED_TYPES.has(mime.split(";")[0].trim().toLowerCase())) throw new Error(NO_PICTURE_METADATA);
|
|
570
|
-
return;
|
|
571
|
-
}
|
|
572
|
-
return STRIP[kind](bytes);
|
|
573
|
-
}
|
|
574
|
-
/**
|
|
575
|
-
* Whether a file is a picture whose metadata goes before it is sent, by its first `PICTURE_METADATA_LIMITS.headBytes`
|
|
576
|
-
* bytes or by its type: then it is read whole and stripped (`stripPictureMetadata`), else it goes as it is.
|
|
577
|
-
*/
|
|
578
|
-
function isStrippedPicture(head, mime) {
|
|
579
|
-
return !!kindOf(head) || STRIPPED_TYPES.has(mime.split(";")[0].trim().toLowerCase());
|
|
580
|
-
}
|
|
581
|
-
/**
|
|
582
|
-
* `source` as it is sent: without its metadata when it is a picture (`stripPictureMetadata`), or undefined when it is
|
|
583
|
-
* not one and goes as it is. Only its first bytes are read for any other file. Throws `NO_PICTURE_METADATA` for a
|
|
584
|
-
* picture that cannot be stripped or is past `PICTURE_METADATA_LIMITS.maxBytes`; an error reading `source` as it is.
|
|
585
|
-
*/
|
|
586
|
-
async function withoutPictureMetadata(source, mime) {
|
|
587
|
-
if (!isStrippedPicture(new Uint8Array(await source.slice(0, PICTURE_METADATA_LIMITS.headBytes).arrayBuffer()), mime)) return void 0;
|
|
588
|
-
if (source.size > PICTURE_METADATA_LIMITS.maxBytes) throw new Error(NO_PICTURE_METADATA);
|
|
589
|
-
const parts = stripPictureMetadata(new Uint8Array(await source.arrayBuffer()), mime);
|
|
590
|
-
return parts && new Blob(parts, { type: mime });
|
|
591
|
-
}
|
|
592
|
-
//#endregion
|
|
1
|
+
import { $ as COMMUNITY_LIMITS, $C as heldBackError, $S as signTurnRelease, $_ as HANDOFF_TIMINGS, $a as DEMOTE_AFTER_FAILURES, $b as isAppKey, $c as APP_RANGE_FRAMES, $d as irohRelayUrl, $f as MAX_EDITS_PER_MESSAGE, $g as callRtcConfig, $h as OFFER_FAST_MS, $i as isSparkAddress, $l as SESSION_RECEIVE_PENDING, $m as verifyCommitSignature, $n as MessageRefusal, $o as SIGNAL_FRESH_MS, $p as BUTTON_ID, $r as DidError, $s as TYPING_STATUS_MAX, $t as GROUP_EDIT_TEXT_BYTES, $u as IDENTITY_MAX_VALIDITY, $v as encodeSetSlots, $x as readInviteCode, $y as STAMP_BITS_DEFAULT, A as readX401ProofResponseHeader, AC as RelayTransport, AS as TOMBSTONE_TURN, A_ as servicesToWire, Aa as findBolt11, Ab as appViewOf, Ac as WAKE_SUBJECT, Ad as nostrProofTemplate, Af as fileMessageText, Ag as LIMITS, Ah as ANSWER_REFUSED_REDIALS, Ai as jwkThumbprint, Al as readAppFrame, Am as receivedTimestamp, An as parseGroupMetaBody, Ao as EngineError, Ap as REACTION_LIMITS, Ar as parseAtprotoDidDocument, As as shouldBeHub, At as knockRecords, Au as wellKnownUrl, Av as handoffVerifiedMessage, Aw as MAX_AVATAR_SIDE, Ax as DEVICE_INVITE_OWN_DEVICE, Ay as REOPEN_BELOW, B as APP_STORE_KINDS, BC as currentRelays, BS as TURN_SLOTS, B_ as HANDOFF_FILE_MISSING, Ba as videoMetadataPatches, Bb as readAppBundleAsync, Bc as wakePayload, Bd as RING_LIFETIME, Bf as PLAYABLE_VIDEO, Bg as DATA_CHANNEL_LABEL, Bh as DIRECT_OWN_ATTEMPTS, Bi as TEST_USDT_FAUCET_AMOUNT, Bl as REACTIONS_CAPABILITY, Bm as OWN_FRAME_LIMIT, Bn as SSH_PUBLIC_KEY_MAX, Bo as fetchesByItself, Bp as readDhtReactions, Br as parseAtprotoDidKey, Bs as FileUplink, Bt as groupWakes, Bu as capsDescriptors, Bv as readHandoffFileFrame, Bw as unwrapPasted, Bx as INVITE_VERSION, By as CONTACT_RECORD_TTL, C as buildX401TokenObject, CC as GROUP_RATION_WINDOW_MS, CS as TURN_RAISE_READ_TIMEOUT_MS, C_ as SERVICES_VERSION, Ca as parseInvoiceCallback, Cb as APP_CLIENT_NAME, Cc as readPin, Cd as PROOF_CAPABILITY, Cf as sanitizeMime, Cg as sanitizeRequestHeaders, Ch as ratchetHeard, Ci as decodeDidDhtPacket, Cl as appDataBytes, Cm as statusCardText, Cn as groupMetaPicture, Co as WAKE_ANSWER_GRACE_MS, Cp as forwardedMany, Cr as ATPROTO_PROOF_SCOPE, Cs as mergeLobby, Ct as KNOCK_TTL_MS, Cu as normalizeDomain, Cv as handoffOfferFrame, Cw as verify, Cx as CONTACT_LINK_BYTES, Cy as readEnrollHello, D as readX401ProofRequest, DC as PREVIOUS_DEFAULT_RELAYS, DS as keptAtEqualSequence, D_ as isViewerTag, Da as resolveLightningDestination, Db as APP_SCREENSHOTS_DIR, Dc as WAKE_CALL_WAIT_MS, Dd as emptyProofLedger, Df as VOICE_METER, Dg as withViewerPolicy, Dh as ratchetSeal, Di as didDhtRecords, Dl as isAppVersion, Dm as arrivalKey, Dn as keepPastGroupMeta, Do as parsePaymentNetworks, Dp as QUICK_REACTIONS, Dr as checkAtprotoProofRecord, Ds as readBeacon, Dt as entryParams, Du as recordsName, Dv as handoffRetryAfter, Dw as sealedLength, Dx as readContactLink, Dy as MAX_MISSED, E as isX401Protocol, EC as HEDGE_MS, ES as classifyTurnRead, E_ as isValidServiceId, Ea as requestLnurlInvoice, Eb as APP_PERMISSIONS, Ec as WAKE_CALL_TTL_SECONDS, Ed as STORAGE_ROOT, Ef as VOICE_LIMITS, Eg as webLocalFetch, Eh as ratchetRoot, Ei as didDhtKey, El as chatAppId, Em as MESSAGE_CLOCK_SKEW_MS, En as groupName, Eo as pairedMessageFrame, Ep as GROUP_REACTION_FRAME, Er as atprotoProofRkey, Es as rankHubs, Et as encodeGroupEntryLink, Eu as recordsFromWellKnown, Ev as handoffRequestFrame, Ew as generateEncryptionKey, Ex as encodeContactLink, Ey as MAX_DONE, F as appRevocationFor, FC as SLOW_MS, FS as TURN_NAME_BYTES, F_ as HANDOFF_BUSY_REASONS, Fa as isFederationId, Fb as isAppLicense, Fc as parseWakeFrame, Fd as storageProofBody, Ff as voiceDownloadName, Fg as encodeChunk, Fh as GATHER_STALL_MS, Fi as EVM_TEST_CHAINS, Fl as EDIT_CAPABILITY, Fm as GROUP_VERSION_LARGE, Fn as verifyGroupMetaSignature, Fo as GROUP_FILE_LIMITS, Fp as queueReaction, Fr as decodeAtprotoCommit, Fs as parsePairedCallFrame, Ft as GROUP_WAKE_GROUP_WINDOW_MS, Fu as CAPS_REFRESH_MS, Fv as readHandoffAck, Fw as hasVisible, Fx as readDeviceInvite, Fy as planKnocks, G as readAppStore, GC as traceLink, GS as firstDeviceSetSecret, G_ as HANDOFF_LIST_PER_FRAME, Ga as stripPictureMetadata, Gb as APP_STATEMENT_LIMITS, Gc as decryptPushPayload, Gd as verifyRingAuthorization, Gf as parseVideoMeta, Gg as offerIsFresh, Gh as AWAITING_PEER_MS, Gi as assertWholeSats, Gl as TYPING_CAPABILITY, Gm as parseGroupCommit, Gn as sshFingerprint, Go as readGroupWant, Gp as REPLY_ID, Gr as verifyAtprotoSignature, Gs as transferEnded, Gt as GROUP_READ_NOTE, Gu as IDENTITY_CHALLENGE_WINDOW, Gv as readHandoffRelease, Gw as fromZ32, Gx as encodeGhostlyInvite, Gy as MAX_SEEN, H as checkAppListing, HC as readRelayBody, HS as TURN_VERSION, H_ as HANDOFF_HAVE, Ha as NO_PICTURE_METADATA, Hb as yieldThread, Hc as PUSH_SERVICE_HOSTS, Hd as ringClaims, Hf as formatVideoDuration, Hg as RTC_SIGNAL_MAX_AGE_MS, Hh as DirectPathWatch, Hi as WALLET_NETWORKS, Hl as SESSION_CAPABILITIES_FRAME, Hm as commitHash, Hn as parseSshPublicKey, Ho as isGroupMessageId, Hp as validReactionNumber, Hr as readAtprotoCid, Hs as encodeFileData, Ht as parseGroupWakeFrame, Hu as emptyCapsState, Hv as readHandoffHello, Hw as concatBytes, Hx as createChatInvite, Hy as KNOCK_SLOTS, I as appStoreDecision, IC as TURN_SOURCE_TIMEOUT_MS, IS as TURN_NO_ACTIVE, I_ as HANDOFF_CANCEL, Ia as parseCashuRequestPayload, Ib as isAppPath, Ic as readWake, Id as storageProofPath, If as voiceFileName, Ig as encodeControl, Ih as OFFER_HOST_GATHER_MS, Ii as ONCHAIN_PROVIDER, Il as FILES_BINARY_CAPABILITY, Im as LEGACY_GROUP_MEMBERS, In as wrapGroupMeta, Io as GROUP_HAVE_FRAME, Ip as reactedFrame, Ir as decodeDagCbor, Is as ChatFiles, It as GROUP_WAKE_MEMBER_INTERVAL_MS, Iu as CapsExchange, Iv as readHandoffBusy, Iw as sanitizeDisplayText, Ix as DEVICE_INVITE_VERSION, Iy as settleRequest, J as GROUP_TYPING_FRAME, JC as BREAKER_MAX_MS, JS as readTurnBody, J_ as HANDOFF_PAKE, Ja as ANSWERS_REFUSED_PAUSE_MS, Jb as appRefPublisher, Jc as pushRequest, Jd as RELAY_WITH_SECRETS, Jf as EDIT_BUFFER_MS, Jg as CALL_SIGNAL_MAX_AGE_MS, Jh as EXPECT_PEER_MS, Ji as parsePaymentAmount, Jl as parseSessionCapabilities, Jm as rosterHas, Jn as verifySshSignature, Jo as CarriedTransport, Jp as pairedReplyAuthor, Jr as DID_GHOSTLY_SERVICE, Js as TYPING_KINDS, Jt as chainPieces, Ju as IDENTITY_FRAME_LIMIT, Jv as sameDigest, Jw as toBase64, Jx as inviteOwnership, Jy as REQUEST_LABEL, K as readAppStoreSteps, KC as BREAKER_ALL_DOWN_PROBE_MS, KS as nextTurnPosition, K_ as HANDOFF_MANIFEST, Ka as withoutPictureMetadata, Kb as appFingerprint, Kc as encryptPushPayload, Kd as verifyRingEvidence, Kf as EDITED_FRAME, Kg as parseRtcSignal, Kh as DEPARTED_READ_MS, Ki as formatPaymentAmount, Kl as UPGRADE_CAPABILITY, Km as rememberAlone, Kn as sshKeyDigestHex, Ko as readGroupWantNo, Kp as REPLY_LIMITS, Kr as DID_DOCUMENT_MAX_BYTES, Ks as transferStalled, Kt as GroupSession, Ku as IDENTITY_CHECK_UNAVAILABLE, Kv as readHandoffTurnFrame, Kw as isZ32Key, Kx as encodeInviteCode, Ky as MAX_SLOT_KNOCKS, L as appUpdateDecision, LC as WATCH_SHARE, LS as TURN_REV_LIMIT, L_ as HANDOFF_CANCEL_REASONS, La as parseFedimintRequestPayload, Lb as isAppUrl, Lc as readWakePayload, Ld as validExternalKey, Lf as voiceLevel, Lg as sendBody, Lh as REANSWERS, Li as PaymentPreflightError, Ll as FILES_CAPABILITY, Lm as MAX_GROUP_CHAIN, Ln as SSHSIG_MAX_ARMOR, Lo as GROUP_VERSION_FILES, Lp as reactionEmoji, Lr as encodeDagCbor, Ls as FILE_DATA_KIND, Lt as GROUP_WAKE_RECEIVE_LIMIT, Lu as CapsKeys, Lv as readHandoffCancel, Lw as sanitizeNick, Lx as INVITE_HRP, Ly as takeRequest, M as readX401ProofResultHeader, MC as SIGNALING_ALLOWANCE_SHARE, MS as TURN_LABEL, M_ as HANDOFF_ACK, Ma as cashuRequestPayload, Mb as buildAppBundle, Mc as WakeLimiter, Md as proofHash, Mf as isPlayableAudioType, Mg as PROTOCOL_VERSION, Mh as DATA_SETTLE_MS, Mi as resolveDidDht, Ml as APP_RANGES_CAPABILITY, Mm as GROUP_ADMIN_OFF_ERROR, Mn as parseGroupMetaStatement, Mo as engineText, Mp as nextReactionNumber, Mr as AtprotoCid, Ms as MAX_PAIRED_CALL_SIGNAL, Mt as readKnocks, Mu as CAPS_LABEL, Mv as isHandoffPartName, Mw as sanitizeAvatar, Mx as deviceInviteJoinerKeyZ32, My as endedRequests, N as x401AnswerableRequests, NC as SIGNALING_WINDOW_MS, NS as TURN_LAST_SEQUENCE, N_ as HANDOFF_ATTEMPTS, Na as fedimintRequestPayload, Nb as checkAppManifest, Nc as deviceWakeRequest, Nd as proofStatement, Nf as parseVoiceMeta, Ng as decodeChunk, Nh as DataLink, Ni as signDidDhtPacket, Nl as BUTTONS_CAPABILITY, Nm as GROUP_ID, Nn as parseGroupMetaTag, No as parseEngineError, Np as parseReactedFrame, Nr as AtprotoProofError, Ns as PAIRED_CALL_FRAME, Nt as GROUP_WAKE_FRAME, Nu as CAPS_LIMITS, Nv as newHandoffId, Nw as MAX_NICK_LENGTH, Nx as deviceInviteJoinerParams, Ny as inboxRecord, O as readX401ProofRequestHeader, OC as RELAY_REQUESTS_PER_MINUTE, OS as turnPutSummary, O_ as serviceIdFromName, Oa as BOLT11_PATTERN, Ob as APP_VIEWS, Oc as WAKE_FRAME, Od as importedProof, Of as baseMime, Og as CHUNK_FLAG_END, Oh as ratchetSessionOf, Oi as encodeDidDhtDeactivated, Ol as isChatAppId, Om as claimedTime, On as nextGroupMetaRevision, Oo as publishFailure, Op as REACTED_FRAME, Or as isAtprotoDid, Os as readBeaconHead, Ot as groupEntryUrl, Ou as txtValue, Ov as handoffStreamKey, Ow as tryDecrypt, Ox as DEVICE_INVITE_BYTES, Oy as MAX_WAITING, P as addedAppPermissions, PC as SLOW_DEMOTE_MS, PS as TURN_MAX, P_ as HANDOFF_BUSY, Pa as findEndpoint, Pb as findAppForbiddenKey, Pc as newWakeToken, Pd as storageProof, Pf as recordingMime, Pg as decodeControl, Ph as GATHER_ATTEMPTS, Pi as ETHEREUM_USDT, Pl as CALLS_CAPABILITY, Pm as GROUP_MEMBER_CAP, Pn as signGroupMeta, Po as PairingTracker, Pp as parseReactionFrame, Pr as atprotoCidFor, Ps as PairedCalls, Pt as GROUP_WAKE_GROUP_LIMIT, Pu as CAPS_PUBLISH_SPACING_MS, Pv as openHandoffPiece, Pw as dropLoneJoiners, Px as encodeDeviceInvite, Py as newInbox, Q as sealGroupTyping, QC as budgetRetryMs, QS as signTurnPacket, Q_ as HANDOFF_REQUEST, Qa as CROSSED_WAIT_MS, Qb as isAppHash, Qc as APP_RANGE_ERRORS, Qd as irohDescriptor, Qf as EDIT_SEND_LIMIT, Qg as buildSdpFromSignal, Qh as MAX_DHT_TEXT_BYTES, Qi as SPARK_PROVIDER, Ql as SESSION_FRAME_MAX, Qm as verifyCommit, Qn as BIP322_REVISION, Qo as SIGNAL_CARRIERS, Qp as ACTIVE_TASK_STATUSES, Qr as DID_METHODS, Qs as TYPING_SEND_LIMIT, Qt as GROUP_EDIT_FRAME, Qu as IDENTITY_MAX_RECEIVED, Qv as SET_UPDATE, Qw as utf8Encode, Qx as pastedAgain, Qy as REQUEST_TEXT_BYTES, R as checkAppBeforeRun, RC as WAY_BACK_SHARE, RS as TURN_SEALED_BYTES, R_ as HANDOFF_DATA, Ra as NO_VIDEO_METADATA, Rb as pacer, Rc as relayRequest, Rd as verifyNostrProof, Rf as voiceLevelsOf, Rg as wrapDataChannel, Rh as STALLED_EVIDENCE_MS, Ri as SEPOLIA_TEST_USDT, Rl as KNOWN_SESSION_CAPABILITIES, Rm as MAX_GROUP_MEMBERS, Rn as SSHSIG_NAMESPACE, Ro as GROUP_WANT_FRAME, Rp as reactionFrame, Rr as findInMst, Rs as FILE_FRAMES, Rt as GroupWakeLimiter, Ru as CapsRefusedError, Rv as readHandoffData, Rw as stripHidden, Rx as INVITE_LINK_ORIGIN, Ry as turnOff, S as buildX401ResultArtifact, SC as GROUP_OVER_PACE_MS, SS as TURN_PUT_WINDOW_MS, S_ as MAX_SERVICES, Sa as invoiceCallbackUrl, Sb as APP_CLIENTS, Sc as pinnedFrame, Sd as PROOF_ADAPTERS, Sf as sanitizeFileName, Sg as resolveTargetUrl, Sh as isRatcheted, Si as DidDhtError, Sl as appCloseFrame, Sm as statusCardBytes, Sn as groupMetaNewer, So as UNPROVEN_AUTH_MS, Sp as forwardedAgain, Sr as ATPROTO_PROOF_COLLECTION, Ss as mergeBeacon, St as GROUP_ENTRY_PROFILE, Su as nip05RootKey, Sv as handoffManifestFrames, Sw as sign, Sx as readCanonicalJson, Sy as readEnrollGrant, T as encodeX401Header, TC as HEDGE_MISSING_MS, TS as TURN_VISIBLE_MS, T_ as encodeServices, Ta as parsePayParams, Tb as APP_ICON_PATH, Tc as WAKE_CALL_INTERVAL_MS, Td as STORAGE_LIFETIME, Tf as RECORDING_TYPES, Tg as viewerResponseHeaders, Th as ratchetOpen, Ti as didDhtFromPublicKey, Tl as appOpenFrame, Tm as usageLeft, Tn as groupMetaToHand, To as pairedMessageFits, Tp as COMMUNITY_REACTION_FRAME, Tr as atprotoProofRecord, Ts as pickHubs, Tt as decodeGroupEntryLink, Tu as recordsFromTxt, Tv as handoffReleaseFrame, Tw as encrypt, Tx as createContactLink, Ty as FLOOD_PER_DAY, U as checkAppStoreIndex, UC as relayUrlProblem, US as TurnRecordError, U_ as HANDOFF_HELLO, Ua as PICTURE_METADATA_LIMITS, Ub as APP_NAME, Uc as WebPushError, Ud as ringEvidence, Uf as isPlayableVideoType, Ug as buildDataSdp, Uh as directBlocked, Ui as arkAddressPrefix, Ul as STATUS_CARD_CAPABILITY, Um as commitUntaggedHash, Un as parseSshSignature, Uo as readGroupFileMeta, Up as wireReaction, Ur as unsignedCommitBytes, Us as refusalText, Ut as GROUP_LIMITS, Uu as encodePacketTransports, Uv as readHandoffManifest, Uw as fromBase64, Ux as createLink, Uy as KNOCK_SLOT_LABEL, V as APP_STORE_LIMITS, VC as normalizeRelayUrl, VS as TURN_TTL, V_ as HANDOFF_FILE_REQUEST, Va as withoutVideoMetadata, Vb as sha256Paced, Vc as wakeRequest, Vd as ringAuthorization, Vf as VIDEO_LIMITS, Vg as RTC_SIGNAL_FUTURE_MS, Vh as DIRECT_PEERS, Vi as USDT_PUBLIC_RPC, Vl as SERVICES_CAPABILITY, Vm as SAID_AGAIN, Vn as SshSigError, Vo as groupFileFallback, Vp as readReaction, Vr as parseAtprotoVerificationKey, Vs as decodeFileData, Vt as mentionedMembers, Vu as dialDescriptors, Vv as readHandoffHave, Vw as bytesEqual, Vx as OwnInviteError, Vy as ContactRequestError, W as readAppListing, WC as setLinkTraceSink, WS as encodeTurnFields, W_ as HANDOFF_LATER_BYTES, Wa as isStrippedPicture, Wb as APP_PREFIXES, Wc as checkPushEndpoint, Wd as validRingKey, Wf as isVideoMime, Wg as extractRtcParams, Wh as symmetricNat, Wi as assertTokenUnits, Wl as SessionCapabilities, Wm as expectedRoster, Wn as sameSshKey, Wo as readGroupHave, Wp as PAIRED_REPLY_AUTHORS, Wr as verifyAtprotoRecordProof, Ws as sentWhole, Wt as GROUP_REACTED_FRAME, Wu as parsePacketTransports, Wv as readHandoffPake, Ww as fromBase64Url, Wx as decodeInviteCode, Wy as LINK_RECORD_LABEL, X as groupTypingEpoch, XC as RelayBreaker, XS as sealTurnBody, X_ as HANDOFF_PIECE_OVERHEAD, Xa as CROSSED_FRESH_MS, Xb as appSignedBytes, Xc as vapidKeysMatch, Xd as automaticTransport, Xf as EDIT_RATE_WINDOW_MS, Xg as RTC_CONFIG, Xh as IDLE_THRESHOLD, Xi as walletNetworkOf, Xl as PAIRED_PROFILE, Xm as sortRoster, Xn as legacyMessageHash, Xo as GROUP_VERSION_SIGNALS, Xp as replySnippet, Xr as DID_JWS_MAX_LENGTH, Xs as TYPING_RATE_WINDOW_MS, Xt as groupMessageId, Xu as IDENTITY_MAX_EVIDENCE, Xv as sortParts, Xw as toZ32, Xx as inviteQrText, Xy as REQUEST_NAME_UNITS, Y as GroupTypingBoard, YC as BREAKER_THRESHOLD, YS as readTurnPacket, Y_ as HANDOFF_PIECE_BYTES, Ya as BLOCKED_DIAL_WAIT_MS, Yb as appRevocationId, Yc as vapidAuthorization, Yd as TRANSPORTS, Yf as EDIT_FRAME, Yg as PAIRED_CALL_CANDIDATES, Yh as FIRST_PUBLISH_MAX_MS, Yi as validatePaymentTarget, Yl as sessionCapabilitiesFrame, Ym as signCommit, Yn as isLegacySignature, Yo as GROUP_SIGNAL_FRAME, Yp as readReply, Yr as DID_JWS_ALGS, Ys as TYPING_RATE_LIMIT, Yt as frameBytes, Yu as IDENTITY_FRAME_WINDOW_MS, Yv as sealHandoffPiece, Yw as toBase64Url, Yx as inviteQrSegments, Yy as REQUEST_LIFETIME_MS, Z as openGroupTyping, ZC as DiscoveryBudgetError, ZS as signTurnBody, Z_ as HANDOFF_RELEASE, Za as CROSSED_PROBE_MS, Zb as checkAppRevokeStatement, Zc as APP_RANGE_DATA_KIND, Zd as checkedDescriptors, Zf as EDIT_RECEIVE_LIMIT, Zg as answersOffer, Zh as LinkSession, Zi as SPARK_NETWORKS, Zl as PairedSession, Zm as verifyChain, Zn as verifyBitcoinMessage, Zo as SIGNALS_PER_MINUTE, Zp as wireReply, Zr as DID_MAX_LENGTH, Zs as TYPING_REFRESH_MS, Zt as COMMUNITY_EDIT_FRAME, Zu as IDENTITY_MAX_FRAME, Zv as SET_ACK, Zw as utf8Decode, Zx as ownInviteRefusal, Zy as REQUEST_PACKET_BYTES, _ as X401_PROTOCOLS, _C as DEFAULT_RELAYS, _S as signDeviceTransports, __ as emptyLinkRecords, _a as pubkyHomeserverOf, _b as requestRecords, _c as parsePinFrame, _d as signIdentityPresentation, _f as readDhtFile, _g as HttpHost, _h as RATCHET_HEADER_BYTES, _i as strictBase64Url, _l as APP_RATE_WINDOW_MS, _m as cardUrl, _n as MAX_GROUP_PICTURE_LENGTH, _o as RACE_RELAYED_MS, _p as linksIn, _r as u32, _s as doorHubs, _t as shortHash, _u as dnsProofName, _v as handoffEphemeral, _w as IDENTITY_MEMO_SIZE, _x as parseImageMeta, _y as enrollGrantFrame, a as X401_DCQL_LIMITS, aC as turnReleaseMessage, aS as HANDOFF_CAPABILITY, a_ as heardCallSignal, aa as PUBKY_PROOF_MAX_BYTES, ab as knockHolds, ac as sanitizeTypingStatus, ad as IdentityCheckUnavailable, af as DHT_FILE_REFUSED, ag as SIGNAL_OUT_READS, ah as encryptText, ai as didWebDocumentUrl, al as appRangeEndFrame, am as REMOVABLE_KINDS, an as validEditText, ao as HANDLED_WAIT_MS, ap as editedFrame, ar as BitcoinAddressError, as as GROUP_VERSION_HUBS, at as communityHasFrame, au as isHoldUrl, av as filePartName, aw as RELAY_PAYLOAD_MAX_BYTES, ax as readAppRevocations, ay as verifySetUpdate, b as buildX401ProofRequest, bC as GROUP_BURST_MS, bS as seedSigner, b_ as HTTP_SERVICE_PROTO, ba as fetchLnurlJson, bb as APP_BUNDLE_LIMITS, bc as pinIsNewer, bd as applyIdentityEvent, bf as formatFileSize, bg as parseLocalTarget, bh as RatchetBox, bi as DID_DHT_TTL, bl as APP_VERSION_MAX, bm as removedCardText, bn as groupMetaBody, bo as RTC_UNSTARTED_MS, bp as sanitizePreviewImage, br as ATPROTO_DECLARED_SCOPE, bs as lobbyKeys, bt as verifyCommunityChainPaced, bu as encodeDnsQuery, bv as handoffHaveFrames, bw as identityFromSeedB64, bx as canonicalJson, by as enrollProofFrame, c as readX401DcqlQuery, cC as turnStatedVerifier, cS as deviceFrameCapability, c_ as parseCallSignal, ca as isPubkyProofFolder, cb as knockSlotRecords, cc as typingKindOf, cd as emptyIdentityLedger, cf as DHT_TEXT_BYTES, cg as UNUSED_INVITE_READS_PER_MINUTE, ch as openPair, ci as didWebFileUrl, cl as decodeAppRangeData, cm as STATUS_CARD_LIMITS, cn as mentionsBytes, co as LIVENESS_MISSED_PINGS, cp as validEditMessage, cr as decodeAnyBitcoinAddress, cs as mayBeHub, ct as communityUntaggedHash, cu as DNS_LABEL, cv as handoffAttemptFailed, cw as newerPacket, cx as signAppObject, cy as ENROLL_CANCEL_REASONS, d as newX401HolderKey, dC as BACKGROUND_WHILE_SIGNALING, dS as deviceLinkParams, d_ as signalHasVideo, da as pubkyProofCapability, db as makeStampPaced, dc as PINNED_FRAME, dd as identityStatement, df as LIVE_POLL_MS, dg as WATCH_PEER_MS, dh as sealSecret, di as parseDid, dl as parseAppRangeFrame, dm as appCardUrl, dn as wireMentions, do as PAIRED_FRAME_TOO_LARGE, dp as LINK_MAX_CHARS, dr as decodeWitness, ds as parseHubPolicy, dt as encodeCommunityLink, du as DOMAIN_MAX_RECORDS, dv as handoffCancelFrame, dw as readOwnRelayPayload, dx as verifyAppSignature, dy as ENROLL_HELLO, eC as turnInstance, eS as DEVICES_CAPABILITY, e_ as callSignalHeardAt, ea as sparkAddressKind, eb as STAMP_BITS_MAX, ec as TYPING_TIMEOUT_MS, ed as IDENTITY_PROOF_CAPABILITY, ef as rankTransports, eg as OFFER_LOOK_MS, eh as GROUP_PROFILE, ei as checkDidJws, el as APP_RANGE_LIMITS, em as BUTTON_STYLES, en as carryMentions, eo as DEMOTE_MS, ep as MAX_REMOVAL_NUMBER, er as bip322MessageHash, es as SIGNAL_HOLD_MS, et as COMMUNITY_PROFILE, eu as HOLD_CAPABILITY, ev as HANDOFF_VERIFIED, ew as isDiscoveryBudgetError, ex as isAppLine, ey as readSetUpdate, f as readX401SdJwtVc, fC as BACKGROUND_WRITES_SHARE, fS as deviceLinkRendezvousSeed, f_ as waitForIceGathering, fa as pubkyProofFile, fb as mergeContactKnocks, fc as PIN_CLOCK_SKEW_MS, fd as identityStatementText, ff as emptyDhtDeliveryState, fg as countUnusedInvite, fh as sha256Hex, fi as parseDidDocument, fl as readAppRangeFrame, fm as buttonLabelClash, fn as GROUP_META_PAST, fo as PAIRING_ATTEMPT_MS, fp as LINK_PREVIEW_LIMITS, fr as encodeTx, fs as pickMeshHubs, ft as leaveStands, fu as DOMAIN_METHODS, fv as handoffContext, fw as signRelayPayload, fx as verifyAppStatementBytes, fy as ENROLL_PROOF, g as X401_LIMITS, gC as CHAT_WATCH_SHARE, gS as newDeviceSetSecret, g_ as buildLinkRecords, ga as homeserverWebEndpoint, gb as requestPlaintextBytes, gc as nextPinNumber, gd as revokesIdentity, gf as dhtFileId, gg as HttpClient, gh as RATCHET_CAPABILITY, gi as staticDidDocument, gl as APP_RATE_LIMIT, gm as cardTimeUtc, gn as MAX_GROUP_NAME_LENGTH, go as RACE_DIRECT_MS, gp as linkStop, gr as txHash, gs as beaconRecords, gt as rosterHash, gu as decodeDnsResponse, gv as handoffDoneFrame, gw as readDnsName, gx as isImageMime, gy as enrollDoneFrame, h as X401_HEADERS, hC as CHAT_RESERVE_PER_CHAT, hS as devicePingFrame, h_ as RECORD_TTL, ha as encodeSvcbPacket, hb as readLinkRecord, hc as mayPin, hd as receivedIdentityStatus, hf as dhtFileElements, hg as GhostlyHttpError, hh as MAX_SKIPPED_KEYS, hi as signingKeys, hl as APP_PEER_OPEN_MAX, hm as cardLinkHost, hn as MAX_GROUP_NAME_BYTES, ho as RACE_ANSWERED_MS, hp as linkEnd, hr as sha256d, hs as beaconKeys, ht as leftStatement, hu as WELL_KNOWN_PATH, hv as handoffDigest, hw as encodeTxtPacket, hx as imageSize, hy as enrollDigits, i as x401ApprovalDigest, iC as turnPayloadSequence, iS as ENROLL_CAPABILITY, i_ as extractParamsFromSdp, ia as isBitcoinAddress, ib as contactDay, ic as parseTypingFrame, id as IDENTITY_SUBJECT, if as ACTIVE_DHT_POLL_MS, ig as RELAY_POLL_INTERVALS, ih as edgeParams, ii as didSignedMessages, il as appRangeDataFrame, im as PR_STATES, in as parseCommunityEdit, io as GhostLink, ip as editFrame, ir as verifyBip322, is as readGroupSignal, it as communityGroupId, iu as HoldRefusedError, iv as filePartDigest, iw as PacketTooLargeError, ix as readAppRevocationShape, iy as signTombstone, j as readX401ProofResult, jC as RelaysFailedError, jS as TURN_BODY_BYTES, j_ as viewerTag, ja as ENDPOINT, jb as assembleAppBundle, jc as WAKE_TTL_SECONDS, jd as proofCapability, jf as formatVoiceDuration, jg as MAX_CHUNK_PAYLOAD_BYTES, jh as CONNECT_TIMEOUT_MS, ji as openDidDhtPayload, jl as APPS_CAPABILITY, jm as shownTime, jn as parseGroupMetaFrame, jo as engineError, jp as ReactionWindow, jr as shortAtprotoDid, js as validHead, jt as mergeKnocks, ju as CAPS_ISSUED_BACK_MS, jv as handoffVersions, jw as jpegSize, jx as createDeviceInvite, jy as clearMissed, k as readX401ProofResponse, kC as REQUESTS_PER_MINUTE, kS as TOMBSTONE_SEQUENCE, k_ as servicesFromWire, ka as decodeBolt11, kb as appDigest, kc as WAKE_INTERVAL_MS, kd as isProofAdapter, kf as downsamplePeaks, kg as CHUNK_KIND, kh as ratchetUnknownSession, ki as encodeDidDhtPacket, kl as parseAppFrame, km as heardTime, kn as openGroupMeta, ko as ENGINE_ERRORS, kp as REACTION_FRAME, kr as normalizeAtprotoHandle, ks as readLobby, kt as knockIdentity, ku as validDomainRecord, kv as handoffVerifiedFrame, kw as MAX_AVATAR_LENGTH, kx as DEVICE_INVITE_LIFETIME_S, ky as NEW_PER_HOUR, l as x401VpToken, lC as turnVerifierMark, lS as deviceKeyZ32, l_ as pickCallCandidates, la as newPubkyProofFolder, lb as linkRecords, lc as COMMUNITY_PIN_FRAME, ld as identityPresentationBytes, lf as DHT_TEXT_REFUSED, lg as UNUSED_INVITE_UPKEEP_MS, lh as openSecret, li as didWebHost, ll as encodeAppRangeData, lm as TASK_STATUSES, ln as mentionsMember, lo as LIVENESS_PING_MS, lp as validEditNumber, lr as decodeBitcoinAddress, ls as meshHubs, lt as decodeCommunityLink, lu as DNS_TYPE, lv as handoffAttemptSucceeded, lw as openRelayPayload, lx as signAppRevocation, ly as ENROLL_DONE, m as x401HolderJwk, mC as CHAT_RESERVE_MOST_SHARE, mS as deviceLinkSecret, m_ as MAX_MSGS_PAYLOAD_B64, ma as decodeSvcbRecords, mb as readKnockSlot, mc as PIN_LIMITS, md as newIdentityBinding, mf as DHT_FILE_CAPABILITY, mg as unusedInviteWait, mh as MAX_SKIP, mi as parseDidSignaturePaste, ml as APP_FRAME, mm as cardLine, mn as MAX_GROUP_META_BODY, mo as PONG_WAIT_MS, mp as canonicalUrl, mr as hash160, ms as COMMUNITY_TOPOLOGY, mt as leaveStatement3, mu as NIP05_PATH, mv as handoffDataFrame, mw as decodeTxtPacket, mx as exifOrientation, my as enrollCancelReason, n as X401_RESPONSE_MODES, nC as turnName, nS as DEVICE_ECHO_FRAME, n_ as contactRtcConfig, na as sparkNetworkOf, nb as contactAskerFrame, nc as TypingSender, nd as IDENTITY_REVOCATION_LABEL, nf as relayedTransports, ng as PRESENCE_HEARTBEAT, nh as confirmationTag, ni as didGhostlyServiceEntry, nl as appRangeCancelFrame, nm as ITEM_STATES, nn as communityMessageAuthor, no as EARLY_DIAL_JOIN_MS, np as RateWindow, nr as bip322ToSpend, ns as SIGNAL_REPLY_MS, nt as GROUP_READ_NOTE_COMMUNITY, nu as HOLD_LIMITS, nv as HANDOFF_WINDOW, nw as MAX_DNS_PACKET_BYTES, nx as isAppSignature, ny as setUpdateFrame, o as matchX401Dcql, oC as turnSequence, oS as deviceEchoFrame, o_ as isGlobalIpv4Host, oa as PUBKY_PROOF_ROOT, ob as knockSlotIdentity, oc as typingActivity, od as IdentityExchange, of as DHT_FILE_TOO_LARGE, og as STALLED_LOOK_MS, oh as epochKeys, oi as didWebFile, ol as appRangeErrorFrame, om as ROUTINE_STATES, on as MENTION_EVERYONE, oo as INVITER_DIAL_GRACE_MS, op as parseEditFrame, or as ByteReader, os as MESH_HUBS, ot as communityMessageId, ou as newMailbox, ov as handoffAckFrame, ow as createRelayPayload, ox as readAppSignature, oy as DEVICE_KINDS, p as sameX401HolderJwk, pC as CHAT_RESERVE, pS as deviceLinkSealKey, p_ as LABEL, pa as pubkyProofPath, pb as openRequest, pc as PIN_FRAME, pd as isIdentityBinding, pf as peekDhtMailbox, pg as presenceSeenAt, ph as FOLLOW_MS, pi as parseDidJws, pl as APP_DATA_MAX_BYTES, pm as cardEditNumber, pn as GROUP_META_PAST_CHARS, po as PAIRING_RETRY_MS, pp as LINK_TRAILING, pr as encodeWitness, ps as wireHubPolicy, pt as leaveStatement, pu as DOMAIN_TXT_MAX_BYTES, pv as handoffContextProof, pw as decodeDnsAnswers, px as IMAGE_LIMITS, py as enrollCancelFrame, q as signAppStore, qC as BREAKER_BASE_MS, qS as openTurnValue, q_ as HANDOFF_OFFER, qa as ANSWERS_REFUSED_PAUSES, qb as appRef, qc as generateVapidKeys, qd as RELAY_URL, qf as EDIT_BUFFER_MAX, qg as CALL_SIGNAL_FUTURE_MS, qh as DHT_POLL_INTERVALS, qi as isWalletNetwork, ql as WAKE_SESSION_CAPABILITY, qm as rosterAdmin, qn as sshSignCommand, qo as CARRIED_DEFER_MS, qp as groupReplyAuthor, qr as DID_FILE_MAX_BYTES, qs as TYPING_FRAME, qt as asWritten, qu as IDENTITY_CLOCK_SKEW, qv as readHandoffVerified, qw as randomBytes, qx as inviteLink, qy as REQUEST_CLOCK_SKEW_MS, r as readX401OpenId4VpRequest, rC as turnPacket, rS as DEVICE_PING_FRAME, r_ as decompressSdp, ra as BITCOIN_NETWORKS, rb as contactAskerHolds, rc as parseTypingActivity, rd as IDENTITY_STATEMENT_PREFIX, rf as transportOrder, rg as PRESENCE_WINDOW, rh as decryptText, ri as didJwsAlg, rl as appRangeChunk, rm as PR_CHECKS, rn as meshMessageRef, ro as FIRST_PAIRING_PACE_MS, rp as dhtEditId, rr as decodeBase64, rs as groupSignalFrame, rt as communityCommitHash, ru as HoldKeys, rv as NO_ATTEMPTS, rw as PKARR_FUTURE_SKEW_MS, rx as readAppRevocation, ry as setUpdateMessage, s as presentX401SdJwtVc, sC as turnSignedMessage, sS as deviceEchoNonce, s_ as keepsToRelays, sa as isPubkyKey, sb as knockSlotOf, sc as typingFrame, sd as boundVerifiedIdentity, sf as DHT_MESSAGE_TTL, sg as TRANSPORTS_GONE_MS, sh as newEpochSecret, si as didWebFileNames, sl as appRangeGetFrame, sm as RUN_RESULTS, sn as MENTION_LIMITS, so as INVITE_TAKEN, sp as parseEditedFrame, sr as compactSize, ss as NO_HUB_POLICY, st as communityRoster, su as readManifest, sv as handoffAttemptAllowed, sw as measureRecords, sx as setAppSignatureFastPath, sy as ENROLL_CANCEL, t as X401_REQUEST_LIMITS, tC as turnKeys, tS as DEVICE_CAPABILITIES, t_ as compressSdp, ta as sparkInvoiceDetails, tb as STAMP_BITS_MIN, tc as TypingReceiver, td as IDENTITY_PROVIDER_ID, tf as relayUrl, tg as OFFER_STEP_MAX, th as confirmationMatches, ti as checkDidSignature, tl as AppRanges, tm as CRON_LINE, tn as communityEditFrame, to as DHT_PIN_GRACE_MS, tp as REMOVED_TEXT, tr as bip322ToSign, ts as SIGNAL_PROVEN_MS, tt as CommunitySession, tu as HOLD_DATED_BACK_MS, tv as HANDOFF_VERSION, tw as withRequestOptions, tx as isAppRef, ty as setAckFrame, u as X401_CREDENTIAL_LIMITS, uC as BACKGROUND_REQUESTS_PER_MINUTE, uS as deviceLinkPairing, u_ as sdpHasCandidates, ua as normalizePubkyKey, ub as makeStamp, uc as GROUP_PIN_FRAME, ud as identityRevocationValue, uf as DhtDelivery, ug as UNUSED_INVITE_WAIT_MAX_MS, uh as sealPair, ui as normalizeDid, ul as isServeId, um as appCardId, un as validMentions, uo as MAX_PAIRED_MESSAGE_FRAME, up as validRemovalNumber, ur as decodeTx, us as meshRendezvous, ut as derivedSecret, uu as DOMAIN_FILE_MAX_BYTES, uv as handoffBusyFrame, uw as parseRelayPayload, ux as verifyAppRevocation, uy as ENROLL_GRANT, v as X401_SCHEME, vC as DEPARTED_READS, vS as unsignedDeviceTransports, v_ as isEmptyLinkPacket, va as LIGHTNING_DESTINATION_PATTERN, vb as seenEntry, vc as parsePinnedFrame, vd as verifyIdentityPresentation, vf as FileTransfers, vg as VIEWER_SERVICE_CSP, vh as RATCHET_KEEP_MS, vi as DID_DHT_MAX_PAYLOAD, vl as APP_RESUME_GRACE_MS, vm as checkStatusCard, vn as encodeGroupMetaBody, vo as REDESCRIBED_GRACE_MS, vp as parseLinkPreview, vr as u64, vs as freshHubs, vt as signCommunity, vu as domainTxtRecord, vv as handoffFileMissingFrame, vw as createIdentity, vx as previewable, vy as enrollHelloFrame, w as decodeX401Header, wC as GROUP_SIGNALING_ALLOWANCE_SHARE, wS as TURN_SETTLE_MS, w_ as decodeServices, wa as parseLightningDestination, wb as APP_FORBIDDEN_KEYS, wc as DEVICE_WAKE_TTL_SECONDS, wd as PeerProofs, wf as PLAYABLE_AUDIO, wg as sanitizeResponseHeaders, wh as ratchetOn, wi as didDhtDocument, wl as appDataFrame, wm as taskProgress, wn as groupMetaTag, wo as WAKE_LOST_MS, wp as readForwarded, wr as atprotoDidMethod, ws as newerHead, wt as MAX_KNOCKS, wu as parseDomainTxt, wv as handoffPakeFrame, ww as decrypt, wx as CONTACT_LINK_VERSION, wy as verifyEnrollProof, x as buildX401ProofResult, xC as GROUP_BURST_ONE_LINK, xS as webCryptoSigner, x_ as LEGACY_SERVICES, xa as findLightningDestination, xb as APP_BUNDLE_MAGIC, xc as pinNumberHolds, xd as lastSharedWithMe, xf as safeBlobType, xg as relativizeLocation, xh as emptyRatchetState, xi as DID_DHT_VERSION, xl as AppSessions, xm as sameButtonText, xn as groupMetaChange, xo as SWITCH_RETIRE_MS, xp as FORWARD_LIMITS, xr as ATPROTO_FULL_SCOPE, xs as lobbyRecords, xt as verifyCommunityCommit, xu as isPublicAddress, xv as handoffHelloFrame, xw as publicKeyFromZ32, xx as canonicalJsonBytes, xy as formatEnrollDigits, y as X401_VERSION, yC as FRESH_READ_MS, yS as verifyDeviceTransports, y_ as parseLinkRecords, ya as LNURL_LIMITS, yb as stampHolds, yc as pinFrame, yd as IDENTITY_TIMELINE_MAX, yf as PREVIEWABLE_IMAGE, yg as formatLocalTarget, yh as RATCHET_OVERHEAD, yi as DID_DHT_PREFIX, yl as APP_SEND_LIMIT, ym as readStatusCard, yn as groupDisplayName, yo as RESUME_WAIT_MS, yp as previewImageSize, yr as varBytes, ys as hubRank, yt as verifyCommunityChain, yu as domainWellKnownFile, yv as handoffFileRequestFrame, yw as identityFromSeed, yx as readImageMeta, yy as enrollMessage, z as planAppUpdate, zC as WRITE_FIRST_MS, zS as TURN_SIGNED_BYTES, z_ as HANDOFF_DONE, za as VIDEO_METADATA_LIMITS, zb as readAppBundle, zc as wakeFrame, zd as verifyPeerProof, zf as voicePeaksOf, zg as DATA_CHANNEL_ID, zh as DIRECT_EVIDENCE_MS, zi as SEPOLIA_TEST_USDT_FAUCET, zl as PIN_CAPABILITY, zm as MEMBER_KEY, zn as SSH_KEY_TYPES, zo as GROUP_WANT_NO_FRAME, zp as reactionIsNewer, zr as parseAtprotoCar, zs as FILE_LIMITS, zt as groupWakeFrame, zu as DHT_TEXT_CAPABILITY, zv as readHandoffDone, zw as trimEndOf, zx as INVITE_MAX_LENGTH, zy as CONTACT_ASKER_FRAME } from "./src-BZy4lDju.js";
|
|
593
2
|
//#region ../core/src/paymentUri.ts
|
|
594
3
|
/** Whole sats as the decimal BTC amount BIP 21 wants (`21` → `0.00000021`), never in exponent form. */
|
|
595
4
|
function satsToBtc(sats) {
|
|
@@ -793,6 +202,6 @@ var ClockWatch = class {
|
|
|
793
202
|
}
|
|
794
203
|
};
|
|
795
204
|
//#endregion
|
|
796
|
-
export { ACTIVE_DHT_POLL_MS, ACTIVE_TASK_STATUSES, ANSWERS_REFUSED_PAUSES, ANSWERS_REFUSED_PAUSE_MS, ANSWER_REFUSED_REDIALS, APPS_CAPABILITY, APP_BUNDLE_LIMITS, APP_BUNDLE_MAGIC, APP_CLIENTS, APP_CLIENT_NAME, APP_DATA_MAX_BYTES, APP_FORBIDDEN_KEYS, APP_FRAME, APP_ICON_PATH, APP_NAME, APP_PEER_OPEN_MAX, APP_PERMISSIONS, APP_PREFIXES, APP_RANGES_CAPABILITY, APP_RANGE_DATA_KIND, APP_RANGE_ERRORS, APP_RANGE_FRAMES, APP_RANGE_LIMITS, APP_RATE_LIMIT, APP_RATE_WINDOW_MS, APP_RESUME_GRACE_MS, APP_SCREENSHOTS_DIR, APP_SEND_LIMIT, APP_STATEMENT_LIMITS, APP_STORE_KINDS, APP_STORE_LIMITS, APP_VERSION_MAX, APP_VIEWS, ATPROTO_DECLARED_SCOPE, ATPROTO_FULL_SCOPE, ATPROTO_PROOF_COLLECTION, ATPROTO_PROOF_SCOPE, AWAITING_PEER_MS, AppRanges, AppSessions, AtprotoCid, AtprotoProofError, BACKGROUND_REQUESTS_PER_MINUTE, BACKGROUND_WHILE_SIGNALING, BACKGROUND_WRITES_SHARE, BIP322_REVISION, BITCOIN_NETWORKS, BLOCKED_DIAL_WAIT_MS, BOLT11_PATTERN, BREAKER_ALL_DOWN_PROBE_MS, BREAKER_BASE_MS, BREAKER_MAX_MS, BREAKER_THRESHOLD, BUTTONS_CAPABILITY, BUTTON_ID, BUTTON_STYLES, BitcoinAddressError, ByteReader, CALLS_CAPABILITY, CALL_SIGNAL_FUTURE_MS, CALL_SIGNAL_MAX_AGE_MS, CAPS_ISSUED_BACK_MS, CAPS_LABEL, CAPS_LIMITS, CAPS_PUBLISH_SPACING_MS, CAPS_REFRESH_MS, CARRIED_DEFER_MS, CHAT_RESERVE, CHAT_RESERVE_MOST_SHARE, CHAT_RESERVE_PER_CHAT, CHAT_WATCH_SHARE, CHUNK_FLAG_END, CHUNK_KIND, CLOCK_EVIDENCE_MS, CLOCK_OFF_MS, CLOCK_PEERS, CLOCK_PEER_READ_GAP_MS, CLOCK_SERVERS, COMMUNITY_EDIT_FRAME, COMMUNITY_LIMITS, COMMUNITY_PIN_FRAME, COMMUNITY_PROFILE, COMMUNITY_REACTION_FRAME, COMMUNITY_TOPOLOGY, CONNECT_TIMEOUT_MS, CONTACT_LINK_BYTES, CONTACT_LINK_VERSION, CONTACT_RECORD_TTL, CRON_LINE, CROSSED_FRESH_MS, CROSSED_PROBE_MS, CROSSED_WAIT_MS, CapsExchange, CapsKeys, CapsRefusedError, CarriedTransport, ChatFiles, ClockWatch, CommunitySession, ContactRequestError, DATA_CHANNEL_ID, DATA_CHANNEL_LABEL, DATA_SETTLE_MS, DEFAULT_RELAYS, DEMOTE_AFTER_FAILURES, DEMOTE_MS, DEPARTED_READS, DEPARTED_READ_MS, DEVICES_CAPABILITY, DEVICE_CAPABILITIES, DEVICE_ECHO_FRAME, DEVICE_INVITE_BYTES, DEVICE_INVITE_LIFETIME_S, DEVICE_INVITE_OWN_DEVICE, DEVICE_INVITE_VERSION, DEVICE_KINDS, DEVICE_PING_FRAME, DEVICE_WAKE_TTL_SECONDS, DHT_FILE_CAPABILITY, DHT_FILE_REFUSED, DHT_FILE_TOO_LARGE, DHT_MESSAGE_TTL, DHT_PIN_GRACE_MS, DHT_POLL_INTERVALS, DHT_TEXT_BYTES, DHT_TEXT_CAPABILITY, DHT_TEXT_REFUSED, DID_DHT_MAX_PAYLOAD, DID_DHT_PREFIX, DID_DHT_TTL, DID_DHT_VERSION, DID_DOCUMENT_MAX_BYTES, DID_FILE_MAX_BYTES, DID_GHOSTLY_SERVICE, DID_JWS_ALGS, DID_JWS_MAX_LENGTH, DID_MAX_LENGTH, DID_METHODS, DIRECT_EVIDENCE_MS, DIRECT_OWN_ATTEMPTS, DIRECT_PEERS, DNS_LABEL, DNS_TYPE, DOMAIN_FILE_MAX_BYTES, DOMAIN_MAX_RECORDS, DOMAIN_METHODS, DOMAIN_TXT_MAX_BYTES, DataLink, DhtDelivery, DidDhtError, DidError, DirectPathWatch, DiscoveryBudgetError, EARLY_DIAL_JOIN_MS, EDITED_FRAME, EDIT_BUFFER_MAX, EDIT_BUFFER_MS, EDIT_CAPABILITY, EDIT_FRAME, EDIT_RATE_WINDOW_MS, EDIT_RECEIVE_LIMIT, EDIT_SEND_LIMIT, ENDPOINT, ENGINE_ERRORS, ENROLL_CANCEL, ENROLL_CANCEL_REASONS, ENROLL_CAPABILITY, ENROLL_DONE, ENROLL_GRANT, ENROLL_HELLO, ENROLL_PROOF, ETHEREUM_USDT, EVM_TEST_CHAINS, EXPECT_PEER_MS, EngineError, FILES_BINARY_CAPABILITY, FILES_CAPABILITY, FILE_DATA_KIND, FILE_FRAMES, FILE_LIMITS, FIRST_PAIRING_PACE_MS, FIRST_PUBLISH_MAX_MS, FLOOD_PER_DAY, FOLLOW_MS, FORWARD_LIMITS, FRESH_READ_MS, FileTransfers, FileUplink, GATHER_ATTEMPTS, GATHER_STALL_MS, GROUP_ADMIN_OFF_ERROR, GROUP_BURST_MS, GROUP_BURST_ONE_LINK, GROUP_EDIT_FRAME, GROUP_EDIT_TEXT_BYTES, GROUP_ENTRY_PROFILE, GROUP_FILE_LIMITS, GROUP_HAVE_FRAME, GROUP_ID, GROUP_LIMITS, GROUP_MEMBER_CAP, GROUP_META_PAST, GROUP_META_PAST_CHARS, GROUP_OVER_PACE_MS, GROUP_PIN_FRAME, GROUP_PROFILE, GROUP_RATION_WINDOW_MS, GROUP_REACTED_FRAME, GROUP_REACTION_FRAME, GROUP_READ_NOTE, GROUP_READ_NOTE_COMMUNITY, GROUP_SIGNALING_ALLOWANCE_SHARE, GROUP_SIGNAL_FRAME, GROUP_TYPING_FRAME, GROUP_VERSION_FILES, GROUP_VERSION_HUBS, GROUP_VERSION_LARGE, GROUP_VERSION_SIGNALS, GROUP_WAKE_FRAME, GROUP_WAKE_GROUP_LIMIT, GROUP_WAKE_GROUP_WINDOW_MS, GROUP_WAKE_MEMBER_INTERVAL_MS, GROUP_WAKE_RECEIVE_LIMIT, GROUP_WANT_FRAME, GROUP_WANT_NO_FRAME, GhostLink, GhostlyHttpError, GroupSession, GroupTypingBoard, GroupWakeLimiter, HANDLED_WAIT_MS, HANDOFF_ACK, HANDOFF_ATTEMPTS, HANDOFF_BUSY, HANDOFF_BUSY_REASONS, HANDOFF_CANCEL, HANDOFF_CANCEL_REASONS, HANDOFF_CAPABILITY, HANDOFF_DATA, HANDOFF_DONE, HANDOFF_FILE_MISSING, HANDOFF_FILE_REQUEST, HANDOFF_HAVE, HANDOFF_HELLO, HANDOFF_LATER_BYTES, HANDOFF_LIST_PER_FRAME, HANDOFF_MANIFEST, HANDOFF_OFFER, HANDOFF_PAKE, HANDOFF_PIECE_BYTES, HANDOFF_PIECE_OVERHEAD, HANDOFF_RELEASE, HANDOFF_REQUEST, HANDOFF_TIMINGS, HANDOFF_VERIFIED, HANDOFF_VERSION, HANDOFF_WINDOW, HEDGE_MISSING_MS, HEDGE_MS, HOLD_CAPABILITY, HOLD_DATED_BACK_MS, HOLD_LIMITS, HTTP_SERVICE_PROTO, HoldKeys, HoldRefusedError, HttpClient, HttpHost, IDENTITY_CHALLENGE_WINDOW, IDENTITY_CHECK_UNAVAILABLE, IDENTITY_CLOCK_SKEW, IDENTITY_FRAME_LIMIT, IDENTITY_FRAME_WINDOW_MS, IDENTITY_MAX_EVIDENCE, IDENTITY_MAX_FRAME, IDENTITY_MAX_RECEIVED, IDENTITY_MAX_VALIDITY, IDENTITY_MEMO_SIZE, IDENTITY_PROOF_CAPABILITY, IDENTITY_PROVIDER_ID, IDENTITY_REVOCATION_LABEL, IDENTITY_STATEMENT_PREFIX, IDENTITY_SUBJECT, IDENTITY_TIMELINE_MAX, IDLE_THRESHOLD, IMAGE_LIMITS, INVITER_DIAL_GRACE_MS, INVITE_HRP, INVITE_LINK_ORIGIN, INVITE_MAX_LENGTH, INVITE_TAKEN, INVITE_VERSION, ITEM_STATES, IdentityCheckUnavailable, IdentityExchange, KNOCK_SLOTS, KNOCK_SLOT_LABEL, KNOCK_TTL_MS, KNOWN_SESSION_CAPABILITIES, LABEL, LEGACY_GROUP_MEMBERS, LEGACY_SERVICES, LIGHTNING_DESTINATION_PATTERN, LIMITS, LINK_MAX_CHARS, LINK_PREVIEW_LIMITS, LINK_RECORD_LABEL, LINK_TRAILING, LIVENESS_MISSED_PINGS, LIVENESS_PING_MS, LIVE_POLL_MS, LNURL_LIMITS, LinkSession, MAX_AVATAR_LENGTH, MAX_AVATAR_SIDE, MAX_CHUNK_PAYLOAD_BYTES, MAX_DHT_TEXT_BYTES, MAX_DNS_PACKET_BYTES, MAX_DONE, MAX_EDITS_PER_MESSAGE, MAX_GROUP_CHAIN, MAX_GROUP_MEMBERS, MAX_GROUP_META_BODY, MAX_GROUP_NAME_BYTES, MAX_GROUP_NAME_LENGTH, MAX_GROUP_PICTURE_LENGTH, MAX_KNOCKS, MAX_MISSED, MAX_MSGS_PAYLOAD_B64, MAX_NICK_LENGTH, MAX_PAIRED_CALL_SIGNAL, MAX_PAIRED_MESSAGE_FRAME, MAX_REMOVAL_NUMBER, MAX_SEEN, MAX_SERVICES, MAX_SKIP, MAX_SKIPPED_KEYS, MAX_SLOT_KNOCKS, MAX_WAITING, MEMBER_KEY, MENTION_EVERYONE, MENTION_LIMITS, MESH_HUBS, MESSAGE_CLOCK_SKEW_MS, MessageRefusal, NEW_PER_HOUR, NIP05_PATH, NO_ATTEMPTS, NO_HUB_POLICY, NO_PICTURE_METADATA, OFFER_FAST_MS, OFFER_HOST_GATHER_MS, OFFER_LOOK_MS, OFFER_STEP_MAX, ONCHAIN_PROVIDER, OWN_FRAME_LIMIT, OwnInviteError, PAIRED_CALL_CANDIDATES, PAIRED_CALL_FRAME, PAIRED_FRAME_TOO_LARGE, PAIRED_PROFILE, PAIRED_REPLY_AUTHORS, PAIRING_ATTEMPT_MS, PAIRING_RETRY_MS, PICTURE_METADATA_LIMITS, PINNED_FRAME, PIN_CAPABILITY, PIN_CLOCK_SKEW_MS, PIN_FRAME, PIN_LIMITS, PKARR_FUTURE_SKEW_MS, PLAYABLE_AUDIO, PLAYABLE_VIDEO, PONG_WAIT_MS, PRESENCE_HEARTBEAT, PRESENCE_WINDOW, PREVIEWABLE_IMAGE, PREVIOUS_DEFAULT_RELAYS, PROOF_ADAPTERS, PROOF_CAPABILITY, PROTOCOL_VERSION, PR_CHECKS, PR_STATES, PUBKY_PROOF_MAX_BYTES, PUBKY_PROOF_ROOT, PUSH_SERVICE_HOSTS, PacketTooLargeError, PairedCalls, PairedSession, PairingTracker, PaymentPreflightError, PeerProofs, QUICK_REACTIONS, RACE_ANSWERED_MS, RACE_DIRECT_MS, RACE_RELAYED_MS, RATCHET_CAPABILITY, RATCHET_HEADER_BYTES, RATCHET_KEEP_MS, RATCHET_OVERHEAD, REACTED_FRAME, REACTIONS_CAPABILITY, REACTION_FRAME, REACTION_LIMITS, REANSWERS, RECORDING_TYPES, RECORD_TTL, REDESCRIBED_GRACE_MS, RELAY_PAYLOAD_MAX_BYTES, RELAY_POLL_INTERVALS, RELAY_REQUESTS_PER_MINUTE, RELAY_URL, RELAY_WITH_SECRETS, REMOVABLE_KINDS, REMOVED_TEXT, REOPEN_BELOW, REPLY_ID, REPLY_LIMITS, REQUESTS_PER_MINUTE, REQUEST_CLOCK_SKEW_MS, REQUEST_LABEL, REQUEST_LIFETIME_MS, REQUEST_NAME_UNITS, REQUEST_PACKET_BYTES, REQUEST_TEXT_BYTES, RESUME_WAIT_MS, RING_LIFETIME, ROUTINE_STATES, RTC_CONFIG, RTC_SIGNAL_FUTURE_MS, RTC_SIGNAL_MAX_AGE_MS, RTC_UNSTARTED_MS, RUN_RESULTS, RatchetBox, RateWindow, ReactionWindow, RelayBreaker, RelayTransport, RelaysFailedError, SAID_AGAIN, SEPOLIA_TEST_USDT, SEPOLIA_TEST_USDT_FAUCET, SERVICES_CAPABILITY, SERVICES_VERSION, SESSION_CAPABILITIES_FRAME, SESSION_FRAME_MAX, SESSION_RECEIVE_PENDING, SET_ACK, SET_UPDATE, SIGNALING_ALLOWANCE_SHARE, SIGNALING_WINDOW_MS, SIGNALS_PER_MINUTE, SIGNAL_CARRIERS, SIGNAL_FRESH_MS, SIGNAL_HOLD_MS, SIGNAL_OUT_READS, SIGNAL_PROVEN_MS, SIGNAL_REPLY_MS, SLOW_DEMOTE_MS, SLOW_MS, SPARK_NETWORKS, SPARK_PROVIDER, SSHSIG_MAX_ARMOR, SSHSIG_NAMESPACE, SSH_KEY_TYPES, SSH_PUBLIC_KEY_MAX, STALLED_EVIDENCE_MS, STALLED_LOOK_MS, STAMP_BITS_DEFAULT, STAMP_BITS_MAX, STAMP_BITS_MIN, STATUS_CARD_CAPABILITY, STATUS_CARD_LIMITS, STORAGE_LIFETIME, STORAGE_ROOT, SWITCH_RETIRE_MS, SessionCapabilities, SshSigError, TASK_STATUSES, TEST_USDT_FAUCET_AMOUNT, TOMBSTONE_SEQUENCE, TOMBSTONE_TURN, TRANSPORTS, TRANSPORTS_GONE_MS, TURN_BODY_BYTES, TURN_LABEL, TURN_LAST_SEQUENCE, TURN_MAX, TURN_NAME_BYTES, TURN_NO_ACTIVE, TURN_PUT_WINDOW_MS, TURN_RAISE_READ_TIMEOUT_MS, TURN_REV_LIMIT, TURN_SEALED_BYTES, TURN_SETTLE_MS, TURN_SIGNED_BYTES, TURN_SLOTS, TURN_SOURCE_TIMEOUT_MS, TURN_TTL, TURN_VERSION, TURN_VISIBLE_MS, TYPING_CAPABILITY, TYPING_FRAME, TYPING_KINDS, TYPING_RATE_LIMIT, TYPING_RATE_WINDOW_MS, TYPING_REFRESH_MS, TYPING_SEND_LIMIT, TYPING_STATUS_MAX, TYPING_TIMEOUT_MS, TurnRecordError, TypingReceiver, TypingSender, UNPROVEN_AUTH_MS, UNUSED_INVITE_READS_PER_MINUTE, UNUSED_INVITE_UPKEEP_MS, UNUSED_INVITE_WAIT_MAX_MS, UPGRADE_CAPABILITY, USDT_PUBLIC_RPC, VIDEO_LIMITS, VOICE_LIMITS, VOICE_METER, WAKE_ANSWER_GRACE_MS, WAKE_CALL_INTERVAL_MS, WAKE_CALL_TTL_SECONDS, WAKE_CALL_WAIT_MS, WAKE_SESSION_CAPABILITY as WAKE_CAPABILITY, WAKE_SESSION_CAPABILITY, WAKE_FRAME, WAKE_INTERVAL_MS, WAKE_LOST_MS, WAKE_SUBJECT, WAKE_TTL_SECONDS, WALLET_NETWORKS, WATCH_PEER_MS, WATCH_SHARE, WAY_BACK_SHARE, WELL_KNOWN_PATH, WRITE_FIRST_MS, WakeLimiter, WebPushError, X401_CREDENTIAL_LIMITS, X401_DCQL_LIMITS, X401_HEADERS, X401_LIMITS, X401_PROTOCOLS, X401_REQUEST_LIMITS, X401_RESPONSE_MODES, X401_SCHEME, X401_VERSION, addedAppPermissions, answersOffer, appCardId, appCardUrl, appCloseFrame, appDataBytes, appDataFrame, appDigest, appFingerprint, appOpenFrame, appRangeCancelFrame, appRangeChunk, appRangeDataFrame, appRangeEndFrame, appRangeErrorFrame, appRangeGetFrame, appRef, appRefPublisher, appRevocationFor, appRevocationId, appSignedBytes, appStoreDecision, appUpdateDecision, appViewOf, applyIdentityEvent, arkAddressPrefix, arrivalKey, asWritten, assembleAppBundle, assertTokenUnits, assertWholeSats, atprotoCidFor, atprotoDidMethod, atprotoProofRecord, atprotoProofRkey, automaticTransport, baseMime, beaconKeys, beaconRecords, bip322MessageHash, bip322ToSign, bip322ToSpend, boundVerifiedIdentity, budgetRetryMs, buildAppBundle, buildDataSdp, buildLinkRecords, buildSdpFromSignal, buildX401ProofRequest, buildX401ProofResult, buildX401ResultArtifact, buildX401TokenObject, buttonLabelClash, bytesEqual, callRtcConfig, callSignalHeardAt, canonicalJson, canonicalJsonBytes, canonicalUrl, capsDescriptors, cardEditNumber, cardLine, cardLinkHost, cardTimeUtc, cardUrl, carryMentions, cashuRequestPayload, chainPieces, chatAppId, checkAppBeforeRun, checkAppListing, checkAppManifest, checkAppRevokeStatement, checkAppStoreIndex, checkAtprotoProofRecord, checkDidJws, checkDidSignature, checkPushEndpoint, checkStatusCard, checkedDescriptors, claimedTime, classifyTurnRead, clearMissed, clockOffset, commitHash, commitUntaggedHash, communityCommitHash, communityEditFrame, communityGroupId, communityHasFrame, communityMessageAuthor, communityMessageId, communityRoster, communityUntaggedHash, compactSize, compareVersions, compressSdp, concatBytes, confirmationMatches, confirmationTag, contactDay, contactRtcConfig, countUnusedInvite, createChatInvite, createContactLink, createDeviceInvite, createIdentity, createLink, createRelayPayload, currentRelays, decodeAnyBitcoinAddress, decodeAppRangeData, decodeAtprotoCommit, decodeBase64, decodeBitcoinAddress, decodeBolt11, decodeChunk, decodeCommunityLink, decodeControl, decodeDagCbor, decodeDidDhtPacket, decodeDnsAnswers, decodeDnsResponse, decodeFileData, decodeGroupEntryLink, decodeInviteCode, decodeServices, decodeSvcbRecords, decodeTx, decodeTxtPacket, decodeWitness, decodeX401Header, decompressSdp, decrypt, decryptPushPayload, decryptText, derivedSecret, deviceEchoFrame, deviceEchoNonce, deviceFrameCapability, deviceInviteJoinerKeyZ32, deviceInviteJoinerParams, deviceKeyZ32, deviceLinkPairing, deviceLinkParams, deviceLinkRendezvousSeed, deviceLinkSealKey, deviceLinkSecret, devicePingFrame, deviceWakeRequest, dhtEditId, dhtFileElements, dhtFileId, dialDescriptors, didDhtDocument, didDhtFromPublicKey, didDhtKey, didDhtRecords, didGhostlyServiceEntry, didJwsAlg, didSignedMessages, didWebDocumentUrl, didWebFile, didWebFileNames, didWebFileUrl, didWebHost, directBlocked, dnsProofName, domainTxtRecord, domainWellKnownFile, doorHubs, downsamplePeaks, edgeParams, editFrame, editedFrame, emptyCapsState, emptyDhtDeliveryState, emptyIdentityLedger, emptyLinkRecords, emptyProofLedger, emptyRatchetState, encodeAppRangeData, encodeChunk, encodeCommunityLink, encodeContactLink, encodeControl, encodeDagCbor, encodeDeviceInvite, encodeDidDhtDeactivated, encodeDidDhtPacket, encodeDnsQuery, encodeFileData, encodeGhostlyInvite, encodeGroupEntryLink, encodeGroupMetaBody, encodeInviteCode, encodePacketTransports, encodeServices, encodeSetSlots, encodeSvcbPacket, encodeTurnFields, encodeTx, encodeTxtPacket, encodeWitness, encodeX401Header, encrypt, encryptPushPayload, encryptText, endedRequests, engineError, engineText, enrollCancelFrame, enrollCancelReason, enrollDigits, enrollDoneFrame, enrollGrantFrame, enrollHelloFrame, enrollMessage, enrollProofFrame, entryParams, epochKeys, exifOrientation, expectedRoster, extractParamsFromSdp, extractRtcParams, fedimintRequestPayload, fetchLnurlJson, fetchesByItself, fileMessageText, filePartDigest, filePartName, findAppForbiddenKey, findBolt11, findEndpoint, findInMst, findLightningDestination, firstDeviceSetSecret, formatEnrollDigits, formatFileSize, formatLocalTarget, formatPaymentAmount, formatVideoDuration, formatVoiceDuration, forwardedAgain, forwardedMany, frameBytes, freshHubs, fromBase64, fromBase64Url, fromZ32, generateEncryptionKey, generateVapidKeys, groupDisplayName, groupEntryUrl, groupFileFallback, groupMessageId, groupMetaBody, groupMetaChange, groupMetaNewer, groupMetaPicture, groupMetaTag, groupMetaToHand, groupName, groupReplyAuthor, groupSignalFrame, groupTypingEpoch, groupWakeFrame, groupWakes, handoffAckFrame, handoffAttemptAllowed, handoffAttemptFailed, handoffAttemptSucceeded, handoffBusyFrame, handoffCancelFrame, handoffContext, handoffContextProof, handoffDataFrame, handoffDigest, handoffDoneFrame, handoffEphemeral, handoffFileMissingFrame, handoffFileRequestFrame, handoffHaveFrames, handoffHelloFrame, handoffManifestFrames, handoffOfferFrame, handoffPakeFrame, handoffReleaseFrame, handoffRequestFrame, handoffRetryAfter, handoffStreamKey, handoffVerifiedFrame, handoffVerifiedMessage, handoffVersions, hasVisible, hash160, heardCallSignal, heardTime, heldBackError, homeserverWebEndpoint, hubRank, identityFromSeed, identityFromSeedB64, identityPresentationBytes, identityRevocationValue, identityStatement, identityStatementText, imageSize, importedProof, inboxRecord, inviteLink, inviteOwnership, inviteQrSegments, inviteQrText, invoiceCallbackUrl, irohDescriptor, irohRelayUrl, isAppHash, isAppKey, isAppLicense, isAppPath, isAppRef, isAppSignature, isAppUrl, isAppVersion, isAtprotoDid, isBitcoinAddress, isChatAppId, isDiscoveryBudgetError, isEmptyLinkPacket, isFederationId, isGlobalIpv4Host, isGroupMessageId, isHandoffPartName, isHoldUrl, isIdentityBinding, isImageMime, isLegacySignature, isNewerVersion, isPlayableAudioType, isPlayableVideoType, isProofAdapter, isPubkyKey, isPubkyProofFolder, isPublicAddress, isRatcheted, isServeId, isSparkAddress, isStrippedPicture, isValidServiceId, isVideoMime, isViewerTag, isWalletNetwork, isX401Protocol, isZ32Key, jpegSize, jwkThumbprint, keepPastGroupMeta, keepsToRelays, keptAtEqualSequence, knockHolds, knockIdentity, knockRecords, knockSlotIdentity, knockSlotOf, knockSlotRecords, lastSharedWithMe, leaveStands, leaveStatement, leaveStatement3, leftStatement, legacyMessageHash, linkEnd, linkRecords, linkStop, linksIn, lobbyKeys, lobbyRecords, makeStamp, makeStampPaced, matchX401Dcql, mayBeHub, mayPin, measureRecords, mentionedMembers, mentionsBytes, mentionsMember, mergeBeacon, mergeContactKnocks, mergeKnocks, mergeLobby, meshHubs, meshMessageRef, meshRendezvous, newDeviceSetSecret, newEpochSecret, newHandoffId, newMailbox as newHoldMailbox, newIdentityBinding, newInbox, newPubkyProofFolder, newWakeToken, newX401HolderKey, newerHead, newerPacket, nextGroupMetaRevision, nextPinNumber, nextReactionNumber, nextTurnPosition, nip05RootKey, normalizeAtprotoHandle, normalizeDid, normalizeDomain, normalizePubkyKey, normalizeRelayUrl, nostrProofTemplate, offerIsFresh, openDidDhtPayload, openGroupMeta, openGroupTyping, openHandoffPiece, openPair, openRelayPayload, openRequest, openSecret, openTurnValue, ownInviteRefusal, pacer, pairedMessageFits, pairedMessageFrame, pairedReplyAuthor, parseAppFrame, parseAppRangeFrame, parseAtprotoCar, parseAtprotoDidDocument, parseAtprotoDidKey, parseAtprotoVerificationKey, parseCallSignal, parseCashuRequestPayload, parseCommunityEdit, parseDid, parseDidDocument, parseDidJws, parseDidSignaturePaste, parseDomainTxt, parseEditFrame, parseEditedFrame, parseEngineError, parseFedimintRequestPayload, parseGroupCommit, parseGroupMetaBody, parseGroupMetaFrame, parseGroupMetaStatement, parseGroupMetaTag, parseGroupWakeFrame, parseHubPolicy, parseImageMeta, parseInvoiceCallback, parseLightningDestination, parseLinkPreview, parseLinkRecords, parseLocalTarget, parsePacketTransports, parsePairedCallFrame, parsePayParams, parsePaymentAmount, parsePaymentNetworks, parsePinFrame, parsePinnedFrame, parseReactedFrame, parseReactionFrame, parseRelayPayload, parseRtcSignal, parseSessionCapabilities, parseSshPublicKey, parseSshSignature, parseTypingActivity, parseTypingFrame, parseVideoMeta, parseVoiceMeta, parseWakeFrame, pastedAgain, paymentUri, peekDhtMailbox, pickCallCandidates, pickHubs, pickMeshHubs, pinFrame, pinIsNewer, pinNumberHolds, pinnedFrame, planAppUpdate, planKnocks, presenceSeenAt, presentX401SdJwtVc, previewImageSize, previewable, proofCapability, proofHash, proofStatement, pubkyHomeserverOf, pubkyProofCapability, pubkyProofFile, pubkyProofPath, publicKeyFromZ32, publishFailure, pushRequest, qrText, queueReaction, randomBytes, rankHubs, rankTransports, ratchetHeard, ratchetOn, ratchetOpen, ratchetRoot, ratchetSeal, ratchetSessionOf, ratchetUnknownSession, reactedFrame, reactionEmoji, reactionFrame, reactionIsNewer, readAppBundle, readAppBundleAsync, readAppFrame, readAppListing, readAppRangeFrame, readAppRevocation, readAppRevocationShape, readAppRevocations, readAppSignature, readAppStore, readAppStoreSteps, readAtprotoCid, readBeacon, readBeaconHead, readCanonicalJson, readContactLink, readDeviceInvite, readDhtFile, readDhtReactions, readDnsName, readEnrollGrant, readEnrollHello, readForwarded, readGroupFileMeta, readGroupHave, readGroupSignal, readGroupWant, readGroupWantNo, readHandoffAck, readHandoffBusy, readHandoffCancel, readHandoffData, readHandoffDone, readHandoffFileFrame, readHandoffHave, readHandoffHello, readHandoffManifest, readHandoffPake, readHandoffRelease, readHandoffTurnFrame, readHandoffVerified, readImageMeta, readInviteCode, readKnockSlot, readKnocks, readLinkRecord, readLobby, readManifest, readOwnRelayPayload, readPin, readReaction, readRelayBody, readReply, readSetUpdate, readStatusCard, readTurnBody, readTurnPacket, readWake, readWakePayload, readX401DcqlQuery, readX401OpenId4VpRequest, readX401ProofRequest, readX401ProofRequestHeader, readX401ProofResponse, readX401ProofResponseHeader, readX401ProofResult, readX401ProofResultHeader, readX401SdJwtVc, receivedIdentityStatus, receivedTimestamp, recordingMime, recordsFromTxt, recordsFromWellKnown, recordsName, refusalText, relativizeLocation, relayRequest, relayUrl, relayUrlProblem, relayedTransports, rememberAlone, removedCardText, replySnippet, requestLnurlInvoice, requestPlaintextBytes, requestRecords, resolveDidDht, resolveLightningDestination, resolveTargetUrl, revokesIdentity, ringAuthorization, ringClaims, ringEvidence, rosterAdmin, rosterHas, rosterHash, safeBlobType, sameButtonText, sameDigest, sameSshKey, sameX401HolderJwk, sanitizeAvatar, sanitizeDisplayText, sanitizeFileName, sanitizeMime, sanitizeNick, sanitizePreviewImage, sanitizeRequestHeaders, sanitizeResponseHeaders, sanitizeTypingStatus, satsToBtc, sdpHasCandidates, sealGroupTyping, sealHandoffPiece, sealPair, sealSecret, sealTurnBody, sealedLength, seedSigner, seenEntry, sendBody, sentWhole, serviceIdFromName, servicesFromWire, servicesToWire, sessionCapabilitiesFrame, setAckFrame, setAppSignatureFastPath, setLinkTraceSink, setUpdateFrame, setUpdateMessage, settleRequest, sha256Hex, sha256Paced, sha256d, shortAtprotoDid, shortHash, shouldBeHub, shownTime, sign, signAppObject, signAppRevocation, signAppStore, signCommit, signCommunity, signDeviceTransports, signDidDhtPacket, signGroupMeta, signIdentityPresentation, signRelayPayload, signTombstone, signTurnBody, signTurnPacket, signTurnRelease, signalHasVideo, signingKeys, sortParts, sortRoster, sparkAddressKind, sparkInvoiceDetails, sparkNetworkOf, sshFingerprint, sshKeyDigestHex, sshSignCommand, stampHolds, staticDidDocument, statusCardBytes, statusCardText, storageProof, storageProofBody, storageProofPath, strictBase64Url, stripHidden, stripPictureMetadata, symmetricNat, takeRequest, taskProgress, toBase64, toBase64Url, toZ32, traceLink, transferEnded, transferStalled, transportOrder, trimEndOf, tryDecrypt, turnInstance, turnKeys, turnName, turnOff, turnPacket, turnPayloadSequence, turnPutSummary, turnReleaseMessage, turnSequence, turnSignedMessage, turnStatedVerifier, turnVerifierMark, txHash, txtValue, typingActivity, typingFrame, typingKindOf, u32, u64, unsignedCommitBytes, unsignedDeviceTransports, unusedInviteWait, unwrapPasted, usageLeft, utf8Decode, utf8Encode, validDomainRecord, validEditMessage, validEditNumber, validEditText, validExternalKey, validHead, validMentions, validReactionNumber, validRemovalNumber, validRingKey, validatePaymentTarget, vapidAuthorization, vapidKeysMatch, varBytes, verify, verifyAppRevocation, verifyAppSignature, verifyAppStatementBytes, verifyAtprotoRecordProof, verifyAtprotoSignature, verifyBip322, verifyBitcoinMessage, verifyChain, verifyCommit, verifyCommitSignature, verifyCommunityChain, verifyCommunityChainPaced, verifyCommunityCommit, verifyDeviceTransports, verifyEnrollProof, verifyGroupMetaSignature, verifyIdentityPresentation, verifyNostrProof, verifyPeerProof, verifyRingAuthorization, verifyRingEvidence, verifySetUpdate, verifySshSignature, viewerResponseHeaders, viewerTag, voiceDownloadName, voiceFileName, voiceLevel, voiceLevelsOf, voicePeaksOf, waitForIceGathering, wakeFrame, wakePayload, wakeRequest, walletNetworkOf, webCryptoSigner, webLocalFetch, wellKnownUrl, wireHubPolicy, wireMentions, wireReaction, wireReply, withRequestOptions, withoutPictureMetadata, wrapDataChannel, wrapGroupMeta, x401AnswerableRequests, x401ApprovalDigest, x401HolderJwk, x401VpToken, yieldThread };
|
|
205
|
+
export { ACTIVE_DHT_POLL_MS, ACTIVE_TASK_STATUSES, ANSWERS_REFUSED_PAUSES, ANSWERS_REFUSED_PAUSE_MS, ANSWER_REFUSED_REDIALS, APPS_CAPABILITY, APP_BUNDLE_LIMITS, APP_BUNDLE_MAGIC, APP_CLIENTS, APP_CLIENT_NAME, APP_DATA_MAX_BYTES, APP_FORBIDDEN_KEYS, APP_FRAME, APP_ICON_PATH, APP_NAME, APP_PEER_OPEN_MAX, APP_PERMISSIONS, APP_PREFIXES, APP_RANGES_CAPABILITY, APP_RANGE_DATA_KIND, APP_RANGE_ERRORS, APP_RANGE_FRAMES, APP_RANGE_LIMITS, APP_RATE_LIMIT, APP_RATE_WINDOW_MS, APP_RESUME_GRACE_MS, APP_SCREENSHOTS_DIR, APP_SEND_LIMIT, APP_STATEMENT_LIMITS, APP_STORE_KINDS, APP_STORE_LIMITS, APP_VERSION_MAX, APP_VIEWS, ATPROTO_DECLARED_SCOPE, ATPROTO_FULL_SCOPE, ATPROTO_PROOF_COLLECTION, ATPROTO_PROOF_SCOPE, AWAITING_PEER_MS, AppRanges, AppSessions, AtprotoCid, AtprotoProofError, BACKGROUND_REQUESTS_PER_MINUTE, BACKGROUND_WHILE_SIGNALING, BACKGROUND_WRITES_SHARE, BIP322_REVISION, BITCOIN_NETWORKS, BLOCKED_DIAL_WAIT_MS, BOLT11_PATTERN, BREAKER_ALL_DOWN_PROBE_MS, BREAKER_BASE_MS, BREAKER_MAX_MS, BREAKER_THRESHOLD, BUTTONS_CAPABILITY, BUTTON_ID, BUTTON_STYLES, BitcoinAddressError, ByteReader, CALLS_CAPABILITY, CALL_SIGNAL_FUTURE_MS, CALL_SIGNAL_MAX_AGE_MS, CAPS_ISSUED_BACK_MS, CAPS_LABEL, CAPS_LIMITS, CAPS_PUBLISH_SPACING_MS, CAPS_REFRESH_MS, CARRIED_DEFER_MS, CHAT_RESERVE, CHAT_RESERVE_MOST_SHARE, CHAT_RESERVE_PER_CHAT, CHAT_WATCH_SHARE, CHUNK_FLAG_END, CHUNK_KIND, CLOCK_EVIDENCE_MS, CLOCK_OFF_MS, CLOCK_PEERS, CLOCK_PEER_READ_GAP_MS, CLOCK_SERVERS, COMMUNITY_EDIT_FRAME, COMMUNITY_LIMITS, COMMUNITY_PIN_FRAME, COMMUNITY_PROFILE, COMMUNITY_REACTION_FRAME, COMMUNITY_TOPOLOGY, CONNECT_TIMEOUT_MS, CONTACT_ASKER_FRAME, CONTACT_LINK_BYTES, CONTACT_LINK_VERSION, CONTACT_RECORD_TTL, CRON_LINE, CROSSED_FRESH_MS, CROSSED_PROBE_MS, CROSSED_WAIT_MS, CapsExchange, CapsKeys, CapsRefusedError, CarriedTransport, ChatFiles, ClockWatch, CommunitySession, ContactRequestError, DATA_CHANNEL_ID, DATA_CHANNEL_LABEL, DATA_SETTLE_MS, DEFAULT_RELAYS, DEMOTE_AFTER_FAILURES, DEMOTE_MS, DEPARTED_READS, DEPARTED_READ_MS, DEVICES_CAPABILITY, DEVICE_CAPABILITIES, DEVICE_ECHO_FRAME, DEVICE_INVITE_BYTES, DEVICE_INVITE_LIFETIME_S, DEVICE_INVITE_OWN_DEVICE, DEVICE_INVITE_VERSION, DEVICE_KINDS, DEVICE_PING_FRAME, DEVICE_WAKE_TTL_SECONDS, DHT_FILE_CAPABILITY, DHT_FILE_REFUSED, DHT_FILE_TOO_LARGE, DHT_MESSAGE_TTL, DHT_PIN_GRACE_MS, DHT_POLL_INTERVALS, DHT_TEXT_BYTES, DHT_TEXT_CAPABILITY, DHT_TEXT_REFUSED, DID_DHT_MAX_PAYLOAD, DID_DHT_PREFIX, DID_DHT_TTL, DID_DHT_VERSION, DID_DOCUMENT_MAX_BYTES, DID_FILE_MAX_BYTES, DID_GHOSTLY_SERVICE, DID_JWS_ALGS, DID_JWS_MAX_LENGTH, DID_MAX_LENGTH, DID_METHODS, DIRECT_EVIDENCE_MS, DIRECT_OWN_ATTEMPTS, DIRECT_PEERS, DNS_LABEL, DNS_TYPE, DOMAIN_FILE_MAX_BYTES, DOMAIN_MAX_RECORDS, DOMAIN_METHODS, DOMAIN_TXT_MAX_BYTES, DataLink, DhtDelivery, DidDhtError, DidError, DirectPathWatch, DiscoveryBudgetError, EARLY_DIAL_JOIN_MS, EDITED_FRAME, EDIT_BUFFER_MAX, EDIT_BUFFER_MS, EDIT_CAPABILITY, EDIT_FRAME, EDIT_RATE_WINDOW_MS, EDIT_RECEIVE_LIMIT, EDIT_SEND_LIMIT, ENDPOINT, ENGINE_ERRORS, ENROLL_CANCEL, ENROLL_CANCEL_REASONS, ENROLL_CAPABILITY, ENROLL_DONE, ENROLL_GRANT, ENROLL_HELLO, ENROLL_PROOF, ETHEREUM_USDT, EVM_TEST_CHAINS, EXPECT_PEER_MS, EngineError, FILES_BINARY_CAPABILITY, FILES_CAPABILITY, FILE_DATA_KIND, FILE_FRAMES, FILE_LIMITS, FIRST_PAIRING_PACE_MS, FIRST_PUBLISH_MAX_MS, FLOOD_PER_DAY, FOLLOW_MS, FORWARD_LIMITS, FRESH_READ_MS, FileTransfers, FileUplink, GATHER_ATTEMPTS, GATHER_STALL_MS, GROUP_ADMIN_OFF_ERROR, GROUP_BURST_MS, GROUP_BURST_ONE_LINK, GROUP_EDIT_FRAME, GROUP_EDIT_TEXT_BYTES, GROUP_ENTRY_PROFILE, GROUP_FILE_LIMITS, GROUP_HAVE_FRAME, GROUP_ID, GROUP_LIMITS, GROUP_MEMBER_CAP, GROUP_META_PAST, GROUP_META_PAST_CHARS, GROUP_OVER_PACE_MS, GROUP_PIN_FRAME, GROUP_PROFILE, GROUP_RATION_WINDOW_MS, GROUP_REACTED_FRAME, GROUP_REACTION_FRAME, GROUP_READ_NOTE, GROUP_READ_NOTE_COMMUNITY, GROUP_SIGNALING_ALLOWANCE_SHARE, GROUP_SIGNAL_FRAME, GROUP_TYPING_FRAME, GROUP_VERSION_FILES, GROUP_VERSION_HUBS, GROUP_VERSION_LARGE, GROUP_VERSION_SIGNALS, GROUP_WAKE_FRAME, GROUP_WAKE_GROUP_LIMIT, GROUP_WAKE_GROUP_WINDOW_MS, GROUP_WAKE_MEMBER_INTERVAL_MS, GROUP_WAKE_RECEIVE_LIMIT, GROUP_WANT_FRAME, GROUP_WANT_NO_FRAME, GhostLink, GhostlyHttpError, GroupSession, GroupTypingBoard, GroupWakeLimiter, HANDLED_WAIT_MS, HANDOFF_ACK, HANDOFF_ATTEMPTS, HANDOFF_BUSY, HANDOFF_BUSY_REASONS, HANDOFF_CANCEL, HANDOFF_CANCEL_REASONS, HANDOFF_CAPABILITY, HANDOFF_DATA, HANDOFF_DONE, HANDOFF_FILE_MISSING, HANDOFF_FILE_REQUEST, HANDOFF_HAVE, HANDOFF_HELLO, HANDOFF_LATER_BYTES, HANDOFF_LIST_PER_FRAME, HANDOFF_MANIFEST, HANDOFF_OFFER, HANDOFF_PAKE, HANDOFF_PIECE_BYTES, HANDOFF_PIECE_OVERHEAD, HANDOFF_RELEASE, HANDOFF_REQUEST, HANDOFF_TIMINGS, HANDOFF_VERIFIED, HANDOFF_VERSION, HANDOFF_WINDOW, HEDGE_MISSING_MS, HEDGE_MS, HOLD_CAPABILITY, HOLD_DATED_BACK_MS, HOLD_LIMITS, HTTP_SERVICE_PROTO, HoldKeys, HoldRefusedError, HttpClient, HttpHost, IDENTITY_CHALLENGE_WINDOW, IDENTITY_CHECK_UNAVAILABLE, IDENTITY_CLOCK_SKEW, IDENTITY_FRAME_LIMIT, IDENTITY_FRAME_WINDOW_MS, IDENTITY_MAX_EVIDENCE, IDENTITY_MAX_FRAME, IDENTITY_MAX_RECEIVED, IDENTITY_MAX_VALIDITY, IDENTITY_MEMO_SIZE, IDENTITY_PROOF_CAPABILITY, IDENTITY_PROVIDER_ID, IDENTITY_REVOCATION_LABEL, IDENTITY_STATEMENT_PREFIX, IDENTITY_SUBJECT, IDENTITY_TIMELINE_MAX, IDLE_THRESHOLD, IMAGE_LIMITS, INVITER_DIAL_GRACE_MS, INVITE_HRP, INVITE_LINK_ORIGIN, INVITE_MAX_LENGTH, INVITE_TAKEN, INVITE_VERSION, ITEM_STATES, IdentityCheckUnavailable, IdentityExchange, KNOCK_SLOTS, KNOCK_SLOT_LABEL, KNOCK_TTL_MS, KNOWN_SESSION_CAPABILITIES, LABEL, LEGACY_GROUP_MEMBERS, LEGACY_SERVICES, LIGHTNING_DESTINATION_PATTERN, LIMITS, LINK_MAX_CHARS, LINK_PREVIEW_LIMITS, LINK_RECORD_LABEL, LINK_TRAILING, LIVENESS_MISSED_PINGS, LIVENESS_PING_MS, LIVE_POLL_MS, LNURL_LIMITS, LinkSession, MAX_AVATAR_LENGTH, MAX_AVATAR_SIDE, MAX_CHUNK_PAYLOAD_BYTES, MAX_DHT_TEXT_BYTES, MAX_DNS_PACKET_BYTES, MAX_DONE, MAX_EDITS_PER_MESSAGE, MAX_GROUP_CHAIN, MAX_GROUP_MEMBERS, MAX_GROUP_META_BODY, MAX_GROUP_NAME_BYTES, MAX_GROUP_NAME_LENGTH, MAX_GROUP_PICTURE_LENGTH, MAX_KNOCKS, MAX_MISSED, MAX_MSGS_PAYLOAD_B64, MAX_NICK_LENGTH, MAX_PAIRED_CALL_SIGNAL, MAX_PAIRED_MESSAGE_FRAME, MAX_REMOVAL_NUMBER, MAX_SEEN, MAX_SERVICES, MAX_SKIP, MAX_SKIPPED_KEYS, MAX_SLOT_KNOCKS, MAX_WAITING, MEMBER_KEY, MENTION_EVERYONE, MENTION_LIMITS, MESH_HUBS, MESSAGE_CLOCK_SKEW_MS, MessageRefusal, NEW_PER_HOUR, NIP05_PATH, NO_ATTEMPTS, NO_HUB_POLICY, NO_PICTURE_METADATA, NO_VIDEO_METADATA, OFFER_FAST_MS, OFFER_HOST_GATHER_MS, OFFER_LOOK_MS, OFFER_STEP_MAX, ONCHAIN_PROVIDER, OWN_FRAME_LIMIT, OwnInviteError, PAIRED_CALL_CANDIDATES, PAIRED_CALL_FRAME, PAIRED_FRAME_TOO_LARGE, PAIRED_PROFILE, PAIRED_REPLY_AUTHORS, PAIRING_ATTEMPT_MS, PAIRING_RETRY_MS, PICTURE_METADATA_LIMITS, PINNED_FRAME, PIN_CAPABILITY, PIN_CLOCK_SKEW_MS, PIN_FRAME, PIN_LIMITS, PKARR_FUTURE_SKEW_MS, PLAYABLE_AUDIO, PLAYABLE_VIDEO, PONG_WAIT_MS, PRESENCE_HEARTBEAT, PRESENCE_WINDOW, PREVIEWABLE_IMAGE, PREVIOUS_DEFAULT_RELAYS, PROOF_ADAPTERS, PROOF_CAPABILITY, PROTOCOL_VERSION, PR_CHECKS, PR_STATES, PUBKY_PROOF_MAX_BYTES, PUBKY_PROOF_ROOT, PUSH_SERVICE_HOSTS, PacketTooLargeError, PairedCalls, PairedSession, PairingTracker, PaymentPreflightError, PeerProofs, QUICK_REACTIONS, RACE_ANSWERED_MS, RACE_DIRECT_MS, RACE_RELAYED_MS, RATCHET_CAPABILITY, RATCHET_HEADER_BYTES, RATCHET_KEEP_MS, RATCHET_OVERHEAD, REACTED_FRAME, REACTIONS_CAPABILITY, REACTION_FRAME, REACTION_LIMITS, REANSWERS, RECORDING_TYPES, RECORD_TTL, REDESCRIBED_GRACE_MS, RELAY_PAYLOAD_MAX_BYTES, RELAY_POLL_INTERVALS, RELAY_REQUESTS_PER_MINUTE, RELAY_URL, RELAY_WITH_SECRETS, REMOVABLE_KINDS, REMOVED_TEXT, REOPEN_BELOW, REPLY_ID, REPLY_LIMITS, REQUESTS_PER_MINUTE, REQUEST_CLOCK_SKEW_MS, REQUEST_LABEL, REQUEST_LIFETIME_MS, REQUEST_NAME_UNITS, REQUEST_PACKET_BYTES, REQUEST_TEXT_BYTES, RESUME_WAIT_MS, RING_LIFETIME, ROUTINE_STATES, RTC_CONFIG, RTC_SIGNAL_FUTURE_MS, RTC_SIGNAL_MAX_AGE_MS, RTC_UNSTARTED_MS, RUN_RESULTS, RatchetBox, RateWindow, ReactionWindow, RelayBreaker, RelayTransport, RelaysFailedError, SAID_AGAIN, SEPOLIA_TEST_USDT, SEPOLIA_TEST_USDT_FAUCET, SERVICES_CAPABILITY, SERVICES_VERSION, SESSION_CAPABILITIES_FRAME, SESSION_FRAME_MAX, SESSION_RECEIVE_PENDING, SET_ACK, SET_UPDATE, SIGNALING_ALLOWANCE_SHARE, SIGNALING_WINDOW_MS, SIGNALS_PER_MINUTE, SIGNAL_CARRIERS, SIGNAL_FRESH_MS, SIGNAL_HOLD_MS, SIGNAL_OUT_READS, SIGNAL_PROVEN_MS, SIGNAL_REPLY_MS, SLOW_DEMOTE_MS, SLOW_MS, SPARK_NETWORKS, SPARK_PROVIDER, SSHSIG_MAX_ARMOR, SSHSIG_NAMESPACE, SSH_KEY_TYPES, SSH_PUBLIC_KEY_MAX, STALLED_EVIDENCE_MS, STALLED_LOOK_MS, STAMP_BITS_DEFAULT, STAMP_BITS_MAX, STAMP_BITS_MIN, STATUS_CARD_CAPABILITY, STATUS_CARD_LIMITS, STORAGE_LIFETIME, STORAGE_ROOT, SWITCH_RETIRE_MS, SessionCapabilities, SshSigError, TASK_STATUSES, TEST_USDT_FAUCET_AMOUNT, TOMBSTONE_SEQUENCE, TOMBSTONE_TURN, TRANSPORTS, TRANSPORTS_GONE_MS, TURN_BODY_BYTES, TURN_LABEL, TURN_LAST_SEQUENCE, TURN_MAX, TURN_NAME_BYTES, TURN_NO_ACTIVE, TURN_PUT_WINDOW_MS, TURN_RAISE_READ_TIMEOUT_MS, TURN_REV_LIMIT, TURN_SEALED_BYTES, TURN_SETTLE_MS, TURN_SIGNED_BYTES, TURN_SLOTS, TURN_SOURCE_TIMEOUT_MS, TURN_TTL, TURN_VERSION, TURN_VISIBLE_MS, TYPING_CAPABILITY, TYPING_FRAME, TYPING_KINDS, TYPING_RATE_LIMIT, TYPING_RATE_WINDOW_MS, TYPING_REFRESH_MS, TYPING_SEND_LIMIT, TYPING_STATUS_MAX, TYPING_TIMEOUT_MS, TurnRecordError, TypingReceiver, TypingSender, UNPROVEN_AUTH_MS, UNUSED_INVITE_READS_PER_MINUTE, UNUSED_INVITE_UPKEEP_MS, UNUSED_INVITE_WAIT_MAX_MS, UPGRADE_CAPABILITY, USDT_PUBLIC_RPC, VIDEO_LIMITS, VIDEO_METADATA_LIMITS, VIEWER_SERVICE_CSP, VOICE_LIMITS, VOICE_METER, WAKE_ANSWER_GRACE_MS, WAKE_CALL_INTERVAL_MS, WAKE_CALL_TTL_SECONDS, WAKE_CALL_WAIT_MS, WAKE_SESSION_CAPABILITY as WAKE_CAPABILITY, WAKE_SESSION_CAPABILITY, WAKE_FRAME, WAKE_INTERVAL_MS, WAKE_LOST_MS, WAKE_SUBJECT, WAKE_TTL_SECONDS, WALLET_NETWORKS, WATCH_PEER_MS, WATCH_SHARE, WAY_BACK_SHARE, WELL_KNOWN_PATH, WRITE_FIRST_MS, WakeLimiter, WebPushError, X401_CREDENTIAL_LIMITS, X401_DCQL_LIMITS, X401_HEADERS, X401_LIMITS, X401_PROTOCOLS, X401_REQUEST_LIMITS, X401_RESPONSE_MODES, X401_SCHEME, X401_VERSION, addedAppPermissions, answersOffer, appCardId, appCardUrl, appCloseFrame, appDataBytes, appDataFrame, appDigest, appFingerprint, appOpenFrame, appRangeCancelFrame, appRangeChunk, appRangeDataFrame, appRangeEndFrame, appRangeErrorFrame, appRangeGetFrame, appRef, appRefPublisher, appRevocationFor, appRevocationId, appSignedBytes, appStoreDecision, appUpdateDecision, appViewOf, applyIdentityEvent, arkAddressPrefix, arrivalKey, asWritten, assembleAppBundle, assertTokenUnits, assertWholeSats, atprotoCidFor, atprotoDidMethod, atprotoProofRecord, atprotoProofRkey, automaticTransport, baseMime, beaconKeys, beaconRecords, bip322MessageHash, bip322ToSign, bip322ToSpend, boundVerifiedIdentity, budgetRetryMs, buildAppBundle, buildDataSdp, buildLinkRecords, buildSdpFromSignal, buildX401ProofRequest, buildX401ProofResult, buildX401ResultArtifact, buildX401TokenObject, buttonLabelClash, bytesEqual, callRtcConfig, callSignalHeardAt, canonicalJson, canonicalJsonBytes, canonicalUrl, capsDescriptors, cardEditNumber, cardLine, cardLinkHost, cardTimeUtc, cardUrl, carryMentions, cashuRequestPayload, chainPieces, chatAppId, checkAppBeforeRun, checkAppListing, checkAppManifest, checkAppRevokeStatement, checkAppStoreIndex, checkAtprotoProofRecord, checkDidJws, checkDidSignature, checkPushEndpoint, checkStatusCard, checkedDescriptors, claimedTime, classifyTurnRead, clearMissed, clockOffset, commitHash, commitUntaggedHash, communityCommitHash, communityEditFrame, communityGroupId, communityHasFrame, communityMessageAuthor, communityMessageId, communityRoster, communityUntaggedHash, compactSize, compareVersions, compressSdp, concatBytes, confirmationMatches, confirmationTag, contactAskerFrame, contactAskerHolds, contactDay, contactRtcConfig, countUnusedInvite, createChatInvite, createContactLink, createDeviceInvite, createIdentity, createLink, createRelayPayload, currentRelays, decodeAnyBitcoinAddress, decodeAppRangeData, decodeAtprotoCommit, decodeBase64, decodeBitcoinAddress, decodeBolt11, decodeChunk, decodeCommunityLink, decodeControl, decodeDagCbor, decodeDidDhtPacket, decodeDnsAnswers, decodeDnsResponse, decodeFileData, decodeGroupEntryLink, decodeInviteCode, decodeServices, decodeSvcbRecords, decodeTx, decodeTxtPacket, decodeWitness, decodeX401Header, decompressSdp, decrypt, decryptPushPayload, decryptText, derivedSecret, deviceEchoFrame, deviceEchoNonce, deviceFrameCapability, deviceInviteJoinerKeyZ32, deviceInviteJoinerParams, deviceKeyZ32, deviceLinkPairing, deviceLinkParams, deviceLinkRendezvousSeed, deviceLinkSealKey, deviceLinkSecret, devicePingFrame, deviceWakeRequest, dhtEditId, dhtFileElements, dhtFileId, dialDescriptors, didDhtDocument, didDhtFromPublicKey, didDhtKey, didDhtRecords, didGhostlyServiceEntry, didJwsAlg, didSignedMessages, didWebDocumentUrl, didWebFile, didWebFileNames, didWebFileUrl, didWebHost, directBlocked, dnsProofName, domainTxtRecord, domainWellKnownFile, doorHubs, downsamplePeaks, dropLoneJoiners, edgeParams, editFrame, editedFrame, emptyCapsState, emptyDhtDeliveryState, emptyIdentityLedger, emptyLinkRecords, emptyProofLedger, emptyRatchetState, encodeAppRangeData, encodeChunk, encodeCommunityLink, encodeContactLink, encodeControl, encodeDagCbor, encodeDeviceInvite, encodeDidDhtDeactivated, encodeDidDhtPacket, encodeDnsQuery, encodeFileData, encodeGhostlyInvite, encodeGroupEntryLink, encodeGroupMetaBody, encodeInviteCode, encodePacketTransports, encodeServices, encodeSetSlots, encodeSvcbPacket, encodeTurnFields, encodeTx, encodeTxtPacket, encodeWitness, encodeX401Header, encrypt, encryptPushPayload, encryptText, endedRequests, engineError, engineText, enrollCancelFrame, enrollCancelReason, enrollDigits, enrollDoneFrame, enrollGrantFrame, enrollHelloFrame, enrollMessage, enrollProofFrame, entryParams, epochKeys, exifOrientation, expectedRoster, extractParamsFromSdp, extractRtcParams, fedimintRequestPayload, fetchLnurlJson, fetchesByItself, fileMessageText, filePartDigest, filePartName, findAppForbiddenKey, findBolt11, findEndpoint, findInMst, findLightningDestination, firstDeviceSetSecret, formatEnrollDigits, formatFileSize, formatLocalTarget, formatPaymentAmount, formatVideoDuration, formatVoiceDuration, forwardedAgain, forwardedMany, frameBytes, freshHubs, fromBase64, fromBase64Url, fromZ32, generateEncryptionKey, generateVapidKeys, groupDisplayName, groupEntryUrl, groupFileFallback, groupMessageId, groupMetaBody, groupMetaChange, groupMetaNewer, groupMetaPicture, groupMetaTag, groupMetaToHand, groupName, groupReplyAuthor, groupSignalFrame, groupTypingEpoch, groupWakeFrame, groupWakes, handoffAckFrame, handoffAttemptAllowed, handoffAttemptFailed, handoffAttemptSucceeded, handoffBusyFrame, handoffCancelFrame, handoffContext, handoffContextProof, handoffDataFrame, handoffDigest, handoffDoneFrame, handoffEphemeral, handoffFileMissingFrame, handoffFileRequestFrame, handoffHaveFrames, handoffHelloFrame, handoffManifestFrames, handoffOfferFrame, handoffPakeFrame, handoffReleaseFrame, handoffRequestFrame, handoffRetryAfter, handoffStreamKey, handoffVerifiedFrame, handoffVerifiedMessage, handoffVersions, hasVisible, hash160, heardCallSignal, heardTime, heldBackError, homeserverWebEndpoint, hubRank, identityFromSeed, identityFromSeedB64, identityPresentationBytes, identityRevocationValue, identityStatement, identityStatementText, imageSize, importedProof, inboxRecord, inviteLink, inviteOwnership, inviteQrSegments, inviteQrText, invoiceCallbackUrl, irohDescriptor, irohRelayUrl, isAppHash, isAppKey, isAppLicense, isAppLine, isAppPath, isAppRef, isAppSignature, isAppUrl, isAppVersion, isAtprotoDid, isBitcoinAddress, isChatAppId, isDiscoveryBudgetError, isEmptyLinkPacket, isFederationId, isGlobalIpv4Host, isGroupMessageId, isHandoffPartName, isHoldUrl, isIdentityBinding, isImageMime, isLegacySignature, isNewerVersion, isPlayableAudioType, isPlayableVideoType, isProofAdapter, isPubkyKey, isPubkyProofFolder, isPublicAddress, isRatcheted, isServeId, isSparkAddress, isStrippedPicture, isValidServiceId, isVideoMime, isViewerTag, isWalletNetwork, isX401Protocol, isZ32Key, jpegSize, jwkThumbprint, keepPastGroupMeta, keepsToRelays, keptAtEqualSequence, knockHolds, knockIdentity, knockRecords, knockSlotIdentity, knockSlotOf, knockSlotRecords, lastSharedWithMe, leaveStands, leaveStatement, leaveStatement3, leftStatement, legacyMessageHash, linkEnd, linkRecords, linkStop, linksIn, lobbyKeys, lobbyRecords, makeStamp, makeStampPaced, matchX401Dcql, mayBeHub, mayPin, measureRecords, mentionedMembers, mentionsBytes, mentionsMember, mergeBeacon, mergeContactKnocks, mergeKnocks, mergeLobby, meshHubs, meshMessageRef, meshRendezvous, newDeviceSetSecret, newEpochSecret, newHandoffId, newMailbox as newHoldMailbox, newIdentityBinding, newInbox, newPubkyProofFolder, newWakeToken, newX401HolderKey, newerHead, newerPacket, nextGroupMetaRevision, nextPinNumber, nextReactionNumber, nextTurnPosition, nip05RootKey, normalizeAtprotoHandle, normalizeDid, normalizeDomain, normalizePubkyKey, normalizeRelayUrl, nostrProofTemplate, offerIsFresh, openDidDhtPayload, openGroupMeta, openGroupTyping, openHandoffPiece, openPair, openRelayPayload, openRequest, openSecret, openTurnValue, ownInviteRefusal, pacer, pairedMessageFits, pairedMessageFrame, pairedReplyAuthor, parseAppFrame, parseAppRangeFrame, parseAtprotoCar, parseAtprotoDidDocument, parseAtprotoDidKey, parseAtprotoVerificationKey, parseCallSignal, parseCashuRequestPayload, parseCommunityEdit, parseDid, parseDidDocument, parseDidJws, parseDidSignaturePaste, parseDomainTxt, parseEditFrame, parseEditedFrame, parseEngineError, parseFedimintRequestPayload, parseGroupCommit, parseGroupMetaBody, parseGroupMetaFrame, parseGroupMetaStatement, parseGroupMetaTag, parseGroupWakeFrame, parseHubPolicy, parseImageMeta, parseInvoiceCallback, parseLightningDestination, parseLinkPreview, parseLinkRecords, parseLocalTarget, parsePacketTransports, parsePairedCallFrame, parsePayParams, parsePaymentAmount, parsePaymentNetworks, parsePinFrame, parsePinnedFrame, parseReactedFrame, parseReactionFrame, parseRelayPayload, parseRtcSignal, parseSessionCapabilities, parseSshPublicKey, parseSshSignature, parseTypingActivity, parseTypingFrame, parseVideoMeta, parseVoiceMeta, parseWakeFrame, pastedAgain, paymentUri, peekDhtMailbox, pickCallCandidates, pickHubs, pickMeshHubs, pinFrame, pinIsNewer, pinNumberHolds, pinnedFrame, planAppUpdate, planKnocks, presenceSeenAt, presentX401SdJwtVc, previewImageSize, previewable, proofCapability, proofHash, proofStatement, pubkyHomeserverOf, pubkyProofCapability, pubkyProofFile, pubkyProofPath, publicKeyFromZ32, publishFailure, pushRequest, qrText, queueReaction, randomBytes, rankHubs, rankTransports, ratchetHeard, ratchetOn, ratchetOpen, ratchetRoot, ratchetSeal, ratchetSessionOf, ratchetUnknownSession, reactedFrame, reactionEmoji, reactionFrame, reactionIsNewer, readAppBundle, readAppBundleAsync, readAppFrame, readAppListing, readAppRangeFrame, readAppRevocation, readAppRevocationShape, readAppRevocations, readAppSignature, readAppStore, readAppStoreSteps, readAtprotoCid, readBeacon, readBeaconHead, readCanonicalJson, readContactLink, readDeviceInvite, readDhtFile, readDhtReactions, readDnsName, readEnrollGrant, readEnrollHello, readForwarded, readGroupFileMeta, readGroupHave, readGroupSignal, readGroupWant, readGroupWantNo, readHandoffAck, readHandoffBusy, readHandoffCancel, readHandoffData, readHandoffDone, readHandoffFileFrame, readHandoffHave, readHandoffHello, readHandoffManifest, readHandoffPake, readHandoffRelease, readHandoffTurnFrame, readHandoffVerified, readImageMeta, readInviteCode, readKnockSlot, readKnocks, readLinkRecord, readLobby, readManifest, readOwnRelayPayload, readPin, readReaction, readRelayBody, readReply, readSetUpdate, readStatusCard, readTurnBody, readTurnPacket, readWake, readWakePayload, readX401DcqlQuery, readX401OpenId4VpRequest, readX401ProofRequest, readX401ProofRequestHeader, readX401ProofResponse, readX401ProofResponseHeader, readX401ProofResult, readX401ProofResultHeader, readX401SdJwtVc, receivedIdentityStatus, receivedTimestamp, recordingMime, recordsFromTxt, recordsFromWellKnown, recordsName, refusalText, relativizeLocation, relayRequest, relayUrl, relayUrlProblem, relayedTransports, rememberAlone, removedCardText, replySnippet, requestLnurlInvoice, requestPlaintextBytes, requestRecords, resolveDidDht, resolveLightningDestination, resolveTargetUrl, revokesIdentity, ringAuthorization, ringClaims, ringEvidence, rosterAdmin, rosterHas, rosterHash, safeBlobType, sameButtonText, sameDigest, sameSshKey, sameX401HolderJwk, sanitizeAvatar, sanitizeDisplayText, sanitizeFileName, sanitizeMime, sanitizeNick, sanitizePreviewImage, sanitizeRequestHeaders, sanitizeResponseHeaders, sanitizeTypingStatus, satsToBtc, sdpHasCandidates, sealGroupTyping, sealHandoffPiece, sealPair, sealSecret, sealTurnBody, sealedLength, seedSigner, seenEntry, sendBody, sentWhole, serviceIdFromName, servicesFromWire, servicesToWire, sessionCapabilitiesFrame, setAckFrame, setAppSignatureFastPath, setLinkTraceSink, setUpdateFrame, setUpdateMessage, settleRequest, sha256Hex, sha256Paced, sha256d, shortAtprotoDid, shortHash, shouldBeHub, shownTime, sign, signAppObject, signAppRevocation, signAppStore, signCommit, signCommunity, signDeviceTransports, signDidDhtPacket, signGroupMeta, signIdentityPresentation, signRelayPayload, signTombstone, signTurnBody, signTurnPacket, signTurnRelease, signalHasVideo, signingKeys, sortParts, sortRoster, sparkAddressKind, sparkInvoiceDetails, sparkNetworkOf, sshFingerprint, sshKeyDigestHex, sshSignCommand, stampHolds, staticDidDocument, statusCardBytes, statusCardText, storageProof, storageProofBody, storageProofPath, strictBase64Url, stripHidden, stripPictureMetadata, symmetricNat, takeRequest, taskProgress, toBase64, toBase64Url, toZ32, traceLink, transferEnded, transferStalled, transportOrder, trimEndOf, tryDecrypt, turnInstance, turnKeys, turnName, turnOff, turnPacket, turnPayloadSequence, turnPutSummary, turnReleaseMessage, turnSequence, turnSignedMessage, turnStatedVerifier, turnVerifierMark, txHash, txtValue, typingActivity, typingFrame, typingKindOf, u32, u64, unsignedCommitBytes, unsignedDeviceTransports, unusedInviteWait, unwrapPasted, usageLeft, utf8Decode, utf8Encode, validDomainRecord, validEditMessage, validEditNumber, validEditText, validExternalKey, validHead, validMentions, validReactionNumber, validRemovalNumber, validRingKey, validatePaymentTarget, vapidAuthorization, vapidKeysMatch, varBytes, verify, verifyAppRevocation, verifyAppSignature, verifyAppStatementBytes, verifyAtprotoRecordProof, verifyAtprotoSignature, verifyBip322, verifyBitcoinMessage, verifyChain, verifyCommit, verifyCommitSignature, verifyCommunityChain, verifyCommunityChainPaced, verifyCommunityCommit, verifyDeviceTransports, verifyEnrollProof, verifyGroupMetaSignature, verifyIdentityPresentation, verifyNostrProof, verifyPeerProof, verifyRingAuthorization, verifyRingEvidence, verifySetUpdate, verifySshSignature, videoMetadataPatches, viewerResponseHeaders, viewerTag, voiceDownloadName, voiceFileName, voiceLevel, voiceLevelsOf, voicePeaksOf, waitForIceGathering, wakeFrame, wakePayload, wakeRequest, walletNetworkOf, webCryptoSigner, webLocalFetch, wellKnownUrl, wireHubPolicy, wireMentions, wireReaction, wireReply, withRequestOptions, withViewerPolicy, withoutPictureMetadata, withoutVideoMetadata, wrapDataChannel, wrapGroupMeta, x401AnswerableRequests, x401ApprovalDigest, x401HolderJwk, x401VpToken, yieldThread };
|
|
797
206
|
|
|
798
207
|
//# sourceMappingURL=core.js.map
|