; (2) in subsection (b)— (A) in paragraph (1)— (i) in subparagraph (A)(ii), by striking and at the end; and (ii) in subparagraph (B), by striking the period at the end and inserting ; and ; and (B) by adding at the end the following: (C) such assurances as the State shall require, that, to the extent applicable, the unit of local government has in effect (or shall have in effect, not later than 1 year after the date that the unit submits such application) laws, or has implemented (or shall implement, not later than 1 year after the date that the unit submits such application) policies and programs, that provide for a right to speedy trial in accordance with subsection (g), timely bail consideration in accordance with subsection (h), and the restrictions on the use of temporary separation in accordance with subsection (i). ; and (3) by adding at the end the following: (g) Right to speedy trial The requirements under this subsection relating to the right to a speedy trial for a youth are, at a minimum, that in the case of a youth who is held in custody, charges in any criminal case are dismissed with prejudice not later than 60 days after the date on which the youth was arrested (which shall be computed in accordance with section 3161(h) of title 18, United States Code), if a trial has not commenced or there has not been an adjudication of the case on the merits. For purposes of this subsection, the determination of whether an individual is a youth shall be based on the individual’s age at the time that the individual is taken into custody for the alleged criminal conduct. (h) Right to Timely Bail Consideration (1) In general The requirements under this subsection relating to a youth’s right to timely bail consideration are, at a minimum, that— (A) the youth receives an initial detention hearing not later than the second working day after being taken into custody, except that— (i) if the youth is taken into custody on a Friday or Saturday, not later than one working day after being taken into custody