; (bb) provide access to the digital contents of electronic equipment or the digital contents of an online account; or (cc) provide online account information; or (III) delay entry into or exit from the United States by the United States person for longer than the period of time, which may not exceed 4 hours, necessary to determine whether the United States person will consensually provide an access credential, access, or online account information, as described in items (aa), (bb), and (cc) of subclause (II); and (ii) if the Governmental entity has probable cause that the electronic equipment contains information that is relevant to an allegation that the United States person has committed a felony, may seize electronic equipment belonging to or in the possession of the United States person for a period of time if the United States person refuses to consensually provide access to the digital contents of the electronic equipment. (2) Consent (A) In general A Governmental entity shall obtain written consent described in subparagraph (B) before— (i) accessing, pursuant to the consent of a United States person at the border the digital contents of electronic equipment belonging to or in the possession of or the digital contents of an online account of the United States person; (ii) obtaining, pursuant to the consent of a United States person at the border, an access credential of the United States person that would enable access to the digital contents of electronic equipment or the digital contents of an online account; or (iii) obtaining, pursuant to the consent of a United States person at the border, online account information for an online account of the United States person. (B) Contents of written consent Written consent described in this subparagraph is written consent that— (i) indicates the United States person understands the protections and limitations described in paragraph (1)(B)