{#if $state === RequestStateType.CONNECTING || $state === RequestStateType.WAITING_FOR_RESPONSE}

Waiting for a response...

{#if $state === RequestStateType.CONNECTING} Connecting to signaling server... {:else} The share's content will become available to you once the sharer decides to accept your request. {/if}

{:else if $state === RequestStateType.IN_FLIGHT || $state === RequestStateType.DONE}

Your request was accepted!

{#if $state === RequestStateType.IN_FLIGHT} Transferring... {:else}

Congratulations! You can access the received data below:

{/if} {:else if $state === RequestStateType.DECLINED}

Your request was declined!

Sorry! I hope we can still be friends?

{:else}

Eek!

An error occured during your request.

{/if}