@action-state-group/capsule-viewer 0.27.0 → 0.27.2

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.
@@ -54,8 +54,8 @@ const root = {};
54
54
  "use strict";
55
55
  var KIND = "unilateral"; // @generated KIND
56
56
  var MANIFEST = { "spec_version": "aac.presentation-manifest/v0", "id": "capsuleviewer.receipt.unilateral/v0", "presentation_api": "aac.presentation-api/v0", "runtime_min": "0.1.0", "trust_class": "trusted-executable", "requires": { "bundle_kind": "evidence-bundle/v2", "extensions": { "required": ["x-deal-v0"] } }, "forbids": { "profiles": ["spec_version:report/v1", "spec_version:evaluation-summary/v1", "result_version:evidence-result-v0"], "extensions": ["composed/v1", "x-history-selection/v0", "x-deal-seller/v0"] }, "audiences": ["keep", "counterparty", "adjudicator", "*"], "formats": ["html"], "fallback": false, "priority": 1, "executable": { "carrier": "module-slot", "script_sha256": "0000000000000000000000000000000000000000000000000000000000000000", "style_sha256": ["1b600ce6847453be63fd2613dbd07a9f6edc9ec9fe3ac6386ffece284c5ec73c"] } }; // @generated MANIFEST
57
- var WORDS = { "page.title": "Deal report", "badge.demo": "DEMO", "banner.private.label": "PRIVATE", "banner.private.text": "This is your own copy of this deal report, with everything this page shows. Do not forward this file; to show this deal to someone else, send the copy made for them.", "banner.shared.label": "Shared copy", "banner.shared.text": "The report owner's own record of this deal, included in this report because their \"Receipts in the settlement report\" setting is on. It is not the counterparty's copy.", "banner.page.text": "This node's own record of this exchange, saved as a page for anyone to check. It is not the other side's copy.", "summary.standalone": "This report's text is carried in the file outside the log. capsulectl verify reported its signature check as: {status}. This page did not check the signature itself.", "depth.l1": "Why: what was asked, proposed, approved and done", "depth.l2": "Verify: the records, their places in the log and the checks", "l0.deal_type": "Deal", "l0.item": "Item", "l0.amount": "Amount", "l0.state": "Where it stands", "l0.state.missing": "not stated", "deal_type.purchase": "Purchase", "deal_type.sale": "Sale", "deal_type.booking": "Booking", "deal_type.subscription": "Subscription", "state.open": "Open", "state.cancelled": "Cancelled", "state.closed": "Closed", "shared.counterparty": "A shared copy for the other party. Left out of this copy: {kinds}.", "shared.adjudicator": "A shared copy for an adjudicator. Left out of this copy: {kinds}.", "rung.witness_verified": "Witness receipt checked: the verifier checked a witness receipt in this file. Which steps that receipt covers is not shown here; capsulectl verify reports it. It does not confirm what the agent did.", "rung.unwitnessed": "No outside time stamp: this copy carries no witness receipt.", "rung.witness_failed": "A witness receipt is in this file and did not verify.", "countersign.none": "Not countersigned in this copy. A signature from the other party, if there is one, is in their own copy.", "countersign.some": "Countersignatures, as the verifier reported them: {statuses}.", "section.authorized": "What you asked", "section.authorized.report": "What the owner asked", "section.proposed": "What the agent proposed, and how it was checked", "section.approved": "What you approved", "section.approved.report": "What the owner approved", "section.merchant": "The merchant's own evidence", "section.acted": "What the agent did", "section.lifecycle": "Where this deal stands", "section.statements.keep": "What your agent told the buyer", "section.statements.keep.report": "What the owner's agent told the buyer", "section.statements.counterparty": "What the seller's agent told you", "section.statements.counterparty.report": "What the seller's agent told the buyer", "section.statements.adjudicator": "What the seller's agent told the buyer", "section.told": "What your agent told whom", "section.told.report": "What the owner's agent told whom", "section.deadlines": "Cancel-by and due dates", "section.cancellation": "Your cancellation", "section.cancellation.report": "The owner's cancellation", "section.anomalies": "Problems spotted", "section.other": "Other steps", "section.claims": "What this does not claim", "section.records": "Every record in this receipt", "section.provenance": "Who sealed these records", "asked.opened": "✓ These are the exact words sealed when the deal opened.", "asked.committed": "Your words are sealed as a commitment, and their opening is not in this copy, so they are not checked here.", "asked.committed.report": "The owner's words are sealed as a commitment, and their opening is not in this copy, so they are not checked here.", "asked.mismatch": "⚠️ The words you asked could not be checked against the sealed record.", "asked.mismatch.report": "⚠️ The words the owner asked could not be checked against the sealed record.", "asked.withheld": "Withheld from this copy.", "asked.not_present": "The deal's opening step is not in this report.", "statement.opened": "✓ These are the exact words sealed when the agent said them; this page does not check that they are true.", "statement.mismatch": "⚠️ A statement here could not be checked against its sealed step.", "statement.committed": "A statement is sealed as a commitment; its opening is not in this copy.", "statement.withheld": "A statement's step is withheld from this copy.", "statement.not_present": "A statement's step is not in this report.", "class.condition": "Condition", "class.warranty": "Warranty", "class.refund_terms": "Refund terms", "class.delivery_promise": "Delivery promise", "class.other": "Other", "summary.sealed": "The text on this page was written by {producer} when the receipt was made and sealed as a record in this file; the verifier checked that record. It summarises the steps and is not the steps themselves.", "summary.lines": "The summary lines below, and each step's line, were written by {producer} and sealed with the receipt: they were checked as unchanged since, not that they are right. Under each item are the steps it was read from; each step's sealed record is checked.", "acted.nothing": "Nothing yet.", "merchant.none": "No merchant email is attached to this receipt.", "merchant.intro": "Two different things stand behind each email. The merchant's signature is checked against the merchant's published key, saved when the email was sealed; it shows what the merchant sent, and it does not depend on the agent. The receipt's seal shows these exact bytes were kept unchanged from that time on; it is the sealer's own record. Amounts, dates and order numbers below are read from the email by {producer} and may be misread.", "merchant.order": "Order {order}", "merchant.email": "Merchant email", "merchant.signature": "Merchant's signature: {text}", "merchant.seal": "Our seal: {text}", "merchant.key_supplied": "The merchant's key was supplied by hand, not read from the merchant's DNS.", "merchant.approved": "You approved", "merchant.approved.report": "The owner approved", "merchant.approved_basis": "You approved ({basis})", "merchant.approved_basis.report": "The owner approved ({basis})", "merchant.agent_reported": "The agent reported paying", "merchant.charged": "The merchant's email says (read from the email)", "merchant.charged_on": "Charged on (the email's date)", "merchant.cancel_by": "Cancel by (read from the email)", "merchant.items": "Items (read from the email)", "merchant.domains": "Signing domain", "merchant.key_size": "Merchant's key (sealed when the email was sealed)", "lifecycle.later": "{at} · confirms the close: {text}", "lifecycle.as_of": "{text} (as of {at})", "told.none": "Nothing about you was recorded as shared.", "told.none.report": "Nothing about the owner was recorded as shared.", "told.note": "Only what the agent sealed as shared is listed here; something it told without sealing it is not.", "cancellation.shows": "What this shows", "cancellation.not_shows": "What this does not show", "anomalies.agent": "Agent side", "anomalies.counterparty": "Counterparty side", "anomalies.none": "None reported.", "claims.tamper": "It is tamper-evident: it shows these records were not changed after they were sealed, not who made them.", "claims.reported": "It records what the agent reported. It does not show that what was reported was true.", "claims.merchant": "It does not prove the merchant shipped, delivered or refunded anything.", "claims.scope": "The verification below covers every step's sealed record and its place in this deal's log. The records carry fingerprints, not names or numbers; the words shown come from the device that sealed them. The seal key is on the agent's machine, so this shows the record was not changed after it was made, not who made it. It covers this skill's own records only, never the agent host's own store.", "claims.withheld": "Steps marked WITHHELD are proven present and unchanged, at their place in the log; what they say is not in this copy.", "step.position": "Step {n} · {at}", "step.unnumbered": "A step this receipt cites", "step.line": "The receipt's line: {text}", "verify.tested": "Checked by {verifier}: {checks}. This page shows its answer; it did not re-check anything itself.", "verify.tested_here": "Checked in this browser by {verifier}: {checks}.", "verify.check_one": "{name} ({outcome})", "verify.checks_all": "{checks} (all {outcome})", "verify.self_reported": "Reported by {verifier}: {checks}. This view shows that report; it did not re-check anything itself.", "verify.reported": "Checked by {verifier}. This page shows its answer; it did not re-check anything itself.", "money.test": "Test money: this deal's payment was on a simulated rail. No real money moved.", "record.short": "{head}…{tail}", "value.action.pay": "Pay", "value.action.commit": "Commit to the deal", "value.action.offer": "Make an offer", "value.action.share_contact": "Share contact details", "value.action_class.money.purchase": "Spend money on a purchase", "value.action_class.agreement.accept": "Accept an agreement", "value.action_class.marketplace.offer": "Make an offer in a marketplace", "value.action_class.disclosure.personal": "Share personal details", "value.action_class.external_commitment.other": "Another kind of commitment to an outside party", "value.result.pass": "Passed", "value.result.pause": "Paused to ask first", "value.disposition.do": "Go ahead", "value.disposition.ask": "Ask first", "value.approver.user": "The person, directly", "value.approver.human": "Another person", "value.approver.standing_intent": "The person's standing instructions to the agent", "value.approver.policy": "A policy", "value.choice.proceed": "Go ahead", "value.direction.out": "Money going out", "value.direction.in": "Money coming in", "value.rail.card": "Card", "value.rail.lightning": "Lightning", "value.rail.simulated": "Simulated (test money)", "value.judge.rules": "Rules", "value.rules.not_configured": "No rules checker was set for this check", "value.rules.evaluated": "Checked by the rules", "value.rules.not_evaluated": "The rules could not be checked", "value.rules.not_applicable": "No rules apply to this step", "value.result.deny": "Refused by the rules", "value.approver.agent_card": "The agent's card", "step.log": "seq {seq} · leaf {leaf} · {log}", "step.no_log": "no place in a log was supplied", "step.record": "Record", "step.type": "Recorded as", "step.key": "Signing key", "steps.summary": "The steps this was read from", "records.step": "Step", "records.kind": "Recorded as", "records.disclosure": "Disclosure", "records.log": "Place in the log", "records.id": "Record", "records.report": "the sealed report", "records.unknown": "not in this copy", "provenance.by": "Produced by {producers}.", "provenance.then": ", then ", "provenance.unrecorded": "a producer that did not record its version", "provenance.the_producer": "the producer", "wording.provenance": "This page's words: wording pack {id}, sha256 {sha}.", "fact.deal_type": "Deal type", "fact.allowed": "Allowed", "fact.item": "Item", "fact.quantity": "Quantity", "fact.price": "Price", "fact.expect_close_by": "Expected to close by", "fact.asked.item": "You asked for (item)", "fact.asked.item.report": "The owner asked for (item)", "fact.asked.quantity": "You asked for (quantity)", "fact.asked.quantity.report": "The owner asked for (quantity)", "fact.action": "Action", "fact.action_class": "Action class", "fact.amount": "Amount", "fact.authorized_max": "Most you allowed", "fact.authorized_max.report": "Most the owner allowed", "fact.material_fields_changed": "Material details changed", "fact.offer_fields_changed": "Offer details changed", "fact.result": "Check result", "fact.differences": "Differences found", "fact.judge": "Checked by", "fact.rules": "Rules", "fact.notes": "Notes", "fact.approver": "Approved by", "fact.choice": "Choice", "fact.direction": "Direction", "fact.rail": "Paid by", "fact.class": "Statement class", "fact.source_kind": "Said by", "rung.unreported": "No witness result was reported to this page.", "l2.bundle_digest": "The verifier's report is for the bundle with digest", "fact.disposition": "Disposition", "bilateral.title": "Deal report: both parties' copies", "bilateral.title.one_sided": "Deal report: one party's copy", "deal.agree": "Both copies name one deal: {deal}.", "deal.one": "This copy is for deal {deal}.", "deal.mismatch": "The copies name different deals ({deals}). They are not shown as one deal, and neither is picked.", "deal.unnamed": "A copy names no deal, so the copies are not shown as one deal.", "party.heading": "{role} copy ({member})", "party.role_undeclared": "Undeclared", "parts.own": "Each copy is shown from its own records. What one copy leaves out is never filled in from the other.", "joins.heading": "How the two copies line up", "joins.none": "The composition declares no join between the copies.", "sides.case.both": "Stamped by both sides: both records are here, and the verifier found they agree.", "sides.case.one_sided": "Your receipt only: the other side's record is missing.", "sides.case.one_sided.shared": "One side's record only: the other side's record is missing.", "sides.case.limit": "Your receipt only: the other side's record is not shared. That is the limit they set on what they share, and it says nothing against the deal.", "sides.case.limit.shared": "One side's record only: the other side's record is not shared. That is the limit they set on what they share, and it says nothing against the deal.", "sides.case.not_agreed": "Not stamped by both: the two records do not show one agreement.", "sides.ours": "Your side · in your book", "sides.ours.shared": "The report owner's side · in their book", "sides.ours.page": "This node's side · in its book", "sides.theirs": "Their side · as received", "sides.half": "{role}'s side · as received", "sides.missing.heading": "Their side", "sides.missing.none": "No record. Nothing from their side is in this receipt.", "sides.missing.absence": "No record. Their side was asked on {start} and had not answered by {end}. The ask is on record.", "sides.missing.refusal.policy_declined": "Not shared. Their side was asked for its record, and on {date} signed a reply that its sharing policy does not allow it. This is a limit on what they share. They have not refused the deal.", "row.both": "stamped by both", "row.one_sided": "your receipt only", "row.one_sided.page": "this node's receipt only", "row.none": "no record", "row.cannot_check": "this browser can't check the receipt", "row.did_not_verify": "the receipt did not verify: do not rely on it", "row.cannot_check_pointer": "Open the bundle in the offline viewer (capsule-viewer) to check it; this page shows no verdict for it.", "row.page.receipt": "Receipt: {label}", "row.page.records_tied": "{tied} of {total} records in the receipt are tied to a signed checkpoint.", "actions.heading": "Tell your agent:", "actions.dispute": "“Dispute this”", "actions.send": "“Send me this receipt”", "actions.show_theirs": "“Show me the other side's receipt”", "actions.ask_again": "“Ask their side again”", "actions.ask": "“Ask their side for their receipt”", "join.line": "{basis}: declared {declared}; the verifier derived {derived}.", "join.basis.pre_agreed_identifier": "Pre-agreed identifier", "join.basis.shared_artifact_digest": "Shared artifact digest", "join.basis.issued_receipt": "Issued receipt", "join.basis.same_interval": "Same interval", "join.state.agree": "agree", "join.state.mismatch": "mismatch", "join.state.unjoined": "unjoined", "join.state.one_sided": "one-sided", "join.state.not_derivable": "not derivable", "join.result.join_state_mismatch": "What was declared is not what the verifier derived.", "corroboration.corroborating": "They agree, and their declared custody differs: corroborating, on declared custody only.", "corroboration.redundant": "They agree, but redundantly, not corroborating ({reasons}).", "l2.composition": "How the copies were put together, as the verifier checked it", "seller.title": "Sale receipt", "seller.depth.l1": "Why: what was authorised, said, offered, accepted and handed over", "seller.l0.item": "Sold", "seller.l0.amount": "Amount agreed", "seller.l0.payment": "Payment", "seller.l0.handover": "Handed over", "seller.payment.not_recorded": "Not recorded in this copy", "seller.handover.seller_observed": "By the seller's own record (not confirmed by the buyer or a carrier)", "seller.handover.none": "Not recorded", "seller.outcome.completed": "Closed: matches what was agreed", "seller.outcome.mismatch": "Closed: differs from what was agreed", "seller.outcome.not_selected": "Closed: not selected", "seller.outcome.open": "Open", "seller.fact.allowed_actions": "The agent may", "seller.fact.outcome_id": "Kind of deal", "seller.floor.committed": "The lowest price is sealed as a commitment. Its opening is in this copy; this page does not open it.", "seller.floor.withheld": "The lowest price is not in this copy.", "seller.floor.not_present": "No lowest price is sealed in this copy.", "seller.section.authorised.keep": "What you authorised", "seller.section.authorised.keep.report": "What the owner authorised", "seller.section.authorised.counterparty": "What the seller authorised their agent to do", "seller.section.authorised.adjudicator": "What the seller authorised their agent to do", "seller.section.represented.keep": "What your agent told this buyer", "seller.section.represented.keep.report": "What the owner's agent told this buyer", "seller.section.represented.counterparty": "What the seller's agent told you", "seller.section.represented.counterparty.report": "What the seller's agent told the buyer", "seller.section.represented.adjudicator": "What the seller's agent told the buyer", "seller.represented.none": "No statement to the buyer is recorded in this copy.", "seller.section.offers": "Offers, and which replaced which", "seller.offers.none": "No offer is disclosed in this copy.", "seller.offers.action": "Proposed", "seller.offers.amount": "Amount", "seller.offers.status": "Status", "seller.offers.note": "A later offer that names an earlier one replaces it; the earlier one can no longer be accepted.", "seller.offer.accepted": "accepted by the buyer", "seller.offer.superseded": "replaced by a later offer", "seller.offer.open": "not replaced", "seller.action.offer": "Offer", "seller.action.commit": "Commit", "seller.section.accepted.keep": "What the buyer accepted", "seller.section.accepted.counterparty": "What you accepted", "seller.section.accepted.counterparty.report": "What the buyer accepted", "seller.section.accepted.adjudicator": "What the buyer accepted", "seller.accepted.none": "No acceptance is recorded in this copy.", "seller.accepted.offer": "The acceptance names the offer at step", "seller.accepted.offer_not_here": "The acceptance names an offer that is not disclosed in this copy.", "seller.accepted.digest": "Digest of the exact offer accepted:", "seller.accepted.words": "The seller's agent recorded this acceptance as an observation. The buyer's words are sealed as a commitment and are not shown here.", "seller.section.payment": "Payment", "seller.payment.none": "This copy carries no payment record. Evidence the seller's agent recorded is listed with its source; this page does not read what it is about.", "seller.evidence.source": "Evidence from", "seller.evidence.verified": "marked verified", "seller.evidence.unverified": "not verified", "seller.evidence.withheld": "An evidence step is withheld from this copy.", "seller.section.handover": "Handover, and who says so", "seller.provenance.seller_observed": "The seller's own record:", "seller.provenance.seller_observed.recorded": "recorded (a claim by the seller)", "seller.provenance.seller_observed.withheld": "withheld from this copy", "seller.provenance.seller_observed.not_present": "not recorded", "seller.provenance.carrier": "A carrier's confirmation:", "seller.provenance.carrier.not_present": "none in this copy", "seller.provenance.buyer_confirmed": "The buyer's confirmation:", "seller.provenance.buyer_confirmed.not_present": "none in this copy (only the buyer's own records can carry it)", "seller.delivered.item": "Handed over (item)", "seller.delivered.quantity": "Handed over (quantity)", "seller.delivered.price": "At the price", "seller.handover.note": "A handover recorded by the seller alone shows what the seller says was handed over, not that the buyer received it.", "seller.address.committed": "An address was given. Its record carries the field's class and a commitment to the value, not the value.", "seller.address.withheld": "The address given is not in this copy.", "seller.address.not_present": "No address is recorded as given in this copy.", "seller.section.given.keep": "What your agent gave this buyer", "seller.section.given.keep.report": "What the owner's agent gave this buyer", "seller.section.given.counterparty": "What the seller's agent gave you", "seller.section.given.counterparty.report": "What the seller's agent gave the buyer", "seller.section.given.adjudicator": "What the seller's agent gave the buyer", "seller.section.obligations": "Open obligations", "seller.obligations.none": "No open obligation is recorded in this copy.", "seller.not_selected": "The seller closed this thread without a sale to this buyer. Nothing was committed or handed over in it.", "seller.threads": "This copy covers one buyer's thread. Other buyers' threads of the same sale are not in it.", "seller.claims.handover": "It does not show that the buyer received anything: a handover recorded by the seller is the seller's claim.", "seller.section.chain": "Offers and what they replaced", "seller.chain.digest": "Record digest", "seller.chain.supersedes": "Replaces step", "seller.chain.superseded_by": "Replaced by step", "seller.section.commitments": "Commitments the disclosed records seal", "seller.commitment.field": "Field", "seller.commitment.value": "Commitment", "seller.commitment.state": "Opening", "seller.commitment.opened": "opened on this page", "seller.commitment.sealed": "not opened on this page", "seller.section.legs": "Settlement legs", "seller.leg.name": "Leg", "seller.leg.state": "In this copy", "seller.leg.agreement": "Agreement", "seller.leg.payment": "Payment", "seller.leg.handover": "Handover", "seller.leg.recorded": "recorded", "seller.leg.none": "not recorded", "seller.section.keys": "Signing keys", "seller.asked.opened": "✓ These are the seller's exact words, sealed when the sale opened.", "seller.asked.committed": "The seller's words are sealed as a commitment, and their opening is not in this copy, so they are not checked here.", "seller.asked.mismatch": "⚠️ The seller's words could not be checked against the sealed record.", "seller.asked.withheld": "The seller's words are withheld from this copy.", "seller.asked.not_present": "The sale's opening step is not in this copy.", "seller.fact.asked.item": "To sell (item)", "seller.fact.asked.quantity": "To sell (quantity)", "seller.fact.item": "Item", "seller.fact.price": "Asking price", "seller.shared.counterparty": "A shared copy for the buyer. What it leaves out is listed under Why.", "seller.shared.adjudicator": "A shared copy for an adjudicator. What it leaves out is listed under Why.", "seller.section.left_out": "What this copy leaves out", "class.address": "address", "class.credential": "login", "class.email": "email", "class.home_address": "home address", "class.id_document": "ID document", "class.name": "name", "class.other_contact": "contact details", "class.payment_card": "payment card", "class.phone": "phone", "class.pickup_area": "pickup area", "class.pickup_location": "pickup location", "class.verification_code": "verification code", "section.journey": "How it went", "journey_by.user": "You", "journey_by.user.report": "Owner", "journey_by.agent": "Your agent", "journey_by.agent.report": "Owner's agent", "journey_by.other": "The other side", "journey_by.unknown": "Someone", "journey_note": "Who moved, and each row's names, items and amounts, come from the report sealed in this file; open a row to see the step it came from. The rest of the wording comes from this page and is not sealed.", "journey.agent.act.cancel": "Cancelled", "journey.agent.act.commit": "Booked", "journey.agent.act.offer": "Made an offer", "journey.agent.act.other": "Done", "journey.agent.act.pay": "Paid {amount}", "journey.agent.act.pay.no_amount": "Paid", "journey.agent.act.pay.within": "Paid {amount} within your {limit} limit", "journey.agent.act.pay.within.report": "Paid {amount} within the owner's {limit} limit", "journey.agent.act.sign": "Signed", "journey.agent.asked_seller": "Asked the seller", "journey.agent.checked": "Checked", "journey.agent.chose": "Chose for you", "journey.agent.chose.report": "Chose for the owner", "journey.agent.chose.item": "Chose {item} for you", "journey.agent.chose.item.report": "Chose {item} for the owner", "journey.agent.couldnt": "Couldn't ({reason})", "journey.agent.couldnt.who": "Couldn't ({who} {reason})", "journey.agent.options": "Showed you {count} options", "journey.agent.options.report": "Showed the owner {count} options", "journey.agent.paused": "Waited for your OK", "journey.agent.paused.report": "Waited for the owner's OK", "journey.agent.recommended": "Recommended", "journey.agent.searched": "Searched", "journey.agent.told": "Told {who} your {classes}", "journey.agent.told.report": "Told {who} the owner's {classes}", "journey.other.changed": "Seller changed", "journey.other.said": "Seller said", "journey.reason.blocked": "blocked", "journey.reason.cannot_ship_here": "can't ship here", "journey.reason.out_of_stock": "out of stock", "journey.reason.payment_declined": "payment declined", "journey.reason.sign_in_required": "sign-in", "journey.reason.site_error": "site error", "journey.user.approved.commit": "OK'd agreeing to {amount}", "journey.user.approved.offer": "OK'd offering {amount}", "journey.user.approved.other": "OK'd it", "journey.user.approved.pay": "OK'd paying {amount}", "journey.user.approved.share_contact": "OK'd sharing your {classes}", "journey.user.approved.share_contact.report": "OK'd sharing the owner's {classes}", "journey.user.asked": "Asked", "journey.user.called_off": "Called off", "journey.user.changed": "Changed what you asked", "journey.user.changed.report": "Changed what the owner asked", "journey.user.declined.commit": "Said no to agreeing to {amount}", "journey.user.declined.offer": "Said no to offering {amount}", "journey.user.declined.other": "Said no", "journey.user.declined.pay": "Said no to paying {amount}", "journey.user.declined.share_contact": "Said no to sharing your {classes}", "journey.user.declined.share_contact.report": "Said no to sharing the owner's {classes}", "journey.user.narrowed": "Narrowed", "journey.user.picked": "Picked", "journey.user.raised": "Raised", "journey.user.switched": "Switched to {who}", "journey.user.switched.item": "Switched to {item}", "deal.title": "Receipt report", "deal.depth.l1": "Terms: what each term stands at", "deal.state.started": "Started", "deal.state.awaiting_agreement": "Awaiting agreement", "deal.state.not_started": "Not started", "deal.report.scope": "A report that passes the check shows who signed it and which deal it covers. It does not show that each term's status is correct. It is the holder's own record of the deal.", "deal.settled": "Settled: every term has both sides saying the same, is uncontested, or is ruled with its remedy made, as the holder computed it.", "deal.start.by": "Started by: {by}.", "deal.start.by.offerer_in_time": "the offerer, in time", "deal.start.by.acceptor_named": "the acceptor, as named", "deal.start.by.first_act": "the first act", "deal.local": "Holder's time only: this result rests on a record with no time from a named witness, so when it happened is the holder's own word.", "deal.rows.not_started": "Nothing is agreed yet, so there are no terms to show.", "deal.rows.withheld": "The holder has not shared each term's status with this reader.", "deal.rows.none": "The agreement lists no terms.", "deal.rows.note": "Each status is the one the holder computed. This page shows it and does not compute it.", "deal.as_of": "As the holder computed it at {at}. This is not a time any witness attests.", "deal.no_time": "no time", "deal.date.not_set": "not set", "deal.section.rows": "Terms", "deal.section.basis": "The records each term's status rests on", "deal.section.rests": "What this report rests on", "deal.col.row": "Term", "deal.col.owed_by": "Owed by", "deal.col.status": "Status", "deal.col.due": "Due", "deal.col.window_end": "Contest window ends", "deal.col.detail": "Detail", "deal.col.record": "Record", "deal.col.side": "Side", "deal.col.time": "Time", "deal.basis.none": "No record is listed for any term.", "deal.status.not_reached": "Not reached", "deal.status.not_due": "Not due", "deal.status.no_statement": "No statement", "deal.status.waiting": "Waiting for the other side", "deal.status.uncontested": "Uncontested", "deal.status.agreed_so_far": "Both say the same so far", "deal.status.agreed": "Both say the same", "deal.status.in_disagreement": "Statements differ", "deal.status.in_dispute": "In dispute", "deal.status.ruled": "Ruled", "deal.value.met": "met", "deal.value.not_met": "not met", "deal.remedy.none": "none ordered", "deal.remedy.due": "due", "deal.remedy.made": "recorded as made", "deal.remedy.not_honoured": "not honoured", "deal.remedy.not_counted": "a payment, ordered by the ruling; not checked yet", "deal.row.remedy_made": "The owing side has recorded making it (not checked).", "deal.check.passed": "passed", "deal.check.failed": "failed", "deal.check.not_run": "not run", "deal.check.not_recomputed": "not recomputed", "deal.row.value": "Statement: {value}", "deal.row.remedy": "Remedy: {remedy}", "deal.row.ruling": "Ruling: {value}, against the {side}", "deal.row.check": "Payment check: {check}", "deal.pack_digest": "The terms pack the agreement cites, by digest:", "deal.rests.own": "The holder's own log held {size} records.", "deal.rests.counterparty": "The other side's log was counted to {counted} records.", "deal.rests.fork": "The other side's log forks at record {at}.", "deal.rests.layer": "The other side keeps its own record of this deal.", "deal.rests.no_layer": "The other side does not keep its own record of this deal.", "deal.rests.witnesses": "Witnesses the agreement names: {count}.", "deal.named_witness.yes": "yes", "deal.named_witness.no": "no", "deal.col.named_witness": "Time from a named witness", "deal.row.ruling.bare": "Ruling: {value}", "deal.side.buyer": "buyer", "deal.side.seller": "seller", "deal.section.legs": "Payment records the terms' statuses rest on", "deal.col.leg_side": "Side, as the report names it", "deal.col.leg": "Leg", "deal.col.leg_status": "Status as recorded", "deal.col.amount": "Amounts as recorded", "deal.col.observed": "Observed at (as recorded)", "deal.col.payment_ref": "Payment reference", "deal.legs.note": "Each line is a payment record a term relies on, shown as the record states it. This page does not check who signed each record, does not match the legs and does not judge the payment; the payment check above is the only verdict.", "deal.col.sealer": "Sealer, as recorded", "deal.legs.note.withheld": "This copy withholds the terms, so these payment records are not tied to a term. They are the records the report's holder says its terms rest on, shown as each states it. This page does not check who signed them and does not judge the payment.", "deal.legs.none.withheld": "This copy withholds the terms. Among the records the report's holder says they rest on, there is no payment record.", "deal.legs.none": "No payment record is among the records the terms' statuses rest on." }; // @generated WORDS
58
- var PACK = { "id": "capsuleviewer.receipt.wording.example-en/v0", "sha256": "ee490db51a3da3b94f66513a179a593f92b0e30a554dda40495c22bd66691626" }; // @generated PACK
57
+ var WORDS = { "page.title": "Deal report", "badge.demo": "DEMO", "banner.private.label": "PRIVATE", "banner.private.text": "This is your own copy of this deal report, with everything this page shows. Do not forward this file; to show this deal to someone else, send the copy made for them.", "banner.shared.label": "Shared copy", "banner.shared.text": "The report owner's own record of this deal, included in this report because their \"Receipts in the settlement report\" setting is on. It is not the counterparty's copy.", "banner.page.text": "This node's own record of this exchange, saved as a page for anyone to check. It is not the other side's copy.", "summary.standalone": "This report's text is carried in the file outside the log. capsulectl verify reported its signature check as: {status}. This page did not check the signature itself.", "summary.standalone.here": "This report's text is carried in the file outside the log. This page checked it itself: signed by the deal's last step, matching its Capsule, and made at this deal's checkpoint.", "depth.l1": "Why: what was asked, proposed, approved and done", "depth.l2": "Verify: the records, their places in the log and the checks", "l0.deal_type": "Deal", "l0.item": "Item", "l0.amount": "Amount", "l0.state": "Where it stands", "l0.state.missing": "not stated", "deal_type.purchase": "Purchase", "deal_type.sale": "Sale", "deal_type.booking": "Booking", "deal_type.subscription": "Subscription", "state.open": "Open", "state.cancelled": "Cancelled", "state.closed": "Closed", "shared.counterparty": "A shared copy for the other party. Left out of this copy: {kinds}.", "shared.adjudicator": "A shared copy for an adjudicator. Left out of this copy: {kinds}.", "rung.witness_verified": "Witness receipt checked: the verifier checked a witness receipt in this file. Which steps that receipt covers is not shown here; capsulectl verify reports it. It does not confirm what the agent did.", "rung.unwitnessed": "No outside time stamp: this copy carries no witness receipt.", "rung.witness_failed": "A witness receipt is in this file and did not verify.", "countersign.none": "Not countersigned in this copy. A signature from the other party, if there is one, is in their own copy.", "countersign.some": "Countersignatures, as the verifier reported them: {statuses}.", "section.authorized": "What you asked", "section.authorized.report": "What the owner asked", "section.proposed": "What the agent proposed, and how it was checked", "section.approved": "What you approved", "section.approved.report": "What the owner approved", "section.merchant": "The merchant's own evidence", "section.acted": "What the agent did", "section.lifecycle": "Where this deal stands", "section.statements.keep": "What your agent told the buyer", "section.statements.keep.report": "What the owner's agent told the buyer", "section.statements.counterparty": "What the seller's agent told you", "section.statements.counterparty.report": "What the seller's agent told the buyer", "section.statements.adjudicator": "What the seller's agent told the buyer", "section.told": "What your agent told whom", "section.told.report": "What the owner's agent told whom", "section.deadlines": "Cancel-by and due dates", "section.cancellation": "Your cancellation", "section.cancellation.report": "The owner's cancellation", "section.anomalies": "Problems spotted", "section.other": "Other steps", "section.claims": "What this does not claim", "section.records": "Every record in this receipt", "section.provenance": "Who sealed these records", "asked.opened": "✓ These are the exact words sealed when the deal opened.", "asked.committed": "Your words are sealed as a commitment, and their opening is not in this copy, so they are not checked here.", "asked.committed.report": "The owner's words are sealed as a commitment, and their opening is not in this copy, so they are not checked here.", "asked.mismatch": "⚠️ The words you asked could not be checked against the sealed record.", "asked.mismatch.report": "⚠️ The words the owner asked could not be checked against the sealed record.", "asked.withheld": "Withheld from this copy.", "asked.not_present": "The deal's opening step is not in this report.", "statement.opened": "✓ These are the exact words sealed when the agent said them; this page does not check that they are true.", "statement.mismatch": "⚠️ A statement here could not be checked against its sealed step.", "statement.committed": "A statement is sealed as a commitment; its opening is not in this copy.", "statement.withheld": "A statement's step is withheld from this copy.", "statement.not_present": "A statement's step is not in this report.", "class.condition": "Condition", "class.warranty": "Warranty", "class.refund_terms": "Refund terms", "class.delivery_promise": "Delivery promise", "class.other": "Other", "summary.sealed": "The text on this page was written by {producer} when the receipt was made and sealed as a record in this file; the verifier checked that record. It summarises the steps and is not the steps themselves.", "summary.lines": "The summary lines below, and each step's line, were written by {producer} and sealed with the receipt: they were checked as unchanged since, not that they are right. Under each item are the steps it was read from; each step's sealed record is checked.", "acted.nothing": "Nothing yet.", "merchant.none": "No merchant email is attached to this receipt.", "merchant.intro": "Two different things stand behind each email. The merchant's signature is checked against the merchant's published key, saved when the email was sealed; it shows what the merchant sent, and it does not depend on the agent. The receipt's seal shows these exact bytes were kept unchanged from that time on; it is the sealer's own record. Amounts, dates and order numbers below are read from the email by {producer} and may be misread.", "merchant.order": "Order {order}", "merchant.email": "Merchant email", "merchant.signature": "Merchant's signature: {text}", "merchant.seal": "Our seal: {text}", "merchant.key_supplied": "The merchant's key was supplied by hand, not read from the merchant's DNS.", "merchant.approved": "You approved", "merchant.approved.report": "The owner approved", "merchant.approved_basis": "You approved ({basis})", "merchant.approved_basis.report": "The owner approved ({basis})", "merchant.agent_reported": "The agent reported paying", "merchant.charged": "The merchant's email says (read from the email)", "merchant.charged_on": "Charged on (the email's date)", "merchant.cancel_by": "Cancel by (read from the email)", "merchant.items": "Items (read from the email)", "merchant.domains": "Signing domain", "merchant.key_size": "Merchant's key (sealed when the email was sealed)", "lifecycle.later": "{at} · confirms the close: {text}", "lifecycle.as_of": "{text} (as of {at})", "told.none": "Nothing about you was recorded as shared.", "told.none.report": "Nothing about the owner was recorded as shared.", "told.note": "Only what the agent sealed as shared is listed here; something it told without sealing it is not.", "cancellation.shows": "What this shows", "cancellation.not_shows": "What this does not show", "anomalies.agent": "Agent side", "anomalies.counterparty": "Counterparty side", "anomalies.none": "None reported.", "claims.tamper": "It is tamper-evident: it shows these records were not changed after they were sealed, not who made them.", "claims.reported": "It records what the agent reported. It does not show that what was reported was true.", "claims.merchant": "It does not prove the merchant shipped, delivered or refunded anything.", "claims.scope": "The verification below covers every step's sealed record and its place in this deal's log. The records carry fingerprints, not names or numbers; the words shown come from the device that sealed them. The seal key is on the agent's machine, so this shows the record was not changed after it was made, not who made it. It covers this skill's own records only, never the agent host's own store.", "claims.withheld": "Steps marked WITHHELD are proven present and unchanged, at their place in the log; what they say is not in this copy.", "step.position": "Step {n} · {at}", "step.unnumbered": "A step this receipt cites", "step.line": "The receipt's line: {text}", "verify.tested": "Checked by {verifier}: {checks}. This page shows its answer; it did not re-check anything itself.", "verify.tested_here": "Checked in this browser by {verifier}: {checks}.", "verify.check_one": "{name} ({outcome})", "verify.checks_all": "{checks} (all {outcome})", "verify.self_reported": "Reported by {verifier}: {checks}. This view shows that report; it did not re-check anything itself.", "verify.reported": "Checked by {verifier}. This page shows its answer; it did not re-check anything itself.", "money.test": "Test money: this deal's payment was on a simulated rail. No real money moved.", "record.short": "{head}…{tail}", "value.action.pay": "Pay", "value.action.commit": "Commit to the deal", "value.action.offer": "Make an offer", "value.action.share_contact": "Share contact details", "value.action_class.money.purchase": "Spend money on a purchase", "value.action_class.agreement.accept": "Accept an agreement", "value.action_class.marketplace.offer": "Make an offer in a marketplace", "value.action_class.disclosure.personal": "Share personal details", "value.action_class.external_commitment.other": "Another kind of commitment to an outside party", "value.result.pass": "Passed", "value.result.pause": "Paused to ask first", "value.disposition.do": "Go ahead", "value.disposition.ask": "Ask first", "value.approver.user": "The person, directly", "value.approver.human": "Another person", "value.approver.standing_intent": "The person's standing instructions to the agent", "value.approver.policy": "A policy", "value.choice.proceed": "Go ahead", "value.direction.out": "Money going out", "value.direction.in": "Money coming in", "value.rail.card": "Card", "value.rail.lightning": "Lightning", "value.rail.simulated": "Simulated (test money)", "value.judge.rules": "Rules", "value.rules.not_configured": "No rules checker was set for this check", "value.rules.evaluated": "Checked by the rules", "value.rules.not_evaluated": "The rules could not be checked", "value.rules.not_applicable": "No rules apply to this step", "value.result.deny": "Refused by the rules", "value.approver.agent_card": "The agent's card", "step.log": "seq {seq} · leaf {leaf} · {log}", "step.no_log": "no place in a log was supplied", "step.record": "Record", "step.type": "Recorded as", "step.key": "Signing key", "steps.summary": "The steps this was read from", "records.step": "Step", "records.kind": "Recorded as", "records.disclosure": "Disclosure", "records.log": "Place in the log", "records.id": "Record", "records.report": "the sealed report", "records.unknown": "not in this copy", "provenance.by": "Produced by {producers}.", "provenance.then": ", then ", "provenance.unrecorded": "a producer that did not record its version", "provenance.the_producer": "the producer", "wording.provenance": "This page's words: wording pack {id}, sha256 {sha}.", "fact.deal_type": "Deal type", "fact.allowed": "Allowed", "fact.item": "Item", "fact.quantity": "Quantity", "fact.price": "Price", "fact.expect_close_by": "Expected to close by", "fact.asked.item": "You asked for (item)", "fact.asked.item.report": "The owner asked for (item)", "fact.asked.quantity": "You asked for (quantity)", "fact.asked.quantity.report": "The owner asked for (quantity)", "fact.action": "Action", "fact.action_class": "Action class", "fact.amount": "Amount", "fact.authorized_max": "Most you allowed", "fact.authorized_max.report": "Most the owner allowed", "fact.material_fields_changed": "Material details changed", "fact.offer_fields_changed": "Offer details changed", "fact.result": "Check result", "fact.differences": "Differences found", "fact.judge": "Checked by", "fact.rules": "Rules", "fact.notes": "Notes", "fact.approver": "Approved by", "fact.choice": "Choice", "fact.direction": "Direction", "fact.rail": "Paid by", "fact.class": "Statement class", "fact.source_kind": "Said by", "rung.unreported": "No witness result was reported to this page.", "l2.bundle_digest": "The verifier's report is for the bundle with digest", "fact.disposition": "Disposition", "bilateral.title": "Deal report: both parties' copies", "bilateral.title.one_sided": "Deal report: one party's copy", "deal.agree": "Both copies name one deal: {deal}.", "deal.one": "This copy is for deal {deal}.", "deal.mismatch": "The copies name different deals ({deals}). They are not shown as one deal, and neither is picked.", "deal.unnamed": "A copy names no deal, so the copies are not shown as one deal.", "party.heading": "{role} copy ({member})", "party.role_undeclared": "Undeclared", "parts.own": "Each copy is shown from its own records. What one copy leaves out is never filled in from the other.", "joins.heading": "How the two copies line up", "joins.none": "The composition declares no join between the copies.", "sides.case.both": "Stamped by both sides: both records are here, and the verifier found they agree.", "sides.case.one_sided": "Your receipt only: the other side's record is missing.", "sides.case.one_sided.shared": "One side's record only: the other side's record is missing.", "sides.case.limit": "Your receipt only: the other side's record is not shared. That is the limit they set on what they share, and it says nothing against the deal.", "sides.case.limit.shared": "One side's record only: the other side's record is not shared. That is the limit they set on what they share, and it says nothing against the deal.", "sides.case.not_agreed": "Not stamped by both: the two records do not show one agreement.", "sides.ours": "Your side · in your book", "sides.ours.shared": "The report owner's side · in their book", "sides.ours.page": "This node's side · in its book", "sides.theirs": "Their side · as received", "sides.half": "{role}'s side · as received", "sides.missing.heading": "Their side", "sides.missing.none": "No record. Nothing from their side is in this receipt.", "sides.missing.absence": "No record. Their side was asked on {start} and had not answered by {end}. The ask is on record.", "sides.missing.refusal.policy_declined": "Not shared. Their side was asked for its record, and on {date} signed a reply that its sharing policy does not allow it. This is a limit on what they share. They have not refused the deal.", "row.both": "stamped by both", "row.one_sided": "your receipt only", "row.one_sided.page": "this node's receipt only", "row.none": "no record", "row.cannot_check": "this browser can't check the receipt", "row.did_not_verify": "the receipt did not verify: do not rely on it", "row.cannot_check_pointer": "Open the bundle in the offline viewer (capsule-viewer) to check it; this page shows no verdict for it.", "row.cannot_check.report_rule": "This page can't check this receipt, so it shows nothing from it and no verdict.", "row.cannot_check.report_rule_pointer": "To check it, run `capsulectl deal verify --bundle <file>` on the receipt file. It needs the capsulectl-deal plugin.", "row.cannot_check.report_rule.row": "can't be checked here", "row.page.receipt": "Receipt: {label}", "row.page.records_tied": "{tied} of {total} records in the receipt are tied to a signed checkpoint.", "actions.heading": "Tell your agent:", "actions.dispute": "“Dispute this”", "actions.send": "“Send me this receipt”", "actions.show_theirs": "“Show me the other side's receipt”", "actions.ask_again": "“Ask their side again”", "actions.ask": "“Ask their side for their receipt”", "join.line": "{basis}: declared {declared}; the verifier derived {derived}.", "join.basis.pre_agreed_identifier": "Pre-agreed identifier", "join.basis.shared_artifact_digest": "Shared artifact digest", "join.basis.issued_receipt": "Issued receipt", "join.basis.same_interval": "Same interval", "join.state.agree": "agree", "join.state.mismatch": "mismatch", "join.state.unjoined": "unjoined", "join.state.one_sided": "one-sided", "join.state.not_derivable": "not derivable", "join.result.join_state_mismatch": "What was declared is not what the verifier derived.", "corroboration.corroborating": "They agree, and their declared custody differs: corroborating, on declared custody only.", "corroboration.redundant": "They agree, but redundantly, not corroborating ({reasons}).", "l2.composition": "How the copies were put together, as the verifier checked it", "seller.title": "Sale receipt", "seller.depth.l1": "Why: what was authorised, said, offered, accepted and handed over", "seller.l0.item": "Sold", "seller.l0.amount": "Amount agreed", "seller.l0.payment": "Payment", "seller.l0.handover": "Handed over", "seller.payment.not_recorded": "Not recorded in this copy", "seller.handover.seller_observed": "By the seller's own record (not confirmed by the buyer or a carrier)", "seller.handover.none": "Not recorded", "seller.outcome.completed": "Closed: matches what was agreed", "seller.outcome.mismatch": "Closed: differs from what was agreed", "seller.outcome.not_selected": "Closed: not selected", "seller.outcome.open": "Open", "seller.fact.allowed_actions": "The agent may", "seller.fact.outcome_id": "Kind of deal", "seller.floor.committed": "The lowest price is sealed as a commitment. Its opening is in this copy; this page does not open it.", "seller.floor.withheld": "The lowest price is not in this copy.", "seller.floor.not_present": "No lowest price is sealed in this copy.", "seller.section.authorised.keep": "What you authorised", "seller.section.authorised.keep.report": "What the owner authorised", "seller.section.authorised.counterparty": "What the seller authorised their agent to do", "seller.section.authorised.adjudicator": "What the seller authorised their agent to do", "seller.section.represented.keep": "What your agent told this buyer", "seller.section.represented.keep.report": "What the owner's agent told this buyer", "seller.section.represented.counterparty": "What the seller's agent told you", "seller.section.represented.counterparty.report": "What the seller's agent told the buyer", "seller.section.represented.adjudicator": "What the seller's agent told the buyer", "seller.represented.none": "No statement to the buyer is recorded in this copy.", "seller.section.offers": "Offers, and which replaced which", "seller.offers.none": "No offer is disclosed in this copy.", "seller.offers.action": "Proposed", "seller.offers.amount": "Amount", "seller.offers.status": "Status", "seller.offers.note": "A later offer that names an earlier one replaces it; the earlier one can no longer be accepted.", "seller.offer.accepted": "accepted by the buyer", "seller.offer.superseded": "replaced by a later offer", "seller.offer.open": "not replaced", "seller.action.offer": "Offer", "seller.action.commit": "Commit", "seller.section.accepted.keep": "What the buyer accepted", "seller.section.accepted.counterparty": "What you accepted", "seller.section.accepted.counterparty.report": "What the buyer accepted", "seller.section.accepted.adjudicator": "What the buyer accepted", "seller.accepted.none": "No acceptance is recorded in this copy.", "seller.accepted.offer": "The acceptance names the offer at step", "seller.accepted.offer_not_here": "The acceptance names an offer that is not disclosed in this copy.", "seller.accepted.digest": "Digest of the exact offer accepted:", "seller.accepted.words": "The seller's agent recorded this acceptance as an observation. The buyer's words are sealed as a commitment and are not shown here.", "seller.section.payment": "Payment", "seller.payment.none": "This copy carries no payment record. Evidence the seller's agent recorded is listed with its source; this page does not read what it is about.", "seller.evidence.source": "Evidence from", "seller.evidence.verified": "marked verified", "seller.evidence.unverified": "not verified", "seller.evidence.withheld": "An evidence step is withheld from this copy.", "seller.section.handover": "Handover, and who says so", "seller.provenance.seller_observed": "The seller's own record:", "seller.provenance.seller_observed.recorded": "recorded (a claim by the seller)", "seller.provenance.seller_observed.withheld": "withheld from this copy", "seller.provenance.seller_observed.not_present": "not recorded", "seller.provenance.carrier": "A carrier's confirmation:", "seller.provenance.carrier.not_present": "none in this copy", "seller.provenance.buyer_confirmed": "The buyer's confirmation:", "seller.provenance.buyer_confirmed.not_present": "none in this copy (only the buyer's own records can carry it)", "seller.delivered.item": "Handed over (item)", "seller.delivered.quantity": "Handed over (quantity)", "seller.delivered.price": "At the price", "seller.handover.note": "A handover recorded by the seller alone shows what the seller says was handed over, not that the buyer received it.", "seller.address.committed": "An address was given. Its record carries the field's class and a commitment to the value, not the value.", "seller.address.withheld": "The address given is not in this copy.", "seller.address.not_present": "No address is recorded as given in this copy.", "seller.section.given.keep": "What your agent gave this buyer", "seller.section.given.keep.report": "What the owner's agent gave this buyer", "seller.section.given.counterparty": "What the seller's agent gave you", "seller.section.given.counterparty.report": "What the seller's agent gave the buyer", "seller.section.given.adjudicator": "What the seller's agent gave the buyer", "seller.section.obligations": "Open obligations", "seller.obligations.none": "No open obligation is recorded in this copy.", "seller.not_selected": "The seller closed this thread without a sale to this buyer. Nothing was committed or handed over in it.", "seller.threads": "This copy covers one buyer's thread. Other buyers' threads of the same sale are not in it.", "seller.claims.handover": "It does not show that the buyer received anything: a handover recorded by the seller is the seller's claim.", "seller.section.chain": "Offers and what they replaced", "seller.chain.digest": "Record digest", "seller.chain.supersedes": "Replaces step", "seller.chain.superseded_by": "Replaced by step", "seller.section.commitments": "Commitments the disclosed records seal", "seller.commitment.field": "Field", "seller.commitment.value": "Commitment", "seller.commitment.state": "Opening", "seller.commitment.opened": "opened on this page", "seller.commitment.sealed": "not opened on this page", "seller.section.legs": "Settlement legs", "seller.leg.name": "Leg", "seller.leg.state": "In this copy", "seller.leg.agreement": "Agreement", "seller.leg.payment": "Payment", "seller.leg.handover": "Handover", "seller.leg.recorded": "recorded", "seller.leg.none": "not recorded", "seller.section.keys": "Signing keys", "seller.asked.opened": "✓ These are the seller's exact words, sealed when the sale opened.", "seller.asked.committed": "The seller's words are sealed as a commitment, and their opening is not in this copy, so they are not checked here.", "seller.asked.mismatch": "⚠️ The seller's words could not be checked against the sealed record.", "seller.asked.withheld": "The seller's words are withheld from this copy.", "seller.asked.not_present": "The sale's opening step is not in this copy.", "seller.fact.asked.item": "To sell (item)", "seller.fact.asked.quantity": "To sell (quantity)", "seller.fact.item": "Item", "seller.fact.price": "Asking price", "seller.shared.counterparty": "A shared copy for the buyer. What it leaves out is listed under Why.", "seller.shared.adjudicator": "A shared copy for an adjudicator. What it leaves out is listed under Why.", "seller.section.left_out": "What this copy leaves out", "class.address": "address", "class.credential": "login", "class.email": "email", "class.home_address": "home address", "class.id_document": "ID document", "class.name": "name", "class.other_contact": "contact details", "class.payment_card": "payment card", "class.phone": "phone", "class.pickup_area": "pickup area", "class.pickup_location": "pickup location", "class.verification_code": "verification code", "section.journey": "How it went", "journey_by.user": "You", "journey_by.user.report": "Owner", "journey_by.agent": "Your agent", "journey_by.agent.report": "Owner's agent", "journey_by.other": "The other side", "journey_by.unknown": "Someone", "journey_note": "Who moved, and each row's names, items and amounts, come from the report sealed in this file; open a row to see the step it came from. The rest of the wording comes from this page and is not sealed.", "journey.agent.act.cancel": "Cancelled", "journey.agent.act.commit": "Booked", "journey.agent.act.offer": "Made an offer", "journey.agent.act.other": "Done", "journey.agent.act.pay": "Paid {amount}", "journey.agent.act.pay.no_amount": "Paid", "journey.agent.act.pay.within": "Paid {amount} within your {limit} limit", "journey.agent.act.pay.within.report": "Paid {amount} within the owner's {limit} limit", "journey.agent.act.sign": "Signed", "journey.agent.asked_seller": "Asked the seller", "journey.agent.checked": "Checked", "journey.agent.chose": "Chose for you", "journey.agent.chose.report": "Chose for the owner", "journey.agent.chose.item": "Chose {item} for you", "journey.agent.chose.item.report": "Chose {item} for the owner", "journey.agent.couldnt": "Couldn't ({reason})", "journey.agent.couldnt.who": "Couldn't ({who} {reason})", "journey.agent.options": "Showed you {count} options", "journey.agent.options.report": "Showed the owner {count} options", "journey.agent.paused": "Waited for your OK", "journey.agent.paused.report": "Waited for the owner's OK", "journey.agent.recommended": "Recommended", "journey.agent.searched": "Searched", "journey.agent.told": "Told {who} your {classes}", "journey.agent.told.report": "Told {who} the owner's {classes}", "journey.other.changed": "Seller changed", "journey.other.said": "Seller said", "journey.reason.blocked": "blocked", "journey.reason.cannot_ship_here": "can't ship here", "journey.reason.out_of_stock": "out of stock", "journey.reason.payment_declined": "payment declined", "journey.reason.sign_in_required": "sign-in", "journey.reason.site_error": "site error", "journey.user.approved.commit": "OK'd agreeing to {amount}", "journey.user.approved.offer": "OK'd offering {amount}", "journey.user.approved.other": "OK'd it", "journey.user.approved.pay": "OK'd paying {amount}", "journey.user.approved.share_contact": "OK'd sharing your {classes}", "journey.user.approved.share_contact.report": "OK'd sharing the owner's {classes}", "journey.user.asked": "Asked", "journey.user.called_off": "Called off", "journey.user.changed": "Changed what you asked", "journey.user.changed.report": "Changed what the owner asked", "journey.user.declined.commit": "Said no to agreeing to {amount}", "journey.user.declined.offer": "Said no to offering {amount}", "journey.user.declined.other": "Said no", "journey.user.declined.pay": "Said no to paying {amount}", "journey.user.declined.share_contact": "Said no to sharing your {classes}", "journey.user.declined.share_contact.report": "Said no to sharing the owner's {classes}", "journey.user.narrowed": "Narrowed", "journey.user.picked": "Picked", "journey.user.raised": "Raised", "journey.user.switched": "Switched to {who}", "journey.user.switched.item": "Switched to {item}", "deal.title": "Receipt report", "deal.depth.l1": "Terms: what each term stands at", "deal.state.started": "Started", "deal.state.awaiting_agreement": "Awaiting agreement", "deal.state.not_started": "Not started", "deal.report.scope": "A report that passes the check shows who signed it and which deal it covers. It does not show that each term's status is correct. It is the holder's own record of the deal.", "deal.settled": "Settled: every term has both sides saying the same, is uncontested, or is ruled with its remedy made, as the holder computed it.", "deal.start.by": "Started by: {by}.", "deal.start.by.offerer_in_time": "the offerer, in time", "deal.start.by.acceptor_named": "the acceptor, as named", "deal.start.by.first_act": "the first act", "deal.local": "Holder's time only: this result rests on a record with no time from a named witness, so when it happened is the holder's own word.", "deal.rows.not_started": "Nothing is agreed yet, so there are no terms to show.", "deal.rows.withheld": "The holder has not shared each term's status with this reader.", "deal.rows.none": "The agreement lists no terms.", "deal.rows.note": "Each status is the one the holder computed. This page shows it and does not compute it.", "deal.as_of": "As the holder computed it at {at}. This is not a time any witness attests.", "deal.no_time": "no time", "deal.date.not_set": "not set", "deal.section.rows": "Terms", "deal.section.basis": "The records each term's status rests on", "deal.section.rests": "What this report rests on", "deal.col.row": "Term", "deal.col.owed_by": "Owed by", "deal.col.status": "Status", "deal.col.due": "Due", "deal.col.window_end": "Contest window ends", "deal.col.detail": "Detail", "deal.col.record": "Record", "deal.col.side": "Side", "deal.col.time": "Time", "deal.basis.none": "No record is listed for any term.", "deal.status.not_reached": "Not reached", "deal.status.not_due": "Not due", "deal.status.no_statement": "No statement", "deal.status.waiting": "Waiting for the other side", "deal.status.uncontested": "Uncontested", "deal.status.agreed_so_far": "Both say the same so far", "deal.status.agreed": "Both say the same", "deal.status.in_disagreement": "Statements differ", "deal.status.in_dispute": "In dispute", "deal.status.ruled": "Ruled", "deal.value.met": "met", "deal.value.not_met": "not met", "deal.remedy.none": "none ordered", "deal.remedy.due": "due", "deal.remedy.made": "recorded as made", "deal.remedy.not_honoured": "not honoured", "deal.remedy.not_counted": "a payment, ordered by the ruling; not checked yet", "deal.row.remedy_made": "The owing side has recorded making it (not checked).", "deal.check.passed": "passed", "deal.check.failed": "failed", "deal.check.not_run": "not run", "deal.check.not_recomputed": "not recomputed", "deal.row.value": "Statement: {value}", "deal.row.remedy": "Remedy: {remedy}", "deal.row.ruling": "Ruling: {value}, against the {side}", "deal.row.check": "Payment check: {check}", "deal.pack_digest": "The terms pack the agreement cites, by digest:", "deal.rests.own": "The holder's own log held {size} records.", "deal.rests.counterparty": "The other side's log was counted to {counted} records.", "deal.rests.fork": "The other side's log forks at record {at}.", "deal.rests.layer": "The other side keeps its own record of this deal.", "deal.rests.no_layer": "The other side does not keep its own record of this deal.", "deal.rests.witnesses": "Witnesses the agreement names: {count}.", "deal.named_witness.yes": "yes", "deal.named_witness.no": "no", "deal.col.named_witness": "Time from a named witness", "deal.row.ruling.bare": "Ruling: {value}", "deal.side.buyer": "buyer", "deal.side.seller": "seller", "deal.section.legs": "Payment records the terms' statuses rest on", "deal.col.leg_side": "Side, as the report names it", "deal.col.leg": "Leg", "deal.col.leg_status": "Status as recorded", "deal.col.amount": "Amounts as recorded", "deal.col.observed": "Observed at (as recorded)", "deal.col.payment_ref": "Payment reference", "deal.legs.note": "Each line is a payment record a term relies on, shown as the record states it. This page does not check who signed each record, does not match the legs and does not judge the payment; the payment check above is the only verdict.", "deal.col.sealer": "Sealer, as recorded", "deal.legs.note.withheld": "This copy withholds the terms, so these payment records are not tied to a term. They are the records the report's holder says its terms rest on, shown as each states it. This page does not check who signed them and does not judge the payment.", "deal.legs.none.withheld": "This copy withholds the terms. Among the records the report's holder says they rest on, there is no payment record.", "deal.legs.none": "No payment record is among the records the terms' statuses rest on." }; // @generated WORDS
58
+ var PACK = { "id": "capsuleviewer.receipt.wording.example-en/v0", "sha256": "4a00c0a5970d696a1335adf1d2948c994b35a12fda3da1b288538962bb8e7a5a" }; // @generated PACK
59
59
  var KIT_CSS = "/* SPDX-License-Identifier: Apache-2.0 */\n/*\n * kit.css -- the presentation component kit's stylesheet.\n *\n * The token block below is generated from capsule_viewer/kit/tokens.py\n * (python -m capsule_viewer.kit tokens --write); tests/test_kit_tokens.py\n * fails if the two disagree. Every colour in the component rules is a\n * var(--cv-*) reference -- the same test refuses a literal colour outside the\n * generated block.\n *\n * Phone behaviour lives here, in the primitives: each responsive component is\n * its own size container and reflows on ITS width (@container), so a module\n * that places a MetricGrid or DataTable in a narrow column gets the phone\n * layout without writing a media query. Nothing in the kit scrolls the page\n * sideways: long tokens (digests, ids) wrap anywhere.\n */\n/* BEGIN GENERATED TOKENS (capsule_viewer.kit.tokens) -- do not edit by hand */\n:root {\n --cv-font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;\n --cv-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;\n --cv-font-size-sm: 0.8125rem;\n --cv-font-size-md: 0.9375rem;\n --cv-font-size-lg: 1.125rem;\n --cv-line-height: 1.5;\n --cv-space-1: 0.25rem;\n --cv-space-2: 0.5rem;\n --cv-space-3: 0.75rem;\n --cv-space-4: 1rem;\n --cv-space-5: 1.5rem;\n --cv-radius: 0.5rem;\n --cv-radius-pill: 999px;\n --cv-color-text: #1b1f27;\n --cv-color-text-muted: #4d5564;\n --cv-color-surface: #ffffff;\n --cv-color-surface-sunken: #f4f5f7;\n --cv-color-border: #d3d7de;\n --cv-color-accent: #2445a8;\n --cv-color-positive-fg: #17603a;\n --cv-color-positive-bg: #e6f3eb;\n --cv-color-negative-fg: #a31d1d;\n --cv-color-negative-bg: #fbe9e9;\n --cv-color-caution-fg: #6f4700;\n --cv-color-caution-bg: #fcf1dc;\n --cv-color-neutral-fg: #3d4452;\n --cv-color-neutral-bg: #eceef2;\n --cv-color-info-fg: #1f3c94;\n --cv-color-info-bg: #e7ecfb;\n}\n/* END GENERATED TOKENS */\n\n.cv-kit { font-family: var(--cv-font-sans); font-size: var(--cv-font-size-md); line-height: var(--cv-line-height); color: var(--cv-color-text); background: var(--cv-color-surface); overflow-wrap: anywhere; }\nbody.cv-kit { margin: 0; }\n.cv-page { max-width: 60rem; margin: 0 auto; padding: var(--cv-space-5) var(--cv-space-4); }\n.cv-kit *, .cv-kit *::before, .cv-kit *::after { box-sizing: border-box; }\n.cv-kit :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure) { margin: 0; padding: 0; }\n.cv-kit :where(ul, ol) { list-style: none; }\n.cv-mono { font-family: var(--cv-font-mono); font-size: var(--cv-font-size-sm); }\n.cv-muted { color: var(--cv-color-text-muted); }\n\n/* Section */\n.cv-section { margin: 0 0 var(--cv-space-5); }\n.cv-section__title { font-size: var(--cv-font-size-lg); font-weight: 600; margin-bottom: var(--cv-space-3); }\n.cv-section__body { display: flex; flex-direction: column; gap: var(--cv-space-3); min-width: 0; }\n\n/* MetricGrid: as many columns as fit, never narrower than the label needs; one column on a phone. */\n.cv-metrics-wrap { container-type: inline-size; }\n.cv-metrics { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 10rem), 1fr)); gap: var(--cv-space-3); }\n.cv-metric { min-width: 0; border: 1px solid var(--cv-color-border); border-radius: var(--cv-radius); padding: var(--cv-space-3); background: var(--cv-color-surface-sunken); }\n.cv-metric__label { font-size: var(--cv-font-size-sm); color: var(--cv-color-text-muted); }\n.cv-metric__value { font-size: var(--cv-font-size-lg); font-weight: 600; }\n.cv-metric__note { font-size: var(--cv-font-size-sm); color: var(--cv-color-text-muted); }\n@container (max-width: 24rem) { .cv-metrics { grid-template-columns: 1fr; } }\n\n/* DataTable: a real table when there is room; stacked label/value rows when there is not. */\n.cv-table-wrap { container-type: inline-size; }\n.cv-table { width: 100%; border-collapse: collapse; font-size: var(--cv-font-size-sm); }\n.cv-table caption { text-align: left; font-weight: 600; padding-bottom: var(--cv-space-2); }\n.cv-table th, .cv-table td { text-align: left; vertical-align: top; padding: var(--cv-space-2); border-bottom: 1px solid var(--cv-color-border); min-width: 0; }\n.cv-table th { color: var(--cv-color-text-muted); font-weight: 600; background: var(--cv-color-surface-sunken); }\n/* A column header is one short word: never broken mid-word to squeeze a wide table (\"Ste\" over \"p\"). */\n.cv-table th { overflow-wrap: normal; }\n@container (max-width: 40rem) {\n .cv-table, .cv-table tbody, .cv-table tr, .cv-table td { display: block; width: 100%; }\n .cv-table caption { display: block; }\n .cv-table thead { display: none; }\n .cv-table tr { border: 1px solid var(--cv-color-border); border-radius: var(--cv-radius); margin-bottom: var(--cv-space-2); }\n .cv-table td { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--cv-space-2); }\n .cv-table td::before { content: attr(data-label); color: var(--cv-color-text-muted); font-weight: 600; }\n .cv-table tr > td:last-child { border-bottom: 0; }\n}\n\n/* CalendarGrid: always seven columns; the cells shrink, the text wraps. */\n.cv-calendar { font-size: var(--cv-font-size-sm); }\n.cv-calendar__title { font-weight: 600; margin-bottom: var(--cv-space-2); }\n.cv-calendar__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }\n.cv-calendar__dow { text-align: center; color: var(--cv-color-text-muted); font-weight: 600; padding: var(--cv-space-1) 0; }\n.cv-calendar__day { min-width: 0; min-height: 3rem; border: 1px solid var(--cv-color-border); border-radius: 4px; padding: 2px var(--cv-space-1); background: var(--cv-color-surface); }\n.cv-calendar__day--blank { border-color: transparent; background: transparent; }\n.cv-calendar__num { font-weight: 600; }\n.cv-calendar__mark { display: block; font-size: 0.6875rem; line-height: 1.25; border-radius: 3px; padding: 0 2px; }\n\n/* Tones shared by badges, pills, calendar marks and verification outcomes. */\n.cv-tone--positive { color: var(--cv-color-positive-fg); background: var(--cv-color-positive-bg); }\n.cv-tone--negative { color: var(--cv-color-negative-fg); background: var(--cv-color-negative-bg); }\n.cv-tone--caution { color: var(--cv-color-caution-fg); background: var(--cv-color-caution-bg); }\n.cv-tone--neutral { color: var(--cv-color-neutral-fg); background: var(--cv-color-neutral-bg); }\n.cv-tone--info { color: var(--cv-color-info-fg); background: var(--cv-color-info-bg); }\n\n/* Receipt sides: ours blue, theirs amber (always \"as received\"), a missing side grey and dashed. No side is ever the negative tone: one side missing is not a finding. */\n.cv-sides { display: flex; flex-direction: column; gap: var(--cv-space-2); margin: 0 0 var(--cv-space-3); }\n.cv-sides__case { padding: var(--cv-space-1) var(--cv-space-3); border-radius: var(--cv-radius); font-weight: 600; font-size: var(--cv-font-size-sm); }\n.cv-half { min-width: 0; border-radius: var(--cv-radius); padding: var(--cv-space-1) var(--cv-space-3) var(--cv-space-2); border: 1px solid var(--cv-color-border); }\n.cv-half > .cv-section { margin-bottom: 0; }\n.cv-half__label { font-size: var(--cv-font-size-sm); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--cv-color-text-muted); margin-bottom: var(--cv-space-1); }\n.cv-half--ours { background: var(--cv-color-info-bg); border-color: var(--cv-color-info-fg); }\n.cv-half--theirs { background: var(--cv-color-caution-bg); border-color: var(--cv-color-caution-fg); }\n.cv-half--missing { background: var(--cv-color-neutral-bg); border: 1px dashed var(--cv-color-neutral-fg); }\n.cv-actions { display: flex; flex-wrap: wrap; column-gap: var(--cv-space-3); font-size: var(--cv-font-size-sm); font-weight: 600; color: var(--cv-color-info-fg); }\n.cv-actions__heading { font-weight: 400; color: var(--cv-color-text-muted); }\n\n/* DisclosureBadge and VerdictPill. The pill is scoped to the kit wrapper: the page shell's verification banner is a .cv-pill outside it, and a module's stylesheet must not restyle the banner (the frame check refuses the module). */\n.cv-badge, .cv-kit .cv-pill { display: inline-block; max-width: 100%; font-size: var(--cv-font-size-sm); font-weight: 600; border-radius: var(--cv-radius-pill); padding: 0 var(--cv-space-2); border: 1px solid currentColor; }\n.cv-badge { letter-spacing: 0.02em; }\n/* A state label breaks between words, never inside one. */\n.cv-badge, .cv-kit .cv-pill { overflow-wrap: normal; }\n.cv-refusal { color: var(--cv-color-negative-fg); background: var(--cv-color-negative-bg); border: 1px dashed currentColor; }\n\n/* CitationList */\n.cv-citations { display: flex; flex-direction: column; gap: var(--cv-space-2); counter-reset: cv-cite; }\n.cv-citation { counter-increment: cv-cite; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--cv-space-2); }\n.cv-citation::before { content: \"[\" counter(cv-cite) \"]\"; color: var(--cv-color-text-muted); }\n.cv-citation__ref { display: block; color: var(--cv-color-text-muted); }\n\n/* Drilldown: native details/summary -- opens with no script; prints open. */\n.cv-drilldown { border: 1px solid var(--cv-color-border); border-radius: var(--cv-radius); background: var(--cv-color-surface); }\n.cv-drilldown > summary { cursor: pointer; padding: var(--cv-space-2) var(--cv-space-3); font-weight: 600; color: var(--cv-color-accent); }\n.cv-drilldown__body { padding: 0 var(--cv-space-3) var(--cv-space-3); display: flex; flex-direction: column; gap: var(--cv-space-2); min-width: 0; }\n\n/* EvidenceDetails */\n.cv-evidence { display: flex; flex-direction: column; gap: var(--cv-space-2); }\n.cv-evidence__item { border-left: 3px solid var(--cv-color-border); padding-left: var(--cv-space-3); display: flex; flex-direction: column; gap: var(--cv-space-1); }\n.cv-evidence__head { display: flex; flex-wrap: wrap; gap: var(--cv-space-2); align-items: baseline; }\n.cv-evidence__label { font-weight: 600; }\n\n/* VerificationDetails */\n.cv-verification { display: flex; flex-direction: column; gap: var(--cv-space-2); }\n.cv-verification__outcome { border-radius: var(--cv-radius); padding: var(--cv-space-2) var(--cv-space-3); font-weight: 600; }\n.cv-checks { display: flex; flex-direction: column; gap: var(--cv-space-1); }\n.cv-check { display: flex; flex-wrap: wrap; gap: var(--cv-space-2); align-items: baseline; }\n\n/* PartyCard */\n.cv-party { border: 1px solid var(--cv-color-border); border-radius: var(--cv-radius); padding: var(--cv-space-3); background: var(--cv-color-surface-sunken); }\n.cv-party__role { font-size: var(--cv-font-size-sm); color: var(--cv-color-text-muted); text-transform: uppercase; letter-spacing: 0.04em; }\n.cv-party__name { font-weight: 600; }\n.cv-party__facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: var(--cv-space-1) var(--cv-space-3); margin-top: var(--cv-space-2); font-size: var(--cv-font-size-sm); }\n.cv-party__facts dt { color: var(--cv-color-text-muted); }\n.cv-party-wrap { container-type: inline-size; }\n@container (max-width: 20rem) { .cv-party__facts { grid-template-columns: minmax(0, 1fr); } }\n\n/* Timeline: entries in the order given. */\n.cv-timeline { border-left: 2px solid var(--cv-color-border); padding-left: var(--cv-space-3); display: flex; flex-direction: column; gap: var(--cv-space-3); }\n.cv-timeline__at { display: block; color: var(--cv-color-text-muted); }\n.cv-timeline__label { font-weight: 600; }\n\n@media print {\n .cv-kit { background: none; }\n .cv-drilldown > summary { color: var(--cv-color-text); }\n /* A closed drilldown still prints its body (Chromium's details-content). */\n .cv-drilldown::details-content { content-visibility: visible; display: block; }\n .cv-section, .cv-metric, .cv-party, .cv-table tr, .cv-evidence__item { break-inside: avoid; }\n}\n"; // @generated KIT_CSS
60
60
  // The seller copy's bundle extension kind (capsule_viewer.receipt_slot.SELLER_KIND).
61
61
  var SELLER_KIND = "x-deal-seller/v0"; // @generated SELLER_KIND
@@ -418,12 +418,51 @@ const root = {};
418
418
  function pageAssurance(context, extension) {
419
419
  var c = map(context);
420
420
  var v = map(c.verification);
421
- return {
421
+ var checked = reportChecked(v, extension);
422
+ var here = false;
423
+ // The page runtime's own answer, asked before the model is built
424
+ // (pageReportCheck), when its verifier reports none.
425
+ if (checked === null && extension === EXTENSION && REPORT_CHECKS !== null && REPORT_CHECKS.has(context)) {
426
+ checked = REPORT_CHECKS.get(context);
427
+ here = true;
428
+ }
429
+ var out = {
422
430
  bundle_digest: typeof v.bundleDigest === "string" ? v.bundleDigest : null,
423
431
  witnesses: "absent",
424
432
  countersignatures: seq(c.countersignatures).map(function (x) { return isMap(x) && typeof x.status === "string" ? x.status : "unknown"; }),
425
- report_checked: reportChecked(v, extension),
433
+ report_checked: checked,
426
434
  };
435
+ // Said only when the page checked it itself: a verifier's report (the
436
+ // Python twin's inputs too) carries no such member.
437
+ if (here)
438
+ out.report_checked_here = true;
439
+ return out;
440
+ }
441
+ // A copy's standalone report (x-deal-report/v0) is read only once it is
442
+ // checked. The page's verifier does not interpret x-deal-v0, so on a page
443
+ // the module asks the page's runtime, which checks it as capsulectl deal
444
+ // verify does (EvidenceGraph.dealStandaloneReport, capsule-viewer#397): its
445
+ // "pass" or "fail" is kept per context, here, until the model is built.
446
+ // A runtime without that check, or a v1 copy, gives no answer, and the
447
+ // standalone report stays unread.
448
+ var REPORT_CHECKS = typeof WeakMap === "function" ? new WeakMap() : null;
449
+ function pageReportCheck(bundle) {
450
+ var graph = root.EvidenceGraph;
451
+ return graph && typeof graph.dealStandaloneReport === "function" ? graph.dealStandaloneReport(bundle) : null;
452
+ }
453
+ // The pending check of a context's standalone report, or null when there
454
+ // is none to ask: no standalone report, the verifier already reported it,
455
+ // or no place to keep the answer.
456
+ function askReportCheck(context, check) {
457
+ var c = map(context);
458
+ if (REPORT_CHECKS === null || REPORT_CHECKS.has(context) || !isMap(c.verification))
459
+ return null;
460
+ if (!own(map(map(c.bundle).extensions), STANDALONE_EXTENSION) || reportChecked(c.verification, EXTENSION) !== null)
461
+ return null;
462
+ return Promise.resolve(check(c.bundle)).then(function (status) {
463
+ if (status === "pass" || status === "fail")
464
+ REPORT_CHECKS.set(context, status);
465
+ });
427
466
  }
428
467
  // A carried copy, verified by the page's runtime on its own.
429
468
  function pageMemberContext(bundle) {
@@ -736,8 +775,10 @@ const root = {};
736
775
  };
737
776
  // The report in x-deal-report/v0 when it is the named one; null when `named`
738
777
  // is a record on the log. This script cannot check that record's signature:
739
- // it is read only when capsulectl verify reported the check as passed
740
- // (assurance.report_checked), and shown with that reported status only.
778
+ // it is read only when its check passed (assurance.report_checked), as
779
+ // capsulectl verify reported it or, on a page whose verifier reports none,
780
+ // as the page's runtime checked it (EvidenceGraph.dealStandaloneReport,
781
+ // #397), and shown with that status only.
741
782
  Reader.prototype.standaloneReport = function (named) {
742
783
  var content = this.standaloneContent(named);
743
784
  return content === null ? null : get(content, "report");
@@ -935,7 +976,7 @@ const root = {};
935
976
  var demo = payloads.some(function (p) {
936
977
  return get(map(get(p, EXTENSION)), "record_type") === "baseline" && get(map(get(p, "body")), "demo") === true;
937
978
  });
938
- return {
979
+ var model = {
939
980
  deal_id: or(str(get(raw, "deal_id")), ""),
940
981
  demo: demo,
941
982
  headline: headlineOf(steps, v.root, rep),
@@ -951,6 +992,9 @@ const root = {};
951
992
  verification: v.verification,
952
993
  report_checked: reader.standalone() ? or(str(v.assurance.report_checked), null) : null,
953
994
  };
995
+ if (reader.standalone() && v.assurance.report_checked_here === true)
996
+ model.report_checked_here = true;
997
+ return model;
954
998
  }
955
999
  // ---- the v1 deal receipt (evidencebook docs/design/461-deal-profile.md, section 9) ----
956
1000
  //
@@ -2107,10 +2151,14 @@ const root = {};
2107
2151
  return model.report_checked === null && ns.length === 1 && ns[0] !== null ? ns[0] : w("provenance.the_producer");
2108
2152
  };
2109
2153
  // How the report was sealed. A report carried outside the log is described
2110
- // by what capsulectl verify reported of it and nothing more (module.py).
2154
+ // by what checked it and nothing more: capsulectl verify's report
2155
+ // (module.py), or this page's own check (#398), which names what it
2156
+ // checked (summary.standalone.here).
2111
2157
  P.sealedNote = function (model) {
2112
2158
  if (model.report_checked === null)
2113
2159
  return this.note(w("summary.sealed", { producer: this.producer(model) }), { "data-sealed": "x-deal-v0" });
2160
+ if (model.report_checked_here === true && model.report_checked === "pass")
2161
+ return this.note(w("summary.standalone.here"), { "data-sealed": "x-deal-report", "data-checked-here": "true" });
2114
2162
  return this.note(w("summary.standalone", { status: model.report_checked }), { "data-sealed": "x-deal-report" });
2115
2163
  };
2116
2164
  // The words for one move, as capsulectl's deal page words it (module.py
@@ -2850,11 +2898,20 @@ const root = {};
2850
2898
  function moduleId(kind) { return "capsuleviewer.receipt." + kind + (kind === "deal" ? "/v1" : "/v0"); }
2851
2899
  var DRAW = { unilateral: drawUnilateral, seller: drawSeller, bilateral: drawBilateral, deal: drawDeal };
2852
2900
  // The page could not check the receipt here: no receipt, only the line
2853
- // and where to check it, in the pack's words (row.cannot_check,
2854
- // row.cannot_check_pointer; Sherlock2, capsule-viewer#392).
2855
- function cannotCheckLevels(doc) {
2901
+ // and where to check it, in the pack's words. Without Ed25519 the browser
2902
+ // checks nothing (row.cannot_check, row.cannot_check_pointer; Sherlock2,
2903
+ // capsule-viewer#392); an x-deal-v1 copy's report passes only under its
2904
+ // profile's own rule, which no page runs yet (reason "report_rule",
2905
+ // row.cannot_check.report_rule and its pointer; capsule-viewer#405).
2906
+ function cannotCheckLevels(doc, reason) {
2856
2907
  var d = new Drawing(doc);
2857
- var line = d.el("p", { class: "cv-tone--caution", "data-cannot-check": "true" }, [w("row.cannot_check") + ". " + w("row.cannot_check_pointer")]);
2908
+ var text = reason === "report_rule"
2909
+ ? w("row.cannot_check.report_rule") + " " + w("row.cannot_check.report_rule_pointer")
2910
+ : w("row.cannot_check") + ". " + w("row.cannot_check_pointer");
2911
+ var attrs = { class: "cv-tone--caution", "data-cannot-check": "true" };
2912
+ if (reason)
2913
+ attrs["data-cannot-check-reason"] = reason;
2914
+ var line = d.el("p", attrs, [text]);
2858
2915
  return [d.el("div", { "data-level": "L0" }, [line]), d.el("div", { "data-level": "L1" }, []), d.el("div", { "data-level": "L2" }, [])];
2859
2916
  }
2860
2917
  var TITLES = { unilateral: "page.title", seller: "seller.title", bilateral: "bilateral.title", deal: "deal.title" };
@@ -2876,6 +2933,9 @@ const root = {};
2876
2933
  // assurance context -> {bundle_digest, witnesses, countersignatures}
2877
2934
  // composition view -> the composed/v1 result, or null
2878
2935
  // memberContext (bundle, member id) -> a carried copy's context (or a promise of one)
2936
+ // reportCheck bundle -> "pass", "fail" or null (or a promise of one): the page
2937
+ // runtime's check of the copy's standalone report, asked on a page
2938
+ // (no assurance given) for the copy itself, not for a carried copy
2879
2939
  function createModule(kind, env) {
2880
2940
  if (!own(DRAW, kind))
2881
2941
  throw new Error("no receipt module " + kind);
@@ -2885,6 +2945,7 @@ const root = {};
2885
2945
  assurance: (env && env.assurance) || function (context) { return pageAssurance(context, kind === "deal" ? EXTENSION_V1 : EXTENSION); },
2886
2946
  composition: (env && env.composition) || compositionOf,
2887
2947
  memberContext: (env && env.memberContext) || pageMemberContext,
2948
+ reportCheck: (env && env.reportCheck) || pageReportCheck,
2888
2949
  // The page says each time in the reader's zone; the parity tests leave it off to compare with the script-free twin.
2889
2950
  localTime: !!(env && env.localTime),
2890
2951
  };
@@ -2895,9 +2956,37 @@ const root = {};
2895
2956
  var cannotCheckHere = function (context) {
2896
2957
  return !(env && env.verification) && map(context).strict === undefined;
2897
2958
  };
2959
+ // On a page (no verifier's assurance given) the copy's own standalone
2960
+ // report is asked about before its model is built. A composed copy's
2961
+ // carried copies are not asked about yet (#401): a carried copy whose
2962
+ // report is standalone stays unread, as before.
2963
+ var pageChecks = !(env && env.assurance);
2964
+ // An x-deal-v1 copy on a page whose verifier reports no check of its
2965
+ // standalone report: that report passes only under the profile's own
2966
+ // rule, which no page runs yet (#405), so the page draws no receipt and
2967
+ // says so, once the bundle itself verified. A verifier's report given in
2968
+ // env (capsulectl's) is read as before.
2969
+ var reportRuleNotRun = function (context) {
2970
+ if (!pageChecks || kind !== "deal")
2971
+ return false;
2972
+ var c = map(context);
2973
+ if (!own(map(get(map(c.bundle), "extensions")), STANDALONE_EXTENSION))
2974
+ return false;
2975
+ if (reportChecked(c.verification, EXTENSION_V1) !== null)
2976
+ return false;
2977
+ return view(context, e).verified === true;
2978
+ };
2898
2979
  var build = function (context) {
2899
2980
  if (cannotCheckHere(context))
2900
2981
  return { cannot_check: true };
2982
+ if (reportRuleNotRun(context))
2983
+ return { cannot_check: true, reason: "report_rule" };
2984
+ var asked = pageChecks && kind !== "deal" ? askReportCheck(context, e.reportCheck) : null;
2985
+ if (asked !== null)
2986
+ return asked.then(function () { return buildChecked(context); });
2987
+ return buildChecked(context);
2988
+ };
2989
+ var buildChecked = function (context) {
2901
2990
  var v = view(context, e);
2902
2991
  if (kind === "deal")
2903
2992
  return buildDeal(v, e.audience);
@@ -2942,7 +3031,7 @@ const root = {};
2942
3031
  drawCarrier = mark === "report" || mark === "page" ? mark : null;
2943
3032
  var levels;
2944
3033
  try {
2945
- levels = model && model.cannot_check === true ? cannotCheckLevels(doc) : DRAW[kind](doc, depth, model);
3034
+ levels = model && model.cannot_check === true ? cannotCheckLevels(doc, model.reason) : DRAW[kind](doc, depth, model);
2946
3035
  }
2947
3036
  finally {
2948
3037
  drawCarrier = null;
@@ -3030,7 +3119,7 @@ export const RECEIPT_MANIFESTS = {
3030
3119
  "priority": 1,
3031
3120
  "executable": {
3032
3121
  "carrier": "module-slot",
3033
- "script_sha256": "ecbc57f1735c3270c6e7df5b7be5804bb76eea7f74f0a48aba672565064e5fd0",
3122
+ "script_sha256": "d4894bdc5ebae627860c949d2eccccb88c450022746dcdfc7b54cbd2935fdd4f",
3034
3123
  "style_sha256": [
3035
3124
  "1b600ce6847453be63fd2613dbd07a9f6edc9ec9fe3ac6386ffece284c5ec73c"
3036
3125
  ]
@@ -3075,7 +3164,7 @@ export const RECEIPT_MANIFESTS = {
3075
3164
  "priority": 1,
3076
3165
  "executable": {
3077
3166
  "carrier": "module-slot",
3078
- "script_sha256": "6e74c36a8483a603c96b9881e7103eafd682840a04051e9ed23e18de87576c92",
3167
+ "script_sha256": "c5f31abc8f1bcd0325241d37f757caf29d871f17104d41ca1e7ad14b6e82b661",
3079
3168
  "style_sha256": [
3080
3169
  "1b600ce6847453be63fd2613dbd07a9f6edc9ec9fe3ac6386ffece284c5ec73c"
3081
3170
  ]
@@ -3119,7 +3208,7 @@ export const RECEIPT_MANIFESTS = {
3119
3208
  "priority": 1,
3120
3209
  "executable": {
3121
3210
  "carrier": "module-slot",
3122
- "script_sha256": "60e422b81cab7326b9d077005531c80e81b8c7f16c1a33a036f535f2acdae1fc",
3211
+ "script_sha256": "800a45104ea5ec0618fe54f9b888f012a58c07f8ba8d0b0a4d6f0f4ccb3e178d",
3123
3212
  "style_sha256": [
3124
3213
  "1b600ce6847453be63fd2613dbd07a9f6edc9ec9fe3ac6386ffece284c5ec73c"
3125
3214
  ]
@@ -3165,7 +3254,7 @@ export const RECEIPT_MANIFESTS = {
3165
3254
  "priority": 1,
3166
3255
  "executable": {
3167
3256
  "carrier": "module-slot",
3168
- "script_sha256": "7b39818cd7559a5c3f67f58e44a5ab81e147388d17e93f95a0eb93b5f9c4b5e0",
3257
+ "script_sha256": "a9ea374adf45fec5476bfce6aada2e66f2c3f65068e6bc6b731cf3d1a6a2691e",
3169
3258
  "style_sha256": [
3170
3259
  "1b600ce6847453be63fd2613dbd07a9f6edc9ec9fe3ac6386ffece284c5ec73c"
3171
3260
  ]