; (3) in subsection (c), by striking The appeal shall be determined promptly and all that follows and inserting the following: If a judicial officer orders pretrial detention, the person shall be informed of the right to an appeal. Such appeal shall be heard within 72 hours unless the person consents to a delay. The judicial officer may order a person who has been detained under section 3142 released pending the appeal of the detention order if it is clearly shown that there are exceptional reasons why such person’s detention would not be appropriate. ; and (4) by inserting, at the end, the following: (d) Release pending review or appeal If a person is ordered released by a magistrate judge and the attorney for the Government files a motion for revocation of the release order or a motion for amendment of the conditions of release with the district court under paragraph (1) of subsection (a), or the attorney for the Government files an appeal from a release order with the court of appeals under subsection (c) of this section, the person shall remain on pretrial release pending review or appeal. A release order shall not be stayed pending review or appeal. . 5. Sanctions for violation of a release condition Section 3148 of title 18, United States Code, is amended— (1) by striking subsection (a) and inserting the following: (a) Available sanctions for violation of release If the judicial officer finds that a person who has been released under section 3142 has violated a condition of release, the judicial officer may— (1) continue the person on pretrial release without new conditions; (2) continue the person on pretrial release with new conditions; or (3) revoke the person’s release and enter an order of detention. ; (2) in subsection (b)— (A) by inserting after A judicial officer may issue a the following: summons to appear in court or a